Salesforce Flow Extension

1.1.11

DocXCurrent bundle 32.53 MB

Release risks

0 criticalNeutral
3 highReview before ship

Grouped Issues

9457 grouped issues

Grouped issues, not occurrences

Current Size

32.53 MB

Projected Size

959.4 KB

Projected reduction

31.57 MB

97%

Report created

Sep 10, 2026

11:09 UTC / a7a1c5f5

Top Next Action

Open release risks

Section 04

Build Hygiene Findings

Review Build Hygiene Checks for shipped release-review cleanup, packaging, and Text Asset Minification evidence.

Build Hygiene Checks
9
Affected Files
1695
Occurrences
2426

Minify shipped JSON

Total byte savings186.6 KB
rules.jsonFile artifactByte savings241 BLow
tests/node_modules/@ampproject/remapping/package.jsonFile artifactByte savings398 BLow
tests/node_modules/@babel/code-frame/package.jsonFile artifactByte savings132 BLow
tests/node_modules/@babel/compat-data/data/corejs2-built-ins.jsonFile artifactByte savings11.9 KBLow
tests/node_modules/@babel/compat-data/data/native-modules.jsonFile artifactByte savings93 BLow
tests/node_modules/@babel/compat-data/data/overlapping-plugins.jsonFile artifactByte savings140 BLow
tests/node_modules/@babel/compat-data/data/plugin-bugfixes.jsonFile artifactByte savings1.1 KBLow
tests/node_modules/@babel/compat-data/data/plugins.jsonFile artifactByte savings4.7 KBLow
tests/node_modules/@babel/compat-data/package.jsonFile artifactByte savings179 BLow
tests/node_modules/@babel/core/package.jsonFile artifactByte savings410 BLow
tests/node_modules/@babel/generator/package.jsonFile artifactByte savings174 BLow
tests/node_modules/@babel/helper-compilation-targets/package.jsonFile artifactByte savings199 BLow
tests/node_modules/@babel/helper-globals/data/browser-upper.jsonFile artifactByte savings2.7 KBLow
tests/node_modules/@babel/helper-globals/data/builtin-lower.jsonFile artifactByte savings41 BLow
tests/node_modules/@babel/helper-globals/data/builtin-upper.jsonFile artifactByte savings149 BLow
tests/node_modules/@babel/helper-globals/package.jsonFile artifactByte savings137 BLow
tests/node_modules/@babel/helper-module-imports/package.jsonFile artifactByte savings116 BLow
tests/node_modules/@babel/helper-module-transforms/package.jsonFile artifactByte savings135 BLow
tests/node_modules/@babel/helper-plugin-utils/package.jsonFile artifactByte savings97 BLow
tests/node_modules/@babel/helper-string-parser/package.jsonFile artifactByte savings137 BLow
tests/node_modules/@babel/helper-validator-identifier/package.jsonFile artifactByte savings139 BLow
tests/node_modules/@babel/helper-validator-option/package.jsonFile artifactByte savings120 BLow
tests/node_modules/@babel/helpers/package.jsonFile artifactByte savings134 BLow
tests/node_modules/@babel/parser/package.jsonFile artifactByte savings220 BLow
tests/node_modules/@babel/plugin-syntax-async-generators/package.jsonFile artifactByte savings90 BLow
tests/node_modules/@babel/plugin-syntax-bigint/package.jsonFile artifactByte savings90 BLow
tests/node_modules/@babel/plugin-syntax-class-properties/package.jsonFile artifactByte savings114 BLow
tests/node_modules/@babel/plugin-syntax-class-static-block/package.jsonFile artifactByte savings131 BLow
tests/node_modules/@babel/plugin-syntax-import-attributes/package.jsonFile artifactByte savings177 BLow
tests/node_modules/@babel/plugin-syntax-import-meta/package.jsonFile artifactByte savings115 BLow
tests/node_modules/@babel/plugin-syntax-json-strings/package.jsonFile artifactByte savings90 BLow
tests/node_modules/@babel/plugin-syntax-jsx/package.jsonFile artifactByte savings135 BLow
tests/node_modules/@babel/plugin-syntax-logical-assignment-operators/package.jsonFile artifactByte savings115 BLow
tests/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.jsonFile artifactByte savings90 BLow
tests/node_modules/@babel/plugin-syntax-numeric-separator/package.jsonFile artifactByte savings115 BLow
tests/node_modules/@babel/plugin-syntax-object-rest-spread/package.jsonFile artifactByte savings90 BLow
tests/node_modules/@babel/plugin-syntax-optional-catch-binding/package.jsonFile artifactByte savings90 BLow
tests/node_modules/@babel/plugin-syntax-optional-chaining/package.jsonFile artifactByte savings90 BLow
tests/node_modules/@babel/plugin-syntax-private-property-in-object/package.jsonFile artifactByte savings131 BLow
tests/node_modules/@babel/plugin-syntax-top-level-await/package.jsonFile artifactByte savings131 BLow
tests/node_modules/@babel/plugin-syntax-typescript/package.jsonFile artifactByte savings146 BLow
tests/node_modules/@babel/template/package.jsonFile artifactByte savings113 BLow
tests/node_modules/@babel/traverse/package.jsonFile artifactByte savings156 BLow
tests/node_modules/@babel/types/package.jsonFile artifactByte savings178 BLow
tests/node_modules/@bcoe/v8-coverage/dist/lib/package.jsonFile artifactByte savings220 BLow
tests/node_modules/@bcoe/v8-coverage/dist/lib/tsconfig.jsonFile artifactByte savings350 BLow
tests/node_modules/@bcoe/v8-coverage/package.jsonFile artifactByte savings244 BLow
tests/node_modules/@bcoe/v8-coverage/tsconfig.jsonFile artifactByte savings341 BLow
tests/node_modules/@istanbuljs/load-nyc-config/package.jsonFile artifactByte savings166 BLow
tests/node_modules/@istanbuljs/schema/package.jsonFile artifactByte savings92 BLow
tests/node_modules/@jest/console/package.jsonFile artifactByte savings173 BLow
tests/node_modules/@jest/core/package.jsonFile artifactByte savings516 BLow
tests/node_modules/@jest/environment/package.jsonFile artifactByte savings148 BLow
tests/node_modules/@jest/expect-utils/package.jsonFile artifactByte savings161 BLow
tests/node_modules/@jest/expect/package.jsonFile artifactByte savings155 BLow
tests/node_modules/@jest/fake-timers/package.jsonFile artifactByte savings179 BLow
tests/node_modules/@jest/globals/package.jsonFile artifactByte savings148 BLow
tests/node_modules/@jest/reporters/package.jsonFile artifactByte savings425 BLow
tests/node_modules/@jest/schemas/package.jsonFile artifactByte savings130 BLow
tests/node_modules/@jest/source-map/package.jsonFile artifactByte savings155 BLow
tests/node_modules/@jest/test-result/package.jsonFile artifactByte savings167 BLow
tests/node_modules/@jest/test-sequencer/package.jsonFile artifactByte savings167 BLow
tests/node_modules/@jest/transform/package.jsonFile artifactByte savings263 BLow
tests/node_modules/@jest/types/package.jsonFile artifactByte savings179 BLow
tests/node_modules/@jridgewell/gen-mapping/package.jsonFile artifactByte savings379 BLow
tests/node_modules/@jridgewell/resolve-uri/package.jsonFile artifactByte savings369 BLow
tests/node_modules/@jridgewell/sourcemap-codec/package.jsonFile artifactByte savings360 BLow
tests/node_modules/@jridgewell/trace-mapping/package.jsonFile artifactByte savings379 BLow
tests/node_modules/@sinclair/typebox/package.jsonFile artifactByte savings276 BLow
tests/node_modules/@sinonjs/commons/package.jsonFile artifactByte savings279 BLow
tests/node_modules/@sinonjs/fake-timers/package.jsonFile artifactByte savings328 BLow
tests/node_modules/@tootallnate/once/package.jsonFile artifactByte savings260 BLow
tests/node_modules/@types/babel__core/package.jsonFile artifactByte savings474 BLow
tests/node_modules/@types/babel__generator/package.jsonFile artifactByte savings380 BLow
tests/node_modules/@types/babel__template/package.jsonFile artifactByte savings384 BLow
tests/node_modules/@types/babel__traverse/package.jsonFile artifactByte savings620 BLow
tests/node_modules/@types/graceful-fs/package.jsonFile artifactByte savings254 BLow
tests/node_modules/@types/istanbul-lib-coverage/package.jsonFile artifactByte savings179 BLow
tests/node_modules/@types/istanbul-lib-report/package.jsonFile artifactByte savings254 BLow
tests/node_modules/@types/istanbul-reports/package.jsonFile artifactByte savings254 BLow
tests/node_modules/@types/jsdom/package.jsonFile artifactByte savings388 BLow
tests/node_modules/@types/node/package.jsonFile artifactByte savings1.7 KBLow
tests/node_modules/@types/stack-utils/package.jsonFile artifactByte savings179 BLow
tests/node_modules/@types/yargs-parser/package.jsonFile artifactByte savings179 BLow
tests/node_modules/@types/yargs/package.jsonFile artifactByte savings923 BLow
tests/node_modules/abab/package.jsonFile artifactByte savings192 BLow
tests/node_modules/acorn-globals/package.jsonFile artifactByte savings150 BLow
tests/node_modules/acorn-walk/package.jsonFile artifactByte savings268 BLow
tests/node_modules/acorn/package.jsonFile artifactByte savings268 BLow
tests/node_modules/agent-base/package.jsonFile artifactByte savings313 BLow
tests/node_modules/ansi-escapes/package.jsonFile artifactByte savings170 BLow
tests/node_modules/ansi-regex/package.jsonFile artifactByte savings164 BLow
tests/node_modules/ansi-styles/package.jsonFile artifactByte savings169 BLow
tests/node_modules/anymatch/package.jsonFile artifactByte savings214 BLow
tests/node_modules/argparse/package.jsonFile artifactByte savings145 BLow
tests/node_modules/asynckit/package.jsonFile artifactByte savings305 BLow
tests/node_modules/babel-jest/package.jsonFile artifactByte savings208 BLow
tests/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/package.jsonFile artifactByte savings231 BLow
tests/node_modules/babel-plugin-istanbul/package.jsonFile artifactByte savings348 BLow
tests/node_modules/babel-plugin-jest-hoist/package.jsonFile artifactByte savings203 BLow
tests/node_modules/babel-preset-current-node-syntax/package.jsonFile artifactByte savings226 BLow
tests/node_modules/babel-preset-jest/package.jsonFile artifactByte savings124 BLow
tests/node_modules/balanced-match/package.jsonFile artifactByte savings241 BLow
tests/node_modules/brace-expansion/package.jsonFile artifactByte savings251 BLow
tests/node_modules/braces/package.jsonFile artifactByte savings363 BLow
tests/node_modules/browserslist/package.jsonFile artifactByte savings213 BLow
tests/node_modules/bser/package.jsonFile artifactByte savings135 BLow
tests/node_modules/buffer-from/package.jsonFile artifactByte savings73 BLow
tests/node_modules/call-bind-apply-helpers/package.jsonFile artifactByte savings296 BLow
tests/node_modules/callsites/package.jsonFile artifactByte savings115 BLow
tests/node_modules/camelcase/package.jsonFile artifactByte savings127 BLow
tests/node_modules/caniuse-lite/package.jsonFile artifactByte savings165 BLow
tests/node_modules/chalk/package.jsonFile artifactByte savings220 BLow
tests/node_modules/char-regex/package.jsonFile artifactByte savings178 BLow
tests/node_modules/ci-info/package.jsonFile artifactByte savings203 BLow
tests/node_modules/ci-info/vendors.jsonFile artifactByte savings1.7 KBLow
tests/node_modules/cjs-module-lexer/package.jsonFile artifactByte savings233 BLow
tests/node_modules/cliui/package.jsonFile artifactByte savings430 BLow
tests/node_modules/co/package.jsonFile artifactByte savings153 BLow
tests/node_modules/collect-v8-coverage/package.jsonFile artifactByte savings255 BLow
tests/node_modules/color-convert/package.jsonFile artifactByte savings221 BLow
tests/node_modules/color-name/package.jsonFile artifactByte savings142 BLow
tests/node_modules/combined-stream/package.jsonFile artifactByte savings101 BLow
tests/node_modules/concat-map/package.jsonFile artifactByte savings387 BLow
tests/node_modules/convert-source-map/package.jsonFile artifactByte savings164 BLow
tests/node_modules/create-jest/package.jsonFile artifactByte savings205 BLow
tests/node_modules/cross-spawn/package.jsonFile artifactByte savings359 BLow
tests/node_modules/cssom/package.jsonFile artifactByte savings69 BLow
tests/node_modules/cssstyle/lib/named_colors.jsonFile artifactByte savings452 BLow
tests/node_modules/cssstyle/node_modules/cssom/package.jsonFile artifactByte savings69 BLow
tests/node_modules/cssstyle/package.jsonFile artifactByte savings369 BLow
tests/node_modules/data-urls/package.jsonFile artifactByte savings259 BLow
tests/node_modules/debug/package.jsonFile artifactByte savings303 BLow
tests/node_modules/decimal.js/package.jsonFile artifactByte savings325 BLow
tests/node_modules/dedent/package.jsonFile artifactByte savings424 BLow
tests/node_modules/deepmerge/package.jsonFile artifactByte savings199 BLow
tests/node_modules/delayed-stream/package.jsonFile artifactByte savings110 BLow
tests/node_modules/detect-newline/package.jsonFile artifactByte savings115 BLow
tests/node_modules/diff-sequences/package.jsonFile artifactByte savings178 BLow
tests/node_modules/domexception/lib/legacy-error-codes.jsonFile artifactByte savings90 BLow
tests/node_modules/domexception/package.jsonFile artifactByte savings189 BLow
tests/node_modules/dunder-proto/package.jsonFile artifactByte savings259 BLow
tests/node_modules/electron-to-chromium/package.jsonFile artifactByte savings203 BLow
tests/node_modules/emittery/package.jsonFile artifactByte savings206 BLow
tests/node_modules/emoji-regex/package.jsonFile artifactByte savings230 BLow
tests/node_modules/entities/package.jsonFile artifactByte savings1.2 KBLow
tests/node_modules/error-ex/package.jsonFile artifactByte savings215 BLow
tests/node_modules/es-define-property/package.jsonFile artifactByte savings271 BLow
tests/node_modules/es-errors/package.jsonFile artifactByte savings272 BLow
tests/node_modules/es-object-atoms/package.jsonFile artifactByte savings270 BLow
tests/node_modules/es-set-tostringtag/package.jsonFile artifactByte savings267 BLow
tests/node_modules/escalade/package.jsonFile artifactByte savings448 BLow
tests/node_modules/escape-string-regexp/package.jsonFile artifactByte savings126 BLow
tests/node_modules/escodegen/package.jsonFile artifactByte savings512 BLow
tests/node_modules/esprima/package.jsonFile artifactByte savings596 BLow
tests/node_modules/estraverse/package.jsonFile artifactByte savings197 BLow
tests/node_modules/esutils/package.jsonFile artifactByte savings208 BLow
tests/node_modules/execa/package.jsonFile artifactByte savings240 BLow
tests/node_modules/exit/package.jsonFile artifactByte savings216 BLow
tests/node_modules/expect/package.jsonFile artifactByte savings209 BLow
tests/node_modules/fast-json-stable-stringify/benchmark/test.jsonFile artifactByte savings899 BLow
tests/node_modules/fast-json-stable-stringify/package.jsonFile artifactByte savings253 BLow
tests/node_modules/fb-watchman/package.jsonFile artifactByte savings149 BLow
tests/node_modules/fill-range/package.jsonFile artifactByte savings350 BLow
tests/node_modules/find-up/package.jsonFile artifactByte savings160 BLow
tests/node_modules/form-data/package.jsonFile artifactByte savings436 BLow
tests/node_modules/fs.realpath/package.jsonFile artifactByte savings105 BLow
tests/node_modules/fsevents/package.jsonFile artifactByte savings307 BLow
tests/node_modules/function-bind/package.jsonFile artifactByte savings456 BLow
tests/node_modules/gensync/package.jsonFile artifactByte savings168 BLow
tests/node_modules/get-caller-file/package.jsonFile artifactByte savings190 BLow
tests/node_modules/get-intrinsic/package.jsonFile artifactByte savings330 BLow
tests/node_modules/get-package-type/package.jsonFile artifactByte savings109 BLow
tests/node_modules/get-proto/package.jsonFile artifactByte savings272 BLow
tests/node_modules/get-stream/package.jsonFile artifactByte savings141 BLow
tests/node_modules/glob/package.jsonFile artifactByte savings260 BLow
tests/node_modules/gopd/package.jsonFile artifactByte savings258 BLow
tests/node_modules/graceful-fs/package.jsonFile artifactByte savings244 BLow
tests/node_modules/has-flag/package.jsonFile artifactByte savings136 BLow
tests/node_modules/has-symbols/package.jsonFile artifactByte savings387 BLow
tests/node_modules/has-tostringtag/package.jsonFile artifactByte savings380 BLow
tests/node_modules/hasown/package.jsonFile artifactByte savings309 BLow
tests/node_modules/html-encoding-sniffer/package.jsonFile artifactByte savings129 BLow
tests/node_modules/html-escaper/package.jsonFile artifactByte savings193 BLow
tests/node_modules/http-proxy-agent/package.jsonFile artifactByte savings273 BLow
tests/node_modules/https-proxy-agent/package.jsonFile artifactByte savings267 BLow
tests/node_modules/human-signals/package.jsonFile artifactByte savings293 BLow
tests/node_modules/iconv-lite/encodings/tables/big5-added.jsonFile artifactByte savings122 BLow
tests/node_modules/iconv-lite/encodings/tables/cp936.jsonFile artifactByte savings264 BLow
tests/node_modules/iconv-lite/encodings/tables/cp949.jsonFile artifactByte savings273 BLow
tests/node_modules/iconv-lite/encodings/tables/cp950.jsonFile artifactByte savings177 BLow
tests/node_modules/iconv-lite/encodings/tables/eucjp.jsonFile artifactByte savings182 BLow
tests/node_modules/iconv-lite/encodings/tables/gbk-added.jsonFile artifactByte savings56 BLow
tests/node_modules/iconv-lite/encodings/tables/shiftjis.jsonFile artifactByte savings125 BLow
tests/node_modules/iconv-lite/package.jsonFile artifactByte savings319 BLow
tests/node_modules/import-local/package.jsonFile artifactByte savings164 BLow
tests/node_modules/imurmurhash/package.jsonFile artifactByte savings169 BLow
tests/node_modules/inflight/package.jsonFile artifactByte savings119 BLow
tests/node_modules/inherits/package.jsonFile artifactByte savings120 BLow
tests/node_modules/is-arrayish/package.jsonFile artifactByte savings155 BLow
tests/node_modules/is-core-module/core.jsonFile artifactByte savings555 BLow
tests/node_modules/is-core-module/package.jsonFile artifactByte savings250 BLow
tests/node_modules/is-fullwidth-code-point/package.jsonFile artifactByte savings124 BLow
tests/node_modules/is-generator-fn/package.jsonFile artifactByte savings112 BLow
tests/node_modules/is-number/package.jsonFile artifactByte savings411 BLow
tests/node_modules/is-potential-custom-element-name/package.jsonFile artifactByte savings150 BLow
tests/node_modules/is-stream/package.jsonFile artifactByte savings126 BLow
tests/node_modules/isexe/package.jsonFile artifactByte savings135 BLow
tests/node_modules/istanbul-lib-coverage/package.jsonFile artifactByte savings213 BLow
tests/node_modules/istanbul-lib-instrument/node_modules/semver/package.jsonFile artifactByte savings411 BLow
tests/node_modules/istanbul-lib-instrument/package.jsonFile artifactByte savings231 BLow
tests/node_modules/istanbul-lib-report/package.jsonFile artifactByte savings194 BLow
tests/node_modules/istanbul-lib-source-maps/package.jsonFile artifactByte savings199 BLow
tests/node_modules/istanbul-reports/package.jsonFile artifactByte savings290 BLow
tests/node_modules/jest-changed-files/package.jsonFile artifactByte savings142 BLow
tests/node_modules/jest-circus/package.jsonFile artifactByte savings305 BLow
tests/node_modules/jest-cli/package.jsonFile artifactByte savings427 BLow
tests/node_modules/jest-config/package.jsonFile artifactByte savings369 BLow
tests/node_modules/jest-diff/package.jsonFile artifactByte savings167 BLow
tests/node_modules/jest-docblock/package.jsonFile artifactByte savings143 BLow
tests/node_modules/jest-each/package.jsonFile artifactByte savings189 BLow
tests/node_modules/jest-environment-jsdom/package.jsonFile artifactByte savings224 BLow
tests/node_modules/jest-environment-node/package.jsonFile artifactByte savings173 BLow
tests/node_modules/jest-get-type/package.jsonFile artifactByte savings121 BLow
tests/node_modules/jest-haste-map/package.jsonFile artifactByte savings228 BLow
tests/node_modules/jest-leak-detector/package.jsonFile artifactByte savings149 BLow
tests/node_modules/jest-matcher-utils/package.jsonFile artifactByte savings171 BLow
tests/node_modules/jest-message-util/package.jsonFile artifactByte savings209 BLow
tests/node_modules/jest-mock/package.jsonFile artifactByte savings161 BLow
tests/node_modules/jest-pnp-resolver/package.jsonFile artifactByte savings217 BLow
tests/node_modules/jest-regex-util/package.jsonFile artifactByte savings130 BLow
tests/node_modules/jest-resolve-dependencies/package.jsonFile artifactByte savings173 BLow
tests/node_modules/jest-resolve/package.jsonFile artifactByte savings215 BLow
tests/node_modules/jest-runner/package.jsonFile artifactByte savings299 BLow
tests/node_modules/jest-runtime/package.jsonFile artifactByte savings287 BLow
tests/node_modules/jest-snapshot/node_modules/semver/package.jsonFile artifactByte savings411 BLow
tests/node_modules/jest-snapshot/package.jsonFile artifactByte savings329 BLow
tests/node_modules/jest-util/package.jsonFile artifactByte savings179 BLow
tests/node_modules/jest-validate/node_modules/camelcase/package.jsonFile artifactByte savings130 BLow
tests/node_modules/jest-validate/package.jsonFile artifactByte savings173 BLow
tests/node_modules/jest-watcher/package.jsonFile artifactByte savings193 BLow
tests/node_modules/jest-worker/node_modules/supports-color/package.jsonFile artifactByte savings173 BLow
tests/node_modules/jest-worker/package.jsonFile artifactByte savings203 BLow
tests/node_modules/jest/package.jsonFile artifactByte savings351 BLow
tests/node_modules/js-tokens/package.jsonFile artifactByte savings132 BLow
tests/node_modules/js-yaml/package.jsonFile artifactByte savings220 BLow
tests/node_modules/jsdom/lib/jsdom/browser/js-globals.jsonFile artifactByte savings1.5 KBLow
tests/node_modules/jsdom/package.jsonFile artifactByte savings595 BLow
tests/node_modules/jsesc/package.jsonFile artifactByte savings260 BLow
tests/node_modules/json-parse-even-better-errors/package.jsonFile artifactByte savings143 BLow
tests/node_modules/json5/package.jsonFile artifactByte savings350 BLow
tests/node_modules/kleur/package.jsonFile artifactByte savings150 BLow
tests/node_modules/leven/package.jsonFile artifactByte savings179 BLow
tests/node_modules/lines-and-columns/package.jsonFile artifactByte savings234 BLow
tests/node_modules/locate-path/package.jsonFile artifactByte savings133 BLow
tests/node_modules/lru-cache/package.jsonFile artifactByte savings139 BLow
tests/node_modules/make-dir/node_modules/semver/package.jsonFile artifactByte savings411 BLow
tests/node_modules/make-dir/package.jsonFile artifactByte savings196 BLow
tests/node_modules/makeerror/package.jsonFile artifactByte savings84 BLow
tests/node_modules/math-intrinsics/package.jsonFile artifactByte savings305 BLow
tests/node_modules/merge-stream/package.jsonFile artifactByte savings74 BLow
tests/node_modules/micromatch/package.jsonFile artifactByte savings611 BLow
tests/node_modules/mime-db/db.jsonFile artifactByte savings39.7 KBLow
tests/node_modules/mime-db/package.jsonFile artifactByte savings295 BLow
tests/node_modules/mime-types/package.jsonFile artifactByte savings201 BLow
tests/node_modules/mimic-fn/package.jsonFile artifactByte savings124 BLow
tests/node_modules/minimatch/package.jsonFile artifactByte savings140 BLow
tests/node_modules/ms/package.jsonFile artifactByte savings185 BLow
tests/node_modules/natural-compare/package.jsonFile artifactByte savings187 BLow
tests/node_modules/node-int64/package.jsonFile artifactByte savings109 BLow
tests/node_modules/node-releases/package.jsonFile artifactByte savings88 BLow
tests/node_modules/normalize-path/package.jsonFile artifactByte savings400 BLow
tests/node_modules/npm-run-path/package.jsonFile artifactByte savings130 BLow
tests/node_modules/nwsapi/package.jsonFile artifactByte savings202 BLow
tests/node_modules/once/package.jsonFile artifactByte savings136 BLow
tests/node_modules/onetime/package.jsonFile artifactByte savings127 BLow
tests/node_modules/p-limit/package.jsonFile artifactByte savings158 BLow
tests/node_modules/p-locate/node_modules/p-limit/package.jsonFile artifactByte savings158 BLow
tests/node_modules/p-locate/package.jsonFile artifactByte savings160 BLow
tests/node_modules/p-try/package.jsonFile artifactByte savings124 BLow
tests/node_modules/parse-json/package.jsonFile artifactByte savings136 BLow
tests/node_modules/parse5/package.jsonFile artifactByte savings362 BLow
tests/node_modules/path-exists/package.jsonFile artifactByte savings115 BLow
tests/node_modules/path-is-absolute/package.jsonFile artifactByte savings190 BLow
tests/node_modules/path-key/package.jsonFile artifactByte savings116 BLow
tests/node_modules/path-parse/package.jsonFile artifactByte savings142 BLow
tests/node_modules/picocolors/package.jsonFile artifactByte savings100 BLow
tests/node_modules/picomatch/package.jsonFile artifactByte savings436 BLow
tests/node_modules/pirates/package.jsonFile artifactByte savings192 BLow
tests/node_modules/pkg-dir/package.jsonFile artifactByte savings167 BLow
tests/node_modules/pretty-format/node_modules/ansi-styles/package.jsonFile artifactByte savings156 BLow
tests/node_modules/pretty-format/package.jsonFile artifactByte savings205 BLow
tests/node_modules/prompts/package.jsonFile artifactByte savings246 BLow
tests/node_modules/psl/package.jsonFile artifactByte savings249 BLow
tests/node_modules/punycode/package.jsonFile artifactByte savings273 BLow
tests/node_modules/pure-rand/package.jsonFile artifactByte savings449 BLow
tests/node_modules/querystringify/package.jsonFile artifactByte savings170 BLow
tests/node_modules/react-is/package.jsonFile artifactByte savings107 BLow
tests/node_modules/require-directory/package.jsonFile artifactByte savings181 BLow
tests/node_modules/requires-port/package.jsonFile artifactByte savings217 BLow
tests/node_modules/resolve-cwd/package.jsonFile artifactByte savings127 BLow
tests/node_modules/resolve-from/package.jsonFile artifactByte savings106 BLow
tests/node_modules/resolve.exports/package.jsonFile artifactByte savings235 BLow
tests/node_modules/resolve/lib/core.jsonFile artifactByte savings554 BLow
tests/node_modules/resolve/package.jsonFile artifactByte savings254 BLow
tests/node_modules/resolve/test/resolver/invalid_main/package.jsonFile artifactByte savings23 BLow
tests/node_modules/resolve/test/resolver/multirepo/lerna.jsonFile artifactByte savings18 BLow
tests/node_modules/resolve/test/resolver/multirepo/package.jsonFile artifactByte savings81 BLow
tests/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.jsonFile artifactByte savings52 BLow
tests/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.jsonFile artifactByte savings52 BLow
tests/node_modules/safer-buffer/package.jsonFile artifactByte savings149 BLow
tests/node_modules/saxes/package.jsonFile artifactByte savings376 BLow
tests/node_modules/semver/package.jsonFile artifactByte savings173 BLow
tests/node_modules/shebang-command/package.jsonFile artifactByte savings99 BLow
tests/node_modules/shebang-regex/package.jsonFile artifactByte savings103 BLow
tests/node_modules/signal-exit/package.jsonFile artifactByte savings170 BLow
tests/node_modules/sisteransi/package.jsonFile artifactByte savings146 BLow
tests/node_modules/slash/package.jsonFile artifactByte savings103 BLow
tests/node_modules/source-map-support/package.jsonFile artifactByte savings141 BLow
tests/node_modules/source-map/package.jsonFile artifactByte savings339 BLow
tests/node_modules/sprintf-js/bower.jsonFile artifactByte savings55 BLow
tests/node_modules/sprintf-js/package.jsonFile artifactByte savings147 BLow
tests/node_modules/stack-utils/package.jsonFile artifactByte savings178 BLow
tests/node_modules/string-length/package.jsonFile artifactByte savings134 BLow
tests/node_modules/string-width/package.jsonFile artifactByte savings168 BLow
tests/node_modules/strip-ansi/package.jsonFile artifactByte savings160 BLow
tests/node_modules/strip-bom/package.jsonFile artifactByte savings124 BLow
tests/node_modules/strip-final-newline/package.jsonFile artifactByte savings117 BLow
tests/node_modules/strip-json-comments/package.jsonFile artifactByte savings141 BLow
tests/node_modules/supports-color/package.jsonFile artifactByte savings157 BLow
tests/node_modules/symbol-tree/package.jsonFile artifactByte savings219 BLow
tests/node_modules/test-exclude/package.jsonFile artifactByte savings199 BLow
tests/node_modules/tmpl/package.jsonFile artifactByte savings75 BLow
tests/node_modules/to-regex-range/package.jsonFile artifactByte savings455 BLow
tests/node_modules/tr46/package.jsonFile artifactByte savings210 BLow
tests/node_modules/type-fest/package.jsonFile artifactByte savings185 BLow
tests/node_modules/undici-types/package.jsonFile artifactByte savings314 BLow
tests/node_modules/universalify/package.jsonFile artifactByte savings146 BLow
tests/node_modules/update-browserslist-db/package.jsonFile artifactByte savings192 BLow
tests/node_modules/url-parse/package.jsonFile artifactByte savings231 BLow
tests/node_modules/v8-to-istanbul/package.jsonFile artifactByte savings227 BLow
tests/node_modules/w3c-xmlserializer/package.jsonFile artifactByte savings141 BLow
tests/node_modules/walker/package.jsonFile artifactByte savings110 BLow
tests/node_modules/webidl-conversions/package.jsonFile artifactByte savings152 BLow
tests/node_modules/whatwg-encoding/lib/labels-to-names.jsonFile artifactByte savings857 BLow
tests/node_modules/whatwg-encoding/lib/supported-names.jsonFile artifactByte savings106 BLow
tests/node_modules/whatwg-encoding/package.jsonFile artifactByte savings141 BLow
tests/node_modules/whatwg-mimetype/package.jsonFile artifactByte savings223 BLow
tests/node_modules/whatwg-url/package.jsonFile artifactByte savings294 BLow
tests/node_modules/which/package.jsonFile artifactByte savings194 BLow
tests/node_modules/wrap-ansi/package.jsonFile artifactByte savings189 BLow
tests/node_modules/wrappy/package.jsonFile artifactByte savings117 BLow
tests/node_modules/write-file-atomic/package.jsonFile artifactByte savings257 BLow
tests/node_modules/ws/package.jsonFile artifactByte savings338 BLow
tests/node_modules/xml-name-validator/package.jsonFile artifactByte savings127 BLow
tests/node_modules/xmlchars/package.jsonFile artifactByte savings257 BLow
tests/node_modules/y18n/package.jsonFile artifactByte savings354 BLow
tests/node_modules/yallist/package.jsonFile artifactByte savings123 BLow
tests/node_modules/yargs-parser/package.jsonFile artifactByte savings483 BLow
tests/node_modules/yargs/locales/be.jsonFile artifactByte savings193 BLow
tests/node_modules/yargs/locales/cs.jsonFile artifactByte savings214 BLow
tests/node_modules/yargs/locales/de.jsonFile artifactByte savings193 BLow
tests/node_modules/yargs/locales/en.jsonFile artifactByte savings233 BLow
tests/node_modules/yargs/locales/es.jsonFile artifactByte savings193 BLow
tests/node_modules/yargs/locales/fi.jsonFile artifactByte savings206 BLow
tests/node_modules/yargs/locales/fr.jsonFile artifactByte savings225 BLow
tests/node_modules/yargs/locales/hi.jsonFile artifactByte savings206 BLow
tests/node_modules/yargs/locales/hu.jsonFile artifactByte savings193 BLow
tests/node_modules/yargs/locales/id.jsonFile artifactByte savings207 BLow
tests/node_modules/yargs/locales/it.jsonFile artifactByte savings193 BLow
tests/node_modules/yargs/locales/ja.jsonFile artifactByte savings214 BLow
tests/node_modules/yargs/locales/ko.jsonFile artifactByte savings206 BLow
tests/node_modules/yargs/locales/nb.jsonFile artifactByte savings185 BLow
tests/node_modules/yargs/locales/nl.jsonFile artifactByte savings205 BLow
tests/node_modules/yargs/locales/nn.jsonFile artifactByte savings185 BLow
tests/node_modules/yargs/locales/pirate.jsonFile artifactByte savings50 BLow
tests/node_modules/yargs/locales/pl.jsonFile artifactByte savings205 BLow
tests/node_modules/yargs/locales/pt.jsonFile artifactByte savings190 BLow
tests/node_modules/yargs/locales/pt_BR.jsonFile artifactByte savings202 BLow
tests/node_modules/yargs/locales/ru.jsonFile artifactByte savings213 BLow
tests/node_modules/yargs/locales/th.jsonFile artifactByte savings193 BLow
tests/node_modules/yargs/locales/tr.jsonFile artifactByte savings201 BLow
tests/node_modules/yargs/locales/uk_UA.jsonFile artifactByte savings214 BLow
tests/node_modules/yargs/locales/uz.jsonFile artifactByte savings316 BLow
tests/node_modules/yargs/locales/zh_CN.jsonFile artifactByte savings202 BLow
tests/node_modules/yargs/locales/zh_TW.jsonFile artifactByte savings314 BLow
tests/node_modules/yargs/package.jsonFile artifactByte savings674 BLow
tests/node_modules/yocto-queue/package.jsonFile artifactByte savings127 BLow
tests/package-lock.jsonFile artifactByte savings35.6 KBLow
tests/package.jsonFile artifactByte savings126 BLow

Build Hygiene Check

Rule ID
hygiene/dev-dependency-leakage
Severity
Medium
Confidence
Medium confidence
Affected files
156 affected files
Occurrences
156 occurrences

Scope summary

Artifact metadata is shown without exposing file contents by default.

Review guidance

Exclude development-only packages and artifacts from the production bundle.

Analyzer messages

  • tests/node_modules/@jest/console/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/console/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/README.md looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/environment/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/environment/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/README.md looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect/README.md looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/fake-timers/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/fake-timers/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/globals/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/globals/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/assets/jest_logo.png looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/schemas/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/schemas/README.md looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/schemas/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/source-map/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/source-map/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-result/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-result/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-sequencer/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-sequencer/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/README.md looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/jest/LICENSE looks like shipped dev-only dependency code from jest
  • tests/node_modules/jest/README.md looks like shipped dev-only dependency code from jest
  • tests/node_modules/jest/package.json looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/console/build/BufferedConsole.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/console/build/CustomConsole.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/console/build/NullConsole.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/console/build/getConsoleOutput.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/console/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/console/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/console/build/types.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/FailedTestsCache.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/FailedTestsInteractiveMode.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/ReporterDispatcher.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/SearchSource.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/SnapshotInteractiveMode.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/TestNamePatternPrompt.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/TestPathPatternPrompt.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/TestScheduler.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/cli/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/collectHandles.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getChangedFilesPromise.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getNoTestFound.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getNoTestFoundFailed.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getNoTestFoundVerbose.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getNoTestsFoundMessage.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getProjectDisplayName.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getProjectNamesMissingWarning.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/getSelectProjectsMessage.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/lib/activeFiltersMessage.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/lib/createContext.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/lib/isValidPath.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/lib/logDebugMessages.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/lib/updateGlobalConfig.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/lib/watchPluginsHelpers.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/plugins/Quit.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/plugins/TestNamePattern.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/plugins/TestPathPattern.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/plugins/UpdateSnapshots.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/runGlobalHook.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/runJest.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/testSchedulerHelper.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/types.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/version.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/core/build/watch.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/environment/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/environment/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/build/immutableUtils.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/build/jasmineUtils.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/build/types.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect-utils/build/utils.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/expect/build/types.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/fake-timers/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/fake-timers/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/fake-timers/build/legacyFakeTimers.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/fake-timers/build/modernFakeTimers.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/globals/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/globals/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/BaseReporter.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/CoverageReporter.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/CoverageWorker.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/DefaultReporter.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/GitHubActionsReporter.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/NotifyReporter.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/Status.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/SummaryReporter.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/VerboseReporter.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/formatTestPath.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/generateEmptyCoverage.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/getResultHeader.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/getSnapshotStatus.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/getSnapshotSummary.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/getSummary.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/getWatermarks.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/printDisplayName.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/relativePath.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/trimAndFormatPath.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/types.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/reporters/build/wrapAnsiString.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/schemas/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/schemas/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/source-map/build/getCallsite.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/source-map/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/source-map/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/source-map/build/types.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-result/build/formatTestResults.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-result/build/helpers.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-result/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-result/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-result/build/types.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-sequencer/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/test-sequencer/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/build/ScriptTransformer.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/build/shouldInstrument.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/transform/build/types.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/build/Circus.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/build/Config.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/build/Global.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/build/TestResult.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/build/Transform.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/@jest/types/build/index.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/jest/bin/jest.js looks like shipped dev-only dependency code from jest
  • tests/node_modules/jest/build/index.d.ts looks like shipped dev-only dependency code from jest
  • tests/node_modules/jest/build/index.js looks like shipped dev-only dependency code from jest
Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/console/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/package.json@byte:0-841
    Trace reference
    tests/node_modules/@jest/console/package.json@byte:0-841
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    841 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/core/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/README.md@byte:0-163
    Trace reference
    tests/node_modules/@jest/core/README.md@byte:0-163
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    163 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/README.md looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/package.json@byte:0-2349
    Trace reference
    tests/node_modules/@jest/core/package.json@byte:0-2349
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2349 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/environment/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/environment/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/environment/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/environment/package.json@byte:0-741
    Trace reference
    tests/node_modules/@jest/environment/package.json@byte:0-741
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    741 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/environment/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/expect-utils/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/README.md@byte:0-355
    Trace reference
    tests/node_modules/@jest/expect-utils/README.md@byte:0-355
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    355 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/README.md looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/package.json@byte:0-802
    Trace reference
    tests/node_modules/@jest/expect-utils/package.json@byte:0-802
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    802 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/expect/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect/README.md@byte:0-320
    Trace reference
    tests/node_modules/@jest/expect/README.md@byte:0-320
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    320 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect/README.md looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect/package.json@byte:0-756
    Trace reference
    tests/node_modules/@jest/expect/package.json@byte:0-756
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    756 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/fake-timers/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/fake-timers/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/fake-timers/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/fake-timers/package.json@byte:0-915
    Trace reference
    tests/node_modules/@jest/fake-timers/package.json@byte:0-915
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    915 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/fake-timers/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/globals/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/globals/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/globals/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/globals/package.json@byte:0-740
    Trace reference
    tests/node_modules/@jest/globals/package.json@byte:0-740
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    740 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/globals/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/reporters/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/assets/jest_logo.png@byte:0-3030
    Trace reference
    tests/node_modules/@jest/reporters/assets/jest_logo.png@byte:0-3030
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    3030 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/assets/jest_logo.png looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/package.json@byte:0-2264
    Trace reference
    tests/node_modules/@jest/reporters/package.json@byte:0-2264
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2264 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/schemas/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/schemas/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/schemas/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/schemas/README.md@byte:0-129
    Trace reference
    tests/node_modules/@jest/schemas/README.md@byte:0-129
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    129 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/schemas/README.md looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/schemas/package.json@byte:0-651
    Trace reference
    tests/node_modules/@jest/schemas/package.json@byte:0-651
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    651 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/schemas/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/source-map/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/source-map/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/source-map/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/source-map/package.json@byte:0-784
    Trace reference
    tests/node_modules/@jest/source-map/package.json@byte:0-784
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    784 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/source-map/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-result/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/test-result/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-result/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-result/package.json@byte:0-859
    Trace reference
    tests/node_modules/@jest/test-result/package.json@byte:0-859
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    859 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-result/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-sequencer/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/test-sequencer/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-sequencer/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-sequencer/package.json@byte:0-848
    Trace reference
    tests/node_modules/@jest/test-sequencer/package.json@byte:0-848
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    848 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-sequencer/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/transform/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/package.json@byte:0-1379
    Trace reference
    tests/node_modules/@jest/transform/package.json@byte:0-1379
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1379 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/@jest/types/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/README.md@byte:0-949
    Trace reference
    tests/node_modules/@jest/types/README.md@byte:0-949
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    949 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/README.md looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/package.json@byte:0-894
    Trace reference
    tests/node_modules/@jest/types/package.json@byte:0-894
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    894 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/jest/LICENSE@byte:0-1088
    Trace reference
    tests/node_modules/jest/LICENSE@byte:0-1088
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1088 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/jest/LICENSE looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/jest/README.md@byte:0-546
    Trace reference
    tests/node_modules/jest/README.md@byte:0-546
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    546 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/jest/README.md looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/jest/package.json@byte:0-1472
    Trace reference
    tests/node_modules/jest/package.json@byte:0-1472
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1472 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/jest/package.json looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/build/BufferedConsole.js@byte:0-4871
    Trace reference
    tests/node_modules/@jest/console/build/BufferedConsole.js@byte:0-4871
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    4871 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/build/BufferedConsole.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/build/CustomConsole.js@byte:0-4606
    Trace reference
    tests/node_modules/@jest/console/build/CustomConsole.js@byte:0-4606
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    4606 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/build/CustomConsole.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/build/NullConsole.js@byte:0-801
    Trace reference
    tests/node_modules/@jest/console/build/NullConsole.js@byte:0-801
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    801 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/build/NullConsole.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/build/getConsoleOutput.js@byte:0-2046
    Trace reference
    tests/node_modules/@jest/console/build/getConsoleOutput.js@byte:0-2046
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2046 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/build/getConsoleOutput.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/build/index.d.ts@byte:0-3731
    Trace reference
    tests/node_modules/@jest/console/build/index.d.ts@byte:0-3731
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    3731 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/build/index.js@byte:0-1016
    Trace reference
    tests/node_modules/@jest/console/build/index.js@byte:0-1016
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1016 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/console/build/types.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/console/build/types.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/console/build/types.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/FailedTestsCache.js@byte:0-1210
    Trace reference
    tests/node_modules/@jest/core/build/FailedTestsCache.js@byte:0-1210
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1210 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/FailedTestsCache.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/FailedTestsInteractiveMode.js@byte:0-5398
    Trace reference
    tests/node_modules/@jest/core/build/FailedTestsInteractiveMode.js@byte:0-5398
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    5398 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/FailedTestsInteractiveMode.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/ReporterDispatcher.js@byte:0-2485
    Trace reference
    tests/node_modules/@jest/core/build/ReporterDispatcher.js@byte:0-2485
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2485 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/ReporterDispatcher.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/SearchSource.js@byte:0-11688
    Trace reference
    tests/node_modules/@jest/core/build/SearchSource.js@byte:0-11688
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    11688 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/SearchSource.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/SnapshotInteractiveMode.js@byte:0-6974
    Trace reference
    tests/node_modules/@jest/core/build/SnapshotInteractiveMode.js@byte:0-6974
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    6974 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/SnapshotInteractiveMode.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/TestNamePatternPrompt.js@byte:0-950
    Trace reference
    tests/node_modules/@jest/core/build/TestNamePatternPrompt.js@byte:0-950
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    950 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/TestNamePatternPrompt.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/TestPathPatternPrompt.js@byte:0-954
    Trace reference
    tests/node_modules/@jest/core/build/TestPathPatternPrompt.js@byte:0-954
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    954 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/TestPathPatternPrompt.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/TestScheduler.js@byte:0-14468
    Trace reference
    tests/node_modules/@jest/core/build/TestScheduler.js@byte:0-14468
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14468 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/TestScheduler.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/cli/index.js@byte:0-11253
    Trace reference
    tests/node_modules/@jest/core/build/cli/index.js@byte:0-11253
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    11253 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/cli/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/collectHandles.js@byte:0-7683
    Trace reference
    tests/node_modules/@jest/core/build/collectHandles.js@byte:0-7683
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    7683 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/collectHandles.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getChangedFilesPromise.js@byte:0-1731
    Trace reference
    tests/node_modules/@jest/core/build/getChangedFilesPromise.js@byte:0-1731
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1731 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getChangedFilesPromise.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js@byte:0-1171
    Trace reference
    tests/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js@byte:0-1171
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1171 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getNoTestFound.js@byte:0-2098
    Trace reference
    tests/node_modules/@jest/core/build/getNoTestFound.js@byte:0-2098
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2098 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getNoTestFound.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getNoTestFoundFailed.js@byte:0-1065
    Trace reference
    tests/node_modules/@jest/core/build/getNoTestFoundFailed.js@byte:0-1065
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1065 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getNoTestFoundFailed.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js@byte:0-674
    Trace reference
    tests/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js@byte:0-674
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    674 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js@byte:0-1238
    Trace reference
    tests/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js@byte:0-1238
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1238 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getNoTestFoundVerbose.js@byte:0-2750
    Trace reference
    tests/node_modules/@jest/core/build/getNoTestFoundVerbose.js@byte:0-2750
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2750 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getNoTestFoundVerbose.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getNoTestsFoundMessage.js@byte:0-1821
    Trace reference
    tests/node_modules/@jest/core/build/getNoTestsFoundMessage.js@byte:0-1821
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1821 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getNoTestsFoundMessage.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getProjectDisplayName.js@byte:0-418
    Trace reference
    tests/node_modules/@jest/core/build/getProjectDisplayName.js@byte:0-418
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    418 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getProjectDisplayName.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getProjectNamesMissingWarning.js@byte:0-1429
    Trace reference
    tests/node_modules/@jest/core/build/getProjectNamesMissingWarning.js@byte:0-1429
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1429 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getProjectNamesMissingWarning.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/getSelectProjectsMessage.js@byte:0-2338
    Trace reference
    tests/node_modules/@jest/core/build/getSelectProjectsMessage.js@byte:0-2338
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2338 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/getSelectProjectsMessage.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/index.d.ts@byte:0-3390
    Trace reference
    tests/node_modules/@jest/core/build/index.d.ts@byte:0-3390
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    3390 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/index.js@byte:0-911
    Trace reference
    tests/node_modules/@jest/core/build/index.js@byte:0-911
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    911 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/lib/activeFiltersMessage.js@byte:0-1357
    Trace reference
    tests/node_modules/@jest/core/build/lib/activeFiltersMessage.js@byte:0-1357
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1357 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/lib/activeFiltersMessage.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/lib/createContext.js@byte:0-745
    Trace reference
    tests/node_modules/@jest/core/build/lib/createContext.js@byte:0-745
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    745 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/lib/createContext.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js@byte:0-1745
    Trace reference
    tests/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js@byte:0-1745
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1745 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/lib/isValidPath.js@byte:0-616
    Trace reference
    tests/node_modules/@jest/core/build/lib/isValidPath.js@byte:0-616
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    616 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/lib/isValidPath.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/lib/logDebugMessages.js@byte:0-640
    Trace reference
    tests/node_modules/@jest/core/build/lib/logDebugMessages.js@byte:0-640
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    640 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/lib/logDebugMessages.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/lib/updateGlobalConfig.js@byte:0-2864
    Trace reference
    tests/node_modules/@jest/core/build/lib/updateGlobalConfig.js@byte:0-2864
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2864 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/lib/updateGlobalConfig.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/lib/watchPluginsHelpers.js@byte:0-1805
    Trace reference
    tests/node_modules/@jest/core/build/lib/watchPluginsHelpers.js@byte:0-1805
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1805 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/lib/watchPluginsHelpers.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js@byte:0-2577
    Trace reference
    tests/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js@byte:0-2577
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2577 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/plugins/Quit.js@byte:0-901
    Trace reference
    tests/node_modules/@jest/core/build/plugins/Quit.js@byte:0-901
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    901 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/plugins/Quit.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/plugins/TestNamePattern.js@byte:0-1679
    Trace reference
    tests/node_modules/@jest/core/build/plugins/TestNamePattern.js@byte:0-1679
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1679 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/plugins/TestNamePattern.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/plugins/TestPathPattern.js@byte:0-1678
    Trace reference
    tests/node_modules/@jest/core/build/plugins/TestPathPattern.js@byte:0-1678
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1678 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/plugins/TestPathPattern.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/plugins/UpdateSnapshots.js@byte:0-1162
    Trace reference
    tests/node_modules/@jest/core/build/plugins/UpdateSnapshots.js@byte:0-1162
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1162 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/plugins/UpdateSnapshots.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js@byte:0-2943
    Trace reference
    tests/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js@byte:0-2943
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2943 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/runGlobalHook.js@byte:0-3921
    Trace reference
    tests/node_modules/@jest/core/build/runGlobalHook.js@byte:0-3921
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    3921 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/runGlobalHook.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/runJest.js@byte:0-11309
    Trace reference
    tests/node_modules/@jest/core/build/runJest.js@byte:0-11309
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    11309 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/runJest.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/testSchedulerHelper.js@byte:0-1602
    Trace reference
    tests/node_modules/@jest/core/build/testSchedulerHelper.js@byte:0-1602
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1602 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/testSchedulerHelper.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/types.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/core/build/types.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/types.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/version.js@byte:0-453
    Trace reference
    tests/node_modules/@jest/core/build/version.js@byte:0-453
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    453 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/version.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/core/build/watch.js@byte:0-19741
    Trace reference
    tests/node_modules/@jest/core/build/watch.js@byte:0-19741
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    19741 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/core/build/watch.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/environment/build/index.d.ts@byte:0-14038
    Trace reference
    tests/node_modules/@jest/environment/build/index.d.ts@byte:0-14038
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14038 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/environment/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/environment/build/index.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/environment/build/index.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/environment/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/build/immutableUtils.js@byte:0-2055
    Trace reference
    tests/node_modules/@jest/expect-utils/build/immutableUtils.js@byte:0-2055
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2055 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/build/immutableUtils.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/build/index.d.ts@byte:0-2201
    Trace reference
    tests/node_modules/@jest/expect-utils/build/index.d.ts@byte:0-2201
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2201 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/build/index.js@byte:0-818
    Trace reference
    tests/node_modules/@jest/expect-utils/build/index.js@byte:0-818
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    818 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/build/jasmineUtils.js@byte:0-6682
    Trace reference
    tests/node_modules/@jest/expect-utils/build/jasmineUtils.js@byte:0-6682
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    6682 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/build/jasmineUtils.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/build/types.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/expect-utils/build/types.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/build/types.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect-utils/build/utils.js@byte:0-14315
    Trace reference
    tests/node_modules/@jest/expect-utils/build/utils.js@byte:0-14315
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14315 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect-utils/build/utils.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect/build/index.d.ts@byte:0-1952
    Trace reference
    tests/node_modules/@jest/expect/build/index.d.ts@byte:0-1952
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1952 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect/build/index.js@byte:0-1096
    Trace reference
    tests/node_modules/@jest/expect/build/index.js@byte:0-1096
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1096 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/expect/build/types.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/expect/build/types.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/expect/build/types.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/fake-timers/build/index.d.ts@byte:0-2963
    Trace reference
    tests/node_modules/@jest/fake-timers/build/index.d.ts@byte:0-2963
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2963 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/fake-timers/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/fake-timers/build/index.js@byte:0-614
    Trace reference
    tests/node_modules/@jest/fake-timers/build/index.js@byte:0-614
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    614 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/fake-timers/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/fake-timers/build/legacyFakeTimers.js@byte:0-15845
    Trace reference
    tests/node_modules/@jest/fake-timers/build/legacyFakeTimers.js@byte:0-15845
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    15845 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/fake-timers/build/legacyFakeTimers.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/fake-timers/build/modernFakeTimers.js@byte:0-4873
    Trace reference
    tests/node_modules/@jest/fake-timers/build/modernFakeTimers.js@byte:0-4873
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    4873 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/fake-timers/build/modernFakeTimers.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/globals/build/index.d.ts@byte:0-3073
    Trace reference
    tests/node_modules/@jest/globals/build/index.d.ts@byte:0-3073
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    3073 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/globals/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/globals/build/index.js@byte:0-359
    Trace reference
    tests/node_modules/@jest/globals/build/index.js@byte:0-359
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    359 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/globals/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/BaseReporter.js@byte:0-1180
    Trace reference
    tests/node_modules/@jest/reporters/build/BaseReporter.js@byte:0-1180
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1180 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/BaseReporter.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/CoverageReporter.js@byte:0-18326
    Trace reference
    tests/node_modules/@jest/reporters/build/CoverageReporter.js@byte:0-18326
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    18326 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/CoverageReporter.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/CoverageWorker.js@byte:0-2521
    Trace reference
    tests/node_modules/@jest/reporters/build/CoverageWorker.js@byte:0-2521
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2521 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/CoverageWorker.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/DefaultReporter.js@byte:0-6722
    Trace reference
    tests/node_modules/@jest/reporters/build/DefaultReporter.js@byte:0-6722
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    6722 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/DefaultReporter.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/GitHubActionsReporter.js@byte:0-11163
    Trace reference
    tests/node_modules/@jest/reporters/build/GitHubActionsReporter.js@byte:0-11163
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    11163 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/GitHubActionsReporter.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/NotifyReporter.js@byte:0-6480
    Trace reference
    tests/node_modules/@jest/reporters/build/NotifyReporter.js@byte:0-6480
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    6480 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/NotifyReporter.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/Status.js@byte:0-5677
    Trace reference
    tests/node_modules/@jest/reporters/build/Status.js@byte:0-5677
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    5677 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/Status.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/SummaryReporter.js@byte:0-7324
    Trace reference
    tests/node_modules/@jest/reporters/build/SummaryReporter.js@byte:0-7324
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    7324 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/SummaryReporter.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/VerboseReporter.js@byte:0-5066
    Trace reference
    tests/node_modules/@jest/reporters/build/VerboseReporter.js@byte:0-5066
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    5066 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/VerboseReporter.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/formatTestPath.js@byte:0-2377
    Trace reference
    tests/node_modules/@jest/reporters/build/formatTestPath.js@byte:0-2377
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2377 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/formatTestPath.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/generateEmptyCoverage.js@byte:0-4197
    Trace reference
    tests/node_modules/@jest/reporters/build/generateEmptyCoverage.js@byte:0-4197
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    4197 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/generateEmptyCoverage.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/getResultHeader.js@byte:0-2159
    Trace reference
    tests/node_modules/@jest/reporters/build/getResultHeader.js@byte:0-2159
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2159 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/getResultHeader.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/getSnapshotStatus.js@byte:0-2242
    Trace reference
    tests/node_modules/@jest/reporters/build/getSnapshotStatus.js@byte:0-2242
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2242 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/getSnapshotStatus.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/getSnapshotSummary.js@byte:0-4737
    Trace reference
    tests/node_modules/@jest/reporters/build/getSnapshotSummary.js@byte:0-4737
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    4737 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/getSnapshotSummary.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/getSummary.js@byte:0-7124
    Trace reference
    tests/node_modules/@jest/reporters/build/getSummary.js@byte:0-7124
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    7124 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/getSummary.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/getWatermarks.js@byte:0-1102
    Trace reference
    tests/node_modules/@jest/reporters/build/getWatermarks.js@byte:0-1102
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1102 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/getWatermarks.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/index.d.ts@byte:0-8877
    Trace reference
    tests/node_modules/@jest/reporters/build/index.d.ts@byte:0-8877
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    8877 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/index.js@byte:0-2930
    Trace reference
    tests/node_modules/@jest/reporters/build/index.js@byte:0-2930
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2930 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/printDisplayName.js@byte:0-939
    Trace reference
    tests/node_modules/@jest/reporters/build/printDisplayName.js@byte:0-939
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    939 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/printDisplayName.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/relativePath.js@byte:0-2177
    Trace reference
    tests/node_modules/@jest/reporters/build/relativePath.js@byte:0-2177
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2177 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/relativePath.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/trimAndFormatPath.js@byte:0-3381
    Trace reference
    tests/node_modules/@jest/reporters/build/trimAndFormatPath.js@byte:0-3381
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    3381 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/trimAndFormatPath.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/types.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/reporters/build/types.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/types.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/reporters/build/wrapAnsiString.js@byte:0-2040
    Trace reference
    tests/node_modules/@jest/reporters/build/wrapAnsiString.js@byte:0-2040
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2040 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/reporters/build/wrapAnsiString.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/schemas/build/index.d.ts@byte:0-2226
    Trace reference
    tests/node_modules/@jest/schemas/build/index.d.ts@byte:0-2226
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2226 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/schemas/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/schemas/build/index.js@byte:0-1979
    Trace reference
    tests/node_modules/@jest/schemas/build/index.js@byte:0-1979
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1979 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/schemas/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/source-map/build/getCallsite.js@byte:0-2380
    Trace reference
    tests/node_modules/@jest/source-map/build/getCallsite.js@byte:0-2380
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2380 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/source-map/build/getCallsite.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/source-map/build/index.d.ts@byte:0-425
    Trace reference
    tests/node_modules/@jest/source-map/build/index.d.ts@byte:0-425
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    425 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/source-map/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/source-map/build/index.js@byte:0-375
    Trace reference
    tests/node_modules/@jest/source-map/build/index.js@byte:0-375
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    375 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/source-map/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/source-map/build/types.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/source-map/build/types.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/source-map/build/types.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-result/build/formatTestResults.js@byte:0-1925
    Trace reference
    tests/node_modules/@jest/test-result/build/formatTestResults.js@byte:0-1925
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1925 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-result/build/formatTestResults.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-result/build/helpers.js@byte:0-4759
    Trace reference
    tests/node_modules/@jest/test-result/build/helpers.js@byte:0-4759
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    4759 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-result/build/helpers.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-result/build/index.d.ts@byte:0-6077
    Trace reference
    tests/node_modules/@jest/test-result/build/index.d.ts@byte:0-6077
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    6077 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-result/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-result/build/index.js@byte:0-1030
    Trace reference
    tests/node_modules/@jest/test-result/build/index.js@byte:0-1030
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1030 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-result/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-result/build/types.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/test-result/build/types.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-result/build/types.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-sequencer/build/index.d.ts@byte:0-2793
    Trace reference
    tests/node_modules/@jest/test-sequencer/build/index.d.ts@byte:0-2793
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2793 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-sequencer/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/test-sequencer/build/index.js@byte:0-8865
    Trace reference
    tests/node_modules/@jest/test-sequencer/build/index.js@byte:0-8865
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    8865 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/test-sequencer/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/build/ScriptTransformer.js@byte:0-30828
    Trace reference
    tests/node_modules/@jest/transform/build/ScriptTransformer.js@byte:0-30828
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    30828 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/build/ScriptTransformer.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js@byte:0-2609
    Trace reference
    tests/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js@byte:0-2609
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    2609 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/build/index.d.ts@byte:0-7727
    Trace reference
    tests/node_modules/@jest/transform/build/index.d.ts@byte:0-7727
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    7727 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/build/index.js@byte:0-1054
    Trace reference
    tests/node_modules/@jest/transform/build/index.js@byte:0-1054
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    1054 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js@byte:0-3165
    Trace reference
    tests/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js@byte:0-3165
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    3165 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/build/shouldInstrument.js@byte:0-4520
    Trace reference
    tests/node_modules/@jest/transform/build/shouldInstrument.js@byte:0-4520
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    4520 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/build/shouldInstrument.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/transform/build/types.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/transform/build/types.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/transform/build/types.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/build/Circus.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/types/build/Circus.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/build/Circus.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/build/Config.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/types/build/Config.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/build/Config.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/build/Global.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/types/build/Global.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/build/Global.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/build/TestResult.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/types/build/TestResult.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/build/TestResult.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/build/Transform.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/types/build/Transform.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/build/Transform.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/build/index.d.ts@byte:0-29697
    Trace reference
    tests/node_modules/@jest/types/build/index.d.ts@byte:0-29697
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    29697 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/@jest/types/build/index.js@byte:0-14
    Trace reference
    tests/node_modules/@jest/types/build/index.js@byte:0-14
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    14 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/@jest/types/build/index.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/jest/bin/jest.js@byte:0-324
    Trace reference
    tests/node_modules/jest/bin/jest.js@byte:0-324
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    324 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/jest/bin/jest.js looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/jest/build/index.d.ts@byte:0-614
    Trace reference
    tests/node_modules/jest/build/index.d.ts@byte:0-614
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    614 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/jest/build/index.d.ts looks like shipped dev-only dependency code from jest

Severity
Medium
Occurrences
1 occurrence
  1. Matched signature: jest
    Kind
    artifact
    Location
    tests/node_modules/jest/build/index.js@byte:0-962
    Trace reference
    tests/node_modules/jest/build/index.js@byte:0-962
    Confidence
    Medium confidence
    Artifact type
    dev dependency
    Signature label
    Matched signature: jest
    Byte size
    962 B
    Attribution state
    Attribution state unavailable
    Contents
    Contents hidden

    Analyzer messagetests/node_modules/jest/build/index.js looks like shipped dev-only dependency code from jest

Build Hygiene Check

Rule ID
hygiene/test-leakage
Severity
Medium
Confidence
Medium confidence
Affected files
30 affected files
Occurrences
485 occurrences

Scope summary

Bundle-line references and matched-line emphasis are preserved for each emitted occurrence.

Review guidance

Remove test-only files and fixtures from the production bundle.

Analyzer messages

  • tests/aiProviders.test.js references test framework global describe
  • tests/aiProviders.test.js references test framework global test
  • tests/aiProviders.test.js references test framework global afterEach
  • tests/aiProviders.test.js references test framework API jest.fn
  • tests/api-logic.test.js references test framework global describe
  • tests/api-logic.test.js references test framework global test
  • tests/dom-interactions.test.js references test framework global describe
  • tests/dom-interactions.test.js references test framework global beforeEach
  • tests/dom-interactions.test.js references test framework global test
  • tests/dom-interactions.test.js references test framework API jest.clearAllMocks
  • tests/dom-interactions.test.js references test framework API jest.fn
  • tests/flowParser.test.js references test framework global describe
  • tests/flowParser.test.js references test framework global test
  • tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global describe
  • tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global beforeEach
  • tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global afterEach
  • tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/class-name.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/class-name.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global beforeEach
  • tests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global afterEach
  • tests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global before
  • tests/node_modules/@sinonjs/commons/lib/every.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/every.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/global.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/global.test.js references test framework global before
  • tests/node_modules/@sinonjs/commons/lib/global.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/index.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/index.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it
  • tests/node_modules/@sinonjs/commons/lib/value-to-string.test.js references test framework global describe
  • tests/node_modules/@sinonjs/commons/lib/value-to-string.test.js references test framework global it
  • tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global describe
  • tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test
  • tests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe
  • tests/node_modules/cssstyle/lib/parsers.test.js references test framework global it
  • tests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo
  • tests/node_modules/entities/src/decode.spec.ts references test framework global describe
  • tests/node_modules/entities/src/decode.spec.ts references test framework global it
  • tests/node_modules/entities/src/encode.spec.ts references test framework global describe
  • tests/node_modules/entities/src/encode.spec.ts references test framework global it
  • tests/node_modules/entities/src/escape.spec.ts references test framework global describe
  • tests/node_modules/entities/src/escape.spec.ts references test framework global it
  • tests/node_modules/entities/src/index.spec.ts references test framework global describe
  • tests/node_modules/entities/src/index.spec.ts references test framework global it
  • tests/node_modules/gensync/test/index.test.js references test framework global describe
  • tests/node_modules/gensync/test/index.test.js references test framework global test
  • tests/node_modules/requires-port/test.js references test framework global describe
  • tests/node_modules/requires-port/test.js references test framework global it
  • tests/node_modules/sprintf-js/test/test.js references test framework global describe
  • tests/node_modules/sprintf-js/test/test.js references test framework global it
  • tests/popup-parse.integration.test.js references test framework global describe
  • tests/popup-parse.integration.test.js references test framework global beforeAll
  • tests/popup-parse.integration.test.js references test framework global test
  • tests/response-parsing.test.js references test framework global describe
  • tests/response-parsing.test.js references test framework global test
  • tests/sendToGPT.test.js references test framework global describe
  • tests/sendToGPT.test.js references test framework global beforeEach
  • tests/sendToGPT.test.js references test framework API jest.clearAllMocks
  • tests/sendToGPT.test.js references test framework API jest.fn
  • tests/sendToGPT.test.js references test framework global test
  • tests/setup.js references test framework API jest.fn
Severity
Medium
Occurrences
29 occurrences
  1. describe('AIProviders', () => { describe('buildRequest', () => { const args = { model: '', apiKey: 'test-key', systemPrompt: 'You are an expert.', userText: 'Explain this flow', temperature: 0.3 }; test('OpenAI chat-completions models use the chat endpoint with bearer auth', () => { const request = AIProviders.PROVIDERS.openai.buildRequest({ ...args, model: ...
    Kind
    code
    Location
    lines 27-219, bytes 701-8744
    Trace reference
    tests/aiProviders.test.js@byte:701-8744
    Confidence
    Medium confidence
    Code excerptlines 27-219, bytes 701-8744
    describe('AIProviders', () => {
    describe('buildRequest', () => {
    const args = {
    model: '', apiKey: 'test-key',
    systemPrompt: 'You are an expert.', userText: 'Explain this flow',
    temperature: 0.3
    };
    test('OpenAI chat-completions models use the chat endpoint with bearer auth', () => {
    const request = AIProviders.PROVIDERS.openai.buildRequest({ ...args, model: ...

    Analyzer messagetests/aiProviders.test.js references test framework global describe

  2. describe('buildRequest', () => { const args = { model: '', apiKey: 'test-key', systemPrompt: 'You are an expert.', userText: 'Explain this flow', temperature: 0.3 }; test('OpenAI chat-completions models use the chat endpoint with bearer auth', () => { const request = AIProviders.PROVIDERS.openai.buildRequest({ ...args, model: 'gpt-4o' }); expect(reques...
    Kind
    code
    Location
    lines 29-82, bytes 736-3356
    Trace reference
    tests/aiProviders.test.js@byte:736-3356
    Confidence
    Medium confidence
    Code excerptlines 29-82, bytes 736-3356
     describe('buildRequest', () => {
    const args = {
    model: '', apiKey: 'test-key',
    systemPrompt: 'You are an expert.', userText: 'Explain this flow',
    temperature: 0.3
    };
    test('OpenAI chat-completions models use the chat endpoint with bearer auth', () => {
    const request = AIProviders.PROVIDERS.openai.buildRequest({ ...args, model: 'gpt-4o' });
    expect(reques...

    Analyzer messagetests/aiProviders.test.js references test framework global describe

  3. test('OpenAI chat-completions models use the chat endpoint with bearer auth', () => { const request = AIProviders.PROVIDERS.openai.buildRequest({ ...args, model: 'gpt-4o' }); expect(request.url).toBe('https://api.openai.com/v1/chat/completions'); expect(request.headers.Authorization).toBe('Bearer test-key'); expect(request.body.stream).toBe(true); expect(request....
    Kind
    code
    Location
    lines 36-44, bytes 933-1417
    Trace reference
    tests/aiProviders.test.js@byte:933-1417
    Confidence
    Medium confidence
    Code excerptlines 36-44, bytes 933-1417
     test('OpenAI chat-completions models use the chat endpoint with bearer auth', () => {
    const request = AIProviders.PROVIDERS.openai.buildRequest({ ...args, model: 'gpt-4o' });
    expect(request.url).toBe('https://api.openai.com/v1/chat/completions');
    expect(request.headers.Authorization).toBe('Bearer test-key');
    expect(request.body.stream).toBe(true);
    expect(request....

    Analyzer messagetests/aiProviders.test.js references test framework global test

  4. test('OpenAI gpt-5 models use the responses endpoint with temperature 1', () => { const request = AIProviders.PROVIDERS.openai.buildRequest({ ...args, model: 'gpt-5-mini' }); expect(request.url).toBe('https://api.openai.com/v1/responses'); expect(request.body.temperature).toBe(1); expect(request.body.input).toContain('You are an expert.'); expect(request.body.str...
    Kind
    code
    Location
    lines 46-53, bytes 1424-1843
    Trace reference
    tests/aiProviders.test.js@byte:1424-1843
    Confidence
    Medium confidence
    Code excerptlines 46-53, bytes 1424-1843
     test('OpenAI gpt-5 models use the responses endpoint with temperature 1', () => {
    const request = AIProviders.PROVIDERS.openai.buildRequest({ ...args, model: 'gpt-5-mini' });
    expect(request.url).toBe('https://api.openai.com/v1/responses');
    expect(request.body.temperature).toBe(1);
    expect(request.body.input).toContain('You are an expert.');
    expect(request.body.str...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  5. test('Anthropic uses the messages endpoint with browser-access headers', () => { const request = AIProviders.PROVIDERS.anthropic.buildRequest({ ...args, model: 'claude-sonnet-4-6' }); expect(request.url).toBe('https://api.anthropic.com/v1/messages'); expect(request.headers['x-api-key']).toBe('test-key'); expect(request.headers['anthropic-version']).toBe('2023-06-01'); ...
    Kind
    code
    Location
    lines 55-64, bytes 1850-2449
    Trace reference
    tests/aiProviders.test.js@byte:1850-2449
    Confidence
    Medium confidence
    Code excerptlines 55-64, bytes 1850-2449
     test('Anthropic uses the messages endpoint with browser-access headers', () => {
    const request = AIProviders.PROVIDERS.anthropic.buildRequest({ ...args, model: 'claude-sonnet-4-6' });
    expect(request.url).toBe('https://api.anthropic.com/v1/messages');
    expect(request.headers['x-api-key']).toBe('test-key');
    expect(request.headers['anthropic-version']).toBe('2023-06-01');
    ...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  6. test('Gemini uses the streaming SSE endpoint with the key in a header', () => { const request = AIProviders.PROVIDERS.gemini.buildRequest({ ...args, model: 'gemini-2.5-flash' }); expect(request.url).toBe('https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse'); expect(request.headers['x-goog-api-key']).toBe('test-key'); ...
    Kind
    code
    Location
    lines 66-72, bytes 2456-2939
    Trace reference
    tests/aiProviders.test.js@byte:2456-2939
    Confidence
    Medium confidence
    Code excerptlines 66-72, bytes 2456-2939
     test('Gemini uses the streaming SSE endpoint with the key in a header', () => {
    const request = AIProviders.PROVIDERS.gemini.buildRequest({ ...args, model: 'gemini-2.5-flash' });
    expect(request.url).toBe('https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse');
    expect(request.headers['x-goog-api-key']).toBe('test-key');
    ...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  7. test('Ollama targets localhost and needs no key', () => { const request = AIProviders.PROVIDERS.ollama.buildRequest({ ...args, model: 'llama3.2' }); expect(request.url).toBe('http://localhost:11434/api/chat'); expect(AIProviders.PROVIDERS.ollama.requiresKey).toBe(false); expect(request.headers.Authorization).toBeUndefined(); expect(request.body.stream).toBe(true)...
    Kind
    code
    Location
    lines 74-81, bytes 2946-3350
    Trace reference
    tests/aiProviders.test.js@byte:2946-3350
    Confidence
    Medium confidence
    Code excerptlines 74-81, bytes 2946-3350
     test('Ollama targets localhost and needs no key', () => {
    const request = AIProviders.PROVIDERS.ollama.buildRequest({ ...args, model: 'llama3.2' });
    expect(request.url).toBe('http://localhost:11434/api/chat');
    expect(AIProviders.PROVIDERS.ollama.requiresKey).toBe(false);
    expect(request.headers.Authorization).toBeUndefined();
    expect(request.body.stream).toBe(true)...\n });

    Analyzer messagetests/aiProviders.test.js references test framework global test

  8. describe('extractDelta', () => { test('OpenAI handles both chat-completions and responses chunks', () => { const { openai } = AIProviders.PROVIDERS; expect(openai.extractDelta({ choices: [{ delta: { content: 'abc' } }] })).toBe('abc'); expect(openai.extractDelta({ type: 'response.output_text.delta', delta: 'xyz' })).toBe('xyz'); expect(openai.extractDelta({ choices: [...
    Kind
    code
    Location
    lines 84-109, bytes 3361-4634
    Trace reference
    tests/aiProviders.test.js@byte:3361-4634
    Confidence
    Medium confidence
    Code excerptlines 84-109, bytes 3361-4634
     describe('extractDelta', () => {
    test('OpenAI handles both chat-completions and responses chunks', () => {
    const { openai } = AIProviders.PROVIDERS;
    expect(openai.extractDelta({ choices: [{ delta: { content: 'abc' } }] })).toBe('abc');
    expect(openai.extractDelta({ type: 'response.output_text.delta', delta: 'xyz' })).toBe('xyz');
    expect(openai.extractDelta({ choices: [...

    Analyzer messagetests/aiProviders.test.js references test framework global describe

  9. test('OpenAI handles both chat-completions and responses chunks', () => { const { openai } = AIProviders.PROVIDERS; expect(openai.extractDelta({ choices: [{ delta: { content: 'abc' } }] })).toBe('abc'); expect(openai.extractDelta({ type: 'response.output_text.delta', delta: 'xyz' })).toBe('xyz'); expect(openai.extractDelta({ choices: [{ delta: {} }] })).toBeNull(); ...
    Kind
    code
    Location
    lines 85-90, bytes 3398-3796
    Trace reference
    tests/aiProviders.test.js@byte:3398-3796
    Confidence
    Medium confidence
    Code excerptlines 85-90, bytes 3398-3796
     describe('extractDelta', () => {\n test('OpenAI handles both chat-completions and responses chunks', () => {
    const { openai } = AIProviders.PROVIDERS;
    expect(openai.extractDelta({ choices: [{ delta: { content: 'abc' } }] })).toBe('abc');
    expect(openai.extractDelta({ type: 'response.output_text.delta', delta: 'xyz' })).toBe('xyz');
    expect(openai.extractDelta({ choices: [{ delta: {} }] })).toBeNull();
    ...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  10. test('Anthropic extracts content_block_delta text', () => { const { anthropic } = AIProviders.PROVIDERS; expect(anthropic.extractDelta({ type: 'content_block_delta', delta: { text: 'hi' } })).toBe('hi'); expect(anthropic.extractDelta({ type: 'message_start' })).toBeNull(); });
    Kind
    code
    Location
    lines 92-96, bytes 3803-4101
    Trace reference
    tests/aiProviders.test.js@byte:3803-4101
    Confidence
    Medium confidence
    Code excerptlines 92-96, bytes 3803-4101
     test('Anthropic extracts content_block_delta text', () => {
    const { anthropic } = AIProviders.PROVIDERS;
    expect(anthropic.extractDelta({ type: 'content_block_delta', delta: { text: 'hi' } })).toBe('hi');
    expect(anthropic.extractDelta({ type: 'message_start' })).toBeNull();
    });

    Analyzer messagetests/aiProviders.test.js references test framework global test

  11. test('Gemini extracts candidate part text', () => { const { gemini } = AIProviders.PROVIDERS; expect(gemini.extractDelta({ candidates: [{ content: { parts: [{ text: 'g' }] } }] })).toBe('g'); expect(gemini.extractDelta({})).toBeNull(); });
    Kind
    code
    Location
    lines 98-102, bytes 4108-4368
    Trace reference
    tests/aiProviders.test.js@byte:4108-4368
    Confidence
    Medium confidence
    Code excerptlines 98-102, bytes 4108-4368
     test('Gemini extracts candidate part text', () => {
    const { gemini } = AIProviders.PROVIDERS;
    expect(gemini.extractDelta({ candidates: [{ content: { parts: [{ text: 'g' }] } }] })).toBe('g');
    expect(gemini.extractDelta({})).toBeNull();
    });

    Analyzer messagetests/aiProviders.test.js references test framework global test

  12. test('Ollama extracts message content', () => { const { ollama } = AIProviders.PROVIDERS; expect(ollama.extractDelta({ message: { content: 'o' }, done: false })).toBe('o'); expect(ollama.extractDelta({ done: true })).toBeNull(); });
    Kind
    code
    Location
    lines 104-108, bytes 4375-4628
    Trace reference
    tests/aiProviders.test.js@byte:4375-4628
    Confidence
    Medium confidence
    Code excerptlines 104-108, bytes 4375-4628
     test('Ollama extracts message content', () => {
    const { ollama } = AIProviders.PROVIDERS;
    expect(ollama.extractDelta({ message: { content: 'o' }, done: false })).toBe('o');
    expect(ollama.extractDelta({ done: true })).toBeNull();
    });\n });

    Analyzer messagetests/aiProviders.test.js references test framework global test

  13. describe('streamChat', () => { afterEach(() => { delete global.fetch; }); test('accumulates SSE deltas and reports them via onDelta', async () => { global.fetch = jest.fn(async () => fakeStreamResponse([ 'data: {"choices":[{"delta":{"content":"Hello"}}]}\n', 'data: {"choices":[{"delta":{"content":" world"}}]}\ndata: [DONE]\n' ])); const deltas...
    Kind
    code
    Location
    lines 111-218, bytes 4639-8740
    Trace reference
    tests/aiProviders.test.js@byte:4639-8740
    Confidence
    Medium confidence
    Code excerptlines 111-218, bytes 4639-8740
     describe('streamChat', () => {
    afterEach(() => {
    delete global.fetch;
    });
    test('accumulates SSE deltas and reports them via onDelta', async () => {
    global.fetch = jest.fn(async () => fakeStreamResponse([
    'data: {"choices":[{"delta":{"content":"Hello"}}]}\n',
    'data: {"choices":[{"delta":{"content":" world"}}]}\ndata: [DONE]\n'
    ]));
    const deltas...\n});
    

    Analyzer messagetests/aiProviders.test.js references test framework global describe

  14. afterEach(() => { delete global.fetch; });
    Kind
    code
    Location
    lines 112-114, bytes 4674-4725
    Trace reference
    tests/aiProviders.test.js@byte:4674-4725
    Confidence
    Medium confidence
    Code excerptlines 112-114, bytes 4674-4725
     describe('streamChat', () => {\n afterEach(() => {
    delete global.fetch;
    });

    Analyzer messagetests/aiProviders.test.js references test framework global afterEach

  15. test('accumulates SSE deltas and reports them via onDelta', async () => { global.fetch = jest.fn(async () => fakeStreamResponse([ 'data: {"choices":[{"delta":{"content":"Hello"}}]}\n', 'data: {"choices":[{"delta":{"content":" world"}}]}\ndata: [DONE]\n' ])); const deltas = []; const fullText = await AIProviders.streamChat({ provider: 'openai', m...
    Kind
    code
    Location
    lines 116-131, bytes 4732-5420
    Trace reference
    tests/aiProviders.test.js@byte:4732-5420
    Confidence
    Medium confidence
    Code excerptlines 116-131, bytes 4732-5420
     test('accumulates SSE deltas and reports them via onDelta', async () => {
    global.fetch = jest.fn(async () => fakeStreamResponse([
    'data: {"choices":[{"delta":{"content":"Hello"}}]}\n',
    'data: {"choices":[{"delta":{"content":" world"}}]}\ndata: [DONE]\n'
    ]));
    const deltas = [];
    const fullText = await AIProviders.streamChat({
    provider: 'openai', m...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  16. global.fetch = jest.fn(async () => fakeStreamResponse([ 'data: {"choices":[{"delta":{"content":"Hello"}}]}\n', 'data: {"choices":[{"delta":{"content":" world"}}]}\ndata: [DONE]\n' ]));
    Kind
    code
    Location
    lines 117-120, bytes 4827-5017
    Trace reference
    tests/aiProviders.test.js@byte:4827-5017
    Confidence
    Medium confidence
    Code excerptlines 117-120, bytes 4827-5017
     test('accumulates SSE deltas and reports them via onDelta', async () => {\n global.fetch = jest.fn(async () => fakeStreamResponse([
    'data: {"choices":[{"delta":{"content":"Hello"}}]}\n',
    'data: {"choices":[{"delta":{"content":" world"}}]}\ndata: [DONE]\n'
    ]));\n const deltas = [];

    Analyzer messagetests/aiProviders.test.js references test framework API jest.fn

  17. test('parses SSE chunks split across network reads', async () => { global.fetch = jest.fn(async () => fakeStreamResponse([ 'data: {"choices":[{"delta":{"con', 'tent":"AB"}}]}\n' ])); const fullText = await AIProviders.streamChat({ provider: 'openai', model: 'gpt-4o', apiKey: 'k', systemPrompt: 's', userText: 'u', temperature: 0.3 }); ...
    Kind
    code
    Location
    lines 133-145, bytes 5427-5862
    Trace reference
    tests/aiProviders.test.js@byte:5427-5862
    Confidence
    Medium confidence
    Code excerptlines 133-145, bytes 5427-5862
     test('parses SSE chunks split across network reads', async () => {
    global.fetch = jest.fn(async () => fakeStreamResponse([
    'data: {"choices":[{"delta":{"con',
    'tent":"AB"}}]}\n'
    ]));
    const fullText = await AIProviders.streamChat({
    provider: 'openai', model: 'gpt-4o', apiKey: 'k',
    systemPrompt: 's', userText: 'u', temperature: 0.3
    });
    ...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  18. global.fetch = jest.fn(async () => fakeStreamResponse([ 'data: {"choices":[{"delta":{"con', 'tent":"AB"}}]}\n' ]));
    Kind
    code
    Location
    lines 134-137, bytes 5515-5636
    Trace reference
    tests/aiProviders.test.js@byte:5515-5636
    Confidence
    Medium confidence
    Code excerptlines 134-137, bytes 5515-5636
     test('parses SSE chunks split across network reads', async () => {\n global.fetch = jest.fn(async () => fakeStreamResponse([
    'data: {"choices":[{"delta":{"con',
    'tent":"AB"}}]}\n'
    ]));

    Analyzer messagetests/aiProviders.test.js references test framework API jest.fn

  19. test('parses Anthropic event/data SSE pairs', async () => { global.fetch = jest.fn(async () => fakeStreamResponse([ 'event: content_block_delta\ndata: {"type":"content_block_delta","delta":{"text":"An"}}\n', 'event: content_block_delta\ndata: {"type":"content_block_delta","delta":{"text":"thropic"}}\n', 'event: message_stop\ndata: {"type":"message_stop"}\n' ...
    Kind
    code
    Location
    lines 147-160, bytes 5869-6515
    Trace reference
    tests/aiProviders.test.js@byte:5869-6515
    Confidence
    Medium confidence
    Code excerptlines 147-160, bytes 5869-6515
     test('parses Anthropic event/data SSE pairs', async () => {
    global.fetch = jest.fn(async () => fakeStreamResponse([
    'event: content_block_delta\ndata: {"type":"content_block_delta","delta":{"text":"An"}}\n',
    'event: content_block_delta\ndata: {"type":"content_block_delta","delta":{"text":"thropic"}}\n',
    'event: message_stop\ndata: {"type":"message_stop"}\n'
    ...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  20. global.fetch = jest.fn(async () => fakeStreamResponse([ 'event: content_block_delta\ndata: {"type":"content_block_delta","delta":{"text":"An"}}\n', 'event: content_block_delta\ndata: {"type":"content_block_delta","delta":{"text":"thropic"}}\n', 'event: message_stop\ndata: {"type":"message_stop"}\n' ]));
    Kind
    code
    Location
    lines 148-152, bytes 5950-6268
    Trace reference
    tests/aiProviders.test.js@byte:5950-6268
    Confidence
    Medium confidence
    Code excerptlines 148-152, bytes 5950-6268
     test('parses Anthropic event/data SSE pairs', async () => {\n global.fetch = jest.fn(async () => fakeStreamResponse([
    'event: content_block_delta\ndata: {"type":"content_block_delta","delta":{"text":"An"}}\n',
    'event: content_block_delta\ndata: {"type":"content_block_delta","delta":{"text":"thropic"}}\n',
    'event: message_stop\ndata: {"type":"message_stop"}\n'
    ]));

    Analyzer messagetests/aiProviders.test.js references test framework API jest.fn

  21. test('parses Ollama NDJSON lines without data prefixes', async () => { global.fetch = jest.fn(async () => fakeStreamResponse([ '{"message":{"content":"Ol"},"done":false}\n{"message":{"content":"lama"},"done":false}\n', '{"done":true}\n' ])); const fullText = await AIProviders.streamChat({ provider: 'ollama', model: 'llama3.2', systemPrompt: 's...
    Kind
    code
    Location
    lines 162-174, bytes 6522-7009
    Trace reference
    tests/aiProviders.test.js@byte:6522-7009
    Confidence
    Medium confidence
    Code excerptlines 162-174, bytes 6522-7009
     test('parses Ollama NDJSON lines without data prefixes', async () => {
    global.fetch = jest.fn(async () => fakeStreamResponse([
    '{"message":{"content":"Ol"},"done":false}\n{"message":{"content":"lama"},"done":false}\n',
    '{"done":true}\n'
    ]));
    const fullText = await AIProviders.streamChat({
    provider: 'ollama', model: 'llama3.2',
    systemPrompt: 's...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  22. global.fetch = jest.fn(async () => fakeStreamResponse([ '{"message":{"content":"Ol"},"done":false}\n{"message":{"content":"lama"},"done":false}\n', '{"done":true}\n' ]));
    Kind
    code
    Location
    lines 163-166, bytes 6614-6790
    Trace reference
    tests/aiProviders.test.js@byte:6614-6790
    Confidence
    Medium confidence
    Code excerptlines 163-166, bytes 6614-6790
     test('parses Ollama NDJSON lines without data prefixes', async () => {\n global.fetch = jest.fn(async () => fakeStreamResponse([
    '{"message":{"content":"Ol"},"done":false}\n{"message":{"content":"lama"},"done":false}\n',
    '{"done":true}\n'
    ]));

    Analyzer messagetests/aiProviders.test.js references test framework API jest.fn

  23. test('throws a labeled error on a non-ok response', async () => { global.fetch = jest.fn(async () => ({ ok: false, status: 401, text: async () => JSON.stringify({ error: { message: 'invalid api key' } }) })); await expect(AIProviders.streamChat({ provider: 'anthropic', model: 'claude-sonnet-4-6', apiKey: 'bad', systemPrompt: 's', userT...
    Kind
    code
    Location
    lines 176-187, bytes 7016-7523
    Trace reference
    tests/aiProviders.test.js@byte:7016-7523
    Confidence
    Medium confidence
    Code excerptlines 176-187, bytes 7016-7523
     test('throws a labeled error on a non-ok response', async () => {
    global.fetch = jest.fn(async () => ({
    ok: false,
    status: 401,
    text: async () => JSON.stringify({ error: { message: 'invalid api key' } })
    }));
    await expect(AIProviders.streamChat({
    provider: 'anthropic', model: 'claude-sonnet-4-6', apiKey: 'bad',
    systemPrompt: 's', userT...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  24. global.fetch = jest.fn(async () => ({ ok: false, status: 401, text: async () => JSON.stringify({ error: { message: 'invalid api key' } }) }));
    Kind
    code
    Location
    lines 177-181, bytes 7103-7259
    Trace reference
    tests/aiProviders.test.js@byte:7103-7259
    Confidence
    Medium confidence
    Code excerptlines 177-181, bytes 7103-7259
     test('throws a labeled error on a non-ok response', async () => {\n global.fetch = jest.fn(async () => ({
    ok: false,
    status: 401,
    text: async () => JSON.stringify({ error: { message: 'invalid api key' } })
    }));

    Analyzer messagetests/aiProviders.test.js references test framework API jest.fn

  25. test('stringifies structured error payloads instead of [object Object]', async () => { // Ollama rejects untrusted origins with 403 and a structured body global.fetch = jest.fn(async () => ({ ok: false, status: 403, text: async () => JSON.stringify({ error: { message: 'origin not allowed', code: 403 } }) })); await expect(AIProviders.streamChat(...
    Kind
    code
    Location
    lines 189-201, bytes 7530-8126
    Trace reference
    tests/aiProviders.test.js@byte:7530-8126
    Confidence
    Medium confidence
    Code excerptlines 189-201, bytes 7530-8126
     test('stringifies structured error payloads instead of [object Object]', async () => {
    // Ollama rejects untrusted origins with 403 and a structured body
    global.fetch = jest.fn(async () => ({
    ok: false,
    status: 403,
    text: async () => JSON.stringify({ error: { message: 'origin not allowed', code: 403 } })
    }));
    await expect(AIProviders.streamChat(...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  26. global.fetch = jest.fn(async () => ({ ok: false, status: 403, text: async () => JSON.stringify({ error: { message: 'origin not allowed', code: 403 } }) }));
    Kind
    code
    Location
    lines 191-195, bytes 7711-7881
    Trace reference
    tests/aiProviders.test.js@byte:7711-7881
    Confidence
    Medium confidence
    Code excerptlines 191-195, bytes 7711-7881
     // Ollama rejects untrusted origins with 403 and a structured body\n global.fetch = jest.fn(async () => ({
    ok: false,
    status: 403,
    text: async () => JSON.stringify({ error: { message: 'origin not allowed', code: 403 } })
    }));

    Analyzer messagetests/aiProviders.test.js references test framework API jest.fn

  27. test('throws on mid-stream error events', async () => { global.fetch = jest.fn(async () => fakeStreamResponse([ 'data: {"type":"error","error":{"message":"overloaded"}}\n' ])); await expect(AIProviders.streamChat({ provider: 'anthropic', model: 'claude-sonnet-4-6', apiKey: 'k', systemPrompt: 's', userText: 'u', temperature: 0.3 })).rejects.toThr...
    Kind
    code
    Location
    lines 203-212, bytes 8133-8553
    Trace reference
    tests/aiProviders.test.js@byte:8133-8553
    Confidence
    Medium confidence
    Code excerptlines 203-212, bytes 8133-8553
     test('throws on mid-stream error events', async () => {
    global.fetch = jest.fn(async () => fakeStreamResponse([
    'data: {"type":"error","error":{"message":"overloaded"}}\n'
    ]));
    await expect(AIProviders.streamChat({
    provider: 'anthropic', model: 'claude-sonnet-4-6', apiKey: 'k',
    systemPrompt: 's', userText: 'u', temperature: 0.3
    })).rejects.toThr...

    Analyzer messagetests/aiProviders.test.js references test framework global test

  28. global.fetch = jest.fn(async () => fakeStreamResponse([ 'data: {"type":"error","error":{"message":"overloaded"}}\n' ]));
    Kind
    code
    Location
    lines 204-206, bytes 8210-8328
    Trace reference
    tests/aiProviders.test.js@byte:8210-8328
    Confidence
    Medium confidence
    Code excerptlines 204-206, bytes 8210-8328
     test('throws on mid-stream error events', async () => {\n global.fetch = jest.fn(async () => fakeStreamResponse([
    'data: {"type":"error","error":{"message":"overloaded"}}\n'
    ]));

    Analyzer messagetests/aiProviders.test.js references test framework API jest.fn

  29. test('rejects unknown providers', async () => { await expect(AIProviders.streamChat({ provider: 'nope' })) .rejects.toThrow('Unknown AI provider: nope'); });
    Kind
    code
    Location
    lines 214-217, bytes 8560-8734
    Trace reference
    tests/aiProviders.test.js@byte:8560-8734
    Confidence
    Medium confidence
    Code excerptlines 214-217, bytes 8560-8734
     test('rejects unknown providers', async () => {
    await expect(AIProviders.streamChat({ provider: 'nope' }))
    .rejects.toThrow('Unknown AI provider: nope');
    });\n });

    Analyzer messagetests/aiProviders.test.js references test framework global test

Severity
Medium
Occurrences
22 occurrences
  1. describe('Model Detection and API Logic', () => { // Helper function to simulate the model detection logic function isGPT5Model(model) { return !!(model && typeof model === 'string' && model.trim().length > 0 && model.toLowerCase().startsWith('gpt-5')); } // Helper function to get the correct token parameter function getTokenLimitParam(model) { return isGPT5Model(model) ? 'max_o...
    Kind
    code
    Location
    lines 3-208, bytes 44-7596
    Trace reference
    tests/api-logic.test.js@byte:44-7596
    Confidence
    Medium confidence
    Code excerptlines 3-208, bytes 44-7596
    describe('Model Detection and API Logic', () => {
    // Helper function to simulate the model detection logic
    function isGPT5Model(model) {
    return !!(model && typeof model === 'string' && model.trim().length > 0 && model.toLowerCase().startsWith('gpt-5'));
    }
    // Helper function to get the correct token parameter
    function getTokenLimitParam(model) {
    return isGPT5Model(model) ? 'max_o...

    Analyzer messagetests/api-logic.test.js references test framework global describe

  2. describe('Model Detection', () => { test('should detect GPT-5 models correctly', () => { expect(isGPT5Model('gpt-5-nano')).toBe(true); expect(isGPT5Model('gpt-5-mini')).toBe(true); expect(isGPT5Model('GPT-5-Large')).toBe(true); expect(isGPT5Model('gpt-5')).toBe(true); }); test('should not detect non-GPT-5 models as GPT-5', () => { expect(isGPT5Model('gp...
    Kind
    code
    Location
    lines 58-73, bytes 1823-2477
    Trace reference
    tests/api-logic.test.js@byte:1823-2477
    Confidence
    Medium confidence
    Code excerptlines 58-73, bytes 1823-2477
     describe('Model Detection', () => {
    test('should detect GPT-5 models correctly', () => {
    expect(isGPT5Model('gpt-5-nano')).toBe(true);
    expect(isGPT5Model('gpt-5-mini')).toBe(true);
    expect(isGPT5Model('GPT-5-Large')).toBe(true);
    expect(isGPT5Model('gpt-5')).toBe(true);
    });
    test('should not detect non-GPT-5 models as GPT-5', () => {
    expect(isGPT5Model('gp...

    Analyzer messagetests/api-logic.test.js references test framework global describe

  3. test('should detect GPT-5 models correctly', () => { expect(isGPT5Model('gpt-5-nano')).toBe(true); expect(isGPT5Model('gpt-5-mini')).toBe(true); expect(isGPT5Model('GPT-5-Large')).toBe(true); expect(isGPT5Model('gpt-5')).toBe(true); });
    Kind
    code
    Location
    lines 59-64, bytes 1863-2126
    Trace reference
    tests/api-logic.test.js@byte:1863-2126
    Confidence
    Medium confidence
    Code excerptlines 59-64, bytes 1863-2126
     describe('Model Detection', () => {\n test('should detect GPT-5 models correctly', () => {
    expect(isGPT5Model('gpt-5-nano')).toBe(true);
    expect(isGPT5Model('gpt-5-mini')).toBe(true);
    expect(isGPT5Model('GPT-5-Large')).toBe(true);
    expect(isGPT5Model('gpt-5')).toBe(true);
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  4. test('should not detect non-GPT-5 models as GPT-5', () => { expect(isGPT5Model('gpt-4o')).toBe(false); expect(isGPT5Model('gpt-4-turbo')).toBe(false); expect(isGPT5Model('gpt-3.5-turbo')).toBe(false); expect(isGPT5Model('claude-3-sonnet')).toBe(false); expect(isGPT5Model('custom-model')).toBe(false); });
    Kind
    code
    Location
    lines 66-72, bytes 2133-2471
    Trace reference
    tests/api-logic.test.js@byte:2133-2471
    Confidence
    Medium confidence
    Code excerptlines 66-72, bytes 2133-2471
     test('should not detect non-GPT-5 models as GPT-5', () => {
    expect(isGPT5Model('gpt-4o')).toBe(false);
    expect(isGPT5Model('gpt-4-turbo')).toBe(false);
    expect(isGPT5Model('gpt-3.5-turbo')).toBe(false);
    expect(isGPT5Model('claude-3-sonnet')).toBe(false);
    expect(isGPT5Model('custom-model')).toBe(false);
    });\n });

    Analyzer messagetests/api-logic.test.js references test framework global test

  5. describe('Salesforce API Version Selection', () => { // mirrors getLatestAPIVersion in content.js: pick the last (highest) // version from /services/data/, fall back to the pinned default const DEFAULT_API_VERSION = 'v57.0'; function pickLatestVersion(versions) { if (Array.isArray(versions) && versions.length > 0) { return 'v' + versions[versions.length - 1].version...
    Kind
    code
    Location
    lines 75-100, bytes 2482-3563
    Trace reference
    tests/api-logic.test.js@byte:2482-3563
    Confidence
    Medium confidence
    Code excerptlines 75-100, bytes 2482-3563
     describe('Salesforce API Version Selection', () => {
    // mirrors getLatestAPIVersion in content.js: pick the last (highest)
    // version from /services/data/, fall back to the pinned default
    const DEFAULT_API_VERSION = 'v57.0';
    function pickLatestVersion(versions) {
    if (Array.isArray(versions) && versions.length > 0) {
    return 'v' + versions[versions.length - 1].version...

    Analyzer messagetests/api-logic.test.js references test framework global describe

  6. test('should pick the last version from /services/data/', () => { const versions = [ { version: '61.0', label: 'Summer \'24' }, { version: '62.0', label: 'Winter \'25' }, { version: '63.0', label: 'Spring \'25' } ]; expect(pickLatestVersion(versions)).toBe('v63.0'); });
    Kind
    code
    Location
    lines 86-93, bytes 2935-3250
    Trace reference
    tests/api-logic.test.js@byte:2935-3250
    Confidence
    Medium confidence
    Code excerptlines 86-93, bytes 2935-3250
     test('should pick the last version from /services/data/', () => {
    const versions = [
    { version: '61.0', label: 'Summer \'24' },
    { version: '62.0', label: 'Winter \'25' },
    { version: '63.0', label: 'Spring \'25' }
    ];
    expect(pickLatestVersion(versions)).toBe('v63.0');
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  7. test('should fall back to the default when response is empty or invalid', () => { expect(pickLatestVersion([])).toBe(DEFAULT_API_VERSION); expect(pickLatestVersion(null)).toBe(DEFAULT_API_VERSION); expect(pickLatestVersion({ error: 'unexpected' })).toBe(DEFAULT_API_VERSION); });
    Kind
    code
    Location
    lines 95-99, bytes 3257-3557
    Trace reference
    tests/api-logic.test.js@byte:3257-3557
    Confidence
    Medium confidence
    Code excerptlines 95-99, bytes 3257-3557
     test('should fall back to the default when response is empty or invalid', () => {
    expect(pickLatestVersion([])).toBe(DEFAULT_API_VERSION);
    expect(pickLatestVersion(null)).toBe(DEFAULT_API_VERSION);
    expect(pickLatestVersion({ error: 'unexpected' })).toBe(DEFAULT_API_VERSION);
    });\n });

    Analyzer messagetests/api-logic.test.js references test framework global test

  8. describe('API Parameters', () => { test('should use correct token parameter for GPT-5', () => { expect(getTokenLimitParam('gpt-5-nano')).toBe('max_output_tokens'); expect(getTokenLimitParam('gpt-5-mini')).toBe('max_output_tokens'); }); test('should use correct token parameter for non-GPT-5', () => { expect(getTokenLimitParam('gpt-4o')).toBe('max_tokens'); exp...
    Kind
    code
    Location
    lines 102-129, bytes 3568-4797
    Trace reference
    tests/api-logic.test.js@byte:3568-4797
    Confidence
    Medium confidence
    Code excerptlines 102-129, bytes 3568-4797
     describe('API Parameters', () => {
    test('should use correct token parameter for GPT-5', () => {
    expect(getTokenLimitParam('gpt-5-nano')).toBe('max_output_tokens');
    expect(getTokenLimitParam('gpt-5-mini')).toBe('max_output_tokens');
    });
    test('should use correct token parameter for non-GPT-5', () => {
    expect(getTokenLimitParam('gpt-4o')).toBe('max_tokens');
    exp...

    Analyzer messagetests/api-logic.test.js references test framework global describe

  9. test('should use correct token parameter for GPT-5', () => { expect(getTokenLimitParam('gpt-5-nano')).toBe('max_output_tokens'); expect(getTokenLimitParam('gpt-5-mini')).toBe('max_output_tokens'); });
    Kind
    code
    Location
    lines 103-106, bytes 3607-3822
    Trace reference
    tests/api-logic.test.js@byte:3607-3822
    Confidence
    Medium confidence
    Code excerptlines 103-106, bytes 3607-3822
     describe('API Parameters', () => {\n test('should use correct token parameter for GPT-5', () => {
    expect(getTokenLimitParam('gpt-5-nano')).toBe('max_output_tokens');
    expect(getTokenLimitParam('gpt-5-mini')).toBe('max_output_tokens');
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  10. test('should use correct token parameter for non-GPT-5', () => { expect(getTokenLimitParam('gpt-4o')).toBe('max_tokens'); expect(getTokenLimitParam('gpt-4-turbo')).toBe('max_tokens'); expect(getTokenLimitParam('claude-3-sonnet')).toBe('max_tokens'); });
    Kind
    code
    Location
    lines 108-112, bytes 3829-4103
    Trace reference
    tests/api-logic.test.js@byte:3829-4103
    Confidence
    Medium confidence
    Code excerptlines 108-112, bytes 3829-4103
     test('should use correct token parameter for non-GPT-5', () => {
    expect(getTokenLimitParam('gpt-4o')).toBe('max_tokens');
    expect(getTokenLimitParam('gpt-4-turbo')).toBe('max_tokens');
    expect(getTokenLimitParam('claude-3-sonnet')).toBe('max_tokens');
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  11. test('should use temperature = 1 for GPT-5 models', () => { expect(getModelTemperature('gpt-5-nano')).toBe(1); expect(getModelTemperature('gpt-5-mini')).toBe(1); });
    Kind
    code
    Location
    lines 114-117, bytes 4110-4290
    Trace reference
    tests/api-logic.test.js@byte:4110-4290
    Confidence
    Medium confidence
    Code excerptlines 114-117, bytes 4110-4290
     test('should use temperature = 1 for GPT-5 models', () => {
    expect(getModelTemperature('gpt-5-nano')).toBe(1);
    expect(getModelTemperature('gpt-5-mini')).toBe(1);
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  12. test('should use default temperature for non-GPT-5 models', () => { expect(getModelTemperature('gpt-4o')).toBe(0.3); expect(getModelTemperature('gpt-4-turbo')).toBe(0.3); expect(getModelTemperature('claude-3-sonnet')).toBe(0.3); });
    Kind
    code
    Location
    lines 119-123, bytes 4297-4550
    Trace reference
    tests/api-logic.test.js@byte:4297-4550
    Confidence
    Medium confidence
    Code excerptlines 119-123, bytes 4297-4550
     test('should use default temperature for non-GPT-5 models', () => {
    expect(getModelTemperature('gpt-4o')).toBe(0.3);
    expect(getModelTemperature('gpt-4-turbo')).toBe(0.3);
    expect(getModelTemperature('claude-3-sonnet')).toBe(0.3);
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  13. test('should use correct API endpoints', () => { expect(getApiEndpoint('gpt-5-nano')).toBe('https://api.openai.com/v1/responses'); expect(getApiEndpoint('gpt-4o')).toBe('https://api.openai.com/v1/chat/completions'); });
    Kind
    code
    Location
    lines 125-128, bytes 4557-4791
    Trace reference
    tests/api-logic.test.js@byte:4557-4791
    Confidence
    Medium confidence
    Code excerptlines 125-128, bytes 4557-4791
     test('should use correct API endpoints', () => {
    expect(getApiEndpoint('gpt-5-nano')).toBe('https://api.openai.com/v1/responses');
    expect(getApiEndpoint('gpt-4o')).toBe('https://api.openai.com/v1/chat/completions');
    });\n });

    Analyzer messagetests/api-logic.test.js references test framework global test

  14. describe('Payload Generation', () => { const testPrompt = 'Explain this flow:'; const testData = 'Sample flow data'; const systemPrompt = 'You are a Salesforce flow expert.'; test('should generate correct payload for GPT-5 models', () => { const payload = buildPayload('gpt-5-nano', testPrompt, testData, systemPrompt); expect(payload).toEqual({ model: '...
    Kind
    code
    Location
    lines 131-183, bytes 4802-6729
    Trace reference
    tests/api-logic.test.js@byte:4802-6729
    Confidence
    Medium confidence
    Code excerptlines 131-183, bytes 4802-6729
     describe('Payload Generation', () => {
    const testPrompt = 'Explain this flow:';
    const testData = 'Sample flow data';
    const systemPrompt = 'You are a Salesforce flow expert.';
    test('should generate correct payload for GPT-5 models', () => {
    const payload = buildPayload('gpt-5-nano', testPrompt, testData, systemPrompt);
    expect(payload).toEqual({
    model: '...

    Analyzer messagetests/api-logic.test.js references test framework global describe

  15. test('should generate correct payload for GPT-5 models', () => { const payload = buildPayload('gpt-5-nano', testPrompt, testData, systemPrompt); expect(payload).toEqual({ model: 'gpt-5-nano', input: `${systemPrompt}\n\n${testPrompt} ${testData}`, temperature: 1, max_output_tokens: 2000 }); // Should not have chat completion parame...
    Kind
    code
    Location
    lines 136-151, bytes 4994-5607
    Trace reference
    tests/api-logic.test.js@byte:4994-5607
    Confidence
    Medium confidence
    Code excerptlines 136-151, bytes 4994-5607
     test('should generate correct payload for GPT-5 models', () => {
    const payload = buildPayload('gpt-5-nano', testPrompt, testData, systemPrompt);
    expect(payload).toEqual({
    model: 'gpt-5-nano',
    input: `${systemPrompt}\n\n${testPrompt} ${testData}`,
    temperature: 1,
    max_output_tokens: 2000
    });
    // Should not have chat completion parame...

    Analyzer messagetests/api-logic.test.js references test framework global test

  16. test('should generate correct payload for non-GPT-5 models', () => { const payload = buildPayload('gpt-4o', testPrompt, testData, systemPrompt); expect(payload).toEqual({ model: 'gpt-4o', messages: [ { role: 'system', content: [{ type: 'text', text: systemPrompt }] }, { role: 'user', content: [{ type: 'text', text: `${testPrompt} ${testDat...
    Kind
    code
    Location
    lines 153-172, bytes 5614-6321
    Trace reference
    tests/api-logic.test.js@byte:5614-6321
    Confidence
    Medium confidence
    Code excerptlines 153-172, bytes 5614-6321
     test('should generate correct payload for non-GPT-5 models', () => {
    const payload = buildPayload('gpt-4o', testPrompt, testData, systemPrompt);
    expect(payload).toEqual({
    model: 'gpt-4o',
    messages: [
    { role: 'system', content: [{ type: 'text', text: systemPrompt }] },
    { role: 'user', content: [{ type: 'text', text: `${testPrompt} ${testDat...

    Analyzer messagetests/api-logic.test.js references test framework global test

  17. test('should handle custom models as non-GPT-5', () => { const payload = buildPayload('claude-3-sonnet', testPrompt, testData, systemPrompt); expect(payload.model).toBe('claude-3-sonnet'); expect(payload.messages).toBeDefined(); expect(payload.temperature).toBe(0.3); expect(payload.max_tokens).toBe(2000); expect(payload.input).toBeUndefined(); });
    Kind
    code
    Location
    lines 174-182, bytes 6328-6723
    Trace reference
    tests/api-logic.test.js@byte:6328-6723
    Confidence
    Medium confidence
    Code excerptlines 174-182, bytes 6328-6723
     test('should handle custom models as non-GPT-5', () => {
    const payload = buildPayload('claude-3-sonnet', testPrompt, testData, systemPrompt);
    expect(payload.model).toBe('claude-3-sonnet');
    expect(payload.messages).toBeDefined();
    expect(payload.temperature).toBe(0.3);
    expect(payload.max_tokens).toBe(2000);
    expect(payload.input).toBeUndefined();
    });\n });

    Analyzer messagetests/api-logic.test.js references test framework global test

  18. describe('Edge Cases', () => { test('should handle empty model names', () => { expect(isGPT5Model('')).toBe(false); expect(isGPT5Model(null)).toBe(false); expect(isGPT5Model(undefined)).toBe(false); }); test('should handle case sensitivity', () => { expect(isGPT5Model('GPT-5-NANO')).toBe(true); expect(isGPT5Model('Gpt-5-Mini')).toBe(true); expect(...
    Kind
    code
    Location
    lines 185-207, bytes 6734-7592
    Trace reference
    tests/api-logic.test.js@byte:6734-7592
    Confidence
    Medium confidence
    Code excerptlines 185-207, bytes 6734-7592
     describe('Edge Cases', () => {
    test('should handle empty model names', () => {
    expect(isGPT5Model('')).toBe(false);
    expect(isGPT5Model(null)).toBe(false);
    expect(isGPT5Model(undefined)).toBe(false);
    });
    test('should handle case sensitivity', () => {
    expect(isGPT5Model('GPT-5-NANO')).toBe(true);
    expect(isGPT5Model('Gpt-5-Mini')).toBe(true);
    expect(...\n});

    Analyzer messagetests/api-logic.test.js references test framework global describe

  19. test('should handle empty model names', () => { expect(isGPT5Model('')).toBe(false); expect(isGPT5Model(null)).toBe(false); expect(isGPT5Model(undefined)).toBe(false); });
    Kind
    code
    Location
    lines 186-190, bytes 6769-6961
    Trace reference
    tests/api-logic.test.js@byte:6769-6961
    Confidence
    Medium confidence
    Code excerptlines 186-190, bytes 6769-6961
     describe('Edge Cases', () => {\n test('should handle empty model names', () => {
    expect(isGPT5Model('')).toBe(false);
    expect(isGPT5Model(null)).toBe(false);
    expect(isGPT5Model(undefined)).toBe(false);
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  20. test('should handle case sensitivity', () => { expect(isGPT5Model('GPT-5-NANO')).toBe(true); expect(isGPT5Model('Gpt-5-Mini')).toBe(true); expect(isGPT5Model('gPt-5')).toBe(true); });
    Kind
    code
    Location
    lines 192-196, bytes 6968-7172
    Trace reference
    tests/api-logic.test.js@byte:6968-7172
    Confidence
    Medium confidence
    Code excerptlines 192-196, bytes 6968-7172
     test('should handle case sensitivity', () => {
    expect(isGPT5Model('GPT-5-NANO')).toBe(true);
    expect(isGPT5Model('Gpt-5-Mini')).toBe(true);
    expect(isGPT5Model('gPt-5')).toBe(true);
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  21. test('should handle models that start with gpt-5 but have additional text', () => { expect(isGPT5Model('gpt-5-custom-version')).toBe(true); expect(isGPT5Model('gpt-5a')).toBe(true); });
    Kind
    code
    Location
    lines 198-201, bytes 7179-7379
    Trace reference
    tests/api-logic.test.js@byte:7179-7379
    Confidence
    Medium confidence
    Code excerptlines 198-201, bytes 7179-7379
     test('should handle models that start with gpt-5 but have additional text', () => {
    expect(isGPT5Model('gpt-5-custom-version')).toBe(true);
    expect(isGPT5Model('gpt-5a')).toBe(true);
    });

    Analyzer messagetests/api-logic.test.js references test framework global test

  22. test('should not match models that contain but do not start with gpt-5', () => { expect(isGPT5Model('custom-gpt-5-model')).toBe(false); expect(isGPT5Model('new-gpt-5')).toBe(false); });
    Kind
    code
    Location
    lines 203-206, bytes 7386-7586
    Trace reference
    tests/api-logic.test.js@byte:7386-7586
    Confidence
    Medium confidence
    Code excerptlines 203-206, bytes 7386-7586
     test('should not match models that contain but do not start with gpt-5', () => {
    expect(isGPT5Model('custom-gpt-5-model')).toBe(false);
    expect(isGPT5Model('new-gpt-5')).toBe(false);
    });\n });

    Analyzer messagetests/api-logic.test.js references test framework global test

Severity
Medium
Occurrences
31 occurrences
  1. describe('DOM Interactions', () => { // Mock DOM setup beforeEach(() => { document.body.innerHTML = ''; localStorage.clear(); sessionStorage.clear(); }); // Helper function to simulate model selection UI creation function createModelSelectionUI(savedModel = 'gpt-4o') { const container = document.createElement('div'); container.className = 'model-selection'; ...
    Kind
    code
    Location
    lines 3-274, bytes 49-10528
    Trace reference
    tests/dom-interactions.test.js@byte:49-10528
    Confidence
    Medium confidence
    Code excerptlines 3-274, bytes 49-10528
    describe('DOM Interactions', () => {
    // Mock DOM setup
    beforeEach(() => {
    document.body.innerHTML = '';
    localStorage.clear();
    sessionStorage.clear();
    });
    // Helper function to simulate model selection UI creation
    function createModelSelectionUI(savedModel = 'gpt-4o') {
    const container = document.createElement('div');
    container.className = 'model-selection';
    ...

    Analyzer messagetests/dom-interactions.test.js references test framework global describe

  2. beforeEach(() => { document.body.innerHTML = ''; localStorage.clear(); sessionStorage.clear(); });
    Kind
    code
    Location
    lines 5-9, bytes 108-219
    Trace reference
    tests/dom-interactions.test.js@byte:108-219
    Confidence
    Medium confidence
    Code excerptlines 5-9, bytes 108-219
     // Mock DOM setup\n beforeEach(() => {
    document.body.innerHTML = '';
    localStorage.clear();
    sessionStorage.clear();
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global beforeEach

  3. describe('Model Selection UI', () => { test('should create model selection UI with correct default selection', () => { const ui = createModelSelectionUI('gpt-4o'); document.body.appendChild(ui); const gpt4Radio = ui.querySelector('input[value="gpt-4o"]'); const gpt5Radio = ui.querySelector('input[value="gpt-5-nano"]'); const customRadio = ui.querySelector...
    Kind
    code
    Location
    lines 42-96, bytes 1786-3958
    Trace reference
    tests/dom-interactions.test.js@byte:1786-3958
    Confidence
    Medium confidence
    Code excerptlines 42-96, bytes 1786-3958
     describe('Model Selection UI', () => {
    test('should create model selection UI with correct default selection', () => {
    const ui = createModelSelectionUI('gpt-4o');
    document.body.appendChild(ui);
    const gpt4Radio = ui.querySelector('input[value="gpt-4o"]');
    const gpt5Radio = ui.querySelector('input[value="gpt-5-nano"]');
    const customRadio = ui.querySelector...

    Analyzer messagetests/dom-interactions.test.js references test framework global describe

  4. test('should create model selection UI with correct default selection', () => { const ui = createModelSelectionUI('gpt-4o'); document.body.appendChild(ui); const gpt4Radio = ui.querySelector('input[value="gpt-4o"]'); const gpt5Radio = ui.querySelector('input[value="gpt-5-nano"]'); const customRadio = ui.querySelector('input[value="custom"]'); e...
    Kind
    code
    Location
    lines 43-54, bytes 1829-2360
    Trace reference
    tests/dom-interactions.test.js@byte:1829-2360
    Confidence
    Medium confidence
    Code excerptlines 43-54, bytes 1829-2360
     describe('Model Selection UI', () => {\n test('should create model selection UI with correct default selection', () => {
    const ui = createModelSelectionUI('gpt-4o');
    document.body.appendChild(ui);
    const gpt4Radio = ui.querySelector('input[value="gpt-4o"]');
    const gpt5Radio = ui.querySelector('input[value="gpt-5-nano"]');
    const customRadio = ui.querySelector('input[value="custom"]');
    e...

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  5. test('should show custom input when custom model is selected', () => { const ui = createModelSelectionUI('claude-3-sonnet'); document.body.appendChild(ui); const customRadio = ui.querySelector('input[value="custom"]'); const customInput = ui.querySelector('.custom-model-input'); const customInputField = ui.querySelector('#custom-model-name'); e...
    Kind
    code
    Location
    lines 56-67, bytes 2367-2925
    Trace reference
    tests/dom-interactions.test.js@byte:2367-2925
    Confidence
    Medium confidence
    Code excerptlines 56-67, bytes 2367-2925
     test('should show custom input when custom model is selected', () => {
    const ui = createModelSelectionUI('claude-3-sonnet');
    document.body.appendChild(ui);
    const customRadio = ui.querySelector('input[value="custom"]');
    const customInput = ui.querySelector('.custom-model-input');
    const customInputField = ui.querySelector('#custom-model-name');
    e...

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  6. test('should hide custom input for predefined models', () => { const ui = createModelSelectionUI('gpt-5-nano'); document.body.appendChild(ui); const customInput = ui.querySelector('.custom-model-input'); expect(customInput.style.display).toBe('none'); });
    Kind
    code
    Location
    lines 69-76, bytes 2932-3228
    Trace reference
    tests/dom-interactions.test.js@byte:2932-3228
    Confidence
    Medium confidence
    Code excerptlines 69-76, bytes 2932-3228
     test('should hide custom input for predefined models', () => {
    const ui = createModelSelectionUI('gpt-5-nano');
    document.body.appendChild(ui);
    const customInput = ui.querySelector('.custom-model-input');
    expect(customInput.style.display).toBe('none');
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  7. test('should get selected model value correctly', () => { const ui = createModelSelectionUI('gpt-5-nano'); document.body.appendChild(ui); const selectedRadio = ui.querySelector('input[name="gpt-version"]:checked'); expect(selectedRadio.value).toBe('gpt-5-nano'); });
    Kind
    code
    Location
    lines 78-84, bytes 3235-3535
    Trace reference
    tests/dom-interactions.test.js@byte:3235-3535
    Confidence
    Medium confidence
    Code excerptlines 78-84, bytes 3235-3535
     test('should get selected model value correctly', () => {
    const ui = createModelSelectionUI('gpt-5-nano');
    document.body.appendChild(ui);
    const selectedRadio = ui.querySelector('input[name="gpt-version"]:checked');
    expect(selectedRadio.value).toBe('gpt-5-nano');
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  8. test('should handle custom model selection', () => { const ui = createModelSelectionUI('gpt-4-turbo'); document.body.appendChild(ui); const customRadio = ui.querySelector('input[value="custom"]'); const customInputField = ui.querySelector('#custom-model-name'); expect(customRadio.checked).toBe(true); expect(customInputField.value).toBe('gpt-4-t...
    Kind
    code
    Location
    lines 86-95, bytes 3542-3952
    Trace reference
    tests/dom-interactions.test.js@byte:3542-3952
    Confidence
    Medium confidence
    Code excerptlines 86-95, bytes 3542-3952
     test('should handle custom model selection', () => {
    const ui = createModelSelectionUI('gpt-4-turbo');
    document.body.appendChild(ui);
    const customRadio = ui.querySelector('input[value="custom"]');
    const customInputField = ui.querySelector('#custom-model-name');
    expect(customRadio.checked).toBe(true);
    expect(customInputField.value).toBe('gpt-4-t...\n });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  9. describe('LocalStorage Integration', () => { beforeEach(() => { localStorage.clear(); jest.clearAllMocks(); }); test('should save selected model to localStorage', () => { localStorage.setItem('selectedGPTModel', 'gpt-5-nano'); // Test that we can retrieve what we set const saved = localStorage.getItem('selectedGPTModel'); expect(saved).toBe...
    Kind
    code
    Location
    lines 98-135, bytes 3963-5310
    Trace reference
    tests/dom-interactions.test.js@byte:3963-5310
    Confidence
    Medium confidence
    Code excerptlines 98-135, bytes 3963-5310
     describe('LocalStorage Integration', () => {
    beforeEach(() => {
    localStorage.clear();
    jest.clearAllMocks();
    });
    test('should save selected model to localStorage', () => {
    localStorage.setItem('selectedGPTModel', 'gpt-5-nano');
    // Test that we can retrieve what we set
    const saved = localStorage.getItem('selectedGPTModel');
    expect(saved).toBe...

    Analyzer messagetests/dom-interactions.test.js references test framework global describe

  10. beforeEach(() => { localStorage.clear(); jest.clearAllMocks(); });
    Kind
    code
    Location
    lines 99-102, bytes 4012-4093
    Trace reference
    tests/dom-interactions.test.js@byte:4012-4093
    Confidence
    Medium confidence
    Code excerptlines 99-102, bytes 4012-4093
     describe('LocalStorage Integration', () => {\n beforeEach(() => {
    localStorage.clear();
    jest.clearAllMocks();
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global beforeEach

  11. jest.clearAllMocks()
    Kind
    code
    Location
    line 101, bytes 4065-4085
    Trace reference
    tests/dom-interactions.test.js@byte:4065-4085
    Confidence
    Medium confidence
    Code excerptline 101, bytes 4065-4085
    \njest.clearAllMocks()\n;

    Analyzer messagetests/dom-interactions.test.js references test framework API jest.clearAllMocks

  12. test('should save selected model to localStorage', () => { localStorage.setItem('selectedGPTModel', 'gpt-5-nano'); // Test that we can retrieve what we set const saved = localStorage.getItem('selectedGPTModel'); expect(saved).toBe('gpt-5-nano'); });
    Kind
    code
    Location
    lines 104-110, bytes 4100-4383
    Trace reference
    tests/dom-interactions.test.js@byte:4100-4383
    Confidence
    Medium confidence
    Code excerptlines 104-110, bytes 4100-4383
     test('should save selected model to localStorage', () => {
    localStorage.setItem('selectedGPTModel', 'gpt-5-nano');
    // Test that we can retrieve what we set
    const saved = localStorage.getItem('selectedGPTModel');
    expect(saved).toBe('gpt-5-nano');
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  13. test('should load saved model from localStorage', () => { // Use the mock implementation localStorage.setItem('selectedGPTModel', 'gpt-5-nano'); const savedModel = localStorage.getItem('selectedGPTModel') || 'gpt-4o'; expect(savedModel).toBe('gpt-5-nano'); });
    Kind
    code
    Location
    lines 112-118, bytes 4390-4684
    Trace reference
    tests/dom-interactions.test.js@byte:4390-4684
    Confidence
    Medium confidence
    Code excerptlines 112-118, bytes 4390-4684
     test('should load saved model from localStorage', () => {
    // Use the mock implementation
    localStorage.setItem('selectedGPTModel', 'gpt-5-nano');
    const savedModel = localStorage.getItem('selectedGPTModel') || 'gpt-4o';
    expect(savedModel).toBe('gpt-5-nano');
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  14. test('should default to gpt-4o when no saved model', () => { // Don't set anything, should return null const savedModel = localStorage.getItem('selectedGPTModel') || 'gpt-4o'; expect(savedModel).toBe('gpt-4o'); });
    Kind
    code
    Location
    lines 120-124, bytes 4691-4926
    Trace reference
    tests/dom-interactions.test.js@byte:4691-4926
    Confidence
    Medium confidence
    Code excerptlines 120-124, bytes 4691-4926
     test('should default to gpt-4o when no saved model', () => {
    // Don't set anything, should return null
    const savedModel = localStorage.getItem('selectedGPTModel') || 'gpt-4o';
    expect(savedModel).toBe('gpt-4o');
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  15. test('should handle custom model persistence', () => { localStorage.setItem('selectedGPTModel', 'claude-3-opus'); const savedModel = localStorage.getItem('selectedGPTModel'); const isCustomModel = !['gpt-4o', 'gpt-5-nano'].includes(savedModel); expect(isCustomModel).toBe(true); expect(savedModel).toBe('claude-3-opus'); });
    Kind
    code
    Location
    lines 126-134, bytes 4933-5304
    Trace reference
    tests/dom-interactions.test.js@byte:4933-5304
    Confidence
    Medium confidence
    Code excerptlines 126-134, bytes 4933-5304
     test('should handle custom model persistence', () => {
    localStorage.setItem('selectedGPTModel', 'claude-3-opus');
    const savedModel = localStorage.getItem('selectedGPTModel');
    const isCustomModel = !['gpt-4o', 'gpt-5-nano'].includes(savedModel);
    expect(isCustomModel).toBe(true);
    expect(savedModel).toBe('claude-3-opus');
    });\n });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  16. describe('UI Event Simulation', () => { test('should handle radio button change events', () => { const ui = createModelSelectionUI(); document.body.appendChild(ui); const gpt5Radio = ui.querySelector('input[value="gpt-5-nano"]'); const changeHandler = jest.fn(); gpt5Radio.addEventListener('change', changeHandler); // Simulate clicking ...
    Kind
    code
    Location
    lines 137-247, bytes 5315-9530
    Trace reference
    tests/dom-interactions.test.js@byte:5315-9530
    Confidence
    Medium confidence
    Code excerptlines 137-247, bytes 5315-9530
     describe('UI Event Simulation', () => {
    test('should handle radio button change events', () => {
    const ui = createModelSelectionUI();
    document.body.appendChild(ui);
    const gpt5Radio = ui.querySelector('input[value="gpt-5-nano"]');
    const changeHandler = jest.fn();
    gpt5Radio.addEventListener('change', changeHandler);
    // Simulate clicking ...

    Analyzer messagetests/dom-interactions.test.js references test framework global describe

  17. test('should handle radio button change events', () => { const ui = createModelSelectionUI(); document.body.appendChild(ui); const gpt5Radio = ui.querySelector('input[value="gpt-5-nano"]'); const changeHandler = jest.fn(); gpt5Radio.addEventListener('change', changeHandler); // Simulate clicking the radio button gpt5Radio.click(); ...
    Kind
    code
    Location
    lines 138-152, bytes 5359-5860
    Trace reference
    tests/dom-interactions.test.js@byte:5359-5860
    Confidence
    Medium confidence
    Code excerptlines 138-152, bytes 5359-5860
     describe('UI Event Simulation', () => {\n test('should handle radio button change events', () => {
    const ui = createModelSelectionUI();
    document.body.appendChild(ui);
    const gpt5Radio = ui.querySelector('input[value="gpt-5-nano"]');
    const changeHandler = jest.fn();
    gpt5Radio.addEventListener('change', changeHandler);
    // Simulate clicking the radio button
    gpt5Radio.click();
    ...

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  18. jest.fn()
    Kind
    code
    Location
    line 143, bytes 5602-5611
    Trace reference
    tests/dom-interactions.test.js@byte:5602-5611
    Confidence
    Medium confidence
    Code excerptline 143, bytes 5602-5611
     const changeHandler = \njest.fn()\n;

    Analyzer messagetests/dom-interactions.test.js references test framework API jest.fn

  19. test('should handle custom input field changes', () => { const ui = createModelSelectionUI('custom-model'); document.body.appendChild(ui); const customInput = ui.querySelector('#custom-model-name'); const inputHandler = jest.fn(); customInput.addEventListener('input', inputHandler); // Simulate typing in the input customInput.value...
    Kind
    code
    Location
    lines 154-169, bytes 5867-6447
    Trace reference
    tests/dom-interactions.test.js@byte:5867-6447
    Confidence
    Medium confidence
    Code excerptlines 154-169, bytes 5867-6447
     test('should handle custom input field changes', () => {
    const ui = createModelSelectionUI('custom-model');
    document.body.appendChild(ui);
    const customInput = ui.querySelector('#custom-model-name');
    const inputHandler = jest.fn();
    customInput.addEventListener('input', inputHandler);
    // Simulate typing in the input
    customInput.value...

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  20. jest.fn()
    Kind
    code
    Location
    line 159, bytes 6118-6127
    Trace reference
    tests/dom-interactions.test.js@byte:6118-6127
    Confidence
    Medium confidence
    Code excerptline 159, bytes 6118-6127
     const inputHandler = \njest.fn()\n;

    Analyzer messagetests/dom-interactions.test.js references test framework API jest.fn

  21. test('should detect the start node from a text line at any depth', () => { // mirrors isStartNode in content.js: instead of a fixed child path like // children[0].children[1].children[1], any line of the node's visible // text equal to "Start" marks the auto-layout start node const containsStartLabel = (innerText) => (innerText ?? '').split('\n').some(line => li...
    Kind
    code
    Location
    lines 171-183, bytes 6454-7234
    Trace reference
    tests/dom-interactions.test.js@byte:6454-7234
    Confidence
    Medium confidence
    Code excerptlines 171-183, bytes 6454-7234
     test('should detect the start node from a text line at any depth', () => {
    // mirrors isStartNode in content.js: instead of a fixed child path like
    // children[0].children[1].children[1], any line of the node's visible
    // text equal to "Start" marks the auto-layout start node
    const containsStartLabel = (innerText) =>
    (innerText ?? '').split('\n').some(line => li...

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  22. test('should send flow definition only once when ready message and load both fire', () => { // content.js sends the definition on the popup's "ready" postMessage with // the iframe load event as fallback; the second signal must be a no-op const sendMessage = jest.fn(); let definitionSent = false; const sendDefinitionOnce = () => { if (definitionSent) { ...
    Kind
    code
    Location
    lines 185-204, bytes 7241-7962
    Trace reference
    tests/dom-interactions.test.js@byte:7241-7962
    Confidence
    Medium confidence
    Code excerptlines 185-204, bytes 7241-7962
     test('should send flow definition only once when ready message and load both fire', () => {
    // content.js sends the definition on the popup's "ready" postMessage with
    // the iframe load event as fallback; the second signal must be a no-op
    const sendMessage = jest.fn();
    let definitionSent = false;
    const sendDefinitionOnce = () => {
    if (definitionSent) {
    ...

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  23. jest.fn()
    Kind
    code
    Location
    line 188, bytes 7518-7527
    Trace reference
    tests/dom-interactions.test.js@byte:7518-7527
    Confidence
    Medium confidence
    Code excerptline 188, bytes 7518-7527
     const sendMessage = \njest.fn()\n;

    Analyzer messagetests/dom-interactions.test.js references test framework API jest.fn

  24. test('should not stack duplicate handlers when parseFlow runs again', () => { // parseFlow assigns handler properties (onclick/onchange/oninput) instead of // addEventListener, so receiving a second flow definition replaces the // handler rather than firing one API call per previous parseFlow run const button = document.createElement('button'); document.body.appen...
    Kind
    code
    Location
    lines 206-224, bytes 7969-8729
    Trace reference
    tests/dom-interactions.test.js@byte:7969-8729
    Confidence
    Medium confidence
    Code excerptlines 206-224, bytes 7969-8729
     test('should not stack duplicate handlers when parseFlow runs again', () => {
    // parseFlow assigns handler properties (onclick/onchange/oninput) instead of
    // addEventListener, so receiving a second flow definition replaces the
    // handler rather than firing one API call per previous parseFlow run
    const button = document.createElement('button');
    document.body.appen...

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  25. jest.fn()
    Kind
    code
    Location
    line 213, bytes 8409-8418
    Trace reference
    tests/dom-interactions.test.js@byte:8409-8418
    Confidence
    Medium confidence
    Code excerptline 213, bytes 8409-8418
     const firstHandler = \njest.fn()\n;

    Analyzer messagetests/dom-interactions.test.js references test framework API jest.fn

  26. jest.fn()
    Kind
    code
    Location
    line 214, bytes 8448-8457
    Trace reference
    tests/dom-interactions.test.js@byte:8448-8457
    Confidence
    Medium confidence
    Code excerptline 214, bytes 8448-8457
     const secondHandler = \njest.fn()\n;

    Analyzer messagetests/dom-interactions.test.js references test framework API jest.fn

  27. test('should show/hide custom input based on selection', () => { const ui = createModelSelectionUI(); document.body.appendChild(ui); const customRadio = ui.querySelector('input[value="custom"]'); const gpt4Radio = ui.querySelector('input[value="gpt-4o"]'); const customInput = ui.querySelector('.custom-model-input'); // Initially hidden ex...
    Kind
    code
    Location
    lines 226-246, bytes 8736-9524
    Trace reference
    tests/dom-interactions.test.js@byte:8736-9524
    Confidence
    Medium confidence
    Code excerptlines 226-246, bytes 8736-9524
     test('should show/hide custom input based on selection', () => {
    const ui = createModelSelectionUI();
    document.body.appendChild(ui);
    const customRadio = ui.querySelector('input[value="custom"]');
    const gpt4Radio = ui.querySelector('input[value="gpt-4o"]');
    const customInput = ui.querySelector('.custom-model-input');
    // Initially hidden
    ex...\n });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  28. describe('Error Handling', () => { test('should handle missing DOM elements gracefully', () => { const ui = document.createElement('div'); document.body.appendChild(ui); const nonExistentRadio = ui.querySelector('input[name="gpt-version"]:checked'); expect(nonExistentRadio).toBeNull(); }); test('should handle malformed HTML gracefully', () => { c...
    Kind
    code
    Location
    lines 249-273, bytes 9535-10524
    Trace reference
    tests/dom-interactions.test.js@byte:9535-10524
    Confidence
    Medium confidence
    Code excerptlines 249-273, bytes 9535-10524
     describe('Error Handling', () => {
    test('should handle missing DOM elements gracefully', () => {
    const ui = document.createElement('div');
    document.body.appendChild(ui);
    const nonExistentRadio = ui.querySelector('input[name="gpt-version"]:checked');
    expect(nonExistentRadio).toBeNull();
    });
    test('should handle malformed HTML gracefully', () => {
    c...\n});

    Analyzer messagetests/dom-interactions.test.js references test framework global describe

  29. test('should handle missing DOM elements gracefully', () => { const ui = document.createElement('div'); document.body.appendChild(ui); const nonExistentRadio = ui.querySelector('input[name="gpt-version"]:checked'); expect(nonExistentRadio).toBeNull(); });
    Kind
    code
    Location
    lines 250-256, bytes 9574-9863
    Trace reference
    tests/dom-interactions.test.js@byte:9574-9863
    Confidence
    Medium confidence
    Code excerptlines 250-256, bytes 9574-9863
     describe('Error Handling', () => {\n test('should handle missing DOM elements gracefully', () => {
    const ui = document.createElement('div');
    document.body.appendChild(ui);
    const nonExistentRadio = ui.querySelector('input[name="gpt-version"]:checked');
    expect(nonExistentRadio).toBeNull();
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  30. test('should handle malformed HTML gracefully', () => { const ui = document.createElement('div'); ui.innerHTML = '<input type="radio" name="gpt-version" value="test">'; // Fixed HTML document.body.appendChild(ui); const radio = ui.querySelector('input[name="gpt-version"]'); expect(radio).not.toBeNull(); expect(radio.value).toBe('test'); });
    Kind
    code
    Location
    lines 258-266, bytes 9870-10258
    Trace reference
    tests/dom-interactions.test.js@byte:9870-10258
    Confidence
    Medium confidence
    Code excerptlines 258-266, bytes 9870-10258
     test('should handle malformed HTML gracefully', () => {
    const ui = document.createElement('div');
    ui.innerHTML = '<input type="radio" name="gpt-version" value="test">'; // Fixed HTML
    document.body.appendChild(ui);
    const radio = ui.querySelector('input[name="gpt-version"]');
    expect(radio).not.toBeNull();
    expect(radio.value).toBe('test');
    });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

  31. test('should handle undefined localStorage values', () => { // Don't set anything, localStorage.getItem will return null const savedModel = localStorage.getItem('selectedGPTModel') || 'gpt-4o'; expect(savedModel).toBe('gpt-4o'); });
    Kind
    code
    Location
    lines 268-272, bytes 10265-10518
    Trace reference
    tests/dom-interactions.test.js@byte:10265-10518
    Confidence
    Medium confidence
    Code excerptlines 268-272, bytes 10265-10518
     test('should handle undefined localStorage values', () => {
    // Don't set anything, localStorage.getItem will return null
    const savedModel = localStorage.getItem('selectedGPTModel') || 'gpt-4o';
    expect(savedModel).toBe('gpt-4o');
    });\n });

    Analyzer messagetests/dom-interactions.test.js references test framework global test

Severity
Medium
Occurrences
47 occurrences
  1. describe('FlowParserShared', () => { describe('getValue', () => { test('should extract whichever value field is present', () => { expect(FlowParserShared.getValue({ stringValue: 'abc' })).toBe('abc'); expect(FlowParserShared.getValue({ numberValue: 42 })).toBe(42); expect(FlowParserShared.getValue({ booleanValue: false })).toBe(false); expect(FlowParserShared.getValu...
    Kind
    code
    Location
    lines 6-589, bytes 190-24645
    Trace reference
    tests/flowParser.test.js@byte:190-24645
    Confidence
    Medium confidence
    Code excerptlines 6-589, bytes 190-24645
    describe('FlowParserShared', () => {
    describe('getValue', () => {
    test('should extract whichever value field is present', () => {
    expect(FlowParserShared.getValue({ stringValue: 'abc' })).toBe('abc');
    expect(FlowParserShared.getValue({ numberValue: 42 })).toBe(42);
    expect(FlowParserShared.getValue({ booleanValue: false })).toBe(false);
    expect(FlowParserShared.getValu...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  2. describe('getValue', () => { test('should extract whichever value field is present', () => { expect(FlowParserShared.getValue({ stringValue: 'abc' })).toBe('abc'); expect(FlowParserShared.getValue({ numberValue: 42 })).toBe(42); expect(FlowParserShared.getValue({ booleanValue: false })).toBe(false); expect(FlowParserShared.getValue({ elementReference: 'varName' })).to...
    Kind
    code
    Location
    lines 8-23, bytes 230-1103
    Trace reference
    tests/flowParser.test.js@byte:230-1103
    Confidence
    Medium confidence
    Code excerptlines 8-23, bytes 230-1103
     describe('getValue', () => {
    test('should extract whichever value field is present', () => {
    expect(FlowParserShared.getValue({ stringValue: 'abc' })).toBe('abc');
    expect(FlowParserShared.getValue({ numberValue: 42 })).toBe(42);
    expect(FlowParserShared.getValue({ booleanValue: false })).toBe(false);
    expect(FlowParserShared.getValue({ elementReference: 'varName' })).to...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  3. test('should extract whichever value field is present', () => { expect(FlowParserShared.getValue({ stringValue: 'abc' })).toBe('abc'); expect(FlowParserShared.getValue({ numberValue: 42 })).toBe(42); expect(FlowParserShared.getValue({ booleanValue: false })).toBe(false); expect(FlowParserShared.getValue({ elementReference: 'varName' })).toBe('varName'); expect(Flo...
    Kind
    code
    Location
    lines 9-16, bytes 263-812
    Trace reference
    tests/flowParser.test.js@byte:263-812
    Confidence
    Medium confidence
    Code excerptlines 9-16, bytes 263-812
     describe('getValue', () => {\n test('should extract whichever value field is present', () => {
    expect(FlowParserShared.getValue({ stringValue: 'abc' })).toBe('abc');
    expect(FlowParserShared.getValue({ numberValue: 42 })).toBe(42);
    expect(FlowParserShared.getValue({ booleanValue: false })).toBe(false);
    expect(FlowParserShared.getValue({ elementReference: 'varName' })).toBe('varName');
    expect(Flo...

    Analyzer messagetests/flowParser.test.js references test framework global test

  4. test('should return the default for empty or missing values', () => { expect(FlowParserShared.getValue({}, 'null')).toBe('null'); expect(FlowParserShared.getValue(null, 'null')).toBe('null'); expect(FlowParserShared.getValue(undefined)).toBeUndefined(); });
    Kind
    code
    Location
    lines 18-22, bytes 819-1097
    Trace reference
    tests/flowParser.test.js@byte:819-1097
    Confidence
    Medium confidence
    Code excerptlines 18-22, bytes 819-1097
     test('should return the default for empty or missing values', () => {
    expect(FlowParserShared.getValue({}, 'null')).toBe('null');
    expect(FlowParserShared.getValue(null, 'null')).toBe('null');
    expect(FlowParserShared.getValue(undefined)).toBeUndefined();
    });\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  5. describe('buildDefinitionMap', () => { test('should index present collections and default missing ones to empty arrays', () => { const flowDefinition = { decisions: [{ name: 'Check' }], recordCreates: [{ name: 'Create' }] }; const definitionMap = FlowParserShared.buildDefinitionMap(flowDefinition); expect(definitionMap.get('decisions')).toHaveLength(...
    Kind
    code
    Location
    lines 25-41, bytes 1108-1833
    Trace reference
    tests/flowParser.test.js@byte:1108-1833
    Confidence
    Medium confidence
    Code excerptlines 25-41, bytes 1108-1833
     describe('buildDefinitionMap', () => {
    test('should index present collections and default missing ones to empty arrays', () => {
    const flowDefinition = {
    decisions: [{ name: 'Check' }],
    recordCreates: [{ name: 'Create' }]
    };
    const definitionMap = FlowParserShared.buildDefinitionMap(flowDefinition);
    expect(definitionMap.get('decisions')).toHaveLength(...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  6. test('should index present collections and default missing ones to empty arrays', () => { const flowDefinition = { decisions: [{ name: 'Check' }], recordCreates: [{ name: 'Create' }] }; const definitionMap = FlowParserShared.buildDefinitionMap(flowDefinition); expect(definitionMap.get('decisions')).toHaveLength(1); expect(definitionMap.get('recor...
    Kind
    code
    Location
    lines 26-40, bytes 1151-1827
    Trace reference
    tests/flowParser.test.js@byte:1151-1827
    Confidence
    Medium confidence
    Code excerptlines 26-40, bytes 1151-1827
     describe('buildDefinitionMap', () => {\n test('should index present collections and default missing ones to empty arrays', () => {
    const flowDefinition = {
    decisions: [{ name: 'Check' }],
    recordCreates: [{ name: 'Create' }]
    };
    const definitionMap = FlowParserShared.buildDefinitionMap(flowDefinition);
    expect(definitionMap.get('decisions')).toHaveLength(1);
    expect(definitionMap.get('recor...\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  7. describe('findElementByLabel', () => { test('should find an element across collections and tag its type', () => { const definitionMap = FlowParserShared.buildDefinitionMap({ screens: [{ name: 'S1', label: 'My Screen' }], recordLookups: [{ name: 'L1', label: 'Get Records' }] }); const found = FlowParserShared.findElementByLabel(definitionMap, 'Get Records');...
    Kind
    code
    Location
    lines 43-71, bytes 1838-3005
    Trace reference
    tests/flowParser.test.js@byte:1838-3005
    Confidence
    Medium confidence
    Code excerptlines 43-71, bytes 1838-3005
     describe('findElementByLabel', () => {
    test('should find an element across collections and tag its type', () => {
    const definitionMap = FlowParserShared.buildDefinitionMap({
    screens: [{ name: 'S1', label: 'My Screen' }],
    recordLookups: [{ name: 'L1', label: 'Get Records' }]
    });
    const found = FlowParserShared.findElementByLabel(definitionMap, 'Get Records');...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  8. test('should find an element across collections and tag its type', () => { const definitionMap = FlowParserShared.buildDefinitionMap({ screens: [{ name: 'S1', label: 'My Screen' }], recordLookups: [{ name: 'L1', label: 'Get Records' }] }); const found = FlowParserShared.findElementByLabel(definitionMap, 'Get Records'); expect(found.name).toBe('L1'); ...
    Kind
    code
    Location
    lines 44-54, bytes 1881-2329
    Trace reference
    tests/flowParser.test.js@byte:1881-2329
    Confidence
    Medium confidence
    Code excerptlines 44-54, bytes 1881-2329
     describe('findElementByLabel', () => {\n test('should find an element across collections and tag its type', () => {
    const definitionMap = FlowParserShared.buildDefinitionMap({
    screens: [{ name: 'S1', label: 'My Screen' }],
    recordLookups: [{ name: 'L1', label: 'Get Records' }]
    });
    const found = FlowParserShared.findElementByLabel(definitionMap, 'Get Records');
    expect(found.name).toBe('L1');
    ...

    Analyzer messagetests/flowParser.test.js references test framework global test

  9. test('should return null when no element matches', () => { const definitionMap = FlowParserShared.buildDefinitionMap({}); expect(FlowParserShared.findElementByLabel(definitionMap, 'Nope')).toBeNull(); });
    Kind
    code
    Location
    lines 56-59, bytes 2336-2555
    Trace reference
    tests/flowParser.test.js@byte:2336-2555
    Confidence
    Medium confidence
    Code excerptlines 56-59, bytes 2336-2555
     test('should return null when no element matches', () => {
    const definitionMap = FlowParserShared.buildDefinitionMap({});
    expect(FlowParserShared.findElementByLabel(definitionMap, 'Nope')).toBeNull();
    });

    Analyzer messagetests/flowParser.test.js references test framework global test

  10. test('should return the first match even when the label is ambiguous', () => { const definitionMap = FlowParserShared.buildDefinitionMap({ recordUpdates: [ { name: 'Update_Record', label: 'Update Record' }, { name: 'Update_Record0', label: 'Update Record' } ] }); expect(FlowParserShared.findElementByLabel(definitionMap, 'Update Record').nam...
    Kind
    code
    Location
    lines 61-70, bytes 2562-2999
    Trace reference
    tests/flowParser.test.js@byte:2562-2999
    Confidence
    Medium confidence
    Code excerptlines 61-70, bytes 2562-2999
     test('should return the first match even when the label is ambiguous', () => {
    const definitionMap = FlowParserShared.buildDefinitionMap({
    recordUpdates: [
    { name: 'Update_Record', label: 'Update Record' },
    { name: 'Update_Record0', label: 'Update Record' }
    ]
    });
    expect(FlowParserShared.findElementByLabel(definitionMap, 'Update Record').nam...\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  11. describe('findElementsByLabel', () => { test('should return every element sharing a label, each tagged with its type', () => { const definitionMap = FlowParserShared.buildDefinitionMap({ recordUpdates: [ { name: 'Update_Record', label: 'Update Record' }, { name: 'Update_Record0', label: 'Update Record' } ], screens: [{ name: 'S1', label: 'Upd...
    Kind
    code
    Location
    lines 73-103, bytes 3010-4328
    Trace reference
    tests/flowParser.test.js@byte:3010-4328
    Confidence
    Medium confidence
    Code excerptlines 73-103, bytes 3010-4328
     describe('findElementsByLabel', () => {
    test('should return every element sharing a label, each tagged with its type', () => {
    const definitionMap = FlowParserShared.buildDefinitionMap({
    recordUpdates: [
    { name: 'Update_Record', label: 'Update Record' },
    { name: 'Update_Record0', label: 'Update Record' }
    ],
    screens: [{ name: 'S1', label: 'Upd...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  12. test('should return every element sharing a label, each tagged with its type', () => { const definitionMap = FlowParserShared.buildDefinitionMap({ recordUpdates: [ { name: 'Update_Record', label: 'Update Record' }, { name: 'Update_Record0', label: 'Update Record' } ], screens: [{ name: 'S1', label: 'Update Record' }] }); const matc...
    Kind
    code
    Location
    lines 74-89, bytes 3054-3757
    Trace reference
    tests/flowParser.test.js@byte:3054-3757
    Confidence
    Medium confidence
    Code excerptlines 74-89, bytes 3054-3757
     describe('findElementsByLabel', () => {\n test('should return every element sharing a label, each tagged with its type', () => {
    const definitionMap = FlowParserShared.buildDefinitionMap({
    recordUpdates: [
    { name: 'Update_Record', label: 'Update Record' },
    { name: 'Update_Record0', label: 'Update Record' }
    ],
    screens: [{ name: 'S1', label: 'Update Record' }]
    });
    const matc...

    Analyzer messagetests/flowParser.test.js references test framework global test

  13. test('should return a single-element array for a unique label', () => { const definitionMap = FlowParserShared.buildDefinitionMap({ recordLookups: [{ name: 'L1', label: 'Get Records' }] }); expect(FlowParserShared.findElementsByLabel(definitionMap, 'Get Records')) .toHaveLength(1); });
    Kind
    code
    Location
    lines 91-97, bytes 3764-4087
    Trace reference
    tests/flowParser.test.js@byte:3764-4087
    Confidence
    Medium confidence
    Code excerptlines 91-97, bytes 3764-4087
     test('should return a single-element array for a unique label', () => {
    const definitionMap = FlowParserShared.buildDefinitionMap({
    recordLookups: [{ name: 'L1', label: 'Get Records' }]
    });
    expect(FlowParserShared.findElementsByLabel(definitionMap, 'Get Records'))
    .toHaveLength(1);
    });

    Analyzer messagetests/flowParser.test.js references test framework global test

  14. test('should return an empty array when nothing matches', () => { const definitionMap = FlowParserShared.buildDefinitionMap({}); expect(FlowParserShared.findElementsByLabel(definitionMap, 'Nope')).toEqual([]); });
    Kind
    code
    Location
    lines 99-102, bytes 4094-4322
    Trace reference
    tests/flowParser.test.js@byte:4094-4322
    Confidence
    Medium confidence
    Code excerptlines 99-102, bytes 4094-4322
     test('should return an empty array when nothing matches', () => {
    const definitionMap = FlowParserShared.buildDefinitionMap({});
    expect(FlowParserShared.findElementsByLabel(definitionMap, 'Nope')).toEqual([]);
    });\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  15. describe('resolveAmbiguousElement', () => { // two record updates share the label "Update Record"; one is followed by // End, the other by a screen function ambiguousFlow() { return { startElementReference: 'Start_Decision', decisions: [{ name: 'Start_Decision', label: 'Start', defaultConnectorLabel: 'Else', defaultConnector: { targ...
    Kind
    code
    Location
    lines 105-245, bytes 4333-10696
    Trace reference
    tests/flowParser.test.js@byte:4333-10696
    Confidence
    Medium confidence
    Code excerptlines 105-245, bytes 4333-10696
     describe('resolveAmbiguousElement', () => {
    // two record updates share the label "Update Record"; one is followed by
    // End, the other by a screen
    function ambiguousFlow() {
    return {
    startElementReference: 'Start_Decision',
    decisions: [{
    name: 'Start_Decision', label: 'Start',
    defaultConnectorLabel: 'Else',
    defaultConnector: { targ...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  16. test('should pick the element whose successor matches the assistive text', () => { const flow = ambiguousFlow(); const matches = matchesFor(flow, 'Update Record'); // "followed by Notify" identifies Update_Record0; "followed by End" // identifies Update_Record expect(FlowParserShared.resolveAmbiguousElement( flow, matches, 'On outcome (Else), followed by ...
    Kind
    code
    Location
    lines 132-144, bytes 5397-6044
    Trace reference
    tests/flowParser.test.js@byte:5397-6044
    Confidence
    Medium confidence
    Code excerptlines 132-144, bytes 5397-6044
     test('should pick the element whose successor matches the assistive text', () => {
    const flow = ambiguousFlow();
    const matches = matchesFor(flow, 'Update Record');
    // "followed by Notify" identifies Update_Record0; "followed by End"
    // identifies Update_Record
    expect(FlowParserShared.resolveAmbiguousElement(
    flow, matches, 'On outcome (Else), followed by ...

    Analyzer messagetests/flowParser.test.js references test framework global test

  17. test('should break a successor tie on the incoming-connector count', () => { // both share the label and both terminate (followed by End), so the // successor cannot tell them apart; A has one incoming connector, B two const flow = { startElementReference: 'Feed_A', recordLookups: [ { name: 'Feed_A', label: 'Feed A', object: 'Account', co...
    Kind
    code
    Location
    lines 146-172, bytes 6051-7365
    Trace reference
    tests/flowParser.test.js@byte:6051-7365
    Confidence
    Medium confidence
    Code excerptlines 146-172, bytes 6051-7365
     test('should break a successor tie on the incoming-connector count', () => {
    // both share the label and both terminate (followed by End), so the
    // successor cannot tell them apart; A has one incoming connector, B two
    const flow = {
    startElementReference: 'Feed_A',
    recordLookups: [
    { name: 'Feed_A', label: 'Feed A', object: 'Account',
    co...

    Analyzer messagetests/flowParser.test.js references test framework global test

  18. test('should return null when the text cannot single one out', () => { const flow = ambiguousFlow(); const matches = matchesFor(flow, 'Update Record'); // a successor that matches neither candidate -> no assumption expect(FlowParserShared.resolveAmbiguousElement( flow, matches, 'followed by Nowhere')).toBeNull(); // no usable assistive text at all ex...
    Kind
    code
    Location
    lines 174-183, bytes 7372-7945
    Trace reference
    tests/flowParser.test.js@byte:7372-7945
    Confidence
    Medium confidence
    Code excerptlines 174-183, bytes 7372-7945
     test('should return null when the text cannot single one out', () => {
    const flow = ambiguousFlow();
    const matches = matchesFor(flow, 'Update Record');
    // a successor that matches neither candidate -> no assumption
    expect(FlowParserShared.resolveAmbiguousElement(
    flow, matches, 'followed by Nowhere')).toBeNull();
    // no usable assistive text at all
    ex...

    Analyzer messagetests/flowParser.test.js references test framework global test

  19. test('should return null when there is nothing to disambiguate', () => { const flow = ambiguousFlow(); const single = matchesFor(flow, 'Notify'); expect(FlowParserShared.resolveAmbiguousElement( flow, single, 'followed by End')).toBeNull(); });
    Kind
    code
    Location
    lines 185-190, bytes 7952-8225
    Trace reference
    tests/flowParser.test.js@byte:7952-8225
    Confidence
    Medium confidence
    Code excerptlines 185-190, bytes 7952-8225
     test('should return null when there is nothing to disambiguate', () => {
    const flow = ambiguousFlow();
    const single = matchesFor(flow, 'Notify');
    expect(FlowParserShared.resolveAmbiguousElement(
    flow, single, 'followed by End')).toBeNull();
    });

    Analyzer messagetests/flowParser.test.js references test framework global test

  20. test('should tell apart two terminal screens by fault path vs decision outcome', () => { // the real-world case: two "Error" screens that both end, one reached by // a fault path, the other by a decision outcome const flow = { startElementReference: 'Do_Work', recordCreates: [{ name: 'Do_Work', label: 'Do Work', object: 'Account', connector...
    Kind
    code
    Location
    lines 192-224, bytes 8232-9787
    Trace reference
    tests/flowParser.test.js@byte:8232-9787
    Confidence
    Medium confidence
    Code excerptlines 192-224, bytes 8232-9787
     test('should tell apart two terminal screens by fault path vs decision outcome', () => {
    // the real-world case: two "Error" screens that both end, one reached by
    // a fault path, the other by a decision outcome
    const flow = {
    startElementReference: 'Do_Work',
    recordCreates: [{
    name: 'Do_Work', label: 'Do Work', object: 'Account',
    connector...

    Analyzer messagetests/flowParser.test.js references test framework global test

  21. test('should tell apart two elements on different named decision outcomes', () => { const flow = { startElementReference: 'Check', decisions: [{ name: 'Check', label: 'Check', defaultConnectorLabel: 'Else', defaultConnector: { targetReference: 'Note_Else' }, rules: [{ name: 'Hot', label: 'Hot', connector: { targetReference: 'Note_Hot' } }] ...
    Kind
    code
    Location
    lines 226-244, bytes 9794-10690
    Trace reference
    tests/flowParser.test.js@byte:9794-10690
    Confidence
    Medium confidence
    Code excerptlines 226-244, bytes 9794-10690
     test('should tell apart two elements on different named decision outcomes', () => {
    const flow = {
    startElementReference: 'Check',
    decisions: [{
    name: 'Check', label: 'Check', defaultConnectorLabel: 'Else',
    defaultConnector: { targetReference: 'Note_Else' },
    rules: [{ name: 'Hot', label: 'Hot', connector: { targetReference: 'Note_Hot' } }]
    ...\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  22. describe('buildElementGraph', () => { test('should synthesize the Start element and label decision branches', () => { const flowDefinition = { startElementReference: 'Check', decisions: [{ name: 'Check', label: 'Check Status', defaultConnectorLabel: 'Otherwise', rules: [{ label: 'Is Active', connector: { targetReference: 'Create_T...
    Kind
    code
    Location
    lines 247-270, bytes 10701-11812
    Trace reference
    tests/flowParser.test.js@byte:10701-11812
    Confidence
    Medium confidence
    Code excerptlines 247-270, bytes 10701-11812
     describe('buildElementGraph', () => {
    test('should synthesize the Start element and label decision branches', () => {
    const flowDefinition = {
    startElementReference: 'Check',
    decisions: [{
    name: 'Check',
    label: 'Check Status',
    defaultConnectorLabel: 'Otherwise',
    rules: [{ label: 'Is Active', connector: { targetReference: 'Create_T...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  23. test('should synthesize the Start element and label decision branches', () => { const flowDefinition = { startElementReference: 'Check', decisions: [{ name: 'Check', label: 'Check Status', defaultConnectorLabel: 'Otherwise', rules: [{ label: 'Is Active', connector: { targetReference: 'Create_Task' } }] }], recordCrea...
    Kind
    code
    Location
    lines 248-269, bytes 10743-11806
    Trace reference
    tests/flowParser.test.js@byte:10743-11806
    Confidence
    Medium confidence
    Code excerptlines 248-269, bytes 10743-11806
     describe('buildElementGraph', () => {\n test('should synthesize the Start element and label decision branches', () => {
    const flowDefinition = {
    startElementReference: 'Check',
    decisions: [{
    name: 'Check',
    label: 'Check Status',
    defaultConnectorLabel: 'Otherwise',
    rules: [{ label: 'Is Active', connector: { targetReference: 'Create_Task' } }]
    }],
    recordCrea...\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  24. describe('getFlowOverview / renderExplanation', () => { test('should narrate a record create behind a decision in the shared voice', () => { const flowDefinition = { startElementReference: 'Check', decisions: [{ name: 'Check', label: 'Check Status', rules: [{ label: 'Is Active', connector: { targetReference: 'Create_Task' } }] }], ...
    Kind
    code
    Location
    lines 272-374, bytes 11817-16136
    Trace reference
    tests/flowParser.test.js@byte:11817-16136
    Confidence
    Medium confidence
    Code excerptlines 272-374, bytes 11817-16136
     describe('getFlowOverview / renderExplanation', () => {
    test('should narrate a record create behind a decision in the shared voice', () => {
    const flowDefinition = {
    startElementReference: 'Check',
    decisions: [{
    name: 'Check',
    label: 'Check Status',
    rules: [{ label: 'Is Active', connector: { targetReference: 'Create_Task' } }]
    }],
    ...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  25. test('should narrate a record create behind a decision in the shared voice', () => { const flowDefinition = { startElementReference: 'Check', decisions: [{ name: 'Check', label: 'Check Status', rules: [{ label: 'Is Active', connector: { targetReference: 'Create_Task' } }] }], recordCreates: [{ name: 'Create_Task', label: 'Crea...
    Kind
    code
    Location
    lines 273-288, bytes 11877-12548
    Trace reference
    tests/flowParser.test.js@byte:11877-12548
    Confidence
    Medium confidence
    Code excerptlines 273-288, bytes 11877-12548
     describe('getFlowOverview / renderExplanation', () => {\n test('should narrate a record create behind a decision in the shared voice', () => {
    const flowDefinition = {
    startElementReference: 'Check',
    decisions: [{
    name: 'Check',
    label: 'Check Status',
    rules: [{ label: 'Is Active', connector: { targetReference: 'Create_Task' } }]
    }],
    recordCreates: [{ name: 'Create_Task', label: 'Crea...

    Analyzer messagetests/flowParser.test.js references test framework global test

  26. test('should mark loop-body operations and narrate the loop context', () => { const flowDefinition = { startElementReference: 'Loop_Items', loops: [{ name: 'Loop_Items', label: 'Loop Items', nextValueConnector: { targetReference: 'Update_Item' } }], recordUpdates: [{ name: 'Update_Item', label: 'Update Item', object: 'Contact'...
    Kind
    code
    Location
    lines 290-307, bytes 12555-13259
    Trace reference
    tests/flowParser.test.js@byte:12555-13259
    Confidence
    Medium confidence
    Code excerptlines 290-307, bytes 12555-13259
     test('should mark loop-body operations and narrate the loop context', () => {
    const flowDefinition = {
    startElementReference: 'Loop_Items',
    loops: [{
    name: 'Loop_Items',
    label: 'Loop Items',
    nextValueConnector: { targetReference: 'Update_Item' }
    }],
    recordUpdates: [{ name: 'Update_Item', label: 'Update Item', object: 'Contact'...

    Analyzer messagetests/flowParser.test.js references test framework global test

  27. test('should narrate assignments that touch input/output variables', () => { const flowDefinition = { startElementReference: 'Set_Result', variables: [ { name: 'varResult', dataType: 'String', isInput: false, isOutput: true }, { name: 'varInput', dataType: 'String', isInput: true, isOutput: false }, { name: 'varScratch', dataType: 'String', i...
    Kind
    code
    Location
    lines 309-337, bytes 13266-14554
    Trace reference
    tests/flowParser.test.js@byte:13266-14554
    Confidence
    Medium confidence
    Code excerptlines 309-337, bytes 13266-14554
     test('should narrate assignments that touch input/output variables', () => {
    const flowDefinition = {
    startElementReference: 'Set_Result',
    variables: [
    { name: 'varResult', dataType: 'String', isInput: false, isOutput: true },
    { name: 'varInput', dataType: 'String', isInput: true, isOutput: false },
    { name: 'varScratch', dataType: 'String', i...

    Analyzer messagetests/flowParser.test.js references test framework global test

  28. test('should not throw on flows with sparse element collections', () => { const flowDefinition = { startElementReference: 'Update_It', recordUpdates: [{ name: 'Update_It', label: 'Update It', inputReference: 'record' }] }; expect(() => FlowParserShared.getFlowOverview(flowDefinition)).not.toThrow(); });
    Kind
    code
    Location
    lines 339-345, bytes 14561-14902
    Trace reference
    tests/flowParser.test.js@byte:14561-14902
    Confidence
    Medium confidence
    Code excerptlines 339-345, bytes 14561-14902
     test('should not throw on flows with sparse element collections', () => {
    const flowDefinition = {
    startElementReference: 'Update_It',
    recordUpdates: [{ name: 'Update_It', label: 'Update It', inputReference: 'record' }]
    };
    expect(() => FlowParserShared.getFlowOverview(flowDefinition)).not.toThrow();
    });

    Analyzer messagetests/flowParser.test.js references test framework global test

  29. test('should return empty facts when the start element is unresolvable', () => { const { facts } = FlowParserShared.getFlowOverview({}); expect(facts).toEqual([]); });
    Kind
    code
    Location
    lines 347-350, bytes 14909-15091
    Trace reference
    tests/flowParser.test.js@byte:14909-15091
    Confidence
    Medium confidence
    Code excerptlines 347-350, bytes 14909-15091
     test('should return empty facts when the start element is unresolvable', () => {
    const { facts } = FlowParserShared.getFlowOverview({});
    expect(facts).toEqual([]);
    });

    Analyzer messagetests/flowParser.test.js references test framework global test

  30. test('should not mutate the flow definition (it must stay serializable)', () => { // content.js sends flowDefinition through chrome.runtime.sendMessage after // the start-node tooltip may have built the graph; parentBranch cycles on // the original objects made it unserializable (reported as // "Could not serialize message") const flowDefinition = { startE...
    Kind
    code
    Location
    lines 352-373, bytes 15098-16130
    Trace reference
    tests/flowParser.test.js@byte:15098-16130
    Confidence
    Medium confidence
    Code excerptlines 352-373, bytes 15098-16130
     test('should not mutate the flow definition (it must stay serializable)', () => {
    // content.js sends flowDefinition through chrome.runtime.sendMessage after
    // the start-node tooltip may have built the graph; parentBranch cycles on
    // the original objects made it unserializable (reported as
    // "Could not serialize message")
    const flowDefinition = {
    startE...\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  31. describe('generateMermaidDiagram', () => { function makeOverview(flowDefinition) { const { actionMap } = FlowParserShared.getFlowOverview(flowDefinition); return actionMap; } test('should render shaped nodes with tooltip explanations and labeled edges', () => { const actionMap = makeOverview({ startElementReference: 'Check', decisions: [{ ...
    Kind
    code
    Location
    lines 376-438, bytes 16141-18686
    Trace reference
    tests/flowParser.test.js@byte:16141-18686
    Confidence
    Medium confidence
    Code excerptlines 376-438, bytes 16141-18686
     describe('generateMermaidDiagram', () => {
    function makeOverview(flowDefinition) {
    const { actionMap } = FlowParserShared.getFlowOverview(flowDefinition);
    return actionMap;
    }
    test('should render shaped nodes with tooltip explanations and labeled edges', () => {
    const actionMap = makeOverview({
    startElementReference: 'Check',
    decisions: [{
    ...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  32. test('should render shaped nodes with tooltip explanations and labeled edges', () => { const actionMap = makeOverview({ startElementReference: 'Check', decisions: [{ name: 'Check', label: 'Check Status', rules: [{ label: 'Is Active', connector: { targetReference: 'Create_Task' } }] }], recordCreates: [{ name: 'Create...
    Kind
    code
    Location
    lines 382-408, bytes 16341-17662
    Trace reference
    tests/flowParser.test.js@byte:16341-17662
    Confidence
    Medium confidence
    Code excerptlines 382-408, bytes 16341-17662
     test('should render shaped nodes with tooltip explanations and labeled edges', () => {
    const actionMap = makeOverview({
    startElementReference: 'Check',
    decisions: [{
    name: 'Check',
    label: 'Check Status',
    rules: [{ label: 'Is Active', connector: { targetReference: 'Create_Task' } }]
    }],
    recordCreates: [{
    name: 'Create...

    Analyzer messagetests/flowParser.test.js references test framework global test

  33. test('should escape quotes and pipes in labels', () => { const actionMap = makeOverview({ startElementReference: 'Get_It', recordLookups: [{ name: 'Get_It', label: 'Get "A|B" Records', object: 'Account' }] }); const diagram = FlowParserShared.generateMermaidDiagram(actionMap); expect(diagram).toContain('Get_It["Get #quot;A/B#quot; Records'); expe...
    Kind
    code
    Location
    lines 410-420, bytes 17669-18107
    Trace reference
    tests/flowParser.test.js@byte:17669-18107
    Confidence
    Medium confidence
    Code excerptlines 410-420, bytes 17669-18107
     test('should escape quotes and pipes in labels', () => {
    const actionMap = makeOverview({
    startElementReference: 'Get_It',
    recordLookups: [{ name: 'Get_It', label: 'Get "A|B" Records', object: 'Account' }]
    });
    const diagram = FlowParserShared.generateMermaidDiagram(actionMap);
    expect(diagram).toContain('Get_It["Get #quot;A/B#quot; Records');
    expe...

    Analyzer messagetests/flowParser.test.js references test framework global test

  34. test('should skip edges to dangling targets and non-canvas elements', () => { const actionMap = makeOverview({ startElementReference: 'Assign_It', assignments: [{ name: 'Assign_It', label: 'Assign It', assignmentItems: [], connector: { targetReference: 'Gone' } }], variables: [{ name: 'varX', dataType: 'String' }] }); ...
    Kind
    code
    Location
    lines 422-437, bytes 18114-18680
    Trace reference
    tests/flowParser.test.js@byte:18114-18680
    Confidence
    Medium confidence
    Code excerptlines 422-437, bytes 18114-18680
     test('should skip edges to dangling targets and non-canvas elements', () => {
    const actionMap = makeOverview({
    startElementReference: 'Assign_It',
    assignments: [{
    name: 'Assign_It', label: 'Assign It',
    assignmentItems: [],
    connector: { targetReference: 'Gone' }
    }],
    variables: [{ name: 'varX', dataType: 'String' }]
    });
    ...\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  35. describe('lintFlow', () => { function lint(flowDefinition) { const { actionMap } = FlowParserShared.getFlowOverview(flowDefinition); return FlowParserShared.lintFlow(flowDefinition, actionMap); } test('should warn about DML inside a loop', () => { const issues = lint({ description: 'documented', startElementReference: 'Loop_Items', loops: [{...
    Kind
    code
    Location
    lines 440-543, bytes 18691-22817
    Trace reference
    tests/flowParser.test.js@byte:18691-22817
    Confidence
    Medium confidence
    Code excerptlines 440-543, bytes 18691-22817
     describe('lintFlow', () => {
    function lint(flowDefinition) {
    const { actionMap } = FlowParserShared.getFlowOverview(flowDefinition);
    return FlowParserShared.lintFlow(flowDefinition, actionMap);
    }
    test('should warn about DML inside a loop', () => {
    const issues = lint({
    description: 'documented',
    startElementReference: 'Loop_Items',
    loops: [{...

    Analyzer messagetests/flowParser.test.js references test framework global describe

  36. test('should warn about DML inside a loop', () => { const issues = lint({ description: 'documented', startElementReference: 'Loop_Items', loops: [{ name: 'Loop_Items', label: 'Loop Items', description: 'd', nextValueConnector: { targetReference: 'Update_Item' } }], recordUpdates: [{ name: 'Update_Item', label: 'Update ...
    Kind
    code
    Location
    lines 446-463, bytes 18912-19601
    Trace reference
    tests/flowParser.test.js@byte:18912-19601
    Confidence
    Medium confidence
    Code excerptlines 446-463, bytes 18912-19601
     test('should warn about DML inside a loop', () => {
    const issues = lint({
    description: 'documented',
    startElementReference: 'Loop_Items',
    loops: [{
    name: 'Loop_Items', label: 'Loop Items', description: 'd',
    nextValueConnector: { targetReference: 'Update_Item' }
    }],
    recordUpdates: [{
    name: 'Update_Item', label: 'Update ...

    Analyzer messagetests/flowParser.test.js references test framework global test

  37. test('should flag DML without a fault path', () => { const issues = lint({ description: 'documented', startElementReference: 'Create_Task', recordCreates: [{ name: 'Create_Task', label: 'Create Task', object: 'Task', description: 'd' }] }); expect(issues.some(i => i.severity === 'info' && i.message.includes('Create_Task') && i.message....
    Kind
    code
    Location
    lines 465-475, bytes 19608-20050
    Trace reference
    tests/flowParser.test.js@byte:19608-20050
    Confidence
    Medium confidence
    Code excerptlines 465-475, bytes 19608-20050
     test('should flag DML without a fault path', () => {
    const issues = lint({
    description: 'documented',
    startElementReference: 'Create_Task',
    recordCreates: [{ name: 'Create_Task', label: 'Create Task', object: 'Task', description: 'd' }]
    });
    expect(issues.some(i => i.severity === 'info'
    && i.message.includes('Create_Task')
    && i.message....

    Analyzer messagetests/flowParser.test.js references test framework global test

  38. test('should flag hardcoded record ids in filters', () => { const issues = lint({ description: 'documented', startElementReference: 'Get_Account', recordLookups: [{ name: 'Get_Account', label: 'Get Account', object: 'Account', description: 'd', filters: [{ field: 'Id', value: { stringValue: '0013000000abcDE' } }] }] }); exp...
    Kind
    code
    Location
    lines 477-489, bytes 20057-20590
    Trace reference
    tests/flowParser.test.js@byte:20057-20590
    Confidence
    Medium confidence
    Code excerptlines 477-489, bytes 20057-20590
     test('should flag hardcoded record ids in filters', () => {
    const issues = lint({
    description: 'documented',
    startElementReference: 'Get_Account',
    recordLookups: [{
    name: 'Get_Account', label: 'Get Account', object: 'Account', description: 'd',
    filters: [{ field: 'Id', value: { stringValue: '0013000000abcDE' } }]
    }]
    });
    exp...

    Analyzer messagetests/flowParser.test.js references test framework global test

  39. test('should not mistake ordinary strings for record ids', () => { const issues = lint({ description: 'documented', startElementReference: 'Get_Account', recordLookups: [{ name: 'Get_Account', label: 'Get Account', object: 'Account', description: 'd', filters: [{ field: 'Name', value: { stringValue: 'AcmeCorporation' } }] }] }); ...
    Kind
    code
    Location
    lines 491-502, bytes 20597-21086
    Trace reference
    tests/flowParser.test.js@byte:20597-21086
    Confidence
    Medium confidence
    Code excerptlines 491-502, bytes 20597-21086
     test('should not mistake ordinary strings for record ids', () => {
    const issues = lint({
    description: 'documented',
    startElementReference: 'Get_Account',
    recordLookups: [{
    name: 'Get_Account', label: 'Get Account', object: 'Account', description: 'd',
    filters: [{ field: 'Name', value: { stringValue: 'AcmeCorporation' } }]
    }]
    });
    ...

    Analyzer messagetests/flowParser.test.js references test framework global test

  40. test('should flag unreachable elements and missing descriptions', () => { const issues = lint({ startElementReference: 'Get_Account', recordLookups: [{ name: 'Get_Account', label: 'Get Account', object: 'Account' }], assignments: [{ name: 'Orphan', label: 'Orphan' }] }); expect(issues.some(i => i.severity === 'warning' && i.message.includes('O...
    Kind
    code
    Location
    lines 504-516, bytes 21093-21737
    Trace reference
    tests/flowParser.test.js@byte:21093-21737
    Confidence
    Medium confidence
    Code excerptlines 504-516, bytes 21093-21737
     test('should flag unreachable elements and missing descriptions', () => {
    const issues = lint({
    startElementReference: 'Get_Account',
    recordLookups: [{ name: 'Get_Account', label: 'Get Account', object: 'Account' }],
    assignments: [{ name: 'Orphan', label: 'Orphan' }]
    });
    expect(issues.some(i => i.severity === 'warning'
    && i.message.includes('O...

    Analyzer messagetests/flowParser.test.js references test framework global test

  41. test('should flag canvas elements that share the same label', () => { const issues = lint({ description: 'documented', startElementReference: 'Update_Record', recordUpdates: [ { name: 'Update_Record', label: 'Update Record', object: 'Account', description: 'd', connector: { targetReference: 'Update_Record0' } }, { name: 'Update_Reco...
    Kind
    code
    Location
    lines 518-532, bytes 21744-22432
    Trace reference
    tests/flowParser.test.js@byte:21744-22432
    Confidence
    Medium confidence
    Code excerptlines 518-532, bytes 21744-22432
     test('should flag canvas elements that share the same label', () => {
    const issues = lint({
    description: 'documented',
    startElementReference: 'Update_Record',
    recordUpdates: [
    { name: 'Update_Record', label: 'Update Record', object: 'Account', description: 'd',
    connector: { targetReference: 'Update_Record0' } },
    { name: 'Update_Reco...

    Analyzer messagetests/flowParser.test.js references test framework global test

  42. test('should not flag a label that is unique', () => { const issues = lint({ description: 'documented', startElementReference: 'Get_Account', recordLookups: [{ name: 'Get_Account', label: 'Get Account', object: 'Account', description: 'd' }] }); expect(issues.some(i => i.message.includes('share the label'))).toBe(false); });
    Kind
    code
    Location
    lines 534-542, bytes 22439-22811
    Trace reference
    tests/flowParser.test.js@byte:22439-22811
    Confidence
    Medium confidence
    Code excerptlines 534-542, bytes 22439-22811
     test('should not flag a label that is unique', () => {
    const issues = lint({
    description: 'documented',
    startElementReference: 'Get_Account',
    recordLookups: [{ name: 'Get_Account', label: 'Get Account', object: 'Account', description: 'd' }]
    });
    expect(issues.some(i => i.message.includes('share the label'))).toBe(false);
    });\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

  43. describe('indexElements', () => { function makeActionMap() { const elements = [ { name: 'Start', branchArray: ['A'], branchLabelArray: ['from start'] }, { name: 'A', branchArray: ['B', 'C', 'Missing'], branchLabelArray: ['rule 1', 'rule 2', 'rule 3'] }, { name: 'B', branchArray: [], branchLabelArray: [] }, { name: 'C', branchArray: ['B'], branchLabelArra...
    Kind
    code
    Location
    lines 545-588, bytes 22822-24641
    Trace reference
    tests/flowParser.test.js@byte:22822-24641
    Confidence
    Medium confidence
    Code excerptlines 545-588, bytes 22822-24641
     describe('indexElements', () => {
    function makeActionMap() {
    const elements = [
    { name: 'Start', branchArray: ['A'], branchLabelArray: ['from start'] },
    { name: 'A', branchArray: ['B', 'C', 'Missing'], branchLabelArray: ['rule 1', 'rule 2', 'rule 3'] },
    { name: 'B', branchArray: [], branchLabelArray: [] },
    { name: 'C', branchArray: ['B'], branchLabelArra...\n});
    

    Analyzer messagetests/flowParser.test.js references test framework global describe

  44. test('should assign sequential indexes following all branches', () => { const actionMap = makeActionMap(); FlowParserShared.indexElements(actionMap, 'Start'); expect(actionMap.get('Start').index).toBe(1); expect(actionMap.get('A').index).toBe(2); expect(actionMap.get('B').index).toBe(3); expect(actionMap.get('C').index).toBe(4); });
    Kind
    code
    Location
    lines 556-565, bytes 23302-23677
    Trace reference
    tests/flowParser.test.js@byte:23302-23677
    Confidence
    Medium confidence
    Code excerptlines 556-565, bytes 23302-23677
     test('should assign sequential indexes following all branches', () => {
    const actionMap = makeActionMap();
    FlowParserShared.indexElements(actionMap, 'Start');
    expect(actionMap.get('Start').index).toBe(1);
    expect(actionMap.get('A').index).toBe(2);
    expect(actionMap.get('B').index).toBe(3);
    expect(actionMap.get('C').index).toBe(4);
    });

    Analyzer messagetests/flowParser.test.js references test framework global test

  45. test('should link elements to their parent branch and condition', () => { const actionMap = makeActionMap(); FlowParserShared.indexElements(actionMap, 'Start'); expect(actionMap.get('Start').conditionLabel).toBe('start'); // A is the fork, so B and C belong to it with their branch labels expect(actionMap.get('B').parentBranch).toBe(actionMap.get('A')); exp...
    Kind
    code
    Location
    lines 567-577, bytes 23684-24205
    Trace reference
    tests/flowParser.test.js@byte:23684-24205
    Confidence
    Medium confidence
    Code excerptlines 567-577, bytes 23684-24205
     test('should link elements to their parent branch and condition', () => {
    const actionMap = makeActionMap();
    FlowParserShared.indexElements(actionMap, 'Start');
    expect(actionMap.get('Start').conditionLabel).toBe('start');
    // A is the fork, so B and C belong to it with their branch labels
    expect(actionMap.get('B').parentBranch).toBe(actionMap.get('A'));
    exp...

    Analyzer messagetests/flowParser.test.js references test framework global test

  46. test('should skip dangling branch references without throwing', () => { // branch 'Missing' has no element in the map const actionMap = makeActionMap(); expect(() => FlowParserShared.indexElements(actionMap, 'Start')).not.toThrow(); });
    Kind
    code
    Location
    lines 579-583, bytes 24212-24469
    Trace reference
    tests/flowParser.test.js@byte:24212-24469
    Confidence
    Medium confidence
    Code excerptlines 579-583, bytes 24212-24469
     test('should skip dangling branch references without throwing', () => {
    // branch 'Missing' has no element in the map
    const actionMap = makeActionMap();
    expect(() => FlowParserShared.indexElements(actionMap, 'Start')).not.toThrow();
    });

    Analyzer messagetests/flowParser.test.js references test framework global test

  47. test('should do nothing when the first element is missing', () => { expect(() => FlowParserShared.indexElements(new Map(), 'Nope')).not.toThrow(); });
    Kind
    code
    Location
    lines 585-587, bytes 24476-24635
    Trace reference
    tests/flowParser.test.js@byte:24476-24635
    Confidence
    Medium confidence
    Code excerptlines 585-587, bytes 24476-24635
     test('should do nothing when the first element is missing', () => {
    expect(() => FlowParserShared.indexElements(new Map(), 'Nope')).not.toThrow();
    });\n });

    Analyzer messagetests/flowParser.test.js references test framework global test

Severity
Medium
Occurrences
13 occurrences
  1. describe("merge", () => { describe("Various", () => { it("accepts empty arrays for `mergeProcessCovs`", () => { const inputs: ProcessCov[] = []; const expected: ProcessCov = {result: []}; const actual: ProcessCov = mergeProcessCovs(inputs); chai.assert.deepEqual(actual, expected); }); it("accepts empty arrays for `mergeScriptCovs`", () => { const inputs...
    Kind
    code
    Location
    lines 28-252, bytes 931-8801
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:931-8801
    Confidence
    Medium confidence
    Code excerptlines 28-252, bytes 931-8801
    describe("merge", () => {
    describe("Various", () => {
    it("accepts empty arrays for `mergeProcessCovs`", () => {
    const inputs: ProcessCov[] = [];
    const expected: ProcessCov = {result: []};
    const actual: ProcessCov = mergeProcessCovs(inputs);
    chai.assert.deepEqual(actual, expected);
    });
    it("accepts empty arrays for `mergeScriptCovs`", () => {
    const inputs...

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global describe

  2. describe("Various", () => { it("accepts empty arrays for `mergeProcessCovs`", () => { const inputs: ProcessCov[] = []; const expected: ProcessCov = {result: []}; const actual: ProcessCov = mergeProcessCovs(inputs); chai.assert.deepEqual(actual, expected); }); it("accepts empty arrays for `mergeScriptCovs`", () => { const inputs: ScriptCov[] = []; ...
    Kind
    code
    Location
    lines 29-182, bytes 959-6137
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:959-6137
    Confidence
    Medium confidence
    Code excerptlines 29-182, bytes 959-6137
    describe("merge", () => {\n describe("Various", () => {
    it("accepts empty arrays for `mergeProcessCovs`", () => {
    const inputs: ProcessCov[] = [];
    const expected: ProcessCov = {result: []};
    const actual: ProcessCov = mergeProcessCovs(inputs);
    chai.assert.deepEqual(actual, expected);
    });
    it("accepts empty arrays for `mergeScriptCovs`", () => {
    const inputs: ScriptCov[] = [];
    ...

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global describe

  3. it("accepts empty arrays for `mergeProcessCovs`", () => { const inputs: ProcessCov[] = []; const expected: ProcessCov = {result: []}; const actual: ProcessCov = mergeProcessCovs(inputs); chai.assert.deepEqual(actual, expected); });
    Kind
    code
    Location
    lines 30-35, bytes 991-1249
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:991-1249
    Confidence
    Medium confidence
    Code excerptlines 30-35, bytes 991-1249
     describe("Various", () => {\n it("accepts empty arrays for `mergeProcessCovs`", () => {
    const inputs: ProcessCov[] = [];
    const expected: ProcessCov = {result: []};
    const actual: ProcessCov = mergeProcessCovs(inputs);
    chai.assert.deepEqual(actual, expected);
    });

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it

  4. it("accepts empty arrays for `mergeScriptCovs`", () => { const inputs: ScriptCov[] = []; const expected: ScriptCov | undefined = undefined; const actual: ScriptCov | undefined = mergeScriptCovs(inputs); chai.assert.deepEqual(actual, expected); });
    Kind
    code
    Location
    lines 37-42, bytes 1256-1530
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:1256-1530
    Confidence
    Medium confidence
    Code excerptlines 37-42, bytes 1256-1530
     it("accepts empty arrays for `mergeScriptCovs`", () => {
    const inputs: ScriptCov[] = [];
    const expected: ScriptCov | undefined = undefined;
    const actual: ScriptCov | undefined = mergeScriptCovs(inputs);
    chai.assert.deepEqual(actual, expected);
    });

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it

  5. it("accepts empty arrays for `mergeFunctionCovs`", () => { const inputs: FunctionCov[] = []; const expected: FunctionCov | undefined = undefined; const actual: FunctionCov | undefined = mergeFunctionCovs(inputs); chai.assert.deepEqual(actual, expected); });
    Kind
    code
    Location
    lines 44-49, bytes 1537-1821
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:1537-1821
    Confidence
    Medium confidence
    Code excerptlines 44-49, bytes 1537-1821
     it("accepts empty arrays for `mergeFunctionCovs`", () => {
    const inputs: FunctionCov[] = [];
    const expected: FunctionCov | undefined = undefined;
    const actual: FunctionCov | undefined = mergeFunctionCovs(inputs);
    chai.assert.deepEqual(actual, expected);
    });

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it

  6. it("accepts arrays with a single item for `mergeProcessCovs`", () => { const inputs: ProcessCov[] = [ { result: [ { scriptId: "123", url: "/lib.js", functions: [ { functionName: "test", isBlockCoverage: true, ranges: [ {startOff...
    Kind
    code
    Location
    lines 51-93, bytes 1828-3068
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:1828-3068
    Confidence
    Medium confidence
    Code excerptlines 51-93, bytes 1828-3068
     it("accepts arrays with a single item for `mergeProcessCovs`", () => {
    const inputs: ProcessCov[] = [
    {
    result: [
    {
    scriptId: "123",
    url: "/lib.js",
    functions: [
    {
    functionName: "test",
    isBlockCoverage: true,
    ranges: [
    {startOff...

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it

  7. describe("mergeProcessCovs", () => { // see: https://github.com/demurgos/v8-coverage/issues/2 it("handles function coverage merged into block coverage", () => { const blockCoverage: ProcessCov = loadFixture("issue-2-block-coverage"); const functionCoverage: ProcessCov = loadFixture("issue-2-func-coverage"); const inputs: ProcessCov[] = [ functionCo...
    Kind
    code
    Location
    lines 95-121, bytes 3075-4305
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:3075-4305
    Confidence
    Medium confidence
    Code excerptlines 95-121, bytes 3075-4305
     describe("mergeProcessCovs", () => {
    // see: https://github.com/demurgos/v8-coverage/issues/2
    it("handles function coverage merged into block coverage", () => {
    const blockCoverage: ProcessCov = loadFixture("issue-2-block-coverage");
    const functionCoverage: ProcessCov = loadFixture("issue-2-func-coverage");
    const inputs: ProcessCov[] = [
    functionCo...

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global describe

  8. it("handles function coverage merged into block coverage", () => { const blockCoverage: ProcessCov = loadFixture("issue-2-block-coverage"); const functionCoverage: ProcessCov = loadFixture("issue-2-func-coverage"); const inputs: ProcessCov[] = [ functionCoverage, blockCoverage, ]; const expected: ProcessCov = loadFixture("issue-2-ex...
    Kind
    code
    Location
    lines 97-107, bytes 3181-3703
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:3181-3703
    Confidence
    Medium confidence
    Code excerptlines 97-107, bytes 3181-3703
     // see: https://github.com/demurgos/v8-coverage/issues/2\n it("handles function coverage merged into block coverage", () => {
    const blockCoverage: ProcessCov = loadFixture("issue-2-block-coverage");
    const functionCoverage: ProcessCov = loadFixture("issue-2-func-coverage");
    const inputs: ProcessCov[] = [
    functionCoverage,
    blockCoverage,
    ];
    const expected: ProcessCov = loadFixture("issue-2-ex...

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it

  9. it("handles block coverage merged into function coverage", () => { const blockCoverage: ProcessCov = loadFixture("issue-2-block-coverage"); const functionCoverage: ProcessCov = loadFixture("issue-2-func-coverage"); const inputs: ProcessCov[] = [ blockCoverage, functionCoverage, ]; const expected: ProcessCov = loadFixture("issue-2-ex...
    Kind
    code
    Location
    lines 110-120, bytes 3775-4297
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:3775-4297
    Confidence
    Medium confidence
    Code excerptlines 110-120, bytes 3775-4297
     // see: https://github.com/demurgos/v8-coverage/issues/2\n it("handles block coverage merged into function coverage", () => {
    const blockCoverage: ProcessCov = loadFixture("issue-2-block-coverage");
    const functionCoverage: ProcessCov = loadFixture("issue-2-func-coverage");
    const inputs: ProcessCov[] = [
    blockCoverage,
    functionCoverage,
    ];
    const expected: ProcessCov = loadFixture("issue-2-ex...\n });

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it

  10. it("accepts arrays with a single item for `mergeScriptCovs`", () => { const inputs: ScriptCov[] = [ { scriptId: "123", url: "/lib.js", functions: [ { functionName: "test", isBlockCoverage: true, ranges: [ {startOffset: 0, endOffset: 4, count: 2}, {startOffset: 1, en...
    Kind
    code
    Location
    lines 123-157, bytes 4312-5357
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:4312-5357
    Confidence
    Medium confidence
    Code excerptlines 123-157, bytes 4312-5357
     it("accepts arrays with a single item for `mergeScriptCovs`", () => {
    const inputs: ScriptCov[] = [
    {
    scriptId: "123",
    url: "/lib.js",
    functions: [
    {
    functionName: "test",
    isBlockCoverage: true,
    ranges: [
    {startOffset: 0, endOffset: 4, count: 2},
    {startOffset: 1, en...

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it

  11. it("accepts arrays with a single item for `mergeFunctionCovs`", () => { const inputs: FunctionCov[] = [ { functionName: "test", isBlockCoverage: true, ranges: [ {startOffset: 0, endOffset: 4, count: 2}, {startOffset: 1, endOffset: 2, count: 1}, {startOffset: 2, endOffset: 3, count: 1}, ], }, ...
    Kind
    code
    Location
    lines 159-181, bytes 5364-6131
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:5364-6131
    Confidence
    Medium confidence
    Code excerptlines 159-181, bytes 5364-6131
     it("accepts arrays with a single item for `mergeFunctionCovs`", () => {
    const inputs: FunctionCov[] = [
    {
    functionName: "test",
    isBlockCoverage: true,
    ranges: [
    {startOffset: 0, endOffset: 4, count: 2},
    {startOffset: 1, endOffset: 2, count: 1},
    {startOffset: 2, endOffset: 3, count: 1},
    ],
    },
    ...\n });

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global it

  12. describe("ranges", () => { for (const sourceFile of getSourceFiles()) { const relPath: string = path.relative(RANGES_DIR, sourceFile); describe(relPath, () => { const content: string = fs.readFileSync(sourceFile, {encoding: "UTF-8"}); const items: MergeRangeItem[] = JSON.parse(content); for (const item of items) { const test: () => void = () => {...
    Kind
    code
    Location
    lines 184-211, bytes 6142-7110
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:6142-7110
    Confidence
    Medium confidence
    Code excerptlines 184-211, bytes 6142-7110
     describe("ranges", () => {
    for (const sourceFile of getSourceFiles()) {
    const relPath: string = path.relative(RANGES_DIR, sourceFile);
    describe(relPath, () => {
    const content: string = fs.readFileSync(sourceFile, {encoding: "UTF-8"});
    const items: MergeRangeItem[] = JSON.parse(content);
    for (const item of items) {
    const test: () => void = () => {...

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global describe

  13. describe("benches", () => { for (const bench of getBenches()) { const BENCHES_TO_SKIP: Set<string> = new Set(); if (process.env.CI === "true") { // Skip very large benchmarks when running continuous integration BENCHES_TO_SKIP.add("node@10.11.0"); BENCHES_TO_SKIP.add("npm@6.4.1"); } const name: string = path.basename(bench); if (BENCHES...
    Kind
    code
    Location
    lines 213-251, bytes 7115-8797
    Trace reference
    tests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts@byte:7115-8797
    Confidence
    Medium confidence
    Code excerptlines 213-251, bytes 7115-8797
     describe("benches", () => {
    for (const bench of getBenches()) {
    const BENCHES_TO_SKIP: Set<string> = new Set();
    if (process.env.CI === "true") {
    // Skip very large benchmarks when running continuous integration
    BENCHES_TO_SKIP.add("node@10.11.0");
    BENCHES_TO_SKIP.add("npm@6.4.1");
    }
    const name: string = path.basename(bench);
    if (BENCHES...\n});

    Analyzer messagetests/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts references test framework global describe

Severity
Medium
Occurrences
13 occurrences
  1. describe("calledInOrder", function () { beforeEach(function () { sinon.stub(testObject1, "someFunction"); sinon.stub(testObject2, "otherFunction"); sinon.stub(testObject3, "thirdFunction"); testMethod(); }); afterEach(function () { testObject1.someFunction.restore(); testObject2.otherFunction.restore(); testObject3.thirdFunction.r...
    Kind
    code
    Location
    lines 31-121, bytes 602-3730
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:602-3730
    Confidence
    Medium confidence
    Code excerptlines 31-121, bytes 602-3730
    describe("calledInOrder", function () {
    beforeEach(function () {
    sinon.stub(testObject1, "someFunction");
    sinon.stub(testObject2, "otherFunction");
    sinon.stub(testObject3, "thirdFunction");
    testMethod();
    });
    afterEach(function () {
    testObject1.someFunction.restore();
    testObject2.otherFunction.restore();
    testObject3.thirdFunction.r...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global describe

  2. beforeEach(function () { sinon.stub(testObject1, "someFunction"); sinon.stub(testObject2, "otherFunction"); sinon.stub(testObject3, "thirdFunction"); testMethod(); });
    Kind
    code
    Location
    lines 32-37, bytes 646-848
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:646-848
    Confidence
    Medium confidence
    Code excerptlines 32-37, bytes 646-848
    describe("calledInOrder", function () {\n beforeEach(function () {
    sinon.stub(testObject1, "someFunction");
    sinon.stub(testObject2, "otherFunction");
    sinon.stub(testObject3, "thirdFunction");
    testMethod();
    });\n afterEach(function () {

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global beforeEach

  3. afterEach(function () { testObject1.someFunction.restore(); testObject2.otherFunction.restore(); testObject3.thirdFunction.restore(); });
    Kind
    code
    Location
    lines 38-42, bytes 854-1018
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:854-1018
    Confidence
    Medium confidence
    Code excerptlines 38-42, bytes 854-1018
     });\n afterEach(function () {
    testObject1.someFunction.restore();
    testObject2.otherFunction.restore();
    testObject3.thirdFunction.restore();
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global afterEach

  4. describe("given single array argument", function () { describe("when stubs were called in expected order", function () { it("returns true", function () { assert.isTrue( calledInOrder([ testObject1.someFunction, testObject2.otherFunction, ]) ); ...
    Kind
    code
    Location
    lines 44-82, bytes 1025-2430
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:1025-2430
    Confidence
    Medium confidence
    Code excerptlines 44-82, bytes 1025-2430
     describe("given single array argument", function () {
    describe("when stubs were called in expected order", function () {
    it("returns true", function () {
    assert.isTrue(
    calledInOrder([
    testObject1.someFunction,
    testObject2.otherFunction,
    ])
    );
    ...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global describe

  5. describe("when stubs were called in expected order", function () { it("returns true", function () { assert.isTrue( calledInOrder([ testObject1.someFunction, testObject2.otherFunction, ]) ); assert.isTrue( calledInOrder([ ...
    Kind
    code
    Location
    lines 45-62, bytes 1087-1747
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:1087-1747
    Confidence
    Medium confidence
    Code excerptlines 45-62, bytes 1087-1747
     describe("given single array argument", function () {\n describe("when stubs were called in expected order", function () {
    it("returns true", function () {
    assert.isTrue(
    calledInOrder([
    testObject1.someFunction,
    testObject2.otherFunction,
    ])
    );
    assert.isTrue(
    calledInOrder([
    ...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global describe

  6. it("returns true", function () { assert.isTrue( calledInOrder([ testObject1.someFunction, testObject2.otherFunction, ]) ); assert.isTrue( calledInOrder([ testObject1.someFunction, test...
    Kind
    code
    Location
    lines 46-61, bytes 1166-1735
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:1166-1735
    Confidence
    Medium confidence
    Code excerptlines 46-61, bytes 1166-1735
     describe("when stubs were called in expected order", function () {\n it("returns true", function () {
    assert.isTrue(
    calledInOrder([
    testObject1.someFunction,
    testObject2.otherFunction,
    ])
    );
    assert.isTrue(
    calledInOrder([
    testObject1.someFunction,
    test...\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global it

  7. describe("when stubs were called in unexpected order", function () { it("returns false", function () { assert.isFalse( calledInOrder([ testObject2.otherFunction, testObject1.someFunction, ]) ); assert.isFalse( calledInOrder(...
    Kind
    code
    Location
    lines 64-81, bytes 1758-2422
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:1758-2422
    Confidence
    Medium confidence
    Code excerptlines 64-81, bytes 1758-2422
     describe("when stubs were called in unexpected order", function () {
    it("returns false", function () {
    assert.isFalse(
    calledInOrder([
    testObject2.otherFunction,
    testObject1.someFunction,
    ])
    );
    assert.isFalse(
    calledInOrder(...\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global describe

  8. it("returns false", function () { assert.isFalse( calledInOrder([ testObject2.otherFunction, testObject1.someFunction, ]) ); assert.isFalse( calledInOrder([ testObject2.otherFunction, ...
    Kind
    code
    Location
    lines 65-80, bytes 1839-2410
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:1839-2410
    Confidence
    Medium confidence
    Code excerptlines 65-80, bytes 1839-2410
     describe("when stubs were called in unexpected order", function () {\n it("returns false", function () {
    assert.isFalse(
    calledInOrder([
    testObject2.otherFunction,
    testObject1.someFunction,
    ])
    );
    assert.isFalse(
    calledInOrder([
    testObject2.otherFunction,
    ...\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global it

  9. describe("given multiple arguments", function () { describe("when stubs were called in expected order", function () { it("returns true", function () { assert.isTrue( calledInOrder( testObject1.someFunction, testObject2.otherFunction ) ); as...
    Kind
    code
    Location
    lines 84-120, bytes 2437-3726
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:2437-3726
    Confidence
    Medium confidence
    Code excerptlines 84-120, bytes 2437-3726
     describe("given multiple arguments", function () {
    describe("when stubs were called in expected order", function () {
    it("returns true", function () {
    assert.isTrue(
    calledInOrder(
    testObject1.someFunction,
    testObject2.otherFunction
    )
    );
    as...\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global describe

  10. describe("when stubs were called in expected order", function () { it("returns true", function () { assert.isTrue( calledInOrder( testObject1.someFunction, testObject2.otherFunction ) ); assert.isTrue( calledInOrder( ...
    Kind
    code
    Location
    lines 85-101, bytes 2496-3099
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:2496-3099
    Confidence
    Medium confidence
    Code excerptlines 85-101, bytes 2496-3099
     describe("given multiple arguments", function () {\n describe("when stubs were called in expected order", function () {
    it("returns true", function () {
    assert.isTrue(
    calledInOrder(
    testObject1.someFunction,
    testObject2.otherFunction
    )
    );
    assert.isTrue(
    calledInOrder(
    ...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global describe

  11. it("returns true", function () { assert.isTrue( calledInOrder( testObject1.someFunction, testObject2.otherFunction ) ); assert.isTrue( calledInOrder( testObject1.someFunction, testObje...
    Kind
    code
    Location
    lines 86-100, bytes 2575-3087
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:2575-3087
    Confidence
    Medium confidence
    Code excerptlines 86-100, bytes 2575-3087
     describe("when stubs were called in expected order", function () {\n it("returns true", function () {
    assert.isTrue(
    calledInOrder(
    testObject1.someFunction,
    testObject2.otherFunction
    )
    );
    assert.isTrue(
    calledInOrder(
    testObject1.someFunction,
    testObje...\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global it

  12. describe("when stubs were called in unexpected order", function () { it("returns false", function () { assert.isFalse( calledInOrder( testObject2.otherFunction, testObject1.someFunction ) ); assert.isFalse( calledInOrder( ...
    Kind
    code
    Location
    lines 103-119, bytes 3110-3718
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:3110-3718
    Confidence
    Medium confidence
    Code excerptlines 103-119, bytes 3110-3718
     describe("when stubs were called in unexpected order", function () {
    it("returns false", function () {
    assert.isFalse(
    calledInOrder(
    testObject2.otherFunction,
    testObject1.someFunction
    )
    );
    assert.isFalse(
    calledInOrder(
    ...\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global describe

  13. it("returns false", function () { assert.isFalse( calledInOrder( testObject2.otherFunction, testObject1.someFunction ) ); assert.isFalse( calledInOrder( testObject2.otherFunction, test...
    Kind
    code
    Location
    lines 104-118, bytes 3191-3706
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/called-in-order.test.js@byte:3191-3706
    Confidence
    Medium confidence
    Code excerptlines 104-118, bytes 3191-3706
     describe("when stubs were called in unexpected order", function () {\n it("returns false", function () {
    assert.isFalse(
    calledInOrder(
    testObject2.otherFunction,
    testObject1.someFunction
    )
    );
    assert.isFalse(
    calledInOrder(
    testObject2.otherFunction,
    test...\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/called-in-order.test.js references test framework global it

Severity
Medium
Occurrences
5 occurrences
  1. describe("className", function () { it("returns the class name of an instance", function () { // Because eslint-config-sinon disables es6, we can't // use a class definition here // https://github.com/sinonjs/eslint-config-sinon/blob/master/index.js // var instance = new (class TestClass {})(); var instance = new (function TestClass() {})(); var ...
    Kind
    code
    Location
    lines 7-37, bytes 145-1320
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/class-name.test.js@byte:145-1320
    Confidence
    Medium confidence
    Code excerptlines 7-37, bytes 145-1320
    describe("className", function () {
    it("returns the class name of an instance", function () {
    // Because eslint-config-sinon disables es6, we can't
    // use a class definition here
    // https://github.com/sinonjs/eslint-config-sinon/blob/master/index.js
    // var instance = new (class TestClass {})();
    var instance = new (function TestClass() {})();
    var ...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/class-name.test.js references test framework global describe

  2. it("returns the class name of an instance", function () { // Because eslint-config-sinon disables es6, we can't // use a class definition here // https://github.com/sinonjs/eslint-config-sinon/blob/master/index.js // var instance = new (class TestClass {})(); var instance = new (function TestClass() {})(); var name = className(instance); ...
    Kind
    code
    Location
    lines 8-16, bytes 185-621
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/class-name.test.js@byte:185-621
    Confidence
    Medium confidence
    Code excerptlines 8-16, bytes 185-621
    describe("className", function () {\n it("returns the class name of an instance", function () {
    // Because eslint-config-sinon disables es6, we can't
    // use a class definition here
    // https://github.com/sinonjs/eslint-config-sinon/blob/master/index.js
    // var instance = new (class TestClass {})();
    var instance = new (function TestClass() {})();
    var name = className(instance);
    ...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/class-name.test.js references test framework global it

  3. it("returns 'Object' for {}", function () { var name = className({}); assert.equals(name, "Object"); });
    Kind
    code
    Location
    lines 18-21, bytes 628-751
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/class-name.test.js@byte:628-751
    Confidence
    Medium confidence
    Code excerptlines 18-21, bytes 628-751
     it("returns 'Object' for {}", function () {
    var name = className({});
    assert.equals(name, "Object");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/class-name.test.js references test framework global it

  4. it("returns null for an object that has no prototype", function () { var obj = Object.create(null); var name = className(obj); assert.equals(name, null); });
    Kind
    code
    Location
    lines 23-27, bytes 758-942
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/class-name.test.js@byte:758-942
    Confidence
    Medium confidence
    Code excerptlines 23-27, bytes 758-942
     it("returns null for an object that has no prototype", function () {
    var obj = Object.create(null);
    var name = className(obj);
    assert.equals(name, null);
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/class-name.test.js references test framework global it

  5. it("returns null for an object whose prototype was mangled", function () { // This is what Node v6 and v7 do for objects returned by querystring.parse() function MangledObject() {} MangledObject.prototype = Object.create(null); var obj = new MangledObject(); var name = className(obj); assert.equals(name, null); });
    Kind
    code
    Location
    lines 29-36, bytes 949-1316
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/class-name.test.js@byte:949-1316
    Confidence
    Medium confidence
    Code excerptlines 29-36, bytes 949-1316
     it("returns null for an object whose prototype was mangled", function () {
    // This is what Node v6 and v7 do for objects returned by querystring.parse()
    function MangledObject() {}
    MangledObject.prototype = Object.create(null);
    var obj = new MangledObject();
    var name = className(obj);
    assert.equals(name, null);
    });\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/class-name.test.js references test framework global it

Severity
Medium
Occurrences
23 occurrences
  1. describe("deprecated", function () { describe("defaultMsg", function () { it("should return a string", function () { assert.equals( deprecated.defaultMsg("sinon", "someFunc"), "sinon.someFunc is deprecated and will be removed from the public API in a future version of sinon." ); }); }); describe("printWarning", fu...
    Kind
    code
    Location
    lines 11-101, bytes 218-3501
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:218-3501
    Confidence
    Medium confidence
    Code excerptlines 11-101, bytes 218-3501
    describe("deprecated", function () {
    describe("defaultMsg", function () {
    it("should return a string", function () {
    assert.equals(
    deprecated.defaultMsg("sinon", "someFunc"),
    "sinon.someFunc is deprecated and will be removed from the public API in a future version of sinon."
    );
    });
    });
    describe("printWarning", fu...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe

  2. describe("defaultMsg", function () { it("should return a string", function () { assert.equals( deprecated.defaultMsg("sinon", "someFunc"), "sinon.someFunc is deprecated and will be removed from the public API in a future version of sinon." ); }); });
    Kind
    code
    Location
    lines 12-19, bytes 259-584
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:259-584
    Confidence
    Medium confidence
    Code excerptlines 12-19, bytes 259-584
    describe("deprecated", function () {\n describe("defaultMsg", function () {
    it("should return a string", function () {
    assert.equals(
    deprecated.defaultMsg("sinon", "someFunc"),
    "sinon.someFunc is deprecated and will be removed from the public API in a future version of sinon."
    );
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe

  3. it("should return a string", function () { assert.equals( deprecated.defaultMsg("sinon", "someFunc"), "sinon.someFunc is deprecated and will be removed from the public API in a future version of sinon." ); });
    Kind
    code
    Location
    lines 13-18, bytes 304-576
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:304-576
    Confidence
    Medium confidence
    Code excerptlines 13-18, bytes 304-576
     describe("defaultMsg", function () {\n it("should return a string", function () {
    assert.equals(
    deprecated.defaultMsg("sinon", "someFunc"),
    "sinon.someFunc is deprecated and will be removed from the public API in a future version of sinon."
    );
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

  4. describe("printWarning", function () { beforeEach(function () { sinon.replace(process, "emitWarning", sinon.fake()); }); afterEach(sinon.restore); describe("when `process.emitWarning` is defined", function () { it("should call process.emitWarning with a msg", function () { deprecated.printWarning(msg); as...
    Kind
    code
    Location
    lines 21-59, bytes 591-2057
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:591-2057
    Confidence
    Medium confidence
    Code excerptlines 21-59, bytes 591-2057
     describe("printWarning", function () {
    beforeEach(function () {
    sinon.replace(process, "emitWarning", sinon.fake());
    });
    afterEach(sinon.restore);
    describe("when `process.emitWarning` is defined", function () {
    it("should call process.emitWarning with a msg", function () {
    deprecated.printWarning(msg);
    as...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe

  5. beforeEach(function () { sinon.replace(process, "emitWarning", sinon.fake()); });
    Kind
    code
    Location
    lines 22-24, bytes 638-738
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:638-738
    Confidence
    Medium confidence
    Code excerptlines 22-24, bytes 638-738
     describe("printWarning", function () {\n beforeEach(function () {
    sinon.replace(process, "emitWarning", sinon.fake());
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global beforeEach

  6. afterEach(sinon.restore)
    Kind
    code
    Location
    line 26, bytes 749-773
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:749-773
    Confidence
    Medium confidence
    Code excerptline 26, bytes 749-773
    \nafterEach(sinon.restore)\n;

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global afterEach

  7. describe("when `process.emitWarning` is defined", function () { it("should call process.emitWarning with a msg", function () { deprecated.printWarning(msg); assert.calledOnceWith(process.emitWarning, msg); }); });
    Kind
    code
    Location
    lines 28-33, bytes 784-1060
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:784-1060
    Confidence
    Medium confidence
    Code excerptlines 28-33, bytes 784-1060
     describe("when `process.emitWarning` is defined", function () {
    it("should call process.emitWarning with a msg", function () {
    deprecated.printWarning(msg);
    assert.calledOnceWith(process.emitWarning, msg);
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe

  8. it("should call process.emitWarning with a msg", function () { deprecated.printWarning(msg); assert.calledOnceWith(process.emitWarning, msg); });
    Kind
    code
    Location
    lines 29-32, bytes 860-1048
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:860-1048
    Confidence
    Medium confidence
    Code excerptlines 29-32, bytes 860-1048
     describe("when `process.emitWarning` is defined", function () {\n it("should call process.emitWarning with a msg", function () {
    deprecated.printWarning(msg);
    assert.calledOnceWith(process.emitWarning, msg);
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

  9. describe("when `process.emitWarning` is undefined", function () { beforeEach(function () { sinon.replace(console, "info", sinon.fake()); sinon.replace(console, "log", sinon.fake()); process.emitWarning = undefined; }); afterEach(sinon.restore); describe("when `console.info` is defined", functi...
    Kind
    code
    Location
    lines 35-58, bytes 1071-2049
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:1071-2049
    Confidence
    Medium confidence
    Code excerptlines 35-58, bytes 1071-2049
     describe("when `process.emitWarning` is undefined", function () {
    beforeEach(function () {
    sinon.replace(console, "info", sinon.fake());
    sinon.replace(console, "log", sinon.fake());
    process.emitWarning = undefined;
    });
    afterEach(sinon.restore);
    describe("when `console.info` is defined", functi...\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe

  10. beforeEach(function () { sinon.replace(console, "info", sinon.fake()); sinon.replace(console, "log", sinon.fake()); process.emitWarning = undefined; });
    Kind
    code
    Location
    lines 36-40, bytes 1149-1360
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:1149-1360
    Confidence
    Medium confidence
    Code excerptlines 36-40, bytes 1149-1360
     describe("when `process.emitWarning` is undefined", function () {\n beforeEach(function () {
    sinon.replace(console, "info", sinon.fake());
    sinon.replace(console, "log", sinon.fake());
    process.emitWarning = undefined;
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global beforeEach

  11. afterEach(sinon.restore)
    Kind
    code
    Location
    line 42, bytes 1375-1399
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:1375-1399
    Confidence
    Medium confidence
    Code excerptline 42, bytes 1375-1399
    \nafterEach(sinon.restore)\n;

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global afterEach

  12. describe("when `console.info` is defined", function () { it("should call `console.info` with a message", function () { deprecated.printWarning(msg); assert.calledOnceWith(console.info, msg); }); });
    Kind
    code
    Location
    lines 44-49, bytes 1414-1695
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:1414-1695
    Confidence
    Medium confidence
    Code excerptlines 44-49, bytes 1414-1695
     describe("when `console.info` is defined", function () {
    it("should call `console.info` with a message", function () {
    deprecated.printWarning(msg);
    assert.calledOnceWith(console.info, msg);
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe

  13. it("should call `console.info` with a message", function () { deprecated.printWarning(msg); assert.calledOnceWith(console.info, msg); });
    Kind
    code
    Location
    lines 45-48, bytes 1487-1679
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:1487-1679
    Confidence
    Medium confidence
    Code excerptlines 45-48, bytes 1487-1679
     describe("when `console.info` is defined", function () {\n it("should call `console.info` with a message", function () {
    deprecated.printWarning(msg);
    assert.calledOnceWith(console.info, msg);
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

  14. describe("when `console.info` is undefined", function () { it("should call `console.log` with a message", function () { console.info = undefined; deprecated.printWarning(msg); assert.calledOnceWith(console.log, msg); }); });
    Kind
    code
    Location
    lines 51-57, bytes 1710-2037
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:1710-2037
    Confidence
    Medium confidence
    Code excerptlines 51-57, bytes 1710-2037
     describe("when `console.info` is undefined", function () {
    it("should call `console.log` with a message", function () {
    console.info = undefined;
    deprecated.printWarning(msg);
    assert.calledOnceWith(console.log, msg);
    });
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe

  15. it("should call `console.log` with a message", function () { console.info = undefined; deprecated.printWarning(msg); assert.calledOnceWith(console.log, msg); });
    Kind
    code
    Location
    lines 52-56, bytes 1785-2021
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:1785-2021
    Confidence
    Medium confidence
    Code excerptlines 52-56, bytes 1785-2021
     describe("when `console.info` is undefined", function () {\n it("should call `console.log` with a message", function () {
    console.info = undefined;
    deprecated.printWarning(msg);
    assert.calledOnceWith(console.log, msg);
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

  16. describe("wrap", function () { // eslint-disable-next-line mocha/no-setup-in-describe var method = sinon.fake(); var wrapped; beforeEach(function () { wrapped = deprecated.wrap(method, msg); }); it("should return a wrapper function", function () { assert.match(wrapped, sinon.match.func); }); it("should a...
    Kind
    code
    Location
    lines 61-100, bytes 2064-3497
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:2064-3497
    Confidence
    Medium confidence
    Code excerptlines 61-100, bytes 2064-3497
     describe("wrap", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    var method = sinon.fake();
    var wrapped;
    beforeEach(function () {
    wrapped = deprecated.wrap(method, msg);
    });
    it("should return a wrapper function", function () {
    assert.match(wrapped, sinon.match.func);
    });
    it("should a...\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global describe

  17. beforeEach(function () { wrapped = deprecated.wrap(method, msg); });
    Kind
    code
    Location
    lines 66-68, bytes 2223-2310
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:2223-2310
    Confidence
    Medium confidence
    Code excerptlines 66-68, bytes 2223-2310
     beforeEach(function () {
    wrapped = deprecated.wrap(method, msg);
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global beforeEach

  18. it("should return a wrapper function", function () { assert.match(wrapped, sinon.match.func); });
    Kind
    code
    Location
    lines 70-72, bytes 2321-2437
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:2321-2437
    Confidence
    Medium confidence
    Code excerptlines 70-72, bytes 2321-2437
     it("should return a wrapper function", function () {
    assert.match(wrapped, sinon.match.func);
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

  19. it("should assign the prototype of the passed method", function () { assert.equals(method.prototype, wrapped.prototype); });
    Kind
    code
    Location
    lines 74-76, bytes 2448-2591
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:2448-2591
    Confidence
    Medium confidence
    Code excerptlines 74-76, bytes 2448-2591
     it("should assign the prototype of the passed method", function () {
    assert.equals(method.prototype, wrapped.prototype);
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

  20. it("should not be assigned to the wrapped method", function () { method.prototype = null; wrapped = deprecated.wrap(method, msg); assert.match(wrapped.prototype, sinon.match.object); });
    Kind
    code
    Location
    lines 79-83, bytes 2682-2927
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:2682-2927
    Confidence
    Medium confidence
    Code excerptlines 79-83, bytes 2682-2927
     context("when the passed method has falsy prototype", function () {\n it("should not be assigned to the wrapped method", function () {
    method.prototype = null;
    wrapped = deprecated.wrap(method, msg);
    assert.match(wrapped.prototype, sinon.match.object);
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

  21. before(function () { sinon.replace(deprecated, "printWarning", sinon.fake()); wrapped({}); });
    Kind
    code
    Location
    lines 87-90, bytes 3022-3159
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:3022-3159
    Confidence
    Medium confidence
    Code excerptlines 87-90, bytes 3022-3159
     context("when invoking the wrapped function", function () {\n before(function () {
    sinon.replace(deprecated, "printWarning", sinon.fake());
    wrapped({});
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global before

  22. it("should call `printWarning` before invoking", function () { assert.calledOnceWith(deprecated.printWarning, msg); });
    Kind
    code
    Location
    lines 92-94, bytes 3174-3320
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:3174-3320
    Confidence
    Medium confidence
    Code excerptlines 92-94, bytes 3174-3320
     it("should call `printWarning` before invoking", function () {
    assert.calledOnceWith(deprecated.printWarning, msg);
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

  23. it("should invoke the passed method with the given arguments", function () { assert.calledOnceWith(method, {}); });
    Kind
    code
    Location
    lines 96-98, bytes 3335-3477
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/deprecated.test.js@byte:3335-3477
    Confidence
    Medium confidence
    Code excerptlines 96-98, bytes 3335-3477
     it("should invoke the passed method with the given arguments", function () {
    assert.calledOnceWith(method, {});
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/deprecated.test.js references test framework global it

Severity
Medium
Occurrences
4 occurrences
  1. describe("util/core/every", function () { it("returns true when the callback function returns true for every element in an iterable", function () { var obj = [true, true, true, true]; var allTrue = every(obj, function (val) { return val; }); assert(allTrue); }); it("returns false when the callback function returns false for any element in a...
    Kind
    code
    Location
    lines 7-41, bytes 156-1266
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/every.test.js@byte:156-1266
    Confidence
    Medium confidence
    Code excerptlines 7-41, bytes 156-1266
    describe("util/core/every", function () {
    it("returns true when the callback function returns true for every element in an iterable", function () {
    var obj = [true, true, true, true];
    var allTrue = every(obj, function (val) {
    return val;
    });
    assert(allTrue);
    });
    it("returns false when the callback function returns false for any element in a...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/every.test.js references test framework global describe

  2. it("returns true when the callback function returns true for every element in an iterable", function () { var obj = [true, true, true, true]; var allTrue = every(obj, function (val) { return val; }); assert(allTrue); });
    Kind
    code
    Location
    lines 8-15, bytes 202-470
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/every.test.js@byte:202-470
    Confidence
    Medium confidence
    Code excerptlines 8-15, bytes 202-470
    describe("util/core/every", function () {\n it("returns true when the callback function returns true for every element in an iterable", function () {
    var obj = [true, true, true, true];
    var allTrue = every(obj, function (val) {
    return val;
    });
    assert(allTrue);
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/every.test.js references test framework global it

  3. it("returns false when the callback function returns false for any element in an iterable", function () { var obj = [true, true, true, false]; var result = every(obj, function (val) { return val; }); assert.isFalse(result); });
    Kind
    code
    Location
    lines 17-24, bytes 477-752
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/every.test.js@byte:477-752
    Confidence
    Medium confidence
    Code excerptlines 17-24, bytes 477-752
     it("returns false when the callback function returns false for any element in an iterable", function () {
    var obj = [true, true, true, false];
    var result = every(obj, function (val) {
    return val;
    });
    assert.isFalse(result);
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/every.test.js references test framework global it

  4. it("calls the given callback once for each item in an iterable until it returns false", function () { var iterableOne = [true, true, true, true]; var iterableTwo = [true, true, false, true]; var callback = sinon.spy(function (val) { return val; }); every(iterableOne, callback); assert.equals(callback.callCount, 4); callback....
    Kind
    code
    Location
    lines 26-40, bytes 759-1262
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/every.test.js@byte:759-1262
    Confidence
    Medium confidence
    Code excerptlines 26-40, bytes 759-1262
     it("calls the given callback once for each item in an iterable until it returns false", function () {
    var iterableOne = [true, true, true, true];
    var iterableTwo = [true, true, false, true];
    var callback = sinon.spy(function (val) {
    return val;
    });
    every(iterableOne, callback);
    assert.equals(callback.callCount, 4);
    callback....\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/every.test.js references test framework global it

Severity
Medium
Occurrences
8 occurrences
  1. describe("function-name", function () { it("should return empty string if func is falsy", function () { jsc.assertForall("falsy", function (fn) { return functionName(fn) === ""; }); }); it("should use displayName by default", function () { jsc.assertForall("nestring", function (displayName) { var fn = { displayName: displayName }; ...
    Kind
    code
    Location
    lines 8-76, bytes 150-2124
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/function-name.test.js@byte:150-2124
    Confidence
    Medium confidence
    Code excerptlines 8-76, bytes 150-2124
    describe("function-name", function () {
    it("should return empty string if func is falsy", function () {
    jsc.assertForall("falsy", function (fn) {
    return functionName(fn) === "";
    });
    });
    it("should use displayName by default", function () {
    jsc.assertForall("nestring", function (displayName) {
    var fn = { displayName: displayName };
    ...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global describe

  2. it("should return empty string if func is falsy", function () { jsc.assertForall("falsy", function (fn) { return functionName(fn) === ""; }); });
    Kind
    code
    Location
    lines 9-13, bytes 194-370
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/function-name.test.js@byte:194-370
    Confidence
    Medium confidence
    Code excerptlines 9-13, bytes 194-370
    describe("function-name", function () {\n it("should return empty string if func is falsy", function () {
    jsc.assertForall("falsy", function (fn) {
    return functionName(fn) === "";
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global it

  3. it("should use displayName by default", function () { jsc.assertForall("nestring", function (displayName) { var fn = { displayName: displayName }; return functionName(fn) === fn.displayName; }); });
    Kind
    code
    Location
    lines 15-21, bytes 377-619
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/function-name.test.js@byte:377-619
    Confidence
    Medium confidence
    Code excerptlines 15-21, bytes 377-619
     it("should use displayName by default", function () {
    jsc.assertForall("nestring", function (displayName) {
    var fn = { displayName: displayName };
    return functionName(fn) === fn.displayName;
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global it

  4. it("should use name if displayName is not available", function () { jsc.assertForall("nestring", function (name) { var fn = { name: name }; return functionName(fn) === fn.name; }); });
    Kind
    code
    Location
    lines 23-29, bytes 626-854
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/function-name.test.js@byte:626-854
    Confidence
    Medium confidence
    Code excerptlines 23-29, bytes 626-854
     it("should use name if displayName is not available", function () {
    jsc.assertForall("nestring", function (name) {
    var fn = { name: name };
    return functionName(fn) === fn.name;
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global it

  5. it("should fallback to string parsing", function () { jsc.assertForall("nat", function (naturalNumber) { var name = `fn${naturalNumber}`; var fn = { toString: function () { return `\nfunction ${name}`; }, }; return functionName(fn) === name; }); });
    Kind
    code
    Location
    lines 31-42, bytes 861-1230
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/function-name.test.js@byte:861-1230
    Confidence
    Medium confidence
    Code excerptlines 31-42, bytes 861-1230
     it("should fallback to string parsing", function () {
    jsc.assertForall("nat", function (naturalNumber) {
    var name = `fn${naturalNumber}`;
    var fn = {
    toString: function () {
    return `\nfunction ${name}`;
    },
    };
    return functionName(fn) === name;
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global it

  6. it("should not fail when a name cannot be found", function () { refute.exception(function () { var fn = { toString: function () { return "\nfunction ("; }, }; functionName(fn); }); });
    Kind
    code
    Location
    lines 44-54, bytes 1237-1529
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/function-name.test.js@byte:1237-1529
    Confidence
    Medium confidence
    Code excerptlines 44-54, bytes 1237-1529
     it("should not fail when a name cannot be found", function () {
    refute.exception(function () {
    var fn = {
    toString: function () {
    return "\nfunction (";
    },
    };
    functionName(fn);
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global it

  7. it("should not fail when toString is undefined", function () { refute.exception(function () { functionName(Object.create(null)); }); });
    Kind
    code
    Location
    lines 56-60, bytes 1536-1703
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/function-name.test.js@byte:1536-1703
    Confidence
    Medium confidence
    Code excerptlines 56-60, bytes 1536-1703
     it("should not fail when toString is undefined", function () {
    refute.exception(function () {
    functionName(Object.create(null));
    });
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global it

  8. it("should not fail when toString throws", function () { refute.exception(function () { var fn; try { // eslint-disable-next-line no-eval fn = eval("(function*() {})")().constructor; } catch (e) { // env doesn't support generators return; } functionName(fn); ...
    Kind
    code
    Location
    lines 62-75, bytes 1710-2120
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/function-name.test.js@byte:1710-2120
    Confidence
    Medium confidence
    Code excerptlines 62-75, bytes 1710-2120
     it("should not fail when toString throws", function () {
    refute.exception(function () {
    var fn;
    try {
    // eslint-disable-next-line no-eval
    fn = eval("(function*() {})")().constructor;
    } catch (e) {
    // env doesn't support generators
    return;
    }
    functionName(fn);
    ...\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/function-name.test.js references test framework global it

Severity
Medium
Occurrences
3 occurrences
  1. describe("global", function () { before(function () { if (typeof global === "undefined") { this.skip(); } }); it("is same as global", function () { assert.same(globalObject, global); }); });
    Kind
    code
    Location
    lines 6-16, bytes 111-353
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/global.test.js@byte:111-353
    Confidence
    Medium confidence
    Code excerptlines 6-16, bytes 111-353
    describe("global", function () {
    before(function () {
    if (typeof global === "undefined") {
    this.skip();
    }
    });
    it("is same as global", function () {
    assert.same(globalObject, global);
    });
    });
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/global.test.js references test framework global describe

  2. before(function () { if (typeof global === "undefined") { this.skip(); } });
    Kind
    code
    Location
    lines 7-11, bytes 148-255
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/global.test.js@byte:148-255
    Confidence
    Medium confidence
    Code excerptlines 7-11, bytes 148-255
    describe("global", function () {\n before(function () {
    if (typeof global === "undefined") {
    this.skip();
    }
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/global.test.js references test framework global before

  3. it("is same as global", function () { assert.same(globalObject, global); });
    Kind
    code
    Location
    lines 13-15, bytes 262-349
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/global.test.js@byte:262-349
    Confidence
    Medium confidence
    Code excerptlines 13-15, bytes 262-349
     it("is same as global", function () {
    assert.same(globalObject, global);
    });\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/global.test.js references test framework global it

Severity
Medium
Occurrences
3 occurrences
  1. describe("package", function () { // eslint-disable-next-line mocha/no-setup-in-describe expectedMethods.forEach(function (name) { it(`should export a method named ${name}`, function () { assert.isFunction(index[name]); }); }); // eslint-disable-next-line mocha/no-setup-in-describe expectedObjectProperties.forEach(function (name) { it(`shoul...
    Kind
    code
    Location
    lines 17-31, bytes 322-844
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/index.test.js@byte:322-844
    Confidence
    Medium confidence
    Code excerptlines 17-31, bytes 322-844
    describe("package", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    expectedMethods.forEach(function (name) {
    it(`should export a method named ${name}`, function () {
    assert.isFunction(index[name]);
    });
    });
    // eslint-disable-next-line mocha/no-setup-in-describe
    expectedObjectProperties.forEach(function (name) {
    it(`shoul...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/index.test.js references test framework global describe

  2. it(`should export a method named ${name}`, function () { assert.isFunction(index[name]); });
    Kind
    code
    Location
    lines 20-22, bytes 469-580
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/index.test.js@byte:469-580
    Confidence
    Medium confidence
    Code excerptlines 20-22, bytes 469-580
     expectedMethods.forEach(function (name) {\n it(`should export a method named ${name}`, function () {
    assert.isFunction(index[name]);
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/index.test.js references test framework global it

  3. it(`should export an object property named ${name}`, function () { assert.isObject(index[name]); });
    Kind
    code
    Location
    lines 27-29, bytes 713-832
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/index.test.js@byte:713-832
    Confidence
    Medium confidence
    Code excerptlines 27-29, bytes 713-832
     expectedObjectProperties.forEach(function (name) {\n it(`should export an object property named ${name}`, function () {
    assert.isObject(index[name]);
    });\n });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/index.test.js references test framework global it

Severity
Medium
Occurrences
2 occurrences
  1. describe("orderByFirstCall", function () { it("should order an Array of spies by the callId of the first call, ascending", function () { // create an array of spies var spies = [ sinon.spy(), sinon.spy(), sinon.spy(), sinon.spy(), sinon.spy(), sinon.spy(), ]; // call all the spies s...
    Kind
    code
    Location
    lines 8-52, bytes 239-1461
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js@byte:239-1461
    Confidence
    Medium confidence
    Code excerptlines 8-52, bytes 239-1461
    describe("orderByFirstCall", function () {
    it("should order an Array of spies by the callId of the first call, ascending", function () {
    // create an array of spies
    var spies = [
    sinon.spy(),
    sinon.spy(),
    sinon.spy(),
    sinon.spy(),
    sinon.spy(),
    sinon.spy(),
    ];
    // call all the spies
    s...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js references test framework global describe

  2. it("should order an Array of spies by the callId of the first call, ascending", function () { // create an array of spies var spies = [ sinon.spy(), sinon.spy(), sinon.spy(), sinon.spy(), sinon.spy(), sinon.spy(), ]; // call all the spies spies.forEach(function (spy) { s...
    Kind
    code
    Location
    lines 9-51, bytes 286-1457
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js@byte:286-1457
    Confidence
    Medium confidence
    Code excerptlines 9-51, bytes 286-1457
    describe("orderByFirstCall", function () {\n it("should order an Array of spies by the callId of the first call, ascending", function () {
    // create an array of spies
    var spies = [
    sinon.spy(),
    sinon.spy(),
    sinon.spy(),
    sinon.spy(),
    sinon.spy(),
    sinon.spy(),
    ];
    // call all the spies
    spies.forEach(function (spy) {
    s...\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js references test framework global it

Severity
Medium
Occurrences
2 occurrences
  1. describe("copyPrototypeMethods", function () { it("does not throw for Map", function () { refute.exception(function () { copyPrototypeMethods(Map.prototype); }); }); });
    Kind
    code
    Location
    lines 6-12, bytes 135-339
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.test.js@byte:135-339
    Confidence
    Medium confidence
    Code excerptlines 6-12, bytes 135-339
    describe("copyPrototypeMethods", function () {
    it("does not throw for Map", function () {
    refute.exception(function () {
    copyPrototypeMethods(Map.prototype);
    });
    });
    });
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.test.js references test framework global describe

  2. it("does not throw for Map", function () { refute.exception(function () { copyPrototypeMethods(Map.prototype); }); });
    Kind
    code
    Location
    lines 7-11, bytes 186-335
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.test.js@byte:186-335
    Confidence
    Medium confidence
    Code excerptlines 7-11, bytes 186-335
    describe("copyPrototypeMethods", function () {\n it("does not throw for Map", function () {
    refute.exception(function () {
    copyPrototypeMethods(Map.prototype);
    });
    });\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.test.js references test framework global it

Severity
Medium
Occurrences
8 occurrences
  1. describe("prototypes", function () { describe(".array", function () { // eslint-disable-next-line mocha/no-setup-in-describe verifyProperties(arrayProto, Array); }); describe(".function", function () { // eslint-disable-next-line mocha/no-setup-in-describe verifyProperties(functionProto, Function); }); describe(".map", function () { // es...
    Kind
    code
    Location
    lines 13-38, bytes 382-1342
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js@byte:382-1342
    Confidence
    Medium confidence
    Code excerptlines 13-38, bytes 382-1342
    describe("prototypes", function () {
    describe(".array", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    verifyProperties(arrayProto, Array);
    });
    describe(".function", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    verifyProperties(functionProto, Function);
    });
    describe(".map", function () {
    // es...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global describe

  2. describe(".array", function () { // eslint-disable-next-line mocha/no-setup-in-describe verifyProperties(arrayProto, Array); });
    Kind
    code
    Location
    lines 14-17, bytes 423-570
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js@byte:423-570
    Confidence
    Medium confidence
    Code excerptlines 14-17, bytes 423-570
    describe("prototypes", function () {\n describe(".array", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    verifyProperties(arrayProto, Array);
    });\n describe(".function", function () {

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global describe

  3. describe(".function", function () { // eslint-disable-next-line mocha/no-setup-in-describe verifyProperties(functionProto, Function); });
    Kind
    code
    Location
    lines 18-21, bytes 576-732
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js@byte:576-732
    Confidence
    Medium confidence
    Code excerptlines 18-21, bytes 576-732
     });\n describe(".function", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    verifyProperties(functionProto, Function);
    });\n describe(".map", function () {

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global describe

  4. describe(".map", function () { // eslint-disable-next-line mocha/no-setup-in-describe verifyProperties(mapProto, Map); });
    Kind
    code
    Location
    lines 22-25, bytes 738-879
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js@byte:738-879
    Confidence
    Medium confidence
    Code excerptlines 22-25, bytes 738-879
     });\n describe(".map", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    verifyProperties(mapProto, Map);
    });\n describe(".object", function () {

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global describe

  5. describe(".object", function () { // eslint-disable-next-line mocha/no-setup-in-describe verifyProperties(objectProto, Object); });
    Kind
    code
    Location
    lines 26-29, bytes 885-1035
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js@byte:885-1035
    Confidence
    Medium confidence
    Code excerptlines 26-29, bytes 885-1035
     });\n describe(".object", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    verifyProperties(objectProto, Object);
    });\n describe(".set", function () {

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global describe

  6. describe(".set", function () { // eslint-disable-next-line mocha/no-setup-in-describe verifyProperties(setProto, Set); });
    Kind
    code
    Location
    lines 30-33, bytes 1041-1182
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js@byte:1041-1182
    Confidence
    Medium confidence
    Code excerptlines 30-33, bytes 1041-1182
     });\n describe(".set", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    verifyProperties(setProto, Set);
    });\n describe(".string", function () {

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global describe

  7. describe(".string", function () { // eslint-disable-next-line mocha/no-setup-in-describe verifyProperties(stringProto, String); });
    Kind
    code
    Location
    lines 34-37, bytes 1188-1338
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js@byte:1188-1338
    Confidence
    Medium confidence
    Code excerptlines 34-37, bytes 1188-1338
     });\n describe(".string", function () {
    // eslint-disable-next-line mocha/no-setup-in-describe
    verifyProperties(stringProto, String);
    });\n});

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global describe

  8. it("should have all the methods of the origin prototype", function () { var methodNames = Object.getOwnPropertyNames(origin.prototype).filter( function (name) { if (disallowedProperties.includes(name)) { return false; } return typeof origin.prototype[name] === "function"; } ); ...
    Kind
    code
    Location
    lines 46-60, bytes 1542-2074
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js@byte:1542-2074
    Confidence
    Medium confidence
    Code excerptlines 46-60, bytes 1542-2074
     it("should have all the methods of the origin prototype", function () {
    var methodNames = Object.getOwnPropertyNames(origin.prototype).filter(
    function (name) {
    if (disallowedProperties.includes(name)) {
    return false;
    }
    return typeof origin.prototype[name] === "function";
    }
    );
    ...\n}
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/prototypes/index.test.js references test framework global it

Severity
Medium
Occurrences
11 occurrences
  1. describe("typeOf", function () { it("returns boolean", function () { assert.equals(typeOf(false), "boolean"); }); it("returns string", function () { assert.equals(typeOf("Sinon.JS"), "string"); }); it("returns number", function () { assert.equals(typeOf(123), "number"); }); it("returns object", function () { assert.equals(typeOf({}), "...
    Kind
    code
    Location
    lines 6-51, bytes 106-1196
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:106-1196
    Confidence
    Medium confidence
    Code excerptlines 6-51, bytes 106-1196
    describe("typeOf", function () {
    it("returns boolean", function () {
    assert.equals(typeOf(false), "boolean");
    });
    it("returns string", function () {
    assert.equals(typeOf("Sinon.JS"), "string");
    });
    it("returns number", function () {
    assert.equals(typeOf(123), "number");
    });
    it("returns object", function () {
    assert.equals(typeOf({}), "...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global describe

  2. it("returns boolean", function () { assert.equals(typeOf(false), "boolean"); });
    Kind
    code
    Location
    lines 7-9, bytes 143-234
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:143-234
    Confidence
    Medium confidence
    Code excerptlines 7-9, bytes 143-234
    describe("typeOf", function () {\n it("returns boolean", function () {
    assert.equals(typeOf(false), "boolean");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  3. it("returns string", function () { assert.equals(typeOf("Sinon.JS"), "string"); });
    Kind
    code
    Location
    lines 11-13, bytes 241-335
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:241-335
    Confidence
    Medium confidence
    Code excerptlines 11-13, bytes 241-335
     it("returns string", function () {
    assert.equals(typeOf("Sinon.JS"), "string");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  4. it("returns number", function () { assert.equals(typeOf(123), "number"); });
    Kind
    code
    Location
    lines 15-17, bytes 342-429
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:342-429
    Confidence
    Medium confidence
    Code excerptlines 15-17, bytes 342-429
     it("returns number", function () {
    assert.equals(typeOf(123), "number");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  5. it("returns object", function () { assert.equals(typeOf({}), "object"); });
    Kind
    code
    Location
    lines 19-21, bytes 436-522
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:436-522
    Confidence
    Medium confidence
    Code excerptlines 19-21, bytes 436-522
     it("returns object", function () {
    assert.equals(typeOf({}), "object");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  6. it("returns function", function () { assert.equals( typeOf(function () { return undefined; }), "function" ); });
    Kind
    code
    Location
    lines 23-30, bytes 529-712
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:529-712
    Confidence
    Medium confidence
    Code excerptlines 23-30, bytes 529-712
     it("returns function", function () {
    assert.equals(
    typeOf(function () {
    return undefined;
    }),
    "function"
    );
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  7. it("returns undefined", function () { assert.equals(typeOf(undefined), "undefined"); });
    Kind
    code
    Location
    lines 32-34, bytes 719-818
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:719-818
    Confidence
    Medium confidence
    Code excerptlines 32-34, bytes 719-818
     it("returns undefined", function () {
    assert.equals(typeOf(undefined), "undefined");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  8. it("returns null", function () { assert.equals(typeOf(null), "null"); });
    Kind
    code
    Location
    lines 36-38, bytes 825-909
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:825-909
    Confidence
    Medium confidence
    Code excerptlines 36-38, bytes 825-909
     it("returns null", function () {
    assert.equals(typeOf(null), "null");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  9. it("returns array", function () { assert.equals(typeOf([]), "array"); });
    Kind
    code
    Location
    lines 40-42, bytes 916-1000
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:916-1000
    Confidence
    Medium confidence
    Code excerptlines 40-42, bytes 916-1000
     it("returns array", function () {
    assert.equals(typeOf([]), "array");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  10. it("returns regexp", function () { assert.equals(typeOf(/.*/), "regexp"); });
    Kind
    code
    Location
    lines 44-46, bytes 1007-1095
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:1007-1095
    Confidence
    Medium confidence
    Code excerptlines 44-46, bytes 1007-1095
     it("returns regexp", function () {
    assert.equals(typeOf(/.*/), "regexp");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

  11. it("returns date", function () { assert.equals(typeOf(new Date()), "date"); });
    Kind
    code
    Location
    lines 48-50, bytes 1102-1192
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/type-of.test.js@byte:1102-1192
    Confidence
    Medium confidence
    Code excerptlines 48-50, bytes 1102-1192
     it("returns date", function () {
    assert.equals(typeOf(new Date()), "date");
    });\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/type-of.test.js references test framework global it

Severity
Medium
Occurrences
4 occurrences
  1. describe("util/core/valueToString", function () { it("returns string representation of an object", function () { var obj = {}; assert.equals(valueToString(obj), obj.toString()); }); it("returns 'null' for literal null'", function () { assert.equals(valueToString(null), "null"); }); it("returns 'undefined' for literal undefined", function () { ...
    Kind
    code
    Location
    lines 6-20, bytes 121-585
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/value-to-string.test.js@byte:121-585
    Confidence
    Medium confidence
    Code excerptlines 6-20, bytes 121-585
    describe("util/core/valueToString", function () {
    it("returns string representation of an object", function () {
    var obj = {};
    assert.equals(valueToString(obj), obj.toString());
    });
    it("returns 'null' for literal null'", function () {
    assert.equals(valueToString(null), "null");
    });
    it("returns 'undefined' for literal undefined", function () {
    ...

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/value-to-string.test.js references test framework global describe

  2. it("returns string representation of an object", function () { var obj = {}; assert.equals(valueToString(obj), obj.toString()); });
    Kind
    code
    Location
    lines 7-11, bytes 175-326
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/value-to-string.test.js@byte:175-326
    Confidence
    Medium confidence
    Code excerptlines 7-11, bytes 175-326
    describe("util/core/valueToString", function () {\n it("returns string representation of an object", function () {
    var obj = {};
    assert.equals(valueToString(obj), obj.toString());
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/value-to-string.test.js references test framework global it

  3. it("returns 'null' for literal null'", function () { assert.equals(valueToString(null), "null"); });
    Kind
    code
    Location
    lines 13-15, bytes 333-444
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/value-to-string.test.js@byte:333-444
    Confidence
    Medium confidence
    Code excerptlines 13-15, bytes 333-444
     it("returns 'null' for literal null'", function () {
    assert.equals(valueToString(null), "null");
    });

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/value-to-string.test.js references test framework global it

  4. it("returns 'undefined' for literal undefined", function () { assert.equals(valueToString(undefined), "undefined"); });
    Kind
    code
    Location
    lines 17-19, bytes 451-581
    Trace reference
    tests/node_modules/@sinonjs/commons/lib/value-to-string.test.js@byte:451-581
    Confidence
    Medium confidence
    Code excerptlines 17-19, bytes 451-581
     it("returns 'undefined' for literal undefined", function () {
    assert.equals(valueToString(undefined), "undefined");
    });\n});
    

    Analyzer messagetests/node_modules/@sinonjs/commons/lib/value-to-string.test.js references test framework global it

Severity
Medium
Occurrences
48 occurrences
  1. describe('CSSStyleDeclaration', () => { test('has only valid properties implemented', () => { expect(invalidProperties.length).toEqual(0); }); test('has all properties', () => { var style = new CSSStyleDeclaration(); allProperties.forEach(property => { expect(style.__lookupGetter__(property)).toBeTruthy(); expect(style.__lookupSetter__(property)).toBeTruthy(); })...
    Kind
    code
    Location
    lines 15-556, bytes 614-21696
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:614-21696
    Confidence
    Medium confidence
    Code excerptlines 15-556, bytes 614-21696
    describe('CSSStyleDeclaration', () => {
    test('has only valid properties implemented', () => {
    expect(invalidProperties.length).toEqual(0);
    });
    test('has all properties', () => {
    var style = new CSSStyleDeclaration();
    allProperties.forEach(property => {
    expect(style.__lookupGetter__(property)).toBeTruthy();
    expect(style.__lookupSetter__(property)).toBeTruthy();
    })...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global describe

  2. test('has only valid properties implemented', () => { expect(invalidProperties.length).toEqual(0); });
    Kind
    code
    Location
    lines 16-18, bytes 656-763
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:656-763
    Confidence
    Medium confidence
    Code excerptlines 16-18, bytes 656-763
    describe('CSSStyleDeclaration', () => {\n test('has only valid properties implemented', () => {
    expect(invalidProperties.length).toEqual(0);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  3. test('has all properties', () => { var style = new CSSStyleDeclaration(); allProperties.forEach(property => { expect(style.__lookupGetter__(property)).toBeTruthy(); expect(style.__lookupSetter__(property)).toBeTruthy(); }); });
    Kind
    code
    Location
    lines 20-26, bytes 768-1020
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:768-1020
    Confidence
    Medium confidence
    Code excerptlines 20-26, bytes 768-1020
     test('has all properties', () => {
    var style = new CSSStyleDeclaration();
    allProperties.forEach(property => {
    expect(style.__lookupGetter__(property)).toBeTruthy();
    expect(style.__lookupSetter__(property)).toBeTruthy();
    });
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  4. test('has dashed properties', () => { var style = new CSSStyleDeclaration(); dashedProperties.forEach(property => { expect(style.__lookupGetter__(property)).toBeTruthy(); expect(style.__lookupSetter__(property)).toBeTruthy(); }); });
    Kind
    code
    Location
    lines 28-34, bytes 1025-1283
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:1025-1283
    Confidence
    Medium confidence
    Code excerptlines 28-34, bytes 1025-1283
     test('has dashed properties', () => {
    var style = new CSSStyleDeclaration();
    dashedProperties.forEach(property => {
    expect(style.__lookupGetter__(property)).toBeTruthy();
    expect(style.__lookupSetter__(property)).toBeTruthy();
    });
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  5. test('has all functions', () => { var style = new CSSStyleDeclaration(); expect(typeof style.item).toEqual('function'); expect(typeof style.getPropertyValue).toEqual('function'); expect(typeof style.setProperty).toEqual('function'); expect(typeof style.getPropertyPriority).toEqual('function'); expect(typeof style.removeProperty).toEqual('function'); // TODO - deprec...
    Kind
    code
    Location
    lines 36-47, bytes 1288-1821
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:1288-1821
    Confidence
    Medium confidence
    Code excerptlines 36-47, bytes 1288-1821
     test('has all functions', () => {
    var style = new CSSStyleDeclaration();
    expect(typeof style.item).toEqual('function');
    expect(typeof style.getPropertyValue).toEqual('function');
    expect(typeof style.setProperty).toEqual('function');
    expect(typeof style.getPropertyPriority).toEqual('function');
    expect(typeof style.removeProperty).toEqual('function');
    // TODO - deprec...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  6. test('has special properties', () => { var style = new CSSStyleDeclaration(); expect(style.__lookupGetter__('cssText')).toBeTruthy(); expect(style.__lookupSetter__('cssText')).toBeTruthy(); expect(style.__lookupGetter__('length')).toBeTruthy(); expect(style.__lookupSetter__('length')).toBeTruthy(); expect(style.__lookupGetter__('parentRule')).toBeTruthy(); });
    Kind
    code
    Location
    lines 49-57, bytes 1826-2214
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:1826-2214
    Confidence
    Medium confidence
    Code excerptlines 49-57, bytes 1826-2214
     test('has special properties', () => {
    var style = new CSSStyleDeclaration();
    expect(style.__lookupGetter__('cssText')).toBeTruthy();
    expect(style.__lookupSetter__('cssText')).toBeTruthy();
    expect(style.__lookupGetter__('length')).toBeTruthy();
    expect(style.__lookupSetter__('length')).toBeTruthy();
    expect(style.__lookupGetter__('parentRule')).toBeTruthy();
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  7. test('from style string', () => { var style = new CSSStyleDeclaration(); style.cssText = 'color: blue; background-color: red; width: 78%; height: 50vh;'; expect(style.length).toEqual(4); expect(style.cssText).toEqual('color: blue; background-color: red; width: 78%; height: 50vh;'); expect(style.getPropertyValue('color')).toEqual('blue'); expect(style.item(0)).toEqual('col...
    Kind
    code
    Location
    lines 59-71, bytes 2219-2827
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:2219-2827
    Confidence
    Medium confidence
    Code excerptlines 59-71, bytes 2219-2827
     test('from style string', () => {
    var style = new CSSStyleDeclaration();
    style.cssText = 'color: blue; background-color: red; width: 78%; height: 50vh;';
    expect(style.length).toEqual(4);
    expect(style.cssText).toEqual('color: blue; background-color: red; width: 78%; height: 50vh;');
    expect(style.getPropertyValue('color')).toEqual('blue');
    expect(style.item(0)).toEqual('col...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  8. test('from properties', () => { var style = new CSSStyleDeclaration(); style.color = 'blue'; expect(style.length).toEqual(1); expect(style[0]).toEqual('color'); expect(style.cssText).toEqual('color: blue;'); expect(style.item(0)).toEqual('color'); expect(style.color).toEqual('blue'); style.backgroundColor = 'red'; expect(style.length).toEqual(2); expect(st...
    Kind
    code
    Location
    lines 73-89, bytes 2832-3519
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:2832-3519
    Confidence
    Medium confidence
    Code excerptlines 73-89, bytes 2832-3519
     test('from properties', () => {
    var style = new CSSStyleDeclaration();
    style.color = 'blue';
    expect(style.length).toEqual(1);
    expect(style[0]).toEqual('color');
    expect(style.cssText).toEqual('color: blue;');
    expect(style.item(0)).toEqual('color');
    expect(style.color).toEqual('blue');
    style.backgroundColor = 'red';
    expect(style.length).toEqual(2);
    expect(st...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  9. test('shorthand properties', () => { var style = new CSSStyleDeclaration(); style.background = 'blue url(http://www.example.com/some_img.jpg)'; expect(style.backgroundColor).toEqual('blue'); expect(style.backgroundImage).toEqual('url(http://www.example.com/some_img.jpg)'); expect(style.background).toEqual('blue url(http://www.example.com/some_img.jpg)'); style.border = '0...
    Kind
    code
    Location
    lines 91-107, bytes 3524-4368
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:3524-4368
    Confidence
    Medium confidence
    Code excerptlines 91-107, bytes 3524-4368
     test('shorthand properties', () => {
    var style = new CSSStyleDeclaration();
    style.background = 'blue url(http://www.example.com/some_img.jpg)';
    expect(style.backgroundColor).toEqual('blue');
    expect(style.backgroundImage).toEqual('url(http://www.example.com/some_img.jpg)');
    expect(style.background).toEqual('blue url(http://www.example.com/some_img.jpg)');
    style.border = '0...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  10. test('width and height properties and null and empty strings', () => { var style = new CSSStyleDeclaration(); style.height = 6; expect(style.height).toEqual(''); style.width = 0; expect(style.width).toEqual('0px'); style.height = '34%'; expect(style.height).toEqual('34%'); style.height = '100vh'; expect(style.height).toEqual('100vh'); style.height = '100vw...
    Kind
    code
    Location
    lines 109-127, bytes 4373-5031
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:4373-5031
    Confidence
    Medium confidence
    Code excerptlines 109-127, bytes 4373-5031
     test('width and height properties and null and empty strings', () => {
    var style = new CSSStyleDeclaration();
    style.height = 6;
    expect(style.height).toEqual('');
    style.width = 0;
    expect(style.width).toEqual('0px');
    style.height = '34%';
    expect(style.height).toEqual('34%');
    style.height = '100vh';
    expect(style.height).toEqual('100vh');
    style.height = '100vw...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  11. test('implicit properties', () => { var style = new CSSStyleDeclaration(); style.borderWidth = 0; expect(style.length).toEqual(1); expect(style.borderWidth).toEqual('0px'); expect(style.borderTopWidth).toEqual('0px'); expect(style.borderBottomWidth).toEqual('0px'); expect(style.borderLeftWidth).toEqual('0px'); expect(style.borderRightWidth).toEqual('0px'); exp...
    Kind
    code
    Location
    lines 129-139, bytes 5036-5488
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:5036-5488
    Confidence
    Medium confidence
    Code excerptlines 129-139, bytes 5036-5488
     test('implicit properties', () => {
    var style = new CSSStyleDeclaration();
    style.borderWidth = 0;
    expect(style.length).toEqual(1);
    expect(style.borderWidth).toEqual('0px');
    expect(style.borderTopWidth).toEqual('0px');
    expect(style.borderBottomWidth).toEqual('0px');
    expect(style.borderLeftWidth).toEqual('0px');
    expect(style.borderRightWidth).toEqual('0px');
    exp...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  12. test('top, left, right, bottom properties', () => { var style = new CSSStyleDeclaration(); style.top = 0; style.left = '0%'; style.right = '5em'; style.bottom = '12pt'; expect(style.top).toEqual('0px'); expect(style.left).toEqual('0%'); expect(style.right).toEqual('5em'); expect(style.bottom).toEqual('12pt'); expect(style.length).toEqual(4); expect(sty...
    Kind
    code
    Location
    lines 141-153, bytes 5493-5965
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:5493-5965
    Confidence
    Medium confidence
    Code excerptlines 141-153, bytes 5493-5965
     test('top, left, right, bottom properties', () => {
    var style = new CSSStyleDeclaration();
    style.top = 0;
    style.left = '0%';
    style.right = '5em';
    style.bottom = '12pt';
    expect(style.top).toEqual('0px');
    expect(style.left).toEqual('0%');
    expect(style.right).toEqual('5em');
    expect(style.bottom).toEqual('12pt');
    expect(style.length).toEqual(4);
    expect(sty...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  13. test('clear and clip properties', () => { var style = new CSSStyleDeclaration(); style.clear = 'none'; expect(style.clear).toEqual('none'); style.clear = 'lfet'; expect(style.clear).toEqual('none'); style.clear = 'left'; expect(style.clear).toEqual('left'); style.clear = 'right'; expect(style.clear).toEqual('right'); style.clear = 'both'; expect(style....
    Kind
    code
    Location
    lines 155-174, bytes 5970-6730
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:5970-6730
    Confidence
    Medium confidence
    Code excerptlines 155-174, bytes 5970-6730
     test('clear and clip properties', () => {
    var style = new CSSStyleDeclaration();
    style.clear = 'none';
    expect(style.clear).toEqual('none');
    style.clear = 'lfet';
    expect(style.clear).toEqual('none');
    style.clear = 'left';
    expect(style.clear).toEqual('left');
    style.clear = 'right';
    expect(style.clear).toEqual('right');
    style.clear = 'both';
    expect(style....

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  14. test('colors', () => { var style = new CSSStyleDeclaration(); style.color = 'rgba(0,0,0,0)'; expect(style.color).toEqual('rgba(0, 0, 0, 0)'); style.color = 'rgba(5%, 10%, 20%, 0.4)'; expect(style.color).toEqual('rgba(12, 25, 51, 0.4)'); style.color = 'rgb(33%, 34%, 33%)'; expect(style.color).toEqual('rgb(84, 86, 84)'); style.color = 'rgba(300, 200, 100, 1.5)'; ...
    Kind
    code
    Location
    lines 176-202, bytes 6735-7892
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:6735-7892
    Confidence
    Medium confidence
    Code excerptlines 176-202, bytes 6735-7892
     test('colors', () => {
    var style = new CSSStyleDeclaration();
    style.color = 'rgba(0,0,0,0)';
    expect(style.color).toEqual('rgba(0, 0, 0, 0)');
    style.color = 'rgba(5%, 10%, 20%, 0.4)';
    expect(style.color).toEqual('rgba(12, 25, 51, 0.4)');
    style.color = 'rgb(33%, 34%, 33%)';
    expect(style.color).toEqual('rgb(84, 86, 84)');
    style.color = 'rgba(300, 200, 100, 1.5)';
    ...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  15. test('short hand properties with embedded spaces', () => { var style = new CSSStyleDeclaration(); style.background = 'rgb(0, 0, 0) url(/something/somewhere.jpg)'; expect(style.backgroundColor).toEqual('rgb(0, 0, 0)'); expect(style.backgroundImage).toEqual('url(/something/somewhere.jpg)'); expect(style.cssText).toEqual('background: rgb(0, 0, 0) url(/something/somewhere.jpg);')...
    Kind
    code
    Location
    lines 204-213, bytes 7897-8438
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:7897-8438
    Confidence
    Medium confidence
    Code excerptlines 204-213, bytes 7897-8438
     test('short hand properties with embedded spaces', () => {
    var style = new CSSStyleDeclaration();
    style.background = 'rgb(0, 0, 0) url(/something/somewhere.jpg)';
    expect(style.backgroundColor).toEqual('rgb(0, 0, 0)');
    expect(style.backgroundImage).toEqual('url(/something/somewhere.jpg)');
    expect(style.cssText).toEqual('background: rgb(0, 0, 0) url(/something/somewhere.jpg);')...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  16. test('setting shorthand properties to an empty string should clear all dependent properties', () => { var style = new CSSStyleDeclaration(); style.borderWidth = '1px'; expect(style.cssText).toEqual('border-width: 1px;'); style.border = ''; expect(style.cssText).toEqual(''); });
    Kind
    code
    Location
    lines 215-221, bytes 8443-8742
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:8443-8742
    Confidence
    Medium confidence
    Code excerptlines 215-221, bytes 8443-8742
     test('setting shorthand properties to an empty string should clear all dependent properties', () => {
    var style = new CSSStyleDeclaration();
    style.borderWidth = '1px';
    expect(style.cssText).toEqual('border-width: 1px;');
    style.border = '';
    expect(style.cssText).toEqual('');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  17. test('setting implicit properties to an empty string should clear all dependent properties', () => { var style = new CSSStyleDeclaration(); style.borderTopWidth = '1px'; expect(style.cssText).toEqual('border-top-width: 1px;'); style.borderWidth = ''; expect(style.cssText).toEqual(''); });
    Kind
    code
    Location
    lines 223-229, bytes 8747-9057
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:8747-9057
    Confidence
    Medium confidence
    Code excerptlines 223-229, bytes 8747-9057
     test('setting implicit properties to an empty string should clear all dependent properties', () => {
    var style = new CSSStyleDeclaration();
    style.borderTopWidth = '1px';
    expect(style.cssText).toEqual('border-top-width: 1px;');
    style.borderWidth = '';
    expect(style.cssText).toEqual('');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  18. test('setting a shorthand property, whose shorthands are implicit properties, to an empty string should clear all dependent properties', () => { var style = new CSSStyleDeclaration(); style.borderTopWidth = '1px'; expect(style.cssText).toEqual('border-top-width: 1px;'); style.border = ''; expect(style.cssText).toEqual(''); style.borderTop = '1px solid black'; expect(s...
    Kind
    code
    Location
    lines 231-241, bytes 9062-9581
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:9062-9581
    Confidence
    Medium confidence
    Code excerptlines 231-241, bytes 9062-9581
     test('setting a shorthand property, whose shorthands are implicit properties, to an empty string should clear all dependent properties', () => {
    var style = new CSSStyleDeclaration();
    style.borderTopWidth = '1px';
    expect(style.cssText).toEqual('border-top-width: 1px;');
    style.border = '';
    expect(style.cssText).toEqual('');
    style.borderTop = '1px solid black';
    expect(s...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  19. test('setting border values to "none" should clear dependent values', () => { var style = new CSSStyleDeclaration(); style.borderTopWidth = '1px'; expect(style.cssText).toEqual('border-top-width: 1px;'); style.border = 'none'; expect(style.cssText).toEqual(''); style.borderTopWidth = '1px'; expect(style.cssText).toEqual('border-top-width: 1px;'); style.borderTopSt...
    Kind
    code
    Location
    lines 243-262, bytes 9586-10451
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:9586-10451
    Confidence
    Medium confidence
    Code excerptlines 243-262, bytes 9586-10451
     test('setting border values to "none" should clear dependent values', () => {
    var style = new CSSStyleDeclaration();
    style.borderTopWidth = '1px';
    expect(style.cssText).toEqual('border-top-width: 1px;');
    style.border = 'none';
    expect(style.cssText).toEqual('');
    style.borderTopWidth = '1px';
    expect(style.cssText).toEqual('border-top-width: 1px;');
    style.borderTopSt...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  20. test('setting border to 0 should be okay', () => { var style = new CSSStyleDeclaration(); style.border = 0; expect(style.cssText).toEqual('border: 0px;'); });
    Kind
    code
    Location
    lines 264-268, bytes 10456-10627
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:10456-10627
    Confidence
    Medium confidence
    Code excerptlines 264-268, bytes 10456-10627
     test('setting border to 0 should be okay', () => {
    var style = new CSSStyleDeclaration();
    style.border = 0;
    expect(style.cssText).toEqual('border: 0px;');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  21. test('setting values implicit and shorthand properties via csstext and setproperty should propagate to dependent properties', () => { var style = new CSSStyleDeclaration(); style.cssText = 'border: 1px solid black;'; expect(style.cssText).toEqual('border: 1px solid black;'); expect(style.borderTop).toEqual('1px solid black'); style.border = ''; expect(style.cssText).toEqu...
    Kind
    code
    Location
    lines 270-279, bytes 10632-11157
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:10632-11157
    Confidence
    Medium confidence
    Code excerptlines 270-279, bytes 10632-11157
     test('setting values implicit and shorthand properties via csstext and setproperty should propagate to dependent properties', () => {
    var style = new CSSStyleDeclaration();
    style.cssText = 'border: 1px solid black;';
    expect(style.cssText).toEqual('border: 1px solid black;');
    expect(style.borderTop).toEqual('1px solid black');
    style.border = '';
    expect(style.cssText).toEqu...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  22. test('setting opacity should work', () => { var style = new CSSStyleDeclaration(); style.setProperty('opacity', 0.75); expect(style.cssText).toEqual('opacity: 0.75;'); style.opacity = '0.50'; expect(style.cssText).toEqual('opacity: 0.5;'); style.opacity = 1; expect(style.cssText).toEqual('opacity: 1;'); });
    Kind
    code
    Location
    lines 281-289, bytes 11162-11499
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:11162-11499
    Confidence
    Medium confidence
    Code excerptlines 281-289, bytes 11162-11499
     test('setting opacity should work', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('opacity', 0.75);
    expect(style.cssText).toEqual('opacity: 0.75;');
    style.opacity = '0.50';
    expect(style.cssText).toEqual('opacity: 0.5;');
    style.opacity = 1;
    expect(style.cssText).toEqual('opacity: 1;');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  23. test('width and height of auto should work', () => { var style = new CSSStyleDeclaration(); style.width = 'auto'; expect(style.cssText).toEqual('width: auto;'); expect(style.width).toEqual('auto'); style = new CSSStyleDeclaration(); style.height = 'auto'; expect(style.cssText).toEqual('height: auto;'); expect(style.height).toEqual('auto'); });
    Kind
    code
    Location
    lines 291-300, bytes 11504-11882
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:11504-11882
    Confidence
    Medium confidence
    Code excerptlines 291-300, bytes 11504-11882
     test('width and height of auto should work', () => {
    var style = new CSSStyleDeclaration();
    style.width = 'auto';
    expect(style.cssText).toEqual('width: auto;');
    expect(style.width).toEqual('auto');
    style = new CSSStyleDeclaration();
    style.height = 'auto';
    expect(style.cssText).toEqual('height: auto;');
    expect(style.height).toEqual('auto');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  24. test('padding and margin should set/clear shorthand properties', () => { var style = new CSSStyleDeclaration(); var parts = ['Top', 'Right', 'Bottom', 'Left']; var testParts = function(name, v, V) { style[name] = v; for (var i = 0; i < 4; i++) { var part = name + parts[i]; expect(style[part]).toEqual(V[i]); } expect(style[name]).toEqual(v); ...
    Kind
    code
    Location
    lines 302-327, bytes 11887-13140
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:11887-13140
    Confidence
    Medium confidence
    Code excerptlines 302-327, bytes 11887-13140
     test('padding and margin should set/clear shorthand properties', () => {
    var style = new CSSStyleDeclaration();
    var parts = ['Top', 'Right', 'Bottom', 'Left'];
    var testParts = function(name, v, V) {
    style[name] = v;
    for (var i = 0; i < 4; i++) {
    var part = name + parts[i];
    expect(style[part]).toEqual(V[i]);
    }
    expect(style[name]).toEqual(v);
    ...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  25. test('padding and margin shorthands should set main properties', () => { var style = new CSSStyleDeclaration(); var parts = ['Top', 'Right', 'Bottom', 'Left']; var testParts = function(name, v, V) { var expected; for (var i = 0; i < 4; i++) { style[name] = v; style[name + parts[i]] = V; expected = v.split(/ /); expected[i] = V; expe...
    Kind
    code
    Location
    lines 329-347, bytes 13145-13794
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:13145-13794
    Confidence
    Medium confidence
    Code excerptlines 329-347, bytes 13145-13794
     test('padding and margin shorthands should set main properties', () => {
    var style = new CSSStyleDeclaration();
    var parts = ['Top', 'Right', 'Bottom', 'Left'];
    var testParts = function(name, v, V) {
    var expected;
    for (var i = 0; i < 4; i++) {
    style[name] = v;
    style[name + parts[i]] = V;
    expected = v.split(/ /);
    expected[i] = V;
    expe...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  26. test('setting a value to 0 should return the string value', () => { var style = new CSSStyleDeclaration(); style.setProperty('fill-opacity', 0); expect(style.fillOpacity).toEqual('0'); });
    Kind
    code
    Location
    lines 349-353, bytes 13799-14000
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:13799-14000
    Confidence
    Medium confidence
    Code excerptlines 349-353, bytes 13799-14000
     test('setting a value to 0 should return the string value', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('fill-opacity', 0);
    expect(style.fillOpacity).toEqual('0');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  27. test('onchange callback should be called when the csstext changes', () => { var style = new CSSStyleDeclaration(function(cssText) { expect(cssText).toEqual('opacity: 0;'); }); style.setProperty('opacity', 0); });
    Kind
    code
    Location
    lines 355-360, bytes 14005-14236
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:14005-14236
    Confidence
    Medium confidence
    Code excerptlines 355-360, bytes 14005-14236
     test('onchange callback should be called when the csstext changes', () => {
    var style = new CSSStyleDeclaration(function(cssText) {
    expect(cssText).toEqual('opacity: 0;');
    });
    style.setProperty('opacity', 0);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  28. test('setting float should work the same as cssfloat', () => { var style = new CSSStyleDeclaration(); style.float = 'left'; expect(style.cssFloat).toEqual('left'); });
    Kind
    code
    Location
    lines 362-366, bytes 14241-14421
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:14241-14421
    Confidence
    Medium confidence
    Code excerptlines 362-366, bytes 14241-14421
     test('setting float should work the same as cssfloat', () => {
    var style = new CSSStyleDeclaration();
    style.float = 'left';
    expect(style.cssFloat).toEqual('left');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  29. test('setting improper css to csstext should not throw', () => { var style = new CSSStyleDeclaration(); style.cssText = 'color: '; expect(style.cssText).toEqual(''); style.color = 'black'; style.cssText = 'float: '; expect(style.cssText).toEqual(''); });
    Kind
    code
    Location
    lines 368-375, bytes 14426-14705
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:14426-14705
    Confidence
    Medium confidence
    Code excerptlines 368-375, bytes 14426-14705
     test('setting improper css to csstext should not throw', () => {
    var style = new CSSStyleDeclaration();
    style.cssText = 'color: ';
    expect(style.cssText).toEqual('');
    style.color = 'black';
    style.cssText = 'float: ';
    expect(style.cssText).toEqual('');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  30. test('url parsing works with quotes', () => { var style = new CSSStyleDeclaration(); style.backgroundImage = 'url(http://some/url/here1.png)'; expect(style.backgroundImage).toEqual('url(http://some/url/here1.png)'); style.backgroundImage = "url('http://some/url/here2.png')"; expect(style.backgroundImage).toEqual('url(http://some/url/here2.png)'); style.backgroundImage = '...
    Kind
    code
    Location
    lines 377-385, bytes 14710-15224
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:14710-15224
    Confidence
    Medium confidence
    Code excerptlines 377-385, bytes 14710-15224
     test('url parsing works with quotes', () => {
    var style = new CSSStyleDeclaration();
    style.backgroundImage = 'url(http://some/url/here1.png)';
    expect(style.backgroundImage).toEqual('url(http://some/url/here1.png)');
    style.backgroundImage = "url('http://some/url/here2.png')";
    expect(style.backgroundImage).toEqual('url(http://some/url/here2.png)');
    style.backgroundImage = '...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  31. test('setting 0 to a padding or margin works', () => { var style = new CSSStyleDeclaration(); style.padding = 0; expect(style.cssText).toEqual('padding: 0px;'); style.margin = '1em'; style.marginTop = '0'; expect(style.marginTop).toEqual('0px'); });
    Kind
    code
    Location
    lines 387-394, bytes 15229-15503
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:15229-15503
    Confidence
    Medium confidence
    Code excerptlines 387-394, bytes 15229-15503
     test('setting 0 to a padding or margin works', () => {
    var style = new CSSStyleDeclaration();
    style.padding = 0;
    expect(style.cssText).toEqual('padding: 0px;');
    style.margin = '1em';
    style.marginTop = '0';
    expect(style.marginTop).toEqual('0px');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  32. test('setting ex units to a padding or margin works', () => { var style = new CSSStyleDeclaration(); style.padding = '1ex'; expect(style.cssText).toEqual('padding: 1ex;'); style.margin = '1em'; style.marginTop = '0.5ex'; expect(style.marginTop).toEqual('0.5ex'); });
    Kind
    code
    Location
    lines 396-403, bytes 15508-15799
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:15508-15799
    Confidence
    Medium confidence
    Code excerptlines 396-403, bytes 15508-15799
     test('setting ex units to a padding or margin works', () => {
    var style = new CSSStyleDeclaration();
    style.padding = '1ex';
    expect(style.cssText).toEqual('padding: 1ex;');
    style.margin = '1em';
    style.marginTop = '0.5ex';
    expect(style.marginTop).toEqual('0.5ex');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  33. test('setting null to background works', () => { var style = new CSSStyleDeclaration(); style.background = 'red'; expect(style.cssText).toEqual('background: red;'); style.background = null; expect(style.cssText).toEqual(''); });
    Kind
    code
    Location
    lines 405-411, bytes 15804-16053
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:15804-16053
    Confidence
    Medium confidence
    Code excerptlines 405-411, bytes 15804-16053
     test('setting null to background works', () => {
    var style = new CSSStyleDeclaration();
    style.background = 'red';
    expect(style.cssText).toEqual('background: red;');
    style.background = null;
    expect(style.cssText).toEqual('');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  34. test('flex properties should keep their values', () => { var style = new CSSStyleDeclaration(); style.flexDirection = 'column'; expect(style.cssText).toEqual('flex-direction: column;'); style.flexDirection = 'row'; expect(style.cssText).toEqual('flex-direction: row;'); });
    Kind
    code
    Location
    lines 413-419, bytes 16058-16352
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:16058-16352
    Confidence
    Medium confidence
    Code excerptlines 413-419, bytes 16058-16352
     test('flex properties should keep their values', () => {
    var style = new CSSStyleDeclaration();
    style.flexDirection = 'column';
    expect(style.cssText).toEqual('flex-direction: column;');
    style.flexDirection = 'row';
    expect(style.cssText).toEqual('flex-direction: row;');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  35. test('camelcase properties are not assigned with `.setproperty()`', () => { var style = new CSSStyleDeclaration(); style.setProperty('fontSize', '12px'); expect(style.cssText).toEqual(''); });
    Kind
    code
    Location
    lines 421-425, bytes 16357-16562
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:16357-16562
    Confidence
    Medium confidence
    Code excerptlines 421-425, bytes 16357-16562
     test('camelcase properties are not assigned with `.setproperty()`', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('fontSize', '12px');
    expect(style.cssText).toEqual('');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  36. test('casing is ignored in `.setproperty()`', () => { var style = new CSSStyleDeclaration(); style.setProperty('FoNt-SiZe', '12px'); expect(style.fontSize).toEqual('12px'); expect(style.getPropertyValue('font-size')).toEqual('12px'); });
    Kind
    code
    Location
    lines 427-432, bytes 16567-16821
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:16567-16821
    Confidence
    Medium confidence
    Code excerptlines 427-432, bytes 16567-16821
     test('casing is ignored in `.setproperty()`', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('FoNt-SiZe', '12px');
    expect(style.fontSize).toEqual('12px');
    expect(style.getPropertyValue('font-size')).toEqual('12px');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  37. test('support non string entries in border-spacing', () => { var style = new CSSStyleDeclaration(); style.borderSpacing = 0; expect(style.cssText).toEqual('border-spacing: 0px;'); });
    Kind
    code
    Location
    lines 434-438, bytes 16826-17022
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:16826-17022
    Confidence
    Medium confidence
    Code excerptlines 434-438, bytes 16826-17022
     test('support non string entries in border-spacing', () => {
    var style = new CSSStyleDeclaration();
    style.borderSpacing = 0;
    expect(style.cssText).toEqual('border-spacing: 0px;');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  38. test('float should be valid property for `.setproperty()`', () => { var style = new CSSStyleDeclaration(); style.setProperty('float', 'left'); expect(style.float).toEqual('left'); expect(style.getPropertyValue('float')).toEqual('left'); });
    Kind
    code
    Location
    lines 440-445, bytes 17027-17284
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:17027-17284
    Confidence
    Medium confidence
    Code excerptlines 440-445, bytes 17027-17284
     test('float should be valid property for `.setproperty()`', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('float', 'left');
    expect(style.float).toEqual('left');
    expect(style.getPropertyValue('float')).toEqual('left');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  39. test('flex-shrink works', () => { var style = new CSSStyleDeclaration(); style.setProperty('flex-shrink', 0); expect(style.getPropertyValue('flex-shrink')).toEqual('0'); style.setProperty('flex-shrink', 1); expect(style.getPropertyValue('flex-shrink')).toEqual('1'); expect(style.cssText).toEqual('flex-shrink: 1;'); });
    Kind
    code
    Location
    lines 447-454, bytes 17289-17634
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:17289-17634
    Confidence
    Medium confidence
    Code excerptlines 447-454, bytes 17289-17634
     test('flex-shrink works', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('flex-shrink', 0);
    expect(style.getPropertyValue('flex-shrink')).toEqual('0');
    style.setProperty('flex-shrink', 1);
    expect(style.getPropertyValue('flex-shrink')).toEqual('1');
    expect(style.cssText).toEqual('flex-shrink: 1;');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  40. test('flex-grow works', () => { var style = new CSSStyleDeclaration(); style.setProperty('flex-grow', 2); expect(style.getPropertyValue('flex-grow')).toEqual('2'); expect(style.cssText).toEqual('flex-grow: 2;'); });
    Kind
    code
    Location
    lines 456-461, bytes 17639-17871
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:17639-17871
    Confidence
    Medium confidence
    Code excerptlines 456-461, bytes 17639-17871
     test('flex-grow works', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('flex-grow', 2);
    expect(style.getPropertyValue('flex-grow')).toEqual('2');
    expect(style.cssText).toEqual('flex-grow: 2;');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  41. test('flex-basis works', () => { var style = new CSSStyleDeclaration(); style.setProperty('flex-basis', 0); expect(style.getPropertyValue('flex-basis')).toEqual('0px'); style.setProperty('flex-basis', '250px'); expect(style.getPropertyValue('flex-basis')).toEqual('250px'); style.setProperty('flex-basis', '10em'); expect(style.getPropertyValue('flex-basis')).toEqual('1...
    Kind
    code
    Location
    lines 463-474, bytes 17876-18449
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:17876-18449
    Confidence
    Medium confidence
    Code excerptlines 463-474, bytes 17876-18449
     test('flex-basis works', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('flex-basis', 0);
    expect(style.getPropertyValue('flex-basis')).toEqual('0px');
    style.setProperty('flex-basis', '250px');
    expect(style.getPropertyValue('flex-basis')).toEqual('250px');
    style.setProperty('flex-basis', '10em');
    expect(style.getPropertyValue('flex-basis')).toEqual('1...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  42. test('shorthand flex works', () => { var style = new CSSStyleDeclaration(); style.setProperty('flex', 'none'); expect(style.getPropertyValue('flex-grow')).toEqual('0'); expect(style.getPropertyValue('flex-shrink')).toEqual('0'); expect(style.getPropertyValue('flex-basis')).toEqual('auto'); style.removeProperty('flex'); style.removeProperty('flex-basis'); style.set...
    Kind
    code
    Location
    lines 476-510, bytes 18454-20220
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:18454-20220
    Confidence
    Medium confidence
    Code excerptlines 476-510, bytes 18454-20220
     test('shorthand flex works', () => {
    var style = new CSSStyleDeclaration();
    style.setProperty('flex', 'none');
    expect(style.getPropertyValue('flex-grow')).toEqual('0');
    expect(style.getPropertyValue('flex-shrink')).toEqual('0');
    expect(style.getPropertyValue('flex-basis')).toEqual('auto');
    style.removeProperty('flex');
    style.removeProperty('flex-basis');
    style.set...

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  43. test('font-size get a valid value', () => { var style = new CSSStyleDeclaration(); const invalidValue = '1r5px'; style.cssText = 'font-size: 15px'; expect(1).toEqual(style.length); style.cssText = `font-size: ${invalidValue}`; expect(0).toEqual(style.length); expect(undefined).toEqual(style[0]); });
    Kind
    code
    Location
    lines 512-520, bytes 20225-20554
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:20225-20554
    Confidence
    Medium confidence
    Code excerptlines 512-520, bytes 20225-20554
     test('font-size get a valid value', () => {
    var style = new CSSStyleDeclaration();
    const invalidValue = '1r5px';
    style.cssText = 'font-size: 15px';
    expect(1).toEqual(style.length);
    style.cssText = `font-size: ${invalidValue}`;
    expect(0).toEqual(style.length);
    expect(undefined).toEqual(style[0]);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  44. test('getPropertyValue for custom properties in cssText', () => { const style = new CSSStyleDeclaration(); style.cssText = '--foo: red'; expect(style.getPropertyValue('--foo')).toEqual('red'); });
    Kind
    code
    Location
    lines 522-527, bytes 20559-20769
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:20559-20769
    Confidence
    Medium confidence
    Code excerptlines 522-527, bytes 20559-20769
     test('getPropertyValue for custom properties in cssText', () => {
    const style = new CSSStyleDeclaration();
    style.cssText = '--foo: red';
    expect(style.getPropertyValue('--foo')).toEqual('red');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  45. test('getPropertyValue for custom properties with setProperty', () => { const style = new CSSStyleDeclaration(); style.setProperty('--bar', 'blue'); expect(style.getPropertyValue('--bar')).toEqual('blue'); });
    Kind
    code
    Location
    lines 529-534, bytes 20774-20997
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:20774-20997
    Confidence
    Medium confidence
    Code excerptlines 529-534, bytes 20774-20997
     test('getPropertyValue for custom properties with setProperty', () => {
    const style = new CSSStyleDeclaration();
    style.setProperty('--bar', 'blue');
    expect(style.getPropertyValue('--bar')).toEqual('blue');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  46. test('getPropertyValue for custom properties with object setter', () => { const style = new CSSStyleDeclaration(); style['--baz'] = 'yellow'; expect(style.getPropertyValue('--baz')).toEqual(''); });
    Kind
    code
    Location
    lines 536-541, bytes 21002-21214
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:21002-21214
    Confidence
    Medium confidence
    Code excerptlines 536-541, bytes 21002-21214
     test('getPropertyValue for custom properties with object setter', () => {
    const style = new CSSStyleDeclaration();
    style['--baz'] = 'yellow';
    expect(style.getPropertyValue('--baz')).toEqual('');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  47. test('custom properties are case-sensitive', () => { const style = new CSSStyleDeclaration(); style.cssText = '--fOo: purple'; expect(style.getPropertyValue('--foo')).toEqual(''); expect(style.getPropertyValue('--fOo')).toEqual('purple'); });
    Kind
    code
    Location
    lines 543-549, bytes 21219-21479
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:21219-21479
    Confidence
    Medium confidence
    Code excerptlines 543-549, bytes 21219-21479
     test('custom properties are case-sensitive', () => {
    const style = new CSSStyleDeclaration();
    style.cssText = '--fOo: purple';
    expect(style.getPropertyValue('--foo')).toEqual('');
    expect(style.getPropertyValue('--fOo')).toEqual('purple');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

  48. test('supports calc', () => { const style = new CSSStyleDeclaration(); style.setProperty('width', 'calc(100% - 100px)'); expect(style.getPropertyValue('width')).toEqual('calc(100% - 100px)'); });
    Kind
    code
    Location
    lines 551-555, bytes 21484-21692
    Trace reference
    tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js@byte:21484-21692
    Confidence
    Medium confidence
    Code excerptlines 551-555, bytes 21484-21692
     test('supports calc', () => {
    const style = new CSSStyleDeclaration();
    style.setProperty('width', 'calc(100% - 100px)');
    expect(style.getPropertyValue('width')).toEqual('calc(100% - 100px)');
    });\n});
    

    Analyzer messagetests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js references test framework global test

Severity
Medium
Occurrences
47 occurrences
  1. describe('valueType', () => { it('returns color for red', () => { let input = 'red'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); }); it('returns color for #nnnnnn', () => { let input = '#fefefe'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); }); it('returns color for rgb(n, n, n)', (...
    Kind
    code
    Location
    lines 5-75, bytes 54-1941
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:54-1941
    Confidence
    Medium confidence
    Code excerptlines 5-75, bytes 54-1941
    describe('valueType', () => {
    it('returns color for red', () => {
    let input = 'red';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });
    it('returns color for #nnnnnn', () => {
    let input = '#fefefe';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });
    it('returns color for rgb(n, n, n)', (...\ndescribe('parseInteger', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  2. it('returns color for red', () => { let input = 'red'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); });
    Kind
    code
    Location
    lines 6-11, bytes 86-242
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:86-242
    Confidence
    Medium confidence
    Code excerptlines 6-11, bytes 86-242
    describe('valueType', () => {\n it('returns color for red', () => {
    let input = 'red';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  3. it('returns color for #nnnnnn', () => { let input = '#fefefe'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); });
    Kind
    code
    Location
    lines 13-18, bytes 247-411
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:247-411
    Confidence
    Medium confidence
    Code excerptlines 13-18, bytes 247-411
     it('returns color for #nnnnnn', () => {
    let input = '#fefefe';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  4. it('returns color for rgb(n, n, n)', () => { let input = 'rgb(10, 10, 10)'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); });
    Kind
    code
    Location
    lines 20-25, bytes 416-593
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:416-593
    Confidence
    Medium confidence
    Code excerptlines 20-25, bytes 416-593
     it('returns color for rgb(n, n, n)', () => {
    let input = 'rgb(10, 10, 10)';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  5. it('returns color for rgb(p, p, p)', () => { let input = 'rgb(10%, 10%, 10%)'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); });
    Kind
    code
    Location
    lines 27-32, bytes 598-778
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:598-778
    Confidence
    Medium confidence
    Code excerptlines 27-32, bytes 598-778
     it('returns color for rgb(p, p, p)', () => {
    let input = 'rgb(10%, 10%, 10%)';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  6. it('returns color for rgba(n, n, n, n)', () => { let input = 'rgba(10, 10, 10, 1)'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); });
    Kind
    code
    Location
    lines 34-39, bytes 783-968
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:783-968
    Confidence
    Medium confidence
    Code excerptlines 34-39, bytes 783-968
     it('returns color for rgba(n, n, n, n)', () => {
    let input = 'rgba(10, 10, 10, 1)';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  7. it('returns color for rgba(n, n, n, n) with decimal alpha', () => { let input = 'rgba(10, 10, 10, 0.5)'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); });
    Kind
    code
    Location
    lines 41-46, bytes 973-1179
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:973-1179
    Confidence
    Medium confidence
    Code excerptlines 41-46, bytes 973-1179
     it('returns color for rgba(n, n, n, n) with decimal alpha', () => {
    let input = 'rgba(10, 10, 10, 0.5)';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  8. it('returns color for rgba(p, p, p, n)', () => { let input = 'rgba(10%, 10%, 10%, 1)'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); });
    Kind
    code
    Location
    lines 48-53, bytes 1184-1372
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:1184-1372
    Confidence
    Medium confidence
    Code excerptlines 48-53, bytes 1184-1372
     it('returns color for rgba(p, p, p, n)', () => {
    let input = 'rgba(10%, 10%, 10%, 1)';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  9. it('returns color for rgba(p, p, p, n) with decimal alpha', () => { let input = 'rgba(10%, 10%, 10%, 0.5)'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.COLOR); });
    Kind
    code
    Location
    lines 55-60, bytes 1377-1586
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:1377-1586
    Confidence
    Medium confidence
    Code excerptlines 55-60, bytes 1377-1586
     it('returns color for rgba(p, p, p, n) with decimal alpha', () => {
    let input = 'rgba(10%, 10%, 10%, 0.5)';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.COLOR);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  10. it('returns length for 100ch', () => { let input = '100ch'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.LENGTH); });
    Kind
    code
    Location
    lines 62-67, bytes 1591-1753
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:1591-1753
    Confidence
    Medium confidence
    Code excerptlines 62-67, bytes 1591-1753
     it('returns length for 100ch', () => {
    let input = '100ch';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.LENGTH);
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  11. it('returns calc from calc(100px * 2)', () => { let input = 'calc(100px * 2)'; let output = parsers.valueType(input); expect(output).toEqual(parsers.TYPES.CALC); });
    Kind
    code
    Location
    lines 69-74, bytes 1758-1937
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:1758-1937
    Confidence
    Medium confidence
    Code excerptlines 69-74, bytes 1758-1937
     it('returns calc from calc(100px * 2)', () => {
    let input = 'calc(100px * 2)';
    let output = parsers.valueType(input);
    expect(output).toEqual(parsers.TYPES.CALC);
    });\n});

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  12. describe('parseInteger', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 76-78, bytes 1943-1997
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:1943-1997
    Confidence
    Medium confidence
    Code excerptlines 76-78, bytes 1943-1997
    });\ndescribe('parseInteger', () => {
    it.todo('test');
    });\ndescribe('parseNumber', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  13. it.todo('test')
    Kind
    code
    Location
    line 77, bytes 1978-1993
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:1978-1993
    Confidence
    Medium confidence
    Code excerptline 77, bytes 1978-1993
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  14. describe('parseNumber', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 79-81, bytes 1999-2052
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:1999-2052
    Confidence
    Medium confidence
    Code excerptlines 79-81, bytes 1999-2052
    });\ndescribe('parseNumber', () => {
    it.todo('test');
    });\ndescribe('parseLength', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  15. it.todo('test')
    Kind
    code
    Location
    line 80, bytes 2033-2048
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2033-2048
    Confidence
    Medium confidence
    Code excerptline 80, bytes 2033-2048
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  16. describe('parseLength', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 82-84, bytes 2054-2107
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2054-2107
    Confidence
    Medium confidence
    Code excerptlines 82-84, bytes 2054-2107
    });\ndescribe('parseLength', () => {
    it.todo('test');
    });\ndescribe('parsePercent', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  17. it.todo('test')
    Kind
    code
    Location
    line 83, bytes 2088-2103
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2088-2103
    Confidence
    Medium confidence
    Code excerptline 83, bytes 2088-2103
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  18. describe('parsePercent', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 85-87, bytes 2109-2163
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2109-2163
    Confidence
    Medium confidence
    Code excerptlines 85-87, bytes 2109-2163
    });\ndescribe('parsePercent', () => {
    it.todo('test');
    });\ndescribe('parseMeasurement', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  19. it.todo('test')
    Kind
    code
    Location
    line 86, bytes 2144-2159
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2144-2159
    Confidence
    Medium confidence
    Code excerptline 86, bytes 2144-2159
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  20. describe('parseMeasurement', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 88-90, bytes 2165-2223
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2165-2223
    Confidence
    Medium confidence
    Code excerptlines 88-90, bytes 2165-2223
    });\ndescribe('parseMeasurement', () => {
    it.todo('test');
    });\ndescribe('parseUrl', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  21. it.todo('test')
    Kind
    code
    Location
    line 89, bytes 2204-2219
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2204-2219
    Confidence
    Medium confidence
    Code excerptline 89, bytes 2204-2219
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  22. describe('parseUrl', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 91-93, bytes 2225-2275
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2225-2275
    Confidence
    Medium confidence
    Code excerptlines 91-93, bytes 2225-2275
    });\ndescribe('parseUrl', () => {
    it.todo('test');
    });\ndescribe('parseString', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  23. it.todo('test')
    Kind
    code
    Location
    line 92, bytes 2256-2271
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2256-2271
    Confidence
    Medium confidence
    Code excerptline 92, bytes 2256-2271
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  24. describe('parseString', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 94-96, bytes 2277-2330
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2277-2330
    Confidence
    Medium confidence
    Code excerptlines 94-96, bytes 2277-2330
    });\ndescribe('parseString', () => {
    it.todo('test');
    });\ndescribe('parseColor', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  25. it.todo('test')
    Kind
    code
    Location
    line 95, bytes 2311-2326
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2311-2326
    Confidence
    Medium confidence
    Code excerptline 95, bytes 2311-2326
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  26. describe('parseColor', () => { it('should convert hsl to rgb values', () => { let input = 'hsla(0, 1%, 2%)'; let output = parsers.parseColor(input); expect(output).toEqual('rgb(5, 5, 5)'); }); it('should convert hsla to rgba values', () => { let input = 'hsla(0, 1%, 2%, 0.5)'; let output = parsers.parseColor(input); expect(output).toEqual('rgba(5, 5, 5, 0.5)'); })...
    Kind
    code
    Location
    lines 97-112, bytes 2332-2766
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2332-2766
    Confidence
    Medium confidence
    Code excerptlines 97-112, bytes 2332-2766
    });\ndescribe('parseColor', () => {
    it('should convert hsl to rgb values', () => {
    let input = 'hsla(0, 1%, 2%)';
    let output = parsers.parseColor(input);
    expect(output).toEqual('rgb(5, 5, 5)');
    });
    it('should convert hsla to rgba values', () => {
    let input = 'hsla(0, 1%, 2%, 0.5)';
    let output = parsers.parseColor(input);
    expect(output).toEqual('rgba(5, 5, 5, 0.5)');
    })...\ndescribe('parseAngle', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  27. it('should convert hsl to rgb values', () => { let input = 'hsla(0, 1%, 2%)'; let output = parsers.parseColor(input); expect(output).toEqual('rgb(5, 5, 5)'); });
    Kind
    code
    Location
    lines 98-103, bytes 2365-2540
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2365-2540
    Confidence
    Medium confidence
    Code excerptlines 98-103, bytes 2365-2540
    describe('parseColor', () => {\n it('should convert hsl to rgb values', () => {
    let input = 'hsla(0, 1%, 2%)';
    let output = parsers.parseColor(input);
    expect(output).toEqual('rgb(5, 5, 5)');
    });\n it('should convert hsla to rgba values', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  28. it('should convert hsla to rgba values', () => { let input = 'hsla(0, 1%, 2%, 0.5)'; let output = parsers.parseColor(input); expect(output).toEqual('rgba(5, 5, 5, 0.5)'); });
    Kind
    code
    Location
    lines 104-109, bytes 2544-2732
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2544-2732
    Confidence
    Medium confidence
    Code excerptlines 104-109, bytes 2544-2732
     });\n it('should convert hsla to rgba values', () => {
    let input = 'hsla(0, 1%, 2%, 0.5)';
    let output = parsers.parseColor(input);
    expect(output).toEqual('rgba(5, 5, 5, 0.5)');
    });

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global it

  29. it.todo('Add more tests')
    Kind
    code
    Location
    line 111, bytes 2737-2762
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2737-2762
    Confidence
    Medium confidence
    Code excerptline 111, bytes 2737-2762
    \nit.todo('Add more tests')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  30. describe('parseAngle', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 113-115, bytes 2768-2820
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2768-2820
    Confidence
    Medium confidence
    Code excerptlines 113-115, bytes 2768-2820
    });\ndescribe('parseAngle', () => {
    it.todo('test');
    });\ndescribe('parseKeyword', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  31. it.todo('test')
    Kind
    code
    Location
    line 114, bytes 2801-2816
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2801-2816
    Confidence
    Medium confidence
    Code excerptline 114, bytes 2801-2816
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  32. describe('parseKeyword', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 116-118, bytes 2822-2876
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2822-2876
    Confidence
    Medium confidence
    Code excerptlines 116-118, bytes 2822-2876
    });\ndescribe('parseKeyword', () => {
    it.todo('test');
    });\ndescribe('dashedToCamelCase', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  33. it.todo('test')
    Kind
    code
    Location
    line 117, bytes 2857-2872
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2857-2872
    Confidence
    Medium confidence
    Code excerptline 117, bytes 2857-2872
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  34. describe('dashedToCamelCase', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 119-121, bytes 2878-2937
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2878-2937
    Confidence
    Medium confidence
    Code excerptlines 119-121, bytes 2878-2937
    });\ndescribe('dashedToCamelCase', () => {
    it.todo('test');
    });\ndescribe('shorthandParser', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  35. it.todo('test')
    Kind
    code
    Location
    line 120, bytes 2918-2933
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2918-2933
    Confidence
    Medium confidence
    Code excerptline 120, bytes 2918-2933
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  36. describe('shorthandParser', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 122-124, bytes 2939-2996
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2939-2996
    Confidence
    Medium confidence
    Code excerptlines 122-124, bytes 2939-2996
    });\ndescribe('shorthandParser', () => {
    it.todo('test');
    });\ndescribe('shorthandSetter', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  37. it.todo('test')
    Kind
    code
    Location
    line 123, bytes 2977-2992
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2977-2992
    Confidence
    Medium confidence
    Code excerptline 123, bytes 2977-2992
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  38. describe('shorthandSetter', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 125-127, bytes 2998-3055
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:2998-3055
    Confidence
    Medium confidence
    Code excerptlines 125-127, bytes 2998-3055
    });\ndescribe('shorthandSetter', () => {
    it.todo('test');
    });\ndescribe('shorthandGetter', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  39. it.todo('test')
    Kind
    code
    Location
    line 126, bytes 3036-3051
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3036-3051
    Confidence
    Medium confidence
    Code excerptline 126, bytes 3036-3051
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  40. describe('shorthandGetter', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 128-130, bytes 3057-3114
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3057-3114
    Confidence
    Medium confidence
    Code excerptlines 128-130, bytes 3057-3114
    });\ndescribe('shorthandGetter', () => {
    it.todo('test');
    });\ndescribe('implicitSetter', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  41. it.todo('test')
    Kind
    code
    Location
    line 129, bytes 3095-3110
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3095-3110
    Confidence
    Medium confidence
    Code excerptline 129, bytes 3095-3110
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  42. describe('implicitSetter', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 131-133, bytes 3116-3172
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3116-3172
    Confidence
    Medium confidence
    Code excerptlines 131-133, bytes 3116-3172
    });\ndescribe('implicitSetter', () => {
    it.todo('test');
    });\ndescribe('subImplicitSetter', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  43. it.todo('test')
    Kind
    code
    Location
    line 132, bytes 3153-3168
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3153-3168
    Confidence
    Medium confidence
    Code excerptline 132, bytes 3153-3168
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  44. describe('subImplicitSetter', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 134-136, bytes 3174-3233
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3174-3233
    Confidence
    Medium confidence
    Code excerptlines 134-136, bytes 3174-3233
    });\ndescribe('subImplicitSetter', () => {
    it.todo('test');
    });\ndescribe('camelToDashed', () => {

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  45. it.todo('test')
    Kind
    code
    Location
    line 135, bytes 3214-3229
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3214-3229
    Confidence
    Medium confidence
    Code excerptline 135, bytes 3214-3229
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

  46. describe('camelToDashed', () => { it.todo('test'); });
    Kind
    code
    Location
    lines 137-139, bytes 3235-3290
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3235-3290
    Confidence
    Medium confidence
    Code excerptlines 137-139, bytes 3235-3290
    });\ndescribe('camelToDashed', () => {
    it.todo('test');
    });
    

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework global describe

  47. it.todo('test')
    Kind
    code
    Location
    line 138, bytes 3271-3286
    Trace reference
    tests/node_modules/cssstyle/lib/parsers.test.js@byte:3271-3286
    Confidence
    Medium confidence
    Code excerptline 138, bytes 3271-3286
    \nit.todo('test')\n;

    Analyzer messagetests/node_modules/cssstyle/lib/parsers.test.js references test framework API it.todo

Severity
Medium
Occurrences
23 occurrences
  1. describe("Decode test", () => { const testcases = [ { input: "&amp;amp;", output: "&amp;" }, { input: "&amp;#38;", output: "&#38;" }, { input: "&amp;#x26;", output: "&#x26;" }, { input: "&amp;#X26;", output: "&#X26;" }, { input: "&#38;#38;", output: "&#38;" }, { input: "&#x26;#38;", output: "&#38;" }, { input: "&#X26;#38;", output: "&#38;...
    Kind
    code
    Location
    lines 4-73, bytes 97-2790
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:97-2790
    Confidence
    Medium confidence
    Code excerptlines 4-73, bytes 97-2790
    describe("Decode test", () => {
    const testcases = [
    { input: "&amp;amp;", output: "&amp;" },
    { input: "&amp;#38;", output: "&#38;" },
    { input: "&amp;#x26;", output: "&#x26;" },
    { input: "&amp;#X26;", output: "&#X26;" },
    { input: "&#38;#38;", output: "&#38;" },
    { input: "&#x26;#38;", output: "&#38;" },
    { input: "&#X26;#38;", output: "&#38;...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global describe

  2. it("should HTML decode partial legacy entity", () => { expect(entities.decodeHTMLStrict("&timesbar")).toBe("&timesbar"); expect(entities.decodeHTML("&timesbar")).toBe("×bar"); });
    Kind
    code
    Location
    lines 29-32, bytes 1097-1296
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:1097-1296
    Confidence
    Medium confidence
    Code excerptlines 29-32, bytes 1097-1296
     it("should HTML decode partial legacy entity", () => {
    expect(entities.decodeHTMLStrict("&timesbar")).toBe("&timesbar");
    expect(entities.decodeHTML("&timesbar")).toBe("×bar");
    });

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  3. it("should HTML decode legacy entities according to spec", () => expect(entities.decodeHTML("?&image_uri=1&ℑ=2&image=3")).toBe( "?&image_uri=1&ℑ=2&image=3", ));
    Kind
    code
    Location
    lines 34-37, bytes 1303-1494
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:1303-1494
    Confidence
    Medium confidence
    Code excerptlines 34-37, bytes 1303-1494
     it("should HTML decode legacy entities according to spec", () =>
    expect(entities.decodeHTML("?&image_uri=1&ℑ=2&image=3")).toBe(
    "?&image_uri=1&ℑ=2&image=3",
    ));

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  4. it("should back out of legacy entities", () => expect(entities.decodeHTML("&ampa")).toBe("&a"));
    Kind
    code
    Location
    lines 39-40, bytes 1501-1604
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:1501-1604
    Confidence
    Medium confidence
    Code excerptlines 39-40, bytes 1501-1604
     it("should back out of legacy entities", () =>
    expect(entities.decodeHTML("&ampa")).toBe("&a"));

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  5. it("should not parse numeric entities in strict mode", () => expect(entities.decodeHTMLStrict("&#55")).toBe("&#55"));
    Kind
    code
    Location
    lines 42-43, bytes 1611-1735
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:1611-1735
    Confidence
    Medium confidence
    Code excerptlines 42-43, bytes 1611-1735
     it("should not parse numeric entities in strict mode", () =>
    expect(entities.decodeHTMLStrict("&#55")).toBe("&#55"));

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  6. it("should parse &nbsp followed by < (#852)", () => expect(entities.decodeHTML("&nbsp<")).toBe("\u00A0<"));
    Kind
    code
    Location
    lines 45-46, bytes 1742-1856
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:1742-1856
    Confidence
    Medium confidence
    Code excerptlines 45-46, bytes 1742-1856
     it("should parse &nbsp followed by < (#852)", () =>
    expect(entities.decodeHTML("&nbsp<")).toBe("\u00A0<"));

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  7. it("should decode trailing legacy entities", () => { expect(entities.decodeHTML("&timesbar;&timesbar")).toBe("⨱×bar"); });
    Kind
    code
    Location
    lines 48-50, bytes 1863-1999
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:1863-1999
    Confidence
    Medium confidence
    Code excerptlines 48-50, bytes 1863-1999
     it("should decode trailing legacy entities", () => {
    expect(entities.decodeHTML("&timesbar;&timesbar")).toBe("⨱×bar");
    });

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  8. it("should decode multi-byte entities", () => { expect(entities.decodeHTML("&NotGreaterFullEqual;")).toBe("≧̸"); });
    Kind
    code
    Location
    lines 52-54, bytes 2006-2136
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:2006-2136
    Confidence
    Medium confidence
    Code excerptlines 52-54, bytes 2006-2136
     it("should decode multi-byte entities", () => {
    expect(entities.decodeHTML("&NotGreaterFullEqual;")).toBe("≧̸");
    });

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  9. it("should not decode legacy entities followed by text in attribute mode", () => { expect( entities.decodeHTML("&not", entities.DecodingMode.Attribute), ).toBe("¬"); expect( entities.decodeHTML("&noti", entities.DecodingMode.Attribute), ).toBe("&noti"); expect( entities.decodeHTML("&not=", entities.DecodingMode.Attri...
    Kind
    code
    Location
    lines 56-72, bytes 2143-2786
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:2143-2786
    Confidence
    Medium confidence
    Code excerptlines 56-72, bytes 2143-2786
     it("should not decode legacy entities followed by text in attribute mode", () => {
    expect(
    entities.decodeHTML("&not", entities.DecodingMode.Attribute),
    ).toBe("¬");
    expect(
    entities.decodeHTML("&noti", entities.DecodingMode.Attribute),
    ).toBe("&noti");
    expect(
    entities.decodeHTML("&not=", entities.DecodingMode.Attri...\n});

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  10. describe("EntityDecoder", () => { it("should decode decimal entities", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); expect(decoder.write("&#5", 1)).toBe(-1); expect(decoder.write("8;", 0)).toBe(5); expect(callback).toHaveBeenCalledTimes(1); ...
    Kind
    code
    Location
    lines 75-320, bytes 2793-11678
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:2793-11678
    Confidence
    Medium confidence
    Code excerptlines 75-320, bytes 2793-11678
    describe("EntityDecoder", () => {
    it("should decode decimal entities", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    expect(decoder.write("&#5", 1)).toBe(-1);
    expect(decoder.write("8;", 0)).toBe(5);
    expect(callback).toHaveBeenCalledTimes(1);
    ...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global describe

  11. it("should decode decimal entities", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); expect(decoder.write("&#5", 1)).toBe(-1); expect(decoder.write("8;", 0)).toBe(5); expect(callback).toHaveBeenCalledTimes(1); expect(callback).toHaveBeenCalle...
    Kind
    code
    Location
    lines 76-88, bytes 2831-3262
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:2831-3262
    Confidence
    Medium confidence
    Code excerptlines 76-88, bytes 2831-3262
    describe("EntityDecoder", () => {\n it("should decode decimal entities", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    expect(decoder.write("&#5", 1)).toBe(-1);
    expect(decoder.write("8;", 0)).toBe(5);
    expect(callback).toHaveBeenCalledTimes(1);
    expect(callback).toHaveBeenCalle...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  12. it("should decode hex entities", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); expect(decoder.write("&#x3a;", 1)).toBe(6); expect(callback).toHaveBeenCalledTimes(1); expect(callback).toHaveBeenCalledWith(":".charCodeAt(0), 6); });
    Kind
    code
    Location
    lines 90-101, bytes 3269-3650
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:3269-3650
    Confidence
    Medium confidence
    Code excerptlines 90-101, bytes 3269-3650
     it("should decode hex entities", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    expect(decoder.write("&#x3a;", 1)).toBe(6);
    expect(callback).toHaveBeenCalledTimes(1);
    expect(callback).toHaveBeenCalledWith(":".charCodeAt(0), 6);
    });

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  13. it("should decode named entities", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); expect(decoder.write("&amp;", 1)).toBe(5); expect(callback).toHaveBeenCalledTimes(1); expect(callback).toHaveBeenCalledWith("&".charCodeAt(0), 5); });
    Kind
    code
    Location
    lines 103-114, bytes 3657-4039
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:3657-4039
    Confidence
    Medium confidence
    Code excerptlines 103-114, bytes 3657-4039
     it("should decode named entities", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    expect(decoder.write("&amp;", 1)).toBe(5);
    expect(callback).toHaveBeenCalledTimes(1);
    expect(callback).toHaveBeenCalledWith("&".charCodeAt(0), 5);
    });

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  14. it("should decode legacy entities", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); decoder.startEntity(entities.DecodingMode.Legacy); expect(decoder.write("&amp", 1)).toBe(-1); expect(callback).toHaveBeenCalledTimes(0); expect(decoder.end()...
    Kind
    code
    Location
    lines 116-132, bytes 4046-4580
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:4046-4580
    Confidence
    Medium confidence
    Code excerptlines 116-132, bytes 4046-4580
     it("should decode legacy entities", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    decoder.startEntity(entities.DecodingMode.Legacy);
    expect(decoder.write("&amp", 1)).toBe(-1);
    expect(callback).toHaveBeenCalledTimes(0);
    expect(decoder.end()...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  15. it("should decode named entity written character by character", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); for (const c of "amp") { expect(decoder.write(c, 0)).toBe(-1); } expect(decoder.write(";", 0)).toBe(5); expect(callbac...
    Kind
    code
    Location
    lines 134-148, bytes 4587-5087
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:4587-5087
    Confidence
    Medium confidence
    Code excerptlines 134-148, bytes 4587-5087
     it("should decode named entity written character by character", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    for (const c of "amp") {
    expect(decoder.write(c, 0)).toBe(-1);
    }
    expect(decoder.write(";", 0)).toBe(5);
    expect(callbac...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  16. it("should decode numeric entity written character by character", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); for (const c of "#x3a") { expect(decoder.write(c, 0)).toBe(-1); } expect(decoder.write(";", 0)).toBe(6); expect(call...
    Kind
    code
    Location
    lines 150-164, bytes 5094-5597
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:5094-5597
    Confidence
    Medium confidence
    Code excerptlines 150-164, bytes 5094-5597
     it("should decode numeric entity written character by character", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    for (const c of "#x3a") {
    expect(decoder.write(c, 0)).toBe(-1);
    }
    expect(decoder.write(";", 0)).toBe(6);
    expect(call...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  17. it("should decode hex entities across several chunks", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); for (const chunk of ["#x", "cf", "ff", "d"]) { expect(decoder.write(chunk, 0)).toBe(-1); } expect(decoder.write(";", 0)).toBe(9); ...
    Kind
    code
    Location
    lines 166-180, bytes 5604-6113
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:5604-6113
    Confidence
    Medium confidence
    Code excerptlines 166-180, bytes 5604-6113
     it("should decode hex entities across several chunks", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    for (const chunk of ["#x", "cf", "ff", "d"]) {
    expect(decoder.write(chunk, 0)).toBe(-1);
    }
    expect(decoder.write(";", 0)).toBe(9);
    ...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  18. it("should not fail if nothing is written", () => { const callback = vitest.fn(); const decoder = new entities.EntityDecoder( entities.htmlDecodeTree, callback, ); expect(decoder.end()).toBe(0); expect(callback).toHaveBeenCalledTimes(0); });
    Kind
    code
    Location
    lines 182-191, bytes 6120-6429
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:6120-6429
    Confidence
    Medium confidence
    Code excerptlines 182-191, bytes 6120-6429
     it("should not fail if nothing is written", () => {
    const callback = vitest.fn();
    const decoder = new entities.EntityDecoder(
    entities.htmlDecodeTree,
    callback,
    );
    expect(decoder.end()).toBe(0);
    expect(callback).toHaveBeenCalledTimes(0);
    });

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  19. describe("errors", () => { it("should produce an error for a named entity without a semicolon", () => { const errorHandlers = { missingSemicolonAfterCharacterReference: vitest.fn(), absenceOfDigitsInNumericCharacterReference: vitest.fn(), validateNumericCharacterReference: vitest.fn(), }; const callback...
    Kind
    code
    Location
    lines 193-319, bytes 6436-11674
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:6436-11674
    Confidence
    Medium confidence
    Code excerptlines 193-319, bytes 6436-11674
     describe("errors", () => {
    it("should produce an error for a named entity without a semicolon", () => {
    const errorHandlers = {
    missingSemicolonAfterCharacterReference: vitest.fn(),
    absenceOfDigitsInNumericCharacterReference: vitest.fn(),
    validateNumericCharacterReference: vitest.fn(),
    };
    const callback...\n});
    

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global describe

  20. it("should produce an error for a named entity without a semicolon", () => { const errorHandlers = { missingSemicolonAfterCharacterReference: vitest.fn(), absenceOfDigitsInNumericCharacterReference: vitest.fn(), validateNumericCharacterReference: vitest.fn(), }; const callback = vitest.fn(); con...
    Kind
    code
    Location
    lines 194-224, bytes 6471-7831
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:6471-7831
    Confidence
    Medium confidence
    Code excerptlines 194-224, bytes 6471-7831
     describe("errors", () => {\n it("should produce an error for a named entity without a semicolon", () => {
    const errorHandlers = {
    missingSemicolonAfterCharacterReference: vitest.fn(),
    absenceOfDigitsInNumericCharacterReference: vitest.fn(),
    validateNumericCharacterReference: vitest.fn(),
    };
    const callback = vitest.fn();
    con...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  21. it("should produce an error for a numeric entity without a semicolon", () => { const errorHandlers = { missingSemicolonAfterCharacterReference: vitest.fn(), absenceOfDigitsInNumericCharacterReference: vitest.fn(), validateNumericCharacterReference: vitest.fn(), }; const callback = vitest.fn(); c...
    Kind
    code
    Location
    lines 226-257, bytes 7842-9196
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:7842-9196
    Confidence
    Medium confidence
    Code excerptlines 226-257, bytes 7842-9196
     it("should produce an error for a numeric entity without a semicolon", () => {
    const errorHandlers = {
    missingSemicolonAfterCharacterReference: vitest.fn(),
    absenceOfDigitsInNumericCharacterReference: vitest.fn(),
    validateNumericCharacterReference: vitest.fn(),
    };
    const callback = vitest.fn();
    c...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  22. it("should produce an error for numeric entities without digits", () => { const errorHandlers = { missingSemicolonAfterCharacterReference: vitest.fn(), absenceOfDigitsInNumericCharacterReference: vitest.fn(), validateNumericCharacterReference: vitest.fn(), }; const callback = vitest.fn(); const ...
    Kind
    code
    Location
    lines 259-289, bytes 9207-10499
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:9207-10499
    Confidence
    Medium confidence
    Code excerptlines 259-289, bytes 9207-10499
     it("should produce an error for numeric entities without digits", () => {
    const errorHandlers = {
    missingSemicolonAfterCharacterReference: vitest.fn(),
    absenceOfDigitsInNumericCharacterReference: vitest.fn(),
    validateNumericCharacterReference: vitest.fn(),
    };
    const callback = vitest.fn();
    const ...

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

  23. it("should produce an error for hex entities without digits", () => { const errorHandlers = { missingSemicolonAfterCharacterReference: vitest.fn(), absenceOfDigitsInNumericCharacterReference: vitest.fn(), validateNumericCharacterReference: vitest.fn(), }; const callback = vitest.fn(); const deco...
    Kind
    code
    Location
    lines 291-318, bytes 10510-11666
    Trace reference
    tests/node_modules/entities/src/decode.spec.ts@byte:10510-11666
    Confidence
    Medium confidence
    Code excerptlines 291-318, bytes 10510-11666
     it("should produce an error for hex entities without digits", () => {
    const errorHandlers = {
    missingSemicolonAfterCharacterReference: vitest.fn(),
    absenceOfDigitsInNumericCharacterReference: vitest.fn(),
    validateNumericCharacterReference: vitest.fn(),
    };
    const callback = vitest.fn();
    const deco...\n });

    Analyzer messagetests/node_modules/entities/src/decode.spec.ts references test framework global it

Severity
Medium
Occurrences
9 occurrences
  1. describe("Encode->decode test", () => { const testcases = [ { input: "asdf & ÿ ü '", xml: "asdf &amp; &#xff; &#xfc; &apos;", html: "asdf &amp; &yuml; &uuml; &apos;", }, { input: "&#38;", xml: "&amp;#38;", html: "&amp;&num;38&semi;", }, ]; for (const { input, xml, html } of testcases...
    Kind
    code
    Location
    lines 4-61, bytes 88-2483
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:88-2483
    Confidence
    Medium confidence
    Code excerptlines 4-61, bytes 88-2483
    describe("Encode->decode test", () => {
    const testcases = [
    {
    input: "asdf & ÿ ü '",
    xml: "asdf &amp; &#xff; &#xfc; &apos;",
    html: "asdf &amp; &yuml; &uuml; &apos;",
    },
    {
    input: "&#38;",
    xml: "&amp;#38;",
    html: "&amp;&num;38&semi;",
    },
    ];
    for (const { input, xml, html } of testcases...

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global describe

  2. it("should encode data URIs (issue #16)", () => { const data = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAALAAABAAEAAAIBRAA7"; expect(entities.decode(entities.encode(data))).toBe(data); });
    Kind
    code
    Location
    lines 41-45, bytes 1601-1834
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:1601-1834
    Confidence
    Medium confidence
    Code excerptlines 41-45, bytes 1601-1834
     it("should encode data URIs (issue #16)", () => {
    const data =
    "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAALAAABAAEAAAIBRAA7";
    expect(entities.decode(entities.encode(data))).toBe(data);
    });

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global it

  3. it("should HTML encode all ASCII characters", () => { for (let index = 0; index < 128; index++) { const char = String.fromCharCode(index); const encoded = entities.encodeHTML(char); const decoded = entities.decodeHTML(encoded); expect(decoded).toBe(char); } });
    Kind
    code
    Location
    lines 47-54, bytes 1841-2169
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:1841-2169
    Confidence
    Medium confidence
    Code excerptlines 47-54, bytes 1841-2169
     it("should HTML encode all ASCII characters", () => {
    for (let index = 0; index < 128; index++) {
    const char = String.fromCharCode(index);
    const encoded = entities.encodeHTML(char);
    const decoded = entities.decodeHTML(encoded);
    expect(decoded).toBe(char);
    }
    });

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global it

  4. it("should encode trailing parts of entities", () => expect(entities.encodeHTML("\uD835")).toBe("&#xd835;"));
    Kind
    code
    Location
    lines 56-57, bytes 2176-2292
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:2176-2292
    Confidence
    Medium confidence
    Code excerptlines 56-57, bytes 2176-2292
     it("should encode trailing parts of entities", () =>
    expect(entities.encodeHTML("\uD835")).toBe("&#xd835;"));

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global it

  5. it("should encode surrogate pair with first surrogate equivalent of entity, without corresponding entity", () => expect(entities.encodeHTML("\u{1D4A4}")).toBe("&#x1d4a4;"));
    Kind
    code
    Location
    lines 59-60, bytes 2299-2479
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:2299-2479
    Confidence
    Medium confidence
    Code excerptlines 59-60, bytes 2299-2479
     it("should encode surrogate pair with first surrogate equivalent of entity, without corresponding entity", () =>
    expect(entities.encodeHTML("\u{1D4A4}")).toBe("&#x1d4a4;"));\n});

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global it

  6. describe("encodeNonAsciiHTML", () => { it("should encode all non-ASCII characters", () => expect(entities.encodeNonAsciiHTML("<test> #123! übermaßen")).toBe( "&lt;test&gt; #123! &uuml;berma&szlig;en", )); it("should encode emojis", () => expect(entities.encodeNonAsciiHTML("😄🍾🥳💥😇")).toBe( "&#x1f604;&#x1f37e;&#x1f973;&#x1f4a5;&#x1f607;", ...
    Kind
    code
    Location
    lines 63-78, bytes 2486-3312
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:2486-3312
    Confidence
    Medium confidence
    Code excerptlines 63-78, bytes 2486-3312
    describe("encodeNonAsciiHTML", () => {
    it("should encode all non-ASCII characters", () =>
    expect(entities.encodeNonAsciiHTML("<test> #123! übermaßen")).toBe(
    "&lt;test&gt; #123! &uuml;berma&szlig;en",
    ));
    it("should encode emojis", () =>
    expect(entities.encodeNonAsciiHTML("😄🍾🥳💥😇")).toBe(
    "&#x1f604;&#x1f37e;&#x1f973;&#x1f4a5;&#x1f607;",
    ...

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global describe

  7. it("should encode all non-ASCII characters", () => expect(entities.encodeNonAsciiHTML("<test> #123! übermaßen")).toBe( "&lt;test&gt; #123! &uuml;berma&szlig;en", ));
    Kind
    code
    Location
    lines 64-67, bytes 2529-2723
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:2529-2723
    Confidence
    Medium confidence
    Code excerptlines 64-67, bytes 2529-2723
    describe("encodeNonAsciiHTML", () => {\n it("should encode all non-ASCII characters", () =>
    expect(entities.encodeNonAsciiHTML("<test> #123! übermaßen")).toBe(
    "&lt;test&gt; #123! &uuml;berma&szlig;en",
    ));

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global it

  8. it("should encode emojis", () => expect(entities.encodeNonAsciiHTML("😄🍾🥳💥😇")).toBe( "&#x1f604;&#x1f37e;&#x1f973;&#x1f4a5;&#x1f607;", ));
    Kind
    code
    Location
    lines 69-72, bytes 2730-2908
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:2730-2908
    Confidence
    Medium confidence
    Code excerptlines 69-72, bytes 2730-2908
     it("should encode emojis", () =>
    expect(entities.encodeNonAsciiHTML("😄🍾🥳💥😇")).toBe(
    "&#x1f604;&#x1f37e;&#x1f973;&#x1f4a5;&#x1f607;",
    ));

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global it

  9. it("should encode chars above surrogates", () => expect(entities.encodeNonAsciiHTML("♒️♓️♈️♉️♊️♋️♌️♍️♎️♏️♐️♑️")).toBe( "&#x2652;&#xfe0f;&#x2653;&#xfe0f;&#x2648;&#xfe0f;&#x2649;&#xfe0f;&#x264a;&#xfe0f;&#x264b;&#xfe0f;&#x264c;&#xfe0f;&#x264d;&#xfe0f;&#x264e;&#xfe0f;&#x264f;&#xfe0f;&#x2650;&#xfe0f;&#x2651;&#xfe0f;", ));
    Kind
    code
    Location
    lines 74-77, bytes 2915-3308
    Trace reference
    tests/node_modules/entities/src/encode.spec.ts@byte:2915-3308
    Confidence
    Medium confidence
    Code excerptlines 74-77, bytes 2915-3308
     it("should encode chars above surrogates", () =>
    expect(entities.encodeNonAsciiHTML("♒️♓️♈️♉️♊️♋️♌️♍️♎️♏️♐️♑️")).toBe(
    "&#x2652;&#xfe0f;&#x2653;&#xfe0f;&#x2648;&#xfe0f;&#x2649;&#xfe0f;&#x264a;&#xfe0f;&#x264b;&#xfe0f;&#x264c;&#xfe0f;&#x264d;&#xfe0f;&#x264e;&#xfe0f;&#x264f;&#xfe0f;&#x2650;&#xfe0f;&#x2651;&#xfe0f;",
    ));\n});
    

    Analyzer messagetests/node_modules/entities/src/encode.spec.ts references test framework global it

Severity
Medium
Occurrences
3 occurrences
  1. describe("escape HTML", () => { it("should escape HTML attribute values", () => expect(entities.escapeAttribute('<a " attr > & value \u00A0!')).toBe( "<a &quot; attr > &amp; value &nbsp;!", )); it("should escape HTML text", () => expect(entities.escapeText('<a " text > & value \u00A0!')).toBe( '&lt;a " text &gt; &amp; value &nbsp;!', ...
    Kind
    code
    Location
    lines 4-14, bytes 88-495
    Trace reference
    tests/node_modules/entities/src/escape.spec.ts@byte:88-495
    Confidence
    Medium confidence
    Code excerptlines 4-14, bytes 88-495
    describe("escape HTML", () => {
    it("should escape HTML attribute values", () =>
    expect(entities.escapeAttribute('<a " attr > & value \u00A0!')).toBe(
    "<a &quot; attr > &amp; value &nbsp;!",
    ));
    it("should escape HTML text", () =>
    expect(entities.escapeText('<a " text > & value \u00A0!')).toBe(
    '&lt;a " text &gt; &amp; value &nbsp;!',
    ...

    Analyzer messagetests/node_modules/entities/src/escape.spec.ts references test framework global describe

  2. it("should escape HTML attribute values", () => expect(entities.escapeAttribute('<a " attr > & value \u00A0!')).toBe( "<a &quot; attr > &amp; value &nbsp;!", ));
    Kind
    code
    Location
    lines 5-8, bytes 124-312
    Trace reference
    tests/node_modules/entities/src/escape.spec.ts@byte:124-312
    Confidence
    Medium confidence
    Code excerptlines 5-8, bytes 124-312
    describe("escape HTML", () => {\n it("should escape HTML attribute values", () =>
    expect(entities.escapeAttribute('<a " attr > & value \u00A0!')).toBe(
    "<a &quot; attr > &amp; value &nbsp;!",
    ));

    Analyzer messagetests/node_modules/entities/src/escape.spec.ts references test framework global it

  3. it("should escape HTML text", () => expect(entities.escapeText('<a " text > & value \u00A0!')).toBe( '&lt;a " text &gt; &amp; value &nbsp;!', ));
    Kind
    code
    Location
    lines 10-13, bytes 319-491
    Trace reference
    tests/node_modules/entities/src/escape.spec.ts@byte:319-491
    Confidence
    Medium confidence
    Code excerptlines 10-13, bytes 319-491
     it("should escape HTML text", () =>
    expect(entities.escapeText('<a " text > & value \u00A0!')).toBe(
    '&lt;a " text &gt; &amp; value &nbsp;!',
    ));\n});
    

    Analyzer messagetests/node_modules/entities/src/escape.spec.ts references test framework global it

Severity
Medium
Occurrences
7 occurrences
  1. describe("Documents", () => { const levelDocuments = levels .map((name) => new URL(`../maps/${name}.json`, import.meta.url)) .map((url) => JSON.parse(readFileSync(url, "utf8"))) .map((document, index) => [index, document]); for (const [level, document] of levelDocuments) { describe("Decode", () => { it(levels[level], () => { for ...
    Kind
    code
    Location
    lines 8-85, bytes 229-3239
    Trace reference
    tests/node_modules/entities/src/index.spec.ts@byte:229-3239
    Confidence
    Medium confidence
    Code excerptlines 8-85, bytes 229-3239
    describe("Documents", () => {
    const levelDocuments = levels
    .map((name) => new URL(`../maps/${name}.json`, import.meta.url))
    .map((url) => JSON.parse(readFileSync(url, "utf8")))
    .map((document, index) => [index, document]);
    for (const [level, document] of levelDocuments) {
    describe("Decode", () => {
    it(levels[level], () => {
    for ...

    Analyzer messagetests/node_modules/entities/src/index.spec.ts references test framework global describe

  2. describe("Legacy", () => { const legacyMap: Record<string, string> = legacy; it("should decode", () => { for (const entity of Object.keys(legacyMap)) { expect(entities.decodeHTML(`&${entity}`)).toBe( legacyMap[entity], ); expect( entities.decodeStrict(`&${entity}`, { ...
    Kind
    code
    Location
    lines 69-84, bytes 2634-3235
    Trace reference
    tests/node_modules/entities/src/index.spec.ts@byte:2634-3235
    Confidence
    Medium confidence
    Code excerptlines 69-84, bytes 2634-3235
     describe("Legacy", () => {
    const legacyMap: Record<string, string> = legacy;
    it("should decode", () => {
    for (const entity of Object.keys(legacyMap)) {
    expect(entities.decodeHTML(`&${entity}`)).toBe(
    legacyMap[entity],
    );
    expect(
    entities.decodeStrict(`&${entity}`, {
    ...\n});

    Analyzer messagetests/node_modules/entities/src/index.spec.ts references test framework global describe

  3. it("should decode", () => { for (const entity of Object.keys(legacyMap)) { expect(entities.decodeHTML(`&${entity}`)).toBe( legacyMap[entity], ); expect( entities.decodeStrict(`&${entity}`, { level: entities.EntityLevel.HTML, mode: entities.Deco...
    Kind
    code
    Location
    lines 71-83, bytes 2727-3227
    Trace reference
    tests/node_modules/entities/src/index.spec.ts@byte:2727-3227
    Confidence
    Medium confidence
    Code excerptlines 71-83, bytes 2727-3227
     const legacyMap: Record<string, string> = legacy;\n it("should decode", () => {
    for (const entity of Object.keys(legacyMap)) {
    expect(entities.decodeHTML(`&${entity}`)).toBe(
    legacyMap[entity],
    );
    expect(
    entities.decodeStrict(`&${entity}`, {
    level: entities.EntityLevel.HTML,
    mode: entities.Deco...\n });

    Analyzer messagetests/node_modules/entities/src/index.spec.ts references test framework global it

  4. describe("Astral entities", () => { for (const [c, value] of astral) { it(`should decode ${value}`, () => expect(entities.decode(`&#x${c};`)).toBe(value)); it(`should encode ${value}`, () => expect(entities.encode(value)).toBe(`&#x${c};`)); it(`should escape ${value}`, () => expect(entities.escape(value)).toBe(`&#x${c};`)); } ...
    Kind
    code
    Location
    lines 97-113, bytes 3401-3966
    Trace reference
    tests/node_modules/entities/src/index.spec.ts@byte:3401-3966
    Confidence
    Medium confidence
    Code excerptlines 97-113, bytes 3401-3966
    describe("Astral entities", () => {
    for (const [c, value] of astral) {
    it(`should decode ${value}`, () =>
    expect(entities.decode(`&#x${c};`)).toBe(value));
    it(`should encode ${value}`, () =>
    expect(entities.encode(value)).toBe(`&#x${c};`));
    it(`should escape ${value}`, () =>
    expect(entities.escape(value)).toBe(`&#x${c};`));
    }
    ...

    Analyzer messagetests/node_modules/entities/src/index.spec.ts references test framework global describe

  5. describe("Escape", () => { it("should always decode ASCII chars", () => { for (let index = 0; index < 0x7f; index++) { const c = String.fromCharCode(index); expect(entities.decodeXML(entities.escape(c))).toBe(c); } }); it("should keep UTF8 characters", () => expect(entities.escapeUTF8('ß < "ü"')).toBe(`ß &lt; &quot;ü&quot;`)); });
    Kind
    code
    Location
    lines 115-125, bytes 3969-4365
    Trace reference
    tests/node_modules/entities/src/index.spec.ts@byte:3969-4365
    Confidence
    Medium confidence
    Code excerptlines 115-125, bytes 3969-4365
    describe("Escape", () => {
    it("should always decode ASCII chars", () => {
    for (let index = 0; index < 0x7f; index++) {
    const c = String.fromCharCode(index);
    expect(entities.decodeXML(entities.escape(c))).toBe(c);
    }
    });
    it("should keep UTF8 characters", () =>
    expect(entities.escapeUTF8('ß < "ü"')).toBe(`ß &lt; &quot;ü&quot;`));
    });
    

    Analyzer messagetests/node_modules/entities/src/index.spec.ts references test framework global describe

  6. it("should always decode ASCII chars", () => { for (let index = 0; index < 0x7f; index++) { const c = String.fromCharCode(index); expect(entities.decodeXML(entities.escape(c))).toBe(c); } });
    Kind
    code
    Location
    lines 116-121, bytes 4000-4234
    Trace reference
    tests/node_modules/entities/src/index.spec.ts@byte:4000-4234
    Confidence
    Medium confidence
    Code excerptlines 116-121, bytes 4000-4234
    describe("Escape", () => {\n it("should always decode ASCII chars", () => {
    for (let index = 0; index < 0x7f; index++) {
    const c = String.fromCharCode(index);
    expect(entities.decodeXML(entities.escape(c))).toBe(c);
    }
    });

    Analyzer messagetests/node_modules/entities/src/index.spec.ts references test framework global it

  7. it("should keep UTF8 characters", () => expect(entities.escapeUTF8('ß < "ü"')).toBe(`ß &lt; &quot;ü&quot;`));
    Kind
    code
    Location
    lines 123-124, bytes 4241-4361
    Trace reference
    tests/node_modules/entities/src/index.spec.ts@byte:4241-4361
    Confidence
    Medium confidence
    Code excerptlines 123-124, bytes 4241-4361
     it("should keep UTF8 characters", () =>
    expect(entities.escapeUTF8('ß < "ü"')).toBe(`ß &lt; &quot;ü&quot;`));\n});
    

    Analyzer messagetests/node_modules/entities/src/index.spec.ts references test framework global it

Severity
Medium
Occurrences
40 occurrences
  1. describe("gensync({})", () => { describe("option validation", () => { test("disallow async and errback handler together", () => { try { gensync({ sync: throwTestError, async: throwTestError, errback: throwTestError, }); throwTestError(); } catch (err) { expect(err.message).toMatch( /Expected one of either op...
    Kind
    code
    Location
    lines 62-284, bytes 1199-6628
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:1199-6628
    Confidence
    Medium confidence
    Code excerptlines 62-284, bytes 1199-6628
    describe("gensync({})", () => {
    describe("option validation", () => {
    test("disallow async and errback handler together", () => {
    try {
    gensync({
    sync: throwTestError,
    async: throwTestError,
    errback: throwTestError,
    });
    throwTestError();
    } catch (err) {
    expect(err.message).toMatch(
    /Expected one of either op...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  2. describe("option validation", () => { test("disallow async and errback handler together", () => { try { gensync({ sync: throwTestError, async: throwTestError, errback: throwTestError, }); throwTestError(); } catch (err) { expect(err.message).toMatch( /Expected one of either opts.async or opts.errback, but go...
    Kind
    code
    Location
    lines 63-109, bytes 1233-2434
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:1233-2434
    Confidence
    Medium confidence
    Code excerptlines 63-109, bytes 1233-2434
    describe("gensync({})", () => {\n describe("option validation", () => {
    test("disallow async and errback handler together", () => {
    try {
    gensync({
    sync: throwTestError,
    async: throwTestError,
    errback: throwTestError,
    });
    throwTestError();
    } catch (err) {
    expect(err.message).toMatch(
    /Expected one of either opts.async or opts.errback, but go...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  3. test("disallow async and errback handler together", () => { try { gensync({ sync: throwTestError, async: throwTestError, errback: throwTestError, }); throwTestError(); } catch (err) { expect(err.message).toMatch( /Expected one of either opts.async or opts.errback, but got _both_\./ ); expect(er...
    Kind
    code
    Location
    lines 64-79, bytes 1275-1724
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:1275-1724
    Confidence
    Medium confidence
    Code excerptlines 64-79, bytes 1275-1724
     describe("option validation", () => {\n test("disallow async and errback handler together", () => {
    try {
    gensync({
    sync: throwTestError,
    async: throwTestError,
    errback: throwTestError,
    });
    throwTestError();
    } catch (err) {
    expect(err.message).toMatch(
    /Expected one of either opts.async or opts.errback, but got _both_\./
    );
    expect(er...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  4. test("disallow missing sync handler", () => { try { gensync({ async: throwTestError, }); throwTestError(); } catch (err) { expect(err.message).toMatch(/Expected opts.sync to be a function./); expect(err.code).toBe("GENSYNC_OPTIONS_ERROR"); } });
    Kind
    code
    Location
    lines 81-92, bytes 1731-2048
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:1731-2048
    Confidence
    Medium confidence
    Code excerptlines 81-92, bytes 1731-2048
     test("disallow missing sync handler", () => {
    try {
    gensync({
    async: throwTestError,
    });
    throwTestError();
    } catch (err) {
    expect(err.message).toMatch(/Expected opts.sync to be a function./);
    expect(err.code).toBe("GENSYNC_OPTIONS_ERROR");
    }
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  5. test("errback callback required", () => { const fn = gensync({ sync: throwTestError, async: throwTestError, }); try { fn.errback(); throwTestError(); } catch (err) { expect(err.message).toMatch(/function called without callback/); expect(err.code).toBe("GENSYNC_ERRBACK_NO_CALLBACK"); } });
    Kind
    code
    Location
    lines 94-108, bytes 2055-2428
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:2055-2428
    Confidence
    Medium confidence
    Code excerptlines 94-108, bytes 2055-2428
     test("errback callback required", () => {
    const fn = gensync({
    sync: throwTestError,
    async: throwTestError,
    });
    try {
    fn.errback();
    throwTestError();
    } catch (err) {
    expect(err.message).toMatch(/function called without callback/);
    expect(err.code).toBe("GENSYNC_ERRBACK_NO_CALLBACK");
    }
    });\n });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  6. describe("generator function metadata", () => { test("automatic naming", () => { expect( gensync({ sync: function readFileSync() {}, async: () => {}, }).name ).toBe("readFile"); expect( gensync({ sync: function readFile() {}, async: () => {}, }).name ).toBe("readFile"); expect( gensy...
    Kind
    code
    Location
    lines 111-201, bytes 2439-4488
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:2439-4488
    Confidence
    Medium confidence
    Code excerptlines 111-201, bytes 2439-4488
     describe("generator function metadata", () => {
    test("automatic naming", () => {
    expect(
    gensync({
    sync: function readFileSync() {},
    async: () => {},
    }).name
    ).toBe("readFile");
    expect(
    gensync({
    sync: function readFile() {},
    async: () => {},
    }).name
    ).toBe("readFile");
    expect(
    gensy...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  7. test("automatic naming", () => { expect( gensync({ sync: function readFileSync() {}, async: () => {}, }).name ).toBe("readFile"); expect( gensync({ sync: function readFile() {}, async: () => {}, }).name ).toBe("readFile"); expect( gensync({ sync: function readFileAsync() {}, ...
    Kind
    code
    Location
    lines 112-169, bytes 2491-3852
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:2491-3852
    Confidence
    Medium confidence
    Code excerptlines 112-169, bytes 2491-3852
     describe("generator function metadata", () => {\n test("automatic naming", () => {
    expect(
    gensync({
    sync: function readFileSync() {},
    async: () => {},
    }).name
    ).toBe("readFile");
    expect(
    gensync({
    sync: function readFile() {},
    async: () => {},
    }).name
    ).toBe("readFile");
    expect(
    gensync({
    sync: function readFileAsync() {},
    ...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  8. test("explicit naming", () => { expect( gensync({ name: "readFile", sync: () => {}, async: () => {}, }).name ).toBe("readFile"); });
    Kind
    code
    Location
    lines 171-179, bytes 3859-4052
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:3859-4052
    Confidence
    Medium confidence
    Code excerptlines 171-179, bytes 3859-4052
     test("explicit naming", () => {
    expect(
    gensync({
    name: "readFile",
    sync: () => {},
    async: () => {},
    }).name
    ).toBe("readFile");
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  9. test("default arity", () => { expect( gensync({ sync: function(a, b, c, d, e, f, g) { throwTestError(); }, async: throwTestError, }).length ).toBe(7); });
    Kind
    code
    Location
    lines 181-190, bytes 4059-4286
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:4059-4286
    Confidence
    Medium confidence
    Code excerptlines 181-190, bytes 4059-4286
     test("default arity", () => {
    expect(
    gensync({
    sync: function(a, b, c, d, e, f, g) {
    throwTestError();
    },
    async: throwTestError,
    }).length
    ).toBe(7);
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  10. test("explicit arity", () => { expect( gensync({ arity: 3, sync: throwTestError, async: throwTestError, }).length ).toBe(3); });
    Kind
    code
    Location
    lines 192-200, bytes 4293-4482
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:4293-4482
    Confidence
    Medium confidence
    Code excerptlines 192-200, bytes 4293-4482
     test("explicit arity", () => {
    expect(
    gensync({
    arity: 3,
    sync: throwTestError,
    async: throwTestError,
    }).length
    ).toBe(3);
    });\n });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  11. describe("'sync' handler", async () => { test("success", async () => { const fn = gensync({ sync: (...args) => JSON.stringify(args), }); await expectResult(fn, 42, { value: "[42]", expectSync: true }); }); test("failure", async () => { const fn = gensync({ sync: (...args) => { throw JSON.stringify(args); }, }); ...
    Kind
    code
    Location
    lines 203-221, bytes 4493-4968
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:4493-4968
    Confidence
    Medium confidence
    Code excerptlines 203-221, bytes 4493-4968
     describe("'sync' handler", async () => {
    test("success", async () => {
    const fn = gensync({
    sync: (...args) => JSON.stringify(args),
    });
    await expectResult(fn, 42, { value: "[42]", expectSync: true });
    });
    test("failure", async () => {
    const fn = gensync({
    sync: (...args) => {
    throw JSON.stringify(args);
    },
    });
    ...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  12. test("success", async () => { const fn = gensync({ sync: (...args) => JSON.stringify(args), }); await expectResult(fn, 42, { value: "[42]", expectSync: true }); });
    Kind
    code
    Location
    lines 204-210, bytes 4538-4732
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:4538-4732
    Confidence
    Medium confidence
    Code excerptlines 204-210, bytes 4538-4732
     describe("'sync' handler", async () => {\n test("success", async () => {
    const fn = gensync({
    sync: (...args) => JSON.stringify(args),
    });
    await expectResult(fn, 42, { value: "[42]", expectSync: true });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  13. test("failure", async () => { const fn = gensync({ sync: (...args) => { throw JSON.stringify(args); }, }); await expectResult(fn, 42, { error: "[42]", expectSync: true }); });
    Kind
    code
    Location
    lines 212-220, bytes 4739-4962
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:4739-4962
    Confidence
    Medium confidence
    Code excerptlines 212-220, bytes 4739-4962
     test("failure", async () => {
    const fn = gensync({
    sync: (...args) => {
    throw JSON.stringify(args);
    },
    });
    await expectResult(fn, 42, { error: "[42]", expectSync: true });
    });\n });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  14. describe("'async' handler", async () => { test("success", async () => { const fn = gensync({ sync: throwTestError, async: (...args) => Promise.resolve(JSON.stringify(args)), }); await expectResult(fn, 42, { value: "[42]" }); }); test("failure", async () => { const fn = gensync({ sync: throwTestError, async: (...args) => Promis...
    Kind
    code
    Location
    lines 223-241, bytes 4973-5479
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:4973-5479
    Confidence
    Medium confidence
    Code excerptlines 223-241, bytes 4973-5479
     describe("'async' handler", async () => {
    test("success", async () => {
    const fn = gensync({
    sync: throwTestError,
    async: (...args) => Promise.resolve(JSON.stringify(args)),
    });
    await expectResult(fn, 42, { value: "[42]" });
    });
    test("failure", async () => {
    const fn = gensync({
    sync: throwTestError,
    async: (...args) => Promis...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  15. test("success", async () => { const fn = gensync({ sync: throwTestError, async: (...args) => Promise.resolve(JSON.stringify(args)), }); await expectResult(fn, 42, { value: "[42]" }); });
    Kind
    code
    Location
    lines 224-231, bytes 5019-5243
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:5019-5243
    Confidence
    Medium confidence
    Code excerptlines 224-231, bytes 5019-5243
     describe("'async' handler", async () => {\n test("success", async () => {
    const fn = gensync({
    sync: throwTestError,
    async: (...args) => Promise.resolve(JSON.stringify(args)),
    });
    await expectResult(fn, 42, { value: "[42]" });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  16. test("failure", async () => { const fn = gensync({ sync: throwTestError, async: (...args) => Promise.reject(JSON.stringify(args)), }); await expectResult(fn, 42, { error: "[42]" }); });
    Kind
    code
    Location
    lines 233-240, bytes 5250-5473
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:5250-5473
    Confidence
    Medium confidence
    Code excerptlines 233-240, bytes 5250-5473
     test("failure", async () => {
    const fn = gensync({
    sync: throwTestError,
    async: (...args) => Promise.reject(JSON.stringify(args)),
    });
    await expectResult(fn, 42, { error: "[42]" });
    });\n });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  17. describe("'errback' sync handler", async () => { test("success", async () => { const fn = gensync({ sync: throwTestError, errback: (...args) => args.pop()(null, JSON.stringify(args)), }); await expectResult(fn, 42, { value: "[42]", syncErrback: true }); }); test("failure", async () => { const fn = gensync({ sync: throwTestError, ...
    Kind
    code
    Location
    lines 243-261, bytes 5484-6036
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:5484-6036
    Confidence
    Medium confidence
    Code excerptlines 243-261, bytes 5484-6036
     describe("'errback' sync handler", async () => {
    test("success", async () => {
    const fn = gensync({
    sync: throwTestError,
    errback: (...args) => args.pop()(null, JSON.stringify(args)),
    });
    await expectResult(fn, 42, { value: "[42]", syncErrback: true });
    });
    test("failure", async () => {
    const fn = gensync({
    sync: throwTestError,
    ...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  18. test("success", async () => { const fn = gensync({ sync: throwTestError, errback: (...args) => args.pop()(null, JSON.stringify(args)), }); await expectResult(fn, 42, { value: "[42]", syncErrback: true }); });
    Kind
    code
    Location
    lines 244-251, bytes 5537-5783
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:5537-5783
    Confidence
    Medium confidence
    Code excerptlines 244-251, bytes 5537-5783
     describe("'errback' sync handler", async () => {\n test("success", async () => {
    const fn = gensync({
    sync: throwTestError,
    errback: (...args) => args.pop()(null, JSON.stringify(args)),
    });
    await expectResult(fn, 42, { value: "[42]", syncErrback: true });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  19. test("failure", async () => { const fn = gensync({ sync: throwTestError, errback: (...args) => args.pop()(JSON.stringify(args)), }); await expectResult(fn, 42, { error: "[42]", syncErrback: true }); });
    Kind
    code
    Location
    lines 253-260, bytes 5790-6030
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:5790-6030
    Confidence
    Medium confidence
    Code excerptlines 253-260, bytes 5790-6030
     test("failure", async () => {
    const fn = gensync({
    sync: throwTestError,
    errback: (...args) => args.pop()(JSON.stringify(args)),
    });
    await expectResult(fn, 42, { error: "[42]", syncErrback: true });
    });\n });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  20. describe("'errback' async handler", async () => { test("success", async () => { const fn = gensync({ sync: throwTestError, errback: (...args) => process.nextTick(() => args.pop()(null, JSON.stringify(args))), }); await expectResult(fn, 42, { value: "[42]" }); }); test("failure", async () => { const fn = gensync({ sync: throw...
    Kind
    code
    Location
    lines 263-283, bytes 6041-6624
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:6041-6624
    Confidence
    Medium confidence
    Code excerptlines 263-283, bytes 6041-6624
     describe("'errback' async handler", async () => {
    test("success", async () => {
    const fn = gensync({
    sync: throwTestError,
    errback: (...args) =>
    process.nextTick(() => args.pop()(null, JSON.stringify(args))),
    });
    await expectResult(fn, 42, { value: "[42]" });
    });
    test("failure", async () => {
    const fn = gensync({
    sync: throw...\n});

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  21. test("success", async () => { const fn = gensync({ sync: throwTestError, errback: (...args) => process.nextTick(() => args.pop()(null, JSON.stringify(args))), }); await expectResult(fn, 42, { value: "[42]" }); });
    Kind
    code
    Location
    lines 264-272, bytes 6095-6356
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:6095-6356
    Confidence
    Medium confidence
    Code excerptlines 264-272, bytes 6095-6356
     describe("'errback' async handler", async () => {\n test("success", async () => {
    const fn = gensync({
    sync: throwTestError,
    errback: (...args) =>
    process.nextTick(() => args.pop()(null, JSON.stringify(args))),
    });
    await expectResult(fn, 42, { value: "[42]" });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  22. test("failure", async () => { const fn = gensync({ sync: throwTestError, errback: (...args) => process.nextTick(() => args.pop()(JSON.stringify(args))), }); await expectResult(fn, 42, { error: "[42]" }); });
    Kind
    code
    Location
    lines 274-282, bytes 6363-6618
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:6363-6618
    Confidence
    Medium confidence
    Code excerptlines 274-282, bytes 6363-6618
     test("failure", async () => {
    const fn = gensync({
    sync: throwTestError,
    errback: (...args) =>
    process.nextTick(() => args.pop()(JSON.stringify(args))),
    });
    await expectResult(fn, 42, { error: "[42]" });
    });\n });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  23. describe("gensync(function* () {})", () => { test("sync throw before body", async () => { const fn = gensync(function*(arg = throwTestError()) {}); await expectResult(fn, undefined, { error: TEST_ERROR, syncErrback: true, }); }); test("sync throw inside body", async () => { const fn = gensync(function*() { throwTestError(); }); await expectResult(...
    Kind
    code
    Location
    lines 286-409, bytes 6631-9290
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:6631-9290
    Confidence
    Medium confidence
    Code excerptlines 286-409, bytes 6631-9290
    describe("gensync(function* () {})", () => {
    test("sync throw before body", async () => {
    const fn = gensync(function*(arg = throwTestError()) {});
    await expectResult(fn, undefined, {
    error: TEST_ERROR,
    syncErrback: true,
    });
    });
    test("sync throw inside body", async () => {
    const fn = gensync(function*() {
    throwTestError();
    });
    await expectResult(...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  24. test("sync throw before body", async () => { const fn = gensync(function*(arg = throwTestError()) {}); await expectResult(fn, undefined, { error: TEST_ERROR, syncErrback: true, }); });
    Kind
    code
    Location
    lines 287-294, bytes 6678-6888
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:6678-6888
    Confidence
    Medium confidence
    Code excerptlines 287-294, bytes 6678-6888
    describe("gensync(function* () {})", () => {\n test("sync throw before body", async () => {
    const fn = gensync(function*(arg = throwTestError()) {});
    await expectResult(fn, undefined, {
    error: TEST_ERROR,
    syncErrback: true,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  25. test("sync throw inside body", async () => { const fn = gensync(function*() { throwTestError(); }); await expectResult(fn, undefined, { error: TEST_ERROR, syncErrback: true, }); });
    Kind
    code
    Location
    lines 296-305, bytes 6893-7110
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:6893-7110
    Confidence
    Medium confidence
    Code excerptlines 296-305, bytes 6893-7110
     test("sync throw inside body", async () => {
    const fn = gensync(function*() {
    throwTestError();
    });
    await expectResult(fn, undefined, {
    error: TEST_ERROR,
    syncErrback: true,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  26. test("async throw inside body", async () => { const fn = gensync(function*() { const val = yield* doSuccess(); throwTestError(); }); await expectResult(fn, undefined, { error: TEST_ERROR, }); });
    Kind
    code
    Location
    lines 307-316, bytes 7115-7346
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:7115-7346
    Confidence
    Medium confidence
    Code excerptlines 307-316, bytes 7115-7346
     test("async throw inside body", async () => {
    const fn = gensync(function*() {
    const val = yield* doSuccess();
    throwTestError();
    });
    await expectResult(fn, undefined, {
    error: TEST_ERROR,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  27. test("error inside body", async () => { const fn = gensync(function*() { yield* doError(); }); await expectResult(fn, undefined, { error: DID_ERROR, expectSync: true, syncErrback: false, }); });
    Kind
    code
    Location
    lines 318-328, bytes 7351-7587
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:7351-7587
    Confidence
    Medium confidence
    Code excerptlines 318-328, bytes 7351-7587
     test("error inside body", async () => {
    const fn = gensync(function*() {
    yield* doError();
    });
    await expectResult(fn, undefined, {
    error: DID_ERROR,
    expectSync: true,
    syncErrback: false,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  28. test("successful return value", async () => { const fn = gensync(function*() { const value = yield* doSuccess(); expect(value).toBe(42); return 84; }); await expectResult(fn, undefined, { value: 84, expectSync: true, syncErrback: false, }); });
    Kind
    code
    Location
    lines 330-344, bytes 7592-7892
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:7592-7892
    Confidence
    Medium confidence
    Code excerptlines 330-344, bytes 7592-7892
     test("successful return value", async () => {
    const fn = gensync(function*() {
    const value = yield* doSuccess();
    expect(value).toBe(42);
    return 84;
    });
    await expectResult(fn, undefined, {
    value: 84,
    expectSync: true,
    syncErrback: false,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  29. test("successful final value", async () => { const fn = gensync(function*() { return 42; }); await expectResult(fn, undefined, { value: 42, expectSync: true, }); });
    Kind
    code
    Location
    lines 346-355, bytes 7897-8098
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:7897-8098
    Confidence
    Medium confidence
    Code excerptlines 346-355, bytes 7897-8098
     test("successful final value", async () => {
    const fn = gensync(function*() {
    return 42;
    });
    await expectResult(fn, undefined, {
    value: 42,
    expectSync: true,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  30. test("yield unexpected object", async () => { const fn = gensync(function*() { yield {}; }); try { await fn.async(); throwTestError(); } catch (err) { expect(err.message).toMatch( /Got unexpected yielded value in gensync generator/ ); expect(err.code).toBe("GENSYNC_EXPECTED_START"); } });
    Kind
    code
    Location
    lines 357-372, bytes 8103-8459
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:8103-8459
    Confidence
    Medium confidence
    Code excerptlines 357-372, bytes 8103-8459
     test("yield unexpected object", async () => {
    const fn = gensync(function*() {
    yield {};
    });
    try {
    await fn.async();
    throwTestError();
    } catch (err) {
    expect(err.message).toMatch(
    /Got unexpected yielded value in gensync generator/
    );
    expect(err.code).toBe("GENSYNC_EXPECTED_START");
    }
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  31. test("yield suspend yield", async () => { const fn = gensync(function*() { yield Symbol.for("gensync:v1:start"); // Should be "yield*" for no error. yield {}; }); try { await fn.async(); throwTestError(); } catch (err) { expect(err.message).toMatch(/Expected GENSYNC_SUSPEND, got {}/); expect(err.code).toBe("GENSYNC_EXPECTED_SUSPEND"); ...
    Kind
    code
    Location
    lines 374-390, bytes 8464-8872
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:8464-8872
    Confidence
    Medium confidence
    Code excerptlines 374-390, bytes 8464-8872
     test("yield suspend yield", async () => {
    const fn = gensync(function*() {
    yield Symbol.for("gensync:v1:start");
    // Should be "yield*" for no error.
    yield {};
    });
    try {
    await fn.async();
    throwTestError();
    } catch (err) {
    expect(err.message).toMatch(/Expected GENSYNC_SUSPEND, got {}/);
    expect(err.code).toBe("GENSYNC_EXPECTED_SUSPEND");
    ...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  32. test("yield suspend return", async () => { const fn = gensync(function*() { yield Symbol.for("gensync:v1:start"); // Should be "yield*" for no error. return {}; }); try { await fn.async(); throwTestError(); } catch (err) { expect(err.message).toMatch(/Unexpected generator completion/); expect(err.code).toBe("GENSYNC_EXPECTED_SUSPEND");...
    Kind
    code
    Location
    lines 392-408, bytes 8877-9286
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:8877-9286
    Confidence
    Medium confidence
    Code excerptlines 392-408, bytes 8877-9286
     test("yield suspend return", async () => {
    const fn = gensync(function*() {
    yield Symbol.for("gensync:v1:start");
    // Should be "yield*" for no error.
    return {};
    });
    try {
    await fn.async();
    throwTestError();
    } catch (err) {
    expect(err.message).toMatch(/Unexpected generator completion/);
    expect(err.code).toBe("GENSYNC_EXPECTED_SUSPEND");...\n});

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  33. describe("gensync.all()", () => { test("success", async () => { const fn = gensync(function*() { const result = yield* gensync.all([doSuccess(), doSuccess()]); expect(result).toEqual([42, 42]); }); await expectResult(fn, undefined, { value: undefined, expectSync: true, syncErrback: false, }); }); test("error first", async () => { const fn ...
    Kind
    code
    Location
    lines 411-461, bytes 9293-10410
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:9293-10410
    Confidence
    Medium confidence
    Code excerptlines 411-461, bytes 9293-10410
    describe("gensync.all()", () => {
    test("success", async () => {
    const fn = gensync(function*() {
    const result = yield* gensync.all([doSuccess(), doSuccess()]);
    expect(result).toEqual([42, 42]);
    });
    await expectResult(fn, undefined, {
    value: undefined,
    expectSync: true,
    syncErrback: false,
    });
    });
    test("error first", async () => {
    const fn ...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  34. test("success", async () => { const fn = gensync(function*() { const result = yield* gensync.all([doSuccess(), doSuccess()]); expect(result).toEqual([42, 42]); }); await expectResult(fn, undefined, { value: undefined, expectSync: true, syncErrback: false, }); });
    Kind
    code
    Location
    lines 412-424, bytes 9329-9641
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:9329-9641
    Confidence
    Medium confidence
    Code excerptlines 412-424, bytes 9329-9641
    describe("gensync.all()", () => {\n test("success", async () => {
    const fn = gensync(function*() {
    const result = yield* gensync.all([doSuccess(), doSuccess()]);
    expect(result).toEqual([42, 42]);
    });
    await expectResult(fn, undefined, {
    value: undefined,
    expectSync: true,
    syncErrback: false,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  35. test("error first", async () => { const fn = gensync(function*() { yield* gensync.all([doError(), doSuccess()]); }); await expectResult(fn, undefined, { error: DID_ERROR, expectSync: true, syncErrback: false, }); });
    Kind
    code
    Location
    lines 426-436, bytes 9646-9904
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:9646-9904
    Confidence
    Medium confidence
    Code excerptlines 426-436, bytes 9646-9904
     test("error first", async () => {
    const fn = gensync(function*() {
    yield* gensync.all([doError(), doSuccess()]);
    });
    await expectResult(fn, undefined, {
    error: DID_ERROR,
    expectSync: true,
    syncErrback: false,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  36. test("error last", async () => { const fn = gensync(function*() { yield* gensync.all([doSuccess(), doError()]); }); await expectResult(fn, undefined, { error: DID_ERROR, expectSync: true, syncErrback: false, }); });
    Kind
    code
    Location
    lines 438-448, bytes 9909-10166
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:9909-10166
    Confidence
    Medium confidence
    Code excerptlines 438-448, bytes 9909-10166
     test("error last", async () => {
    const fn = gensync(function*() {
    yield* gensync.all([doSuccess(), doError()]);
    });
    await expectResult(fn, undefined, {
    error: DID_ERROR,
    expectSync: true,
    syncErrback: false,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  37. test("empty list", async () => { const fn = gensync(function*() { yield* gensync.all([]); }); await expectResult(fn, undefined, { value: undefined, expectSync: true, syncErrback: false, }); });
    Kind
    code
    Location
    lines 450-460, bytes 10171-10406
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:10171-10406
    Confidence
    Medium confidence
    Code excerptlines 450-460, bytes 10171-10406
     test("empty list", async () => {
    const fn = gensync(function*() {
    yield* gensync.all([]);
    });
    await expectResult(fn, undefined, {
    value: undefined,
    expectSync: true,
    syncErrback: false,
    });
    });\n});

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  38. describe("gensync.race()", () => { test("success", async () => { const fn = gensync(function*() { const result = yield* gensync.race([doSuccess(), doError()]); expect(result).toEqual(42); }); await expectResult(fn, undefined, { value: undefined, expectSync: true, syncErrback: false, }); }); test("error", async () => { const fn = gensync(fu...
    Kind
    code
    Location
    lines 463-489, bytes 10413-11017
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:10413-11017
    Confidence
    Medium confidence
    Code excerptlines 463-489, bytes 10413-11017
    describe("gensync.race()", () => {
    test("success", async () => {
    const fn = gensync(function*() {
    const result = yield* gensync.race([doSuccess(), doError()]);
    expect(result).toEqual(42);
    });
    await expectResult(fn, undefined, {
    value: undefined,
    expectSync: true,
    syncErrback: false,
    });
    });
    test("error", async () => {
    const fn = gensync(fu...

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global describe

  39. test("success", async () => { const fn = gensync(function*() { const result = yield* gensync.race([doSuccess(), doError()]); expect(result).toEqual(42); }); await expectResult(fn, undefined, { value: undefined, expectSync: true, syncErrback: false, }); });
    Kind
    code
    Location
    lines 464-476, bytes 10450-10755
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:10450-10755
    Confidence
    Medium confidence
    Code excerptlines 464-476, bytes 10450-10755
    describe("gensync.race()", () => {\n test("success", async () => {
    const fn = gensync(function*() {
    const result = yield* gensync.race([doSuccess(), doError()]);
    expect(result).toEqual(42);
    });
    await expectResult(fn, undefined, {
    value: undefined,
    expectSync: true,
    syncErrback: false,
    });
    });

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

  40. test("error", async () => { const fn = gensync(function*() { yield* gensync.race([doError(), doSuccess()]); }); await expectResult(fn, undefined, { error: DID_ERROR, expectSync: true, syncErrback: false, }); });
    Kind
    code
    Location
    lines 478-488, bytes 10760-11013
    Trace reference
    tests/node_modules/gensync/test/index.test.js@byte:10760-11013
    Confidence
    Medium confidence
    Code excerptlines 478-488, bytes 10760-11013
     test("error", async () => {
    const fn = gensync(function*() {
    yield* gensync.race([doError(), doSuccess()]);
    });
    await expectResult(fn, undefined, {
    error: DID_ERROR,
    expectSync: true,
    syncErrback: false,
    });
    });\n});
    

    Analyzer messagetests/node_modules/gensync/test/index.test.js references test framework global test

Severity
Medium
Occurrences
11 occurrences
  1. describe('requires-port', function () { 'use strict'; var assume = require('assume') , required = require('./'); it('is exported as a function', function () { assume(required).is.a('function'); }); it('does not require empty ports', function () { assume(required('', 'http')).false(); assume(required('', 'wss')).false(); assume(required('', 'ws')).false(); assum...
    Kind
    code
    Location
    lines 1-98, bytes 0-3391
    Trace reference
    tests/node_modules/requires-port/test.js@byte:0-3391
    Confidence
    Medium confidence
    Code excerptlines 1-98, bytes 0-3391
    describe('requires-port', function () {
    'use strict';
    var assume = require('assume')
    , required = require('./');
    it('is exported as a function', function () {
    assume(required).is.a('function');
    });
    it('does not require empty ports', function () {
    assume(required('', 'http')).false();
    assume(required('', 'wss')).false();
    assume(required('', 'ws')).false();
    assum...

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global describe

  2. it('is exported as a function', function () { assume(required).is.a('function'); });
    Kind
    code
    Location
    lines 7-9, bytes 125-214
    Trace reference
    tests/node_modules/requires-port/test.js@byte:125-214
    Confidence
    Medium confidence
    Code excerptlines 7-9, bytes 125-214
     it('is exported as a function', function () {
    assume(required).is.a('function');
    });

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  3. it('does not require empty ports', function () { assume(required('', 'http')).false(); assume(required('', 'wss')).false(); assume(required('', 'ws')).false(); assume(required('', 'cowsack')).false(); });
    Kind
    code
    Location
    lines 11-16, bytes 219-440
    Trace reference
    tests/node_modules/requires-port/test.js@byte:219-440
    Confidence
    Medium confidence
    Code excerptlines 11-16, bytes 219-440
     it('does not require empty ports', function () {
    assume(required('', 'http')).false();
    assume(required('', 'wss')).false();
    assume(required('', 'ws')).false();
    assume(required('', 'cowsack')).false();
    });

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  4. it('assumes true for unknown protocols',function () { assume(required('808', 'foo')).true(); assume(required('80', 'bar')).true(); });
    Kind
    code
    Location
    lines 18-21, bytes 445-588
    Trace reference
    tests/node_modules/requires-port/test.js@byte:445-588
    Confidence
    Medium confidence
    Code excerptlines 18-21, bytes 445-588
     it('assumes true for unknown protocols',function () {
    assume(required('808', 'foo')).true();
    assume(required('80', 'bar')).true();
    });

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  5. it('never requires port numbers for file', function () { assume(required(8080, 'file')).false(); });
    Kind
    code
    Location
    lines 23-25, bytes 593-698
    Trace reference
    tests/node_modules/requires-port/test.js@byte:593-698
    Confidence
    Medium confidence
    Code excerptlines 23-25, bytes 593-698
     it('never requires port numbers for file', function () {
    assume(required(8080, 'file')).false();
    });

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  6. it('does not require port 80 for http', function () { assume(required('80', 'http')).false(); assume(required(80, 'http')).false(); assume(required(80, 'http://')).false(); assume(required(80, 'http://www.google.com')).false(); assume(required('8080', 'http')).true(); assume(required(8080, 'http')).true(); assume(required(8080, 'http://')).true(); assume(required...
    Kind
    code
    Location
    lines 27-37, bytes 703-1146
    Trace reference
    tests/node_modules/requires-port/test.js@byte:703-1146
    Confidence
    Medium confidence
    Code excerptlines 27-37, bytes 703-1146
     it('does not require port 80 for http', function () {
    assume(required('80', 'http')).false();
    assume(required(80, 'http')).false();
    assume(required(80, 'http://')).false();
    assume(required(80, 'http://www.google.com')).false();
    assume(required('8080', 'http')).true();
    assume(required(8080, 'http')).true();
    assume(required(8080, 'http://')).true();
    assume(required...

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  7. it('does not require port 80 for ws', function () { assume(required('80', 'ws')).false(); assume(required(80, 'ws')).false(); assume(required(80, 'ws://')).false(); assume(required(80, 'ws://www.google.com')).false(); assume(required('8080', 'ws')).true(); assume(required(8080, 'ws')).true(); assume(required(8080, 'ws://')).true(); assume(required(8080, 'ws://www...
    Kind
    code
    Location
    lines 39-49, bytes 1151-1576
    Trace reference
    tests/node_modules/requires-port/test.js@byte:1151-1576
    Confidence
    Medium confidence
    Code excerptlines 39-49, bytes 1151-1576
     it('does not require port 80 for ws', function () {
    assume(required('80', 'ws')).false();
    assume(required(80, 'ws')).false();
    assume(required(80, 'ws://')).false();
    assume(required(80, 'ws://www.google.com')).false();
    assume(required('8080', 'ws')).true();
    assume(required(8080, 'ws')).true();
    assume(required(8080, 'ws://')).true();
    assume(required(8080, 'ws://www...

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  8. it('does not require port 443 for https', function () { assume(required('443', 'https')).false(); assume(required(443, 'https')).false(); assume(required(443, 'https://')).false(); assume(required(443, 'https://www.google.com')).false(); assume(required('8080', 'https')).true(); assume(required(8080, 'https')).true(); assume(required(8080, 'https://')).true(); as...
    Kind
    code
    Location
    lines 51-61, bytes 1581-2038
    Trace reference
    tests/node_modules/requires-port/test.js@byte:1581-2038
    Confidence
    Medium confidence
    Code excerptlines 51-61, bytes 1581-2038
     it('does not require port 443 for https', function () {
    assume(required('443', 'https')).false();
    assume(required(443, 'https')).false();
    assume(required(443, 'https://')).false();
    assume(required(443, 'https://www.google.com')).false();
    assume(required('8080', 'https')).true();
    assume(required(8080, 'https')).true();
    assume(required(8080, 'https://')).true();
    as...

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  9. it('does not require port 443 for wss', function () { assume(required('443', 'wss')).false(); assume(required(443, 'wss')).false(); assume(required(443, 'wss://')).false(); assume(required(443, 'wss://www.google.com')).false(); assume(required('8080', 'wss')).true(); assume(required(8080, 'wss')).true(); assume(required(8080, 'wss://')).true(); assume(required(80...
    Kind
    code
    Location
    lines 63-73, bytes 2043-2482
    Trace reference
    tests/node_modules/requires-port/test.js@byte:2043-2482
    Confidence
    Medium confidence
    Code excerptlines 63-73, bytes 2043-2482
     it('does not require port 443 for wss', function () {
    assume(required('443', 'wss')).false();
    assume(required(443, 'wss')).false();
    assume(required(443, 'wss://')).false();
    assume(required(443, 'wss://www.google.com')).false();
    assume(required('8080', 'wss')).true();
    assume(required(8080, 'wss')).true();
    assume(required(8080, 'wss://')).true();
    assume(required(80...

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  10. it('does not require port 21 for ftp', function () { assume(required('21', 'ftp')).false(); assume(required(21, 'ftp')).false(); assume(required(21, 'ftp://')).false(); assume(required(21, 'ftp://www.google.com')).false(); assume(required('8080', 'ftp')).true(); assume(required(8080, 'ftp')).true(); assume(required(8080, 'ftp://')).true(); assume(required(8080, '...
    Kind
    code
    Location
    lines 75-85, bytes 2487-2921
    Trace reference
    tests/node_modules/requires-port/test.js@byte:2487-2921
    Confidence
    Medium confidence
    Code excerptlines 75-85, bytes 2487-2921
     it('does not require port 21 for ftp', function () {
    assume(required('21', 'ftp')).false();
    assume(required(21, 'ftp')).false();
    assume(required(21, 'ftp://')).false();
    assume(required(21, 'ftp://www.google.com')).false();
    assume(required('8080', 'ftp')).true();
    assume(required(8080, 'ftp')).true();
    assume(required(8080, 'ftp://')).true();
    assume(required(8080, '...

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

  11. it('does not require port 70 for gopher', function () { assume(required('70', 'gopher')).false(); assume(required(70, 'gopher')).false(); assume(required(70, 'gopher://')).false(); assume(required(70, 'gopher://www.google.com')).false(); assume(required('8080', 'gopher')).true(); assume(required(8080, 'gopher')).true(); assume(required(8080, 'gopher://')).true(); ...
    Kind
    code
    Location
    lines 87-97, bytes 2926-3387
    Trace reference
    tests/node_modules/requires-port/test.js@byte:2926-3387
    Confidence
    Medium confidence
    Code excerptlines 87-97, bytes 2926-3387
     it('does not require port 70 for gopher', function () {
    assume(required('70', 'gopher')).false();
    assume(required(70, 'gopher')).false();
    assume(required(70, 'gopher://')).false();
    assume(required(70, 'gopher://www.google.com')).false();
    assume(required('8080', 'gopher')).true();
    assume(required(8080, 'gopher')).true();
    assume(required(8080, 'gopher://')).true();
    ...\n});
    

    Analyzer messagetests/node_modules/requires-port/test.js references test framework global it

Severity
Medium
Occurrences
4 occurrences
  1. describe("sprintfjs", function() { var pi = 3.141592653589793 it("should return formated strings for simple placeholders", function() { assert.equal("%", sprintf("%%")) assert.equal("10", sprintf("%b", 2)) assert.equal("A", sprintf("%c", 65)) assert.equal("2", sprintf("%d", 2)) assert.equal("2", sprintf("%i", 2)) assert.equal("2", sprintf("%...
    Kind
    code
    Location
    lines 6-82, bytes 146-3745
    Trace reference
    tests/node_modules/sprintf-js/test/test.js@byte:146-3745
    Confidence
    Medium confidence
    Code excerptlines 6-82, bytes 146-3745
    describe("sprintfjs", function() {
    var pi = 3.141592653589793
    it("should return formated strings for simple placeholders", function() {
    assert.equal("%", sprintf("%%"))
    assert.equal("10", sprintf("%b", 2))
    assert.equal("A", sprintf("%c", 65))
    assert.equal("2", sprintf("%d", 2))
    assert.equal("2", sprintf("%i", 2))
    assert.equal("2", sprintf("%...

    Analyzer messagetests/node_modules/sprintf-js/test/test.js references test framework global describe

  2. it("should return formated strings for simple placeholders", function() { assert.equal("%", sprintf("%%")) assert.equal("10", sprintf("%b", 2)) assert.equal("A", sprintf("%c", 65)) assert.equal("2", sprintf("%d", 2)) assert.equal("2", sprintf("%i", 2)) assert.equal("2", sprintf("%d", "2")) assert.equal("2", sprintf("%i", "2")) ass...
    Kind
    code
    Location
    lines 9-30, bytes 217-1371
    Trace reference
    tests/node_modules/sprintf-js/test/test.js@byte:217-1371
    Confidence
    Medium confidence
    Code excerptlines 9-30, bytes 217-1371
     it("should return formated strings for simple placeholders", function() {
    assert.equal("%", sprintf("%%"))
    assert.equal("10", sprintf("%b", 2))
    assert.equal("A", sprintf("%c", 65))
    assert.equal("2", sprintf("%d", 2))
    assert.equal("2", sprintf("%i", 2))
    assert.equal("2", sprintf("%d", "2"))
    assert.equal("2", sprintf("%i", "2"))
    ass...

    Analyzer messagetests/node_modules/sprintf-js/test/test.js references test framework global it

  3. it("should return formated strings for complex placeholders", function() { // sign assert.equal("2", sprintf("%d", 2)) assert.equal("-2", sprintf("%d", -2)) assert.equal("+2", sprintf("%+d", 2)) assert.equal("-2", sprintf("%+d", -2)) assert.equal("2", sprintf("%i", 2)) assert.equal("-2", sprintf("%i", -2)) assert.equal("+2", sprin...
    Kind
    code
    Location
    lines 32-76, bytes 1377-3512
    Trace reference
    tests/node_modules/sprintf-js/test/test.js@byte:1377-3512
    Confidence
    Medium confidence
    Code excerptlines 32-76, bytes 1377-3512
     it("should return formated strings for complex placeholders", function() {
    // sign
    assert.equal("2", sprintf("%d", 2))
    assert.equal("-2", sprintf("%d", -2))
    assert.equal("+2", sprintf("%+d", 2))
    assert.equal("-2", sprintf("%+d", -2))
    assert.equal("2", sprintf("%i", 2))
    assert.equal("-2", sprintf("%i", -2))
    assert.equal("+2", sprin...

    Analyzer messagetests/node_modules/sprintf-js/test/test.js references test framework global it

  4. it("should return formated strings for callbacks", function() { assert.equal("foobar", sprintf("%s", function() { return "foobar" })) assert.equal(Date.now(), sprintf("%s", Date.now)) // should pass... })
    Kind
    code
    Location
    lines 78-81, bytes 3518-3742
    Trace reference
    tests/node_modules/sprintf-js/test/test.js@byte:3518-3742
    Confidence
    Medium confidence
    Code excerptlines 78-81, bytes 3518-3742
     it("should return formated strings for callbacks", function() {
    assert.equal("foobar", sprintf("%s", function() { return "foobar" }))
    assert.equal(Date.now(), sprintf("%s", Date.now)) // should pass...
    })\n})
    

    Analyzer messagetests/node_modules/sprintf-js/test/test.js references test framework global it

Severity
Medium
Occurrences
4 occurrences
  1. describe('popup parse integration', () => { let messageListener; beforeAll(() => { // the element ids popup.js caches at load (mirrors popup.html) document.body.innerHTML = ` <div id="flowTitle"></div> <div id="flowMeta"></div> <div id="defaultExplainer"></div> <div id="errorBar"><span id="error"></span></div> <div id="lintResults"></div> <button id...
    Kind
    code
    Location
    lines 5-191, bytes 238-8089
    Trace reference
    tests/popup-parse.integration.test.js@byte:238-8089
    Confidence
    Medium confidence
    Code excerptlines 5-191, bytes 238-8089
    describe('popup parse integration', () => {
    let messageListener;
    beforeAll(() => {
    // the element ids popup.js caches at load (mirrors popup.html)
    document.body.innerHTML = `
    <div id="flowTitle"></div>
    <div id="flowMeta"></div>
    <div id="defaultExplainer"></div>
    <div id="errorBar"><span id="error"></span></div>
    <div id="lintResults"></div>
    <button id...

    Analyzer messagetests/popup-parse.integration.test.js references test framework global describe

  2. beforeAll(() => { // the element ids popup.js caches at load (mirrors popup.html) document.body.innerHTML = ` <div id="flowTitle"></div> <div id="flowMeta"></div> <div id="defaultExplainer"></div> <div id="errorBar"><span id="error"></span></div> <div id="lintResults"></div> <button id="aiSettingsToggle"></button> <section id="aiSettingsPanel" cl...
    Kind
    code
    Location
    lines 8-70, bytes 308-2587
    Trace reference
    tests/popup-parse.integration.test.js@byte:308-2587
    Confidence
    Medium confidence
    Code excerptlines 8-70, bytes 308-2587
     beforeAll(() => {
    // the element ids popup.js caches at load (mirrors popup.html)
    document.body.innerHTML = `
    <div id="flowTitle"></div>
    <div id="flowMeta"></div>
    <div id="defaultExplainer"></div>
    <div id="errorBar"><span id="error"></span></div>
    <div id="lintResults"></div>
    <button id="aiSettingsToggle"></button>
    <section id="aiSettingsPanel" cl...

    Analyzer messagetests/popup-parse.integration.test.js references test framework global beforeAll

  3. test('should render explanation, lint results and table from a definition', async () => { expect(messageListener).toBeDefined(); const flowDefinition = { label: 'Test Flow', description: '', processType: 'AutoLaunchedFlow', processMetadataValues: [ { name: 'BuilderType', value: { stringValue: 'LightningFlowBuilder' } }, { name: 'CanvasMode', value...
    Kind
    code
    Location
    lines 72-167, bytes 2592-7136
    Trace reference
    tests/popup-parse.integration.test.js@byte:2592-7136
    Confidence
    Medium confidence
    Code excerptlines 72-167, bytes 2592-7136
     test('should render explanation, lint results and table from a definition', async () => {
    expect(messageListener).toBeDefined();
    const flowDefinition = {
    label: 'Test Flow',
    description: '',
    processType: 'AutoLaunchedFlow',
    processMetadataValues: [
    { name: 'BuilderType', value: { stringValue: 'LightningFlowBuilder' } },
    { name: 'CanvasMode', value...

    Analyzer messagetests/popup-parse.integration.test.js references test framework global test

  4. test('should re-render without enrichment data and drop the stats line', async () => { const flowDefinition = { label: 'Bare Flow', description: 'documented', processType: 'Flow', processMetadataValues: [ { name: 'BuilderType', value: { stringValue: 'LightningFlowBuilder' } }, { name: 'CanvasMode', value: { stringValue: 'AUTO_LAYOUT_CANVAS' } } ]...
    Kind
    code
    Location
    lines 169-190, bytes 7141-8085
    Trace reference
    tests/popup-parse.integration.test.js@byte:7141-8085
    Confidence
    Medium confidence
    Code excerptlines 169-190, bytes 7141-8085
     test('should re-render without enrichment data and drop the stats line', async () => {
    const flowDefinition = {
    label: 'Bare Flow',
    description: 'documented',
    processType: 'Flow',
    processMetadataValues: [
    { name: 'BuilderType', value: { stringValue: 'LightningFlowBuilder' } },
    { name: 'CanvasMode', value: { stringValue: 'AUTO_LAYOUT_CANVAS' } }
    ]...\n});
    

    Analyzer messagetests/popup-parse.integration.test.js references test framework global test

Severity
Medium
Occurrences
22 occurrences
  1. describe('Response Parsing Logic', () => { // Helper function to simulate GPT-5 response parsing function parseGPT5Response(apiResponse) { if (apiResponse === null || apiResponse === undefined) { throw new Error('Response cannot be null or undefined'); } try { const parsedResponse = JSON.parse(apiResponse); if (parsedResponse.error) { return `$...
    Kind
    code
    Location
    lines 3-295, bytes 41-9052
    Trace reference
    tests/response-parsing.test.js@byte:41-9052
    Confidence
    Medium confidence
    Code excerptlines 3-295, bytes 41-9052
    describe('Response Parsing Logic', () => {
    // Helper function to simulate GPT-5 response parsing
    function parseGPT5Response(apiResponse) {
    if (apiResponse === null || apiResponse === undefined) {
    throw new Error('Response cannot be null or undefined');
    }
    try {
    const parsedResponse = JSON.parse(apiResponse);
    if (parsedResponse.error) {
    return `$...

    Analyzer messagetests/response-parsing.test.js references test framework global describe

  2. describe('GPT-5 Response Parsing', () => { test('should parse successful GPT-5 response', () => { const mockResponse = JSON.stringify({ output: { content: { text: 'This is a sample response from GPT-5' } }, status: 'complete' }); const result = parseGPT5Response(mockResponse); expect(result).toBe('This is a samp...
    Kind
    code
    Location
    lines 61-138, bytes 2006-4325
    Trace reference
    tests/response-parsing.test.js@byte:2006-4325
    Confidence
    Medium confidence
    Code excerptlines 61-138, bytes 2006-4325
     describe('GPT-5 Response Parsing', () => {
    test('should parse successful GPT-5 response', () => {
    const mockResponse = JSON.stringify({
    output: {
    content: {
    text: 'This is a sample response from GPT-5'
    }
    },
    status: 'complete'
    });
    const result = parseGPT5Response(mockResponse);
    expect(result).toBe('This is a samp...

    Analyzer messagetests/response-parsing.test.js references test framework global describe

  3. test('should parse successful GPT-5 response', () => { const mockResponse = JSON.stringify({ output: { content: { text: 'This is a sample response from GPT-5' } }, status: 'complete' }); const result = parseGPT5Response(mockResponse); expect(result).toBe('This is a sample response from GPT-5'); });
    Kind
    code
    Location
    lines 62-74, bytes 2053-2436
    Trace reference
    tests/response-parsing.test.js@byte:2053-2436
    Confidence
    Medium confidence
    Code excerptlines 62-74, bytes 2053-2436
     describe('GPT-5 Response Parsing', () => {\n test('should parse successful GPT-5 response', () => {
    const mockResponse = JSON.stringify({
    output: {
    content: {
    text: 'This is a sample response from GPT-5'
    }
    },
    status: 'complete'
    });
    const result = parseGPT5Response(mockResponse);
    expect(result).toBe('This is a sample response from GPT-5');
    });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  4. test('should handle GPT-5 response truncated due to max tokens', () => { const mockResponse = JSON.stringify({ output: { content: { text: 'This is a truncated response' } }, status: 'incomplete', incomplete_details: { reason: 'max_tokens' } }); const result = parseGPT5Response(mockResponse); ...
    Kind
    code
    Location
    lines 76-91, bytes 2443-2936
    Trace reference
    tests/response-parsing.test.js@byte:2443-2936
    Confidence
    Medium confidence
    Code excerptlines 76-91, bytes 2443-2936
     test('should handle GPT-5 response truncated due to max tokens', () => {
    const mockResponse = JSON.stringify({
    output: {
    content: {
    text: 'This is a truncated response'
    }
    },
    status: 'incomplete',
    incomplete_details: {
    reason: 'max_tokens'
    }
    });
    const result = parseGPT5Response(mockResponse);
    ...

    Analyzer messagetests/response-parsing.test.js references test framework global test

  5. test('should handle GPT-5 response with incomplete status but different reason', () => { const mockResponse = JSON.stringify({ output: { content: { text: 'Response stopped for other reason' } }, status: 'incomplete', incomplete_details: { reason: 'stop_sequence' } }); const result = parseGPT5Re...
    Kind
    code
    Location
    lines 93-108, bytes 2943-3431
    Trace reference
    tests/response-parsing.test.js@byte:2943-3431
    Confidence
    Medium confidence
    Code excerptlines 93-108, bytes 2943-3431
     test('should handle GPT-5 response with incomplete status but different reason', () => {
    const mockResponse = JSON.stringify({
    output: {
    content: {
    text: 'Response stopped for other reason'
    }
    },
    status: 'incomplete',
    incomplete_details: {
    reason: 'stop_sequence'
    }
    });
    const result = parseGPT5Re...

    Analyzer messagetests/response-parsing.test.js references test framework global test

  6. test('should handle GPT-5 response without content', () => { const mockResponse = JSON.stringify({ output: {}, status: 'complete' }); const result = parseGPT5Response(mockResponse); expect(result).toBe('No response content received from GPT-5 model'); });
    Kind
    code
    Location
    lines 110-118, bytes 3438-3737
    Trace reference
    tests/response-parsing.test.js@byte:3438-3737
    Confidence
    Medium confidence
    Code excerptlines 110-118, bytes 3438-3737
     test('should handle GPT-5 response without content', () => {
    const mockResponse = JSON.stringify({
    output: {},
    status: 'complete'
    });
    const result = parseGPT5Response(mockResponse);
    expect(result).toBe('No response content received from GPT-5 model');
    });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  7. test('should handle GPT-5 API error response', () => { const mockResponse = JSON.stringify({ error: { message: 'Invalid API key', type: 'authentication_error' } }); const result = parseGPT5Response(mockResponse); expect(result).toBe('Invalid API key (authentication_error)'); });
    Kind
    code
    Location
    lines 120-130, bytes 3744-4087
    Trace reference
    tests/response-parsing.test.js@byte:3744-4087
    Confidence
    Medium confidence
    Code excerptlines 120-130, bytes 3744-4087
     test('should handle GPT-5 API error response', () => {
    const mockResponse = JSON.stringify({
    error: {
    message: 'Invalid API key',
    type: 'authentication_error'
    }
    });
    const result = parseGPT5Response(mockResponse);
    expect(result).toBe('Invalid API key (authentication_error)');
    });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  8. test('should handle malformed GPT-5 JSON response', () => { const mockResponse = 'invalid json {'; const result = parseGPT5Response(mockResponse); expect(result).toMatch(/Failed to parse response:/); });
    Kind
    code
    Location
    lines 132-137, bytes 4094-4319
    Trace reference
    tests/response-parsing.test.js@byte:4094-4319
    Confidence
    Medium confidence
    Code excerptlines 132-137, bytes 4094-4319
     test('should handle malformed GPT-5 JSON response', () => {
    const mockResponse = 'invalid json {';
    const result = parseGPT5Response(mockResponse);
    expect(result).toMatch(/Failed to parse response:/);
    });\n });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  9. describe('Standard Response Parsing', () => { test('should parse successful standard response', () => { const mockResponse = JSON.stringify({ choices: [{ message: { content: 'This is a sample response from GPT-4' }, finish_reason: 'stop' }] }); const result = parseStandardResponse(mockResponse); expect(result)...
    Kind
    code
    Location
    lines 140-196, bytes 4330-6114
    Trace reference
    tests/response-parsing.test.js@byte:4330-6114
    Confidence
    Medium confidence
    Code excerptlines 140-196, bytes 4330-6114
     describe('Standard Response Parsing', () => {
    test('should parse successful standard response', () => {
    const mockResponse = JSON.stringify({
    choices: [{
    message: {
    content: 'This is a sample response from GPT-4'
    },
    finish_reason: 'stop'
    }]
    });
    const result = parseStandardResponse(mockResponse);
    expect(result)...

    Analyzer messagetests/response-parsing.test.js references test framework global describe

  10. test('should parse successful standard response', () => { const mockResponse = JSON.stringify({ choices: [{ message: { content: 'This is a sample response from GPT-4' }, finish_reason: 'stop' }] }); const result = parseStandardResponse(mockResponse); expect(result).toBe('This is a sample response from GPT-4'); ...
    Kind
    code
    Location
    lines 141-153, bytes 4380-4781
    Trace reference
    tests/response-parsing.test.js@byte:4380-4781
    Confidence
    Medium confidence
    Code excerptlines 141-153, bytes 4380-4781
     describe('Standard Response Parsing', () => {\n test('should parse successful standard response', () => {
    const mockResponse = JSON.stringify({
    choices: [{
    message: {
    content: 'This is a sample response from GPT-4'
    },
    finish_reason: 'stop'
    }]
    });
    const result = parseStandardResponse(mockResponse);
    expect(result).toBe('This is a sample response from GPT-4');
    ...

    Analyzer messagetests/response-parsing.test.js references test framework global test

  11. test('should handle standard response truncated due to length', () => { const mockResponse = JSON.stringify({ choices: [{ message: { content: 'This is a truncated response' }, finish_reason: 'length' }] }); const result = parseStandardResponse(mockResponse); expect(result).toBe('This is a truncated response (RES...
    Kind
    code
    Location
    lines 155-167, bytes 4788-5223
    Trace reference
    tests/response-parsing.test.js@byte:4788-5223
    Confidence
    Medium confidence
    Code excerptlines 155-167, bytes 4788-5223
     test('should handle standard response truncated due to length', () => {
    const mockResponse = JSON.stringify({
    choices: [{
    message: {
    content: 'This is a truncated response'
    },
    finish_reason: 'length'
    }]
    });
    const result = parseStandardResponse(mockResponse);
    expect(result).toBe('This is a truncated response (RES...

    Analyzer messagetests/response-parsing.test.js references test framework global test

  12. test('should handle standard API error response', () => { const mockResponse = JSON.stringify({ error: { message: 'Rate limit exceeded', type: 'rate_limit_error' } }); const result = parseStandardResponse(mockResponse); expect(result).toBe('Rate limit exceeded (rate_limit_error)'); });
    Kind
    code
    Location
    lines 169-179, bytes 5230-5580
    Trace reference
    tests/response-parsing.test.js@byte:5230-5580
    Confidence
    Medium confidence
    Code excerptlines 169-179, bytes 5230-5580
     test('should handle standard API error response', () => {
    const mockResponse = JSON.stringify({
    error: {
    message: 'Rate limit exceeded',
    type: 'rate_limit_error'
    }
    });
    const result = parseStandardResponse(mockResponse);
    expect(result).toBe('Rate limit exceeded (rate_limit_error)');
    });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  13. test('should handle malformed standard JSON response', () => { const mockResponse = 'invalid json {'; const result = parseStandardResponse(mockResponse); expect(result).toMatch(/Failed to parse response:/); });
    Kind
    code
    Location
    lines 181-186, bytes 5587-5819
    Trace reference
    tests/response-parsing.test.js@byte:5587-5819
    Confidence
    Medium confidence
    Code excerptlines 181-186, bytes 5587-5819
     test('should handle malformed standard JSON response', () => {
    const mockResponse = 'invalid json {';
    const result = parseStandardResponse(mockResponse);
    expect(result).toMatch(/Failed to parse response:/);
    });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  14. test('should handle missing choices in standard response', () => { const mockResponse = JSON.stringify({ usage: { total_tokens: 100 } }); const result = parseStandardResponse(mockResponse); expect(result).toMatch(/Failed to parse response:/); });
    Kind
    code
    Location
    lines 188-195, bytes 5826-6108
    Trace reference
    tests/response-parsing.test.js@byte:5826-6108
    Confidence
    Medium confidence
    Code excerptlines 188-195, bytes 5826-6108
     test('should handle missing choices in standard response', () => {
    const mockResponse = JSON.stringify({
    usage: { total_tokens: 100 }
    });
    const result = parseStandardResponse(mockResponse);
    expect(result).toMatch(/Failed to parse response:/);
    });\n });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  15. describe('Common Error Cases', () => { const commonErrorCases = [ { name: 'authentication error', response: { error: { message: 'Incorrect API key provided', type: 'invalid_request_error' } }, expected: 'Incorrect API key provided (invalid_request_error)' }, { name: 'rate limit error', ...
    Kind
    code
    Location
    lines 198-243, bytes 6119-7472
    Trace reference
    tests/response-parsing.test.js@byte:6119-7472
    Confidence
    Medium confidence
    Code excerptlines 198-243, bytes 6119-7472
     describe('Common Error Cases', () => {
    const commonErrorCases = [
    {
    name: 'authentication error',
    response: {
    error: {
    message: 'Incorrect API key provided',
    type: 'invalid_request_error'
    }
    },
    expected: 'Incorrect API key provided (invalid_request_error)'
    },
    {
    name: 'rate limit error',
    ...

    Analyzer messagetests/response-parsing.test.js references test framework global describe

  16. test(`should handle ${testCase.name} for GPT-5`, () => { const result = parseGPT5Response(JSON.stringify(testCase.response)); expect(result).toBe(testCase.expected); });
    Kind
    code
    Location
    lines 233-236, bytes 7055-7245
    Trace reference
    tests/response-parsing.test.js@byte:7055-7245
    Confidence
    Medium confidence
    Code excerptlines 233-236, bytes 7055-7245
     commonErrorCases.forEach(testCase => {\n test(`should handle ${testCase.name} for GPT-5`, () => {
    const result = parseGPT5Response(JSON.stringify(testCase.response));
    expect(result).toBe(testCase.expected);
    });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  17. test(`should handle ${testCase.name} for standard models`, () => { const result = parseStandardResponse(JSON.stringify(testCase.response)); expect(result).toBe(testCase.expected); });
    Kind
    code
    Location
    lines 238-241, bytes 7254-7458
    Trace reference
    tests/response-parsing.test.js@byte:7254-7458
    Confidence
    Medium confidence
    Code excerptlines 238-241, bytes 7254-7458
     test(`should handle ${testCase.name} for standard models`, () => {
    const result = parseStandardResponse(JSON.stringify(testCase.response));
    expect(result).toBe(testCase.expected);
    });\n });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  18. describe('Edge Cases', () => { test('should handle empty response string', () => { expect(parseGPT5Response('')).toMatch(/Failed to parse response:/); expect(parseStandardResponse('')).toMatch(/Failed to parse response:/); }); test('should handle null response', () => { expect(() => parseGPT5Response(null)).toThrow(); expect(() => parseStandardResponse(null))...
    Kind
    code
    Location
    lines 245-294, bytes 7477-9048
    Trace reference
    tests/response-parsing.test.js@byte:7477-9048
    Confidence
    Medium confidence
    Code excerptlines 245-294, bytes 7477-9048
     describe('Edge Cases', () => {
    test('should handle empty response string', () => {
    expect(parseGPT5Response('')).toMatch(/Failed to parse response:/);
    expect(parseStandardResponse('')).toMatch(/Failed to parse response:/);
    });
    test('should handle null response', () => {
    expect(() => parseGPT5Response(null)).toThrow();
    expect(() => parseStandardResponse(null))...\n});

    Analyzer messagetests/response-parsing.test.js references test framework global describe

  19. test('should handle empty response string', () => { expect(parseGPT5Response('')).toMatch(/Failed to parse response:/); expect(parseStandardResponse('')).toMatch(/Failed to parse response:/); });
    Kind
    code
    Location
    lines 246-249, bytes 7512-7722
    Trace reference
    tests/response-parsing.test.js@byte:7512-7722
    Confidence
    Medium confidence
    Code excerptlines 246-249, bytes 7512-7722
     describe('Edge Cases', () => {\n test('should handle empty response string', () => {
    expect(parseGPT5Response('')).toMatch(/Failed to parse response:/);
    expect(parseStandardResponse('')).toMatch(/Failed to parse response:/);
    });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  20. test('should handle null response', () => { expect(() => parseGPT5Response(null)).toThrow(); expect(() => parseStandardResponse(null)).toThrow(); });
    Kind
    code
    Location
    lines 251-254, bytes 7729-7893
    Trace reference
    tests/response-parsing.test.js@byte:7729-7893
    Confidence
    Medium confidence
    Code excerptlines 251-254, bytes 7729-7893
     test('should handle null response', () => {
    expect(() => parseGPT5Response(null)).toThrow();
    expect(() => parseStandardResponse(null)).toThrow();
    });

    Analyzer messagetests/response-parsing.test.js references test framework global test

  21. test('should handle response with null content', () => { const gpt5Response = JSON.stringify({ output: { content: { text: null } }, status: 'complete' }); const standardResponse = JSON.stringify({ choices: [{ message: { content: null }, finish_reason: 'stop' }] ...
    Kind
    code
    Location
    lines 256-278, bytes 7900-8535
    Trace reference
    tests/response-parsing.test.js@byte:7900-8535
    Confidence
    Medium confidence
    Code excerptlines 256-278, bytes 7900-8535
     test('should handle response with null content', () => {
    const gpt5Response = JSON.stringify({
    output: {
    content: {
    text: null
    }
    },
    status: 'complete'
    });
    const standardResponse = JSON.stringify({
    choices: [{
    message: {
    content: null
    },
    finish_reason: 'stop'
    }]
    ...

    Analyzer messagetests/response-parsing.test.js references test framework global test

  22. test('should handle deeply nested missing properties', () => { const gpt5ResponseMissingText = JSON.stringify({ output: { content: {} } }); const gpt5ResponseMissingContent = JSON.stringify({ output: {} }); expect(parseGPT5Response(gpt5ResponseMissingText)).toBe('No response content received from GPT-5 model'); expect(pars...
    Kind
    code
    Location
    lines 280-293, bytes 8542-9042
    Trace reference
    tests/response-parsing.test.js@byte:8542-9042
    Confidence
    Medium confidence
    Code excerptlines 280-293, bytes 8542-9042
     test('should handle deeply nested missing properties', () => {
    const gpt5ResponseMissingText = JSON.stringify({
    output: {
    content: {}
    }
    });
    const gpt5ResponseMissingContent = JSON.stringify({
    output: {}
    });
    expect(parseGPT5Response(gpt5ResponseMissingText)).toBe('No response content received from GPT-5 model');
    expect(pars...\n });

    Analyzer messagetests/response-parsing.test.js references test framework global test

Severity
Medium
Occurrences
38 occurrences
  1. describe('sendToGPT Function', () => { // Helper function to simulate the hash function function verySimpleHash(data) { let hash = 0; for (let i = 0, len = data.length; i < len; i++) { let chr = data.charCodeAt(i); hash = (hash << 5) - hash + chr; hash |= 0; } return hash; } // Constants const CACHE_DURATION = 300000; // 5 min // Mock DOM elements ...
    Kind
    code
    Location
    lines 3-716, bytes 37-23477
    Trace reference
    tests/sendToGPT.test.js@byte:37-23477
    Confidence
    Medium confidence
    Code excerptlines 3-716, bytes 37-23477
    describe('sendToGPT Function', () => {
    // Helper function to simulate the hash function
    function verySimpleHash(data) {
    let hash = 0;
    for (let i = 0, len = data.length; i < len; i++) {
    let chr = data.charCodeAt(i);
    hash = (hash << 5) - hash + chr;
    hash |= 0;
    }
    return hash;
    }
    // Constants
    const CACHE_DURATION = 300000; // 5 min
    // Mock DOM elements
    ...

    Analyzer messagetests/sendToGPT.test.js references test framework global describe

  2. beforeEach(() => { // Reset mocks jest.clearAllMocks(); sessionStorage.clear(); // Mock DOM elements mockSpinner = { style: { display: 'block' } }; mockResponseSpan = { innerText: '', innerHTML: '' }; document.getElementById = jest.fn((id) => { if (id === 'spinner') return mockSpinner; if (id === 'response') return mockResponseSpan; return ...
    Kind
    code
    Location
    lines 22-52, bytes 492-1327
    Trace reference
    tests/sendToGPT.test.js@byte:492-1327
    Confidence
    Medium confidence
    Code excerptlines 22-52, bytes 492-1327
     beforeEach(() => {
    // Reset mocks
    jest.clearAllMocks();
    sessionStorage.clear();
    // Mock DOM elements
    mockSpinner = { style: { display: 'block' } };
    mockResponseSpan = { innerText: '', innerHTML: '' };
    document.getElementById = jest.fn((id) => {
    if (id === 'spinner') return mockSpinner;
    if (id === 'response') return mockResponseSpan;
    return ...

    Analyzer messagetests/sendToGPT.test.js references test framework global beforeEach

  3. jest.clearAllMocks()
    Kind
    code
    Location
    line 24, bytes 534-554
    Trace reference
    tests/sendToGPT.test.js@byte:534-554
    Confidence
    Medium confidence
    Code excerptline 24, bytes 534-554
    \njest.clearAllMocks()\n;

    Analyzer messagetests/sendToGPT.test.js references test framework API jest.clearAllMocks

  4. document.getElementById = jest.fn((id) => { if (id === 'spinner') return mockSpinner; if (id === 'response') return mockResponseSpan; return null; });
    Kind
    code
    Location
    lines 31-35, bytes 757-902
    Trace reference
    tests/sendToGPT.test.js@byte:757-902
    Confidence
    Medium confidence
    Code excerptlines 31-35, bytes 757-902
    \n document.getElementById = jest.fn((id) => {
    if (id === 'spinner') return mockSpinner;
    if (id === 'response') return mockResponseSpan;
    return null;
    });

    Analyzer messagetests/sendToGPT.test.js references test framework API jest.fn

  5. mockFetch = jest.fn(() => Promise.resolve({ ok: true, status: 200, text: () => Promise.resolve('{"choices":[{"message":{"content":"Test response"},"finish_reason":"stop"}]}'), }) );
    Kind
    code
    Location
    lines 38-44, bytes 939-1147
    Trace reference
    tests/sendToGPT.test.js@byte:939-1147
    Confidence
    Medium confidence
    Code excerptlines 38-44, bytes 939-1147
     // Mock fetch\n mockFetch = jest.fn(() =>
    Promise.resolve({
    ok: true,
    status: 200,
    text: () => Promise.resolve('{"choices":[{"message":{"content":"Test response"},"finish_reason":"stop"}]}'),
    })
    );\n global.fetch = mockFetch;

    Analyzer messagetests/sendToGPT.test.js references test framework API jest.fn

  6. jest.fn()
    Kind
    code
    Location
    line 48, bytes 1222-1231
    Trace reference
    tests/sendToGPT.test.js@byte:1222-1231
    Confidence
    Medium confidence
    Code excerptline 48, bytes 1222-1231
     console.log = \njest.fn()\n;

    Analyzer messagetests/sendToGPT.test.js references test framework API jest.fn

  7. jest.fn(() => 1000000)
    Kind
    code
    Location
    line 51, bytes 1299-1321
    Trace reference
    tests/sendToGPT.test.js@byte:1299-1321
    Confidence
    Medium confidence
    Code excerptline 51, bytes 1299-1321
     Date.now = \njest.fn(() => 1000000)\n;

    Analyzer messagetests/sendToGPT.test.js references test framework API jest.fn

  8. describe('Input Validation', () => { test('should handle null dataObject', () => { sendToGPT(null, 'test-key'); expect(mockResponseSpan.innerText).toBe('No data received from current page.'); expect(mockSpinner.style.display).toBe('none'); }); test('should handle undefined dataObject', () => { sendToGPT(undefined, 'test-key'); expect(mockR...
    Kind
    code
    Location
    lines 228-269, bytes 7507-8811
    Trace reference
    tests/sendToGPT.test.js@byte:7507-8811
    Confidence
    Medium confidence
    Code excerptlines 228-269, bytes 7507-8811
     describe('Input Validation', () => {
    test('should handle null dataObject', () => {
    sendToGPT(null, 'test-key');
    expect(mockResponseSpan.innerText).toBe('No data received from current page.');
    expect(mockSpinner.style.display).toBe('none');
    });
    test('should handle undefined dataObject', () => {
    sendToGPT(undefined, 'test-key');
    expect(mockR...

    Analyzer messagetests/sendToGPT.test.js references test framework global describe

  9. test('should handle null dataObject', () => { sendToGPT(null, 'test-key'); expect(mockResponseSpan.innerText).toBe('No data received from current page.'); expect(mockSpinner.style.display).toBe('none'); });
    Kind
    code
    Location
    lines 229-234, bytes 7548-7782
    Trace reference
    tests/sendToGPT.test.js@byte:7548-7782
    Confidence
    Medium confidence
    Code excerptlines 229-234, bytes 7548-7782
     describe('Input Validation', () => {\n test('should handle null dataObject', () => {
    sendToGPT(null, 'test-key');
    expect(mockResponseSpan.innerText).toBe('No data received from current page.');
    expect(mockSpinner.style.display).toBe('none');
    });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  10. test('should handle undefined dataObject', () => { sendToGPT(undefined, 'test-key'); expect(mockResponseSpan.innerText).toBe('No data received from current page.'); expect(mockSpinner.style.display).toBe('none'); });
    Kind
    code
    Location
    lines 236-241, bytes 7789-8033
    Trace reference
    tests/sendToGPT.test.js@byte:7789-8033
    Confidence
    Medium confidence
    Code excerptlines 236-241, bytes 7789-8033
     test('should handle undefined dataObject', () => {
    sendToGPT(undefined, 'test-key');
    expect(mockResponseSpan.innerText).toBe('No data received from current page.');
    expect(mockSpinner.style.display).toBe('none');
    });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  11. test('should handle missing resultData', () => { const dataObject = { currentURL: 'https://example.com', prompt: 'Test prompt', gptModel: 'gpt-4o' }; sendToGPT(dataObject, 'test-key'); expect(mockResponseSpan.innerText).toBe('No data to send.'); expect(mockSpinner.style.display).toBe('none'); });
    Kind
    code
    Location
    lines 243-254, bytes 8040-8408
    Trace reference
    tests/sendToGPT.test.js@byte:8040-8408
    Confidence
    Medium confidence
    Code excerptlines 243-254, bytes 8040-8408
     test('should handle missing resultData', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockResponseSpan.innerText).toBe('No data to send.');
    expect(mockSpinner.style.display).toBe('none');
    });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  12. test('should handle empty resultData', () => { const dataObject = { currentURL: 'https://example.com', resultData: '', prompt: 'Test prompt', gptModel: 'gpt-4o' }; sendToGPT(dataObject, 'test-key'); expect(mockResponseSpan.innerText).toBe('No data to send.'); expect(mockSpinner.style.display).toBe('none'); });
    Kind
    code
    Location
    lines 256-268, bytes 8415-8805
    Trace reference
    tests/sendToGPT.test.js@byte:8415-8805
    Confidence
    Medium confidence
    Code excerptlines 256-268, bytes 8415-8805
     test('should handle empty resultData', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: '',
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockResponseSpan.innerText).toBe('No data to send.');
    expect(mockSpinner.style.display).toBe('none');
    });\n });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  13. describe('Cache Functionality', () => { test('should return cached response when available and fresh', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test flow data', prompt: 'Explain this flow', gptModel: 'gpt-4o' }; // Set up cache const cacheKey = verySimpleHash('https://example.comExplain this flowTest...
    Kind
    code
    Location
    lines 271-368, bytes 8816-12235
    Trace reference
    tests/sendToGPT.test.js@byte:8816-12235
    Confidence
    Medium confidence
    Code excerptlines 271-368, bytes 8816-12235
     describe('Cache Functionality', () => {
    test('should return cached response when available and fresh', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test flow data',
    prompt: 'Explain this flow',
    gptModel: 'gpt-4o'
    };
    // Set up cache
    const cacheKey = verySimpleHash('https://example.comExplain this flowTest...

    Analyzer messagetests/sendToGPT.test.js references test framework global describe

  14. test('should return cached response when available and fresh', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test flow data', prompt: 'Explain this flow', gptModel: 'gpt-4o' }; // Set up cache const cacheKey = verySimpleHash('https://example.comExplain this flowTest flow data'); const cachedData = { ...
    Kind
    code
    Location
    lines 272-293, bytes 8860-9689
    Trace reference
    tests/sendToGPT.test.js@byte:8860-9689
    Confidence
    Medium confidence
    Code excerptlines 272-293, bytes 8860-9689
     describe('Cache Functionality', () => {\n test('should return cached response when available and fresh', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test flow data',
    prompt: 'Explain this flow',
    gptModel: 'gpt-4o'
    };
    // Set up cache
    const cacheKey = verySimpleHash('https://example.comExplain this flowTest flow data');
    const cachedData = {
    ...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  15. test('should not use expired cache', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test flow data', prompt: 'Explain this flow', gptModel: 'gpt-4o' }; // Set up expired cache const cacheKey = verySimpleHash('https://example.comExplain this flowTest flow data'); const cachedData = { cachedDate:...
    Kind
    code
    Location
    lines 295-315, bytes 9696-10429
    Trace reference
    tests/sendToGPT.test.js@byte:9696-10429
    Confidence
    Medium confidence
    Code excerptlines 295-315, bytes 9696-10429
     test('should not use expired cache', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test flow data',
    prompt: 'Explain this flow',
    gptModel: 'gpt-4o'
    };
    // Set up expired cache
    const cacheKey = verySimpleHash('https://example.comExplain this flowTest flow data');
    const cachedData = {
    cachedDate:...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  16. test('should store response under the same key used for lookup', async () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test flow data', prompt: 'Explain this flow', gptModel: 'gpt-4o' }; // first call fetches from the API and stores the response sendToGPT(dataObject, 'test-key'); await new Promise(resol...
    Kind
    code
    Location
    lines 317-339, bytes 10436-11385
    Trace reference
    tests/sendToGPT.test.js@byte:10436-11385
    Confidence
    Medium confidence
    Code excerptlines 317-339, bytes 10436-11385
     test('should store response under the same key used for lookup', async () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test flow data',
    prompt: 'Explain this flow',
    gptModel: 'gpt-4o'
    };
    // first call fetches from the API and stores the response
    sendToGPT(dataObject, 'test-key');
    await new Promise(resol...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  17. test('should clean up expired cache entries', () => { // Set up multiple cache entries const expiredKey = 'expired-entry'; const validKey = 'valid-entry'; sessionStorage.setItem(expiredKey, JSON.stringify({ cachedDate: Date.now() - (CACHE_DURATION + 10000), parsedResponse: 'Expired' })); sessionStorage.setItem(validKey, JSON.str...
    Kind
    code
    Location
    lines 341-367, bytes 11392-12229
    Trace reference
    tests/sendToGPT.test.js@byte:11392-12229
    Confidence
    Medium confidence
    Code excerptlines 341-367, bytes 11392-12229
     test('should clean up expired cache entries', () => {
    // Set up multiple cache entries
    const expiredKey = 'expired-entry';
    const validKey = 'valid-entry';
    sessionStorage.setItem(expiredKey, JSON.stringify({
    cachedDate: Date.now() - (CACHE_DURATION + 10000),
    parsedResponse: 'Expired'
    }));
    sessionStorage.setItem(validKey, JSON.str...\n });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  18. describe('Model Selection and Upgrade Logic', () => { test('should use default model when gptModel is not provided', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Short data', prompt: 'Test prompt' }; sendToGPT(dataObject, 'test-key'); expect(mockResponseSpan.innerText).toBe('Using gpt-5-nano...'); }); ...
    Kind
    code
    Location
    lines 370-438, bytes 12240-14422
    Trace reference
    tests/sendToGPT.test.js@byte:12240-14422
    Confidence
    Medium confidence
    Code excerptlines 370-438, bytes 12240-14422
     describe('Model Selection and Upgrade Logic', () => {
    test('should use default model when gptModel is not provided', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Short data',
    prompt: 'Test prompt'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockResponseSpan.innerText).toBe('Using gpt-5-nano...');
    });
    ...

    Analyzer messagetests/sendToGPT.test.js references test framework global describe

  19. test('should use default model when gptModel is not provided', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Short data', prompt: 'Test prompt' }; sendToGPT(dataObject, 'test-key'); expect(mockResponseSpan.innerText).toBe('Using gpt-5-nano...'); });
    Kind
    code
    Location
    lines 371-381, bytes 12298-12631
    Trace reference
    tests/sendToGPT.test.js@byte:12298-12631
    Confidence
    Medium confidence
    Code excerptlines 371-381, bytes 12298-12631
     describe('Model Selection and Upgrade Logic', () => {\n test('should use default model when gptModel is not provided', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Short data',
    prompt: 'Test prompt'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockResponseSpan.innerText).toBe('Using gpt-5-nano...');
    });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  20. test('should use provided model', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Short data', prompt: 'Test prompt', gptModel: 'gpt-4o' }; sendToGPT(dataObject, 'test-key'); expect(mockResponseSpan.innerText).toBe('Using gpt-4o...'); });
    Kind
    code
    Location
    lines 383-394, bytes 12638-12966
    Trace reference
    tests/sendToGPT.test.js@byte:12638-12966
    Confidence
    Medium confidence
    Code excerptlines 383-394, bytes 12638-12966
     test('should use provided model', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Short data',
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockResponseSpan.innerText).toBe('Using gpt-4o...');
    });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  21. test('should upgrade gpt-5-nano to gpt-4o for large data', () => { const largeData = 'x'.repeat(20000); // > 16200 chars const dataObject = { currentURL: 'https://example.com', resultData: largeData, prompt: 'Test prompt', gptModel: 'gpt-5-nano' }; sendToGPT(dataObject, 'test-key'); expect(mockResponseSpan.innerText).toBe('Using g...
    Kind
    code
    Location
    lines 396-409, bytes 12973-13568
    Trace reference
    tests/sendToGPT.test.js@byte:12973-13568
    Confidence
    Medium confidence
    Code excerptlines 396-409, bytes 12973-13568
     test('should upgrade gpt-5-nano to gpt-4o for large data', () => {
    const largeData = 'x'.repeat(20000); // > 16200 chars
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: largeData,
    prompt: 'Test prompt',
    gptModel: 'gpt-5-nano'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockResponseSpan.innerText).toBe('Using g...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  22. test('should not upgrade gpt-4o for large data', () => { const largeData = 'x'.repeat(20000); // > 16200 chars const dataObject = { currentURL: 'https://example.com', resultData: largeData, prompt: 'Test prompt', gptModel: 'gpt-4o' }; sendToGPT(dataObject, 'test-key'); expect(mockResponseSpan.innerText).toBe('Using gpt-4o...'); ...
    Kind
    code
    Location
    lines 411-423, bytes 13575-13975
    Trace reference
    tests/sendToGPT.test.js@byte:13575-13975
    Confidence
    Medium confidence
    Code excerptlines 411-423, bytes 13575-13975
     test('should not upgrade gpt-4o for large data', () => {
    const largeData = 'x'.repeat(20000); // > 16200 chars
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: largeData,
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockResponseSpan.innerText).toBe('Using gpt-4o...');
    ...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  23. test('should truncate extremely large data', () => { const veryLargeData = 'x'.repeat(150000); // > 130872 chars const dataObject = { currentURL: 'https://example.com', resultData: veryLargeData, prompt: 'Test prompt', gptModel: 'gpt-4o' }; sendToGPT(dataObject, 'test-key'); expect(console.log).toHaveBeenCalledWith('Data truncated...
    Kind
    code
    Location
    lines 425-437, bytes 13982-14416
    Trace reference
    tests/sendToGPT.test.js@byte:13982-14416
    Confidence
    Medium confidence
    Code excerptlines 425-437, bytes 13982-14416
     test('should truncate extremely large data', () => {
    const veryLargeData = 'x'.repeat(150000); // > 130872 chars
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: veryLargeData,
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    sendToGPT(dataObject, 'test-key');
    expect(console.log).toHaveBeenCalledWith('Data truncated...\n });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  24. describe('API Request Configuration', () => { test('should configure GPT-5 request correctly', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test data', prompt: 'Test prompt', gptModel: 'gpt-5-nano' }; sendToGPT(dataObject, 'test-key'); expect(mockFetch).toHaveBeenCalledWith('https://api.openai.com/v1/re...
    Kind
    code
    Location
    lines 440-495, bytes 14427-16346
    Trace reference
    tests/sendToGPT.test.js@byte:14427-16346
    Confidence
    Medium confidence
    Code excerptlines 440-495, bytes 14427-16346
     describe('API Request Configuration', () => {
    test('should configure GPT-5 request correctly', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test data',
    prompt: 'Test prompt',
    gptModel: 'gpt-5-nano'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockFetch).toHaveBeenCalledWith('https://api.openai.com/v1/re...

    Analyzer messagetests/sendToGPT.test.js references test framework global describe

  25. test('should configure GPT-5 request correctly', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test data', prompt: 'Test prompt', gptModel: 'gpt-5-nano' }; sendToGPT(dataObject, 'test-key'); expect(mockFetch).toHaveBeenCalledWith('https://api.openai.com/v1/responses', { method: 'POST', head...
    Kind
    code
    Location
    lines 441-466, bytes 14477-15399
    Trace reference
    tests/sendToGPT.test.js@byte:14477-15399
    Confidence
    Medium confidence
    Code excerptlines 441-466, bytes 14477-15399
     describe('API Request Configuration', () => {\n test('should configure GPT-5 request correctly', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test data',
    prompt: 'Test prompt',
    gptModel: 'gpt-5-nano'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockFetch).toHaveBeenCalledWith('https://api.openai.com/v1/responses', {
    method: 'POST',
    head...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  26. test('should configure standard model request correctly', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test data', prompt: 'Test prompt', gptModel: 'gpt-4o' }; sendToGPT(dataObject, 'test-key'); expect(mockFetch).toHaveBeenCalledWith('https://api.openai.com/v1/chat/completions', { method: 'POST', ...
    Kind
    code
    Location
    lines 468-494, bytes 15406-16340
    Trace reference
    tests/sendToGPT.test.js@byte:15406-16340
    Confidence
    Medium confidence
    Code excerptlines 468-494, bytes 15406-16340
     test('should configure standard model request correctly', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test data',
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    sendToGPT(dataObject, 'test-key');
    expect(mockFetch).toHaveBeenCalledWith('https://api.openai.com/v1/chat/completions', {
    method: 'POST',
    ...\n });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  27. describe('Response Handling', () => { test('should handle successful GPT-5 response', async () => { mockFetch.mockResolvedValueOnce({ ok: true, text: () => Promise.resolve(JSON.stringify({ output: { content: { text: 'GPT-5 response content' } }, status: 'complete' })) }); const dataObject = { currentURL: 'https://example....
    Kind
    code
    Location
    lines 497-628, bytes 16351-20297
    Trace reference
    tests/sendToGPT.test.js@byte:16351-20297
    Confidence
    Medium confidence
    Code excerptlines 497-628, bytes 16351-20297
     describe('Response Handling', () => {
    test('should handle successful GPT-5 response', async () => {
    mockFetch.mockResolvedValueOnce({
    ok: true,
    text: () => Promise.resolve(JSON.stringify({
    output: { content: { text: 'GPT-5 response content' } },
    status: 'complete'
    }))
    });
    const dataObject = {
    currentURL: 'https://example....

    Analyzer messagetests/sendToGPT.test.js references test framework global describe

  28. test('should handle successful GPT-5 response', async () => { mockFetch.mockResolvedValueOnce({ ok: true, text: () => Promise.resolve(JSON.stringify({ output: { content: { text: 'GPT-5 response content' } }, status: 'complete' })) }); const dataObject = { currentURL: 'https://example.com', resultData: 'Test data', ...
    Kind
    code
    Location
    lines 498-521, bytes 16393-17140
    Trace reference
    tests/sendToGPT.test.js@byte:16393-17140
    Confidence
    Medium confidence
    Code excerptlines 498-521, bytes 16393-17140
     describe('Response Handling', () => {\n test('should handle successful GPT-5 response', async () => {
    mockFetch.mockResolvedValueOnce({
    ok: true,
    text: () => Promise.resolve(JSON.stringify({
    output: { content: { text: 'GPT-5 response content' } },
    status: 'complete'
    }))
    });
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test data',
    ...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  29. test('should handle successful standard model response', async () => { mockFetch.mockResolvedValueOnce({ ok: true, text: () => Promise.resolve(JSON.stringify({ choices: [{ message: { content: 'Standard model response' }, finish_reason: 'stop' }], usage: { total_tokens: 100 } })) }); const dataObjec...
    Kind
    code
    Location
    lines 523-549, bytes 17147-17974
    Trace reference
    tests/sendToGPT.test.js@byte:17147-17974
    Confidence
    Medium confidence
    Code excerptlines 523-549, bytes 17147-17974
     test('should handle successful standard model response', async () => {
    mockFetch.mockResolvedValueOnce({
    ok: true,
    text: () => Promise.resolve(JSON.stringify({
    choices: [{
    message: { content: 'Standard model response' },
    finish_reason: 'stop'
    }],
    usage: { total_tokens: 100 }
    }))
    });
    const dataObjec...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  30. test('should handle API error response', async () => { mockFetch.mockResolvedValueOnce({ ok: true, text: () => Promise.resolve(JSON.stringify({ error: { message: 'Invalid API key', type: 'authentication_error' } })) }); const dataObject = { currentURL: 'https://example.com', resultData: 'Test...
    Kind
    code
    Location
    lines 551-576, bytes 17981-18749
    Trace reference
    tests/sendToGPT.test.js@byte:17981-18749
    Confidence
    Medium confidence
    Code excerptlines 551-576, bytes 17981-18749
     test('should handle API error response', async () => {
    mockFetch.mockResolvedValueOnce({
    ok: true,
    text: () => Promise.resolve(JSON.stringify({
    error: {
    message: 'Invalid API key',
    type: 'authentication_error'
    }
    }))
    });
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  31. test('should handle truncated GPT-5 response', async () => { mockFetch.mockResolvedValueOnce({ ok: true, text: () => Promise.resolve(JSON.stringify({ output: { content: { text: 'Truncated response' } }, status: 'incomplete', incomplete_details: { reason: 'max_tokens' } })) }); const dataObject = { currentURL: 'htt...
    Kind
    code
    Location
    lines 578-601, bytes 18756-19532
    Trace reference
    tests/sendToGPT.test.js@byte:18756-19532
    Confidence
    Medium confidence
    Code excerptlines 578-601, bytes 18756-19532
     test('should handle truncated GPT-5 response', async () => {
    mockFetch.mockResolvedValueOnce({
    ok: true,
    text: () => Promise.resolve(JSON.stringify({
    output: { content: { text: 'Truncated response' } },
    status: 'incomplete',
    incomplete_details: { reason: 'max_tokens' }
    }))
    });
    const dataObject = {
    currentURL: 'htt...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  32. test('should handle truncated standard response', async () => { mockFetch.mockResolvedValueOnce({ ok: true, text: () => Promise.resolve(JSON.stringify({ choices: [{ message: { content: 'Truncated response' }, finish_reason: 'length' }] })) }); const dataObject = { currentURL: 'https://example.com', ...
    Kind
    code
    Location
    lines 603-627, bytes 19539-20291
    Trace reference
    tests/sendToGPT.test.js@byte:19539-20291
    Confidence
    Medium confidence
    Code excerptlines 603-627, bytes 19539-20291
     test('should handle truncated standard response', async () => {
    mockFetch.mockResolvedValueOnce({
    ok: true,
    text: () => Promise.resolve(JSON.stringify({
    choices: [{
    message: { content: 'Truncated response' },
    finish_reason: 'length'
    }]
    }))
    });
    const dataObject = {
    currentURL: 'https://example.com',
    ...\n });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  33. describe('Error Handling', () => { test('should handle exceptions and call catch block', () => { // Test that we have a try-catch block that handles errors const dataObject = { currentURL: 'https://example.com', resultData: null, // This will be caught by the null check first prompt: 'Test prompt', gptModel: 'gpt-4o' }; // This should ...
    Kind
    code
    Location
    lines 630-665, bytes 20302-21543
    Trace reference
    tests/sendToGPT.test.js@byte:20302-21543
    Confidence
    Medium confidence
    Code excerptlines 630-665, bytes 20302-21543
     describe('Error Handling', () => {
    test('should handle exceptions and call catch block', () => {
    // Test that we have a try-catch block that handles errors
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: null, // This will be caught by the null check first
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    // This should ...

    Analyzer messagetests/sendToGPT.test.js references test framework global describe

  34. test('should handle exceptions and call catch block', () => { // Test that we have a try-catch block that handles errors const dataObject = { currentURL: 'https://example.com', resultData: null, // This will be caught by the null check first prompt: 'Test prompt', gptModel: 'gpt-4o' }; // This should trigger the null data check, not an e...
    Kind
    code
    Location
    lines 631-646, bytes 20341-20973
    Trace reference
    tests/sendToGPT.test.js@byte:20341-20973
    Confidence
    Medium confidence
    Code excerptlines 631-646, bytes 20341-20973
     describe('Error Handling', () => {\n test('should handle exceptions and call catch block', () => {
    // Test that we have a try-catch block that handles errors
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: null, // This will be caught by the null check first
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    // This should trigger the null data check, not an e...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  35. test('should handle malformed cache JSON', () => { // Set invalid JSON in sessionStorage sessionStorage.setItem('invalid-json', 'not valid json'); const dataObject = { currentURL: 'https://example.com', resultData: 'Test data', prompt: 'Test prompt', gptModel: 'gpt-4o' }; // Should not throw error expect(() => sendToGP...
    Kind
    code
    Location
    lines 648-664, bytes 20980-21537
    Trace reference
    tests/sendToGPT.test.js@byte:20980-21537
    Confidence
    Medium confidence
    Code excerptlines 648-664, bytes 20980-21537
     test('should handle malformed cache JSON', () => {
    // Set invalid JSON in sessionStorage
    sessionStorage.setItem('invalid-json', 'not valid json');
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test data',
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    // Should not throw error
    expect(() => sendToGP...\n });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  36. describe('Data Sanitization', () => { test('should sanitize data properly', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test\ndata with tabs\tand\ttabs', prompt: 'Test prompt', gptModel: 'gpt-4o' }; sendToGPT(dataObject, 'test-key'); // Check that fetch was called expect(mockFetch).toHaveBeenCall...
    Kind
    code
    Location
    lines 667-715, bytes 21548-23473
    Trace reference
    tests/sendToGPT.test.js@byte:21548-23473
    Confidence
    Medium confidence
    Code excerptlines 667-715, bytes 21548-23473
     describe('Data Sanitization', () => {
    test('should sanitize data properly', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test\ndata with tabs\tand\ttabs',
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    sendToGPT(dataObject, 'test-key');
    // Check that fetch was called
    expect(mockFetch).toHaveBeenCall...\n});

    Analyzer messagetests/sendToGPT.test.js references test framework global describe

  37. test('should sanitize data properly', () => { const dataObject = { currentURL: 'https://example.com', resultData: 'Test\ndata with tabs\tand\ttabs', prompt: 'Test prompt', gptModel: 'gpt-4o' }; sendToGPT(dataObject, 'test-key'); // Check that fetch was called expect(mockFetch).toHaveBeenCalled(); if (mockFetch.mock.ca...
    Kind
    code
    Location
    lines 668-694, bytes 21590-22671
    Trace reference
    tests/sendToGPT.test.js@byte:21590-22671
    Confidence
    Medium confidence
    Code excerptlines 668-694, bytes 21590-22671
     describe('Data Sanitization', () => {\n test('should sanitize data properly', () => {
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Test\ndata with tabs\tand\ttabs',
    prompt: 'Test prompt',
    gptModel: 'gpt-4o'
    };
    sendToGPT(dataObject, 'test-key');
    // Check that fetch was called
    expect(mockFetch).toHaveBeenCalled();
    if (mockFetch.mock.ca...

    Analyzer messagetests/sendToGPT.test.js references test framework global test

  38. test('should preserve quotes and backslashes in flow data', () => { // flow filters/formulas often contain quotes and backslashes; building the // payload as plain objects + JSON.stringify must pass them through intact const dataObject = { currentURL: 'https://example.com', resultData: 'Filter: Name = "Acme \'HQ\'" AND Path = C:\\temp', prompt: 'Test p...
    Kind
    code
    Location
    lines 696-714, bytes 22678-23467
    Trace reference
    tests/sendToGPT.test.js@byte:22678-23467
    Confidence
    Medium confidence
    Code excerptlines 696-714, bytes 22678-23467
     test('should preserve quotes and backslashes in flow data', () => {
    // flow filters/formulas often contain quotes and backslashes; building the
    // payload as plain objects + JSON.stringify must pass them through intact
    const dataObject = {
    currentURL: 'https://example.com',
    resultData: 'Filter: Name = "Acme \'HQ\'" AND Path = C:\\temp',
    prompt: 'Test p...\n });

    Analyzer messagetests/sendToGPT.test.js references test framework global test

Severity
Medium
Occurrences
1 occurrence
  1. global.fetch = jest.fn(() => Promise.resolve({ ok: true, status: 200, text: () => Promise.resolve(''), json: () => Promise.resolve({}), }) );
    Kind
    code
    Location
    lines 31-38, bytes 657-802
    Trace reference
    tests/setup.js@byte:657-802
    Confidence
    Medium confidence
    Code excerptlines 31-38, bytes 657-802
    // Mock fetch\nglobal.fetch = jest.fn(() =>
    Promise.resolve({
    ok: true,
    status: 200,
    text: () => Promise.resolve(''),
    json: () => Promise.resolve({}),
    })
    );

    Analyzer messagetests/setup.js references test framework API jest.fn

Shipped source maps

Total byte savings5.65 MB
tests/node_modules/@ampproject/remapping/dist/remapping.mjs.mapByte savings17.4 KBHigh
tests/node_modules/@ampproject/remapping/dist/remapping.umd.js.mapByte savings17.6 KBHigh
tests/node_modules/@babel/code-frame/lib/index.js.mapByte savings23.8 KBHigh
tests/node_modules/@babel/core/lib/config/cache-contexts.js.mapByte savings932 BHigh
tests/node_modules/@babel/core/lib/config/caching.js.mapByte savings20.6 KBHigh
tests/node_modules/@babel/core/lib/config/config-chain.js.mapByte savings47.3 KBHigh
tests/node_modules/@babel/core/lib/config/config-descriptors.js.mapByte savings19.8 KBHigh
tests/node_modules/@babel/core/lib/config/files/configuration.js.mapByte savings22.6 KBHigh
tests/node_modules/@babel/core/lib/config/files/import.cjs.mapByte savings519 BHigh
tests/node_modules/@babel/core/lib/config/files/index-browser.js.mapByte savings4.6 KBHigh
tests/node_modules/@babel/core/lib/config/files/index.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/core/lib/config/files/module-types.js.mapByte savings17.5 KBHigh
tests/node_modules/@babel/core/lib/config/files/package.js.mapByte savings3.8 KBHigh
tests/node_modules/@babel/core/lib/config/files/plugins.js.mapByte savings17.4 KBHigh
tests/node_modules/@babel/core/lib/config/files/types.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/core/lib/config/files/utils.js.mapByte savings2.1 KBHigh
tests/node_modules/@babel/core/lib/config/full.js.mapByte savings27.9 KBHigh
tests/node_modules/@babel/core/lib/config/helpers/config-api.js.mapByte savings8.4 KBHigh
tests/node_modules/@babel/core/lib/config/helpers/deep-array.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/core/lib/config/helpers/environment.js.mapByte savings488 BHigh
tests/node_modules/@babel/core/lib/config/index.js.mapByte savings8.3 KBHigh
tests/node_modules/@babel/core/lib/config/item.js.mapByte savings6.2 KBHigh
tests/node_modules/@babel/core/lib/config/partial.js.mapByte savings12.9 KBHigh
tests/node_modules/@babel/core/lib/config/pattern-to-regex.js.mapByte savings3.2 KBHigh
tests/node_modules/@babel/core/lib/config/plugin.js.mapByte savings2.2 KBHigh
tests/node_modules/@babel/core/lib/config/printer.js.mapByte savings8.1 KBHigh
tests/node_modules/@babel/core/lib/config/resolve-targets-browser.js.mapByte savings2.4 KBHigh
tests/node_modules/@babel/core/lib/config/resolve-targets.js.mapByte savings3.4 KBHigh
tests/node_modules/@babel/core/lib/config/util.js.mapByte savings2.4 KBHigh
tests/node_modules/@babel/core/lib/config/validation/option-assertions.js.mapByte savings24.9 KBHigh
tests/node_modules/@babel/core/lib/config/validation/options.js.mapByte savings23.8 KBHigh
tests/node_modules/@babel/core/lib/config/validation/plugins.js.mapByte savings6.1 KBHigh
tests/node_modules/@babel/core/lib/config/validation/removed.js.mapByte savings3.9 KBHigh
tests/node_modules/@babel/core/lib/errors/config-error.js.mapByte savings861 BHigh
tests/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.mapByte savings10.3 KBHigh
tests/node_modules/@babel/core/lib/gensync-utils/async.js.mapByte savings7.3 KBHigh
tests/node_modules/@babel/core/lib/gensync-utils/fs.js.mapByte savings1.0 KBHigh
tests/node_modules/@babel/core/lib/gensync-utils/functional.js.mapByte savings3.0 KBHigh
tests/node_modules/@babel/core/lib/index.js.mapByte savings5.9 KBHigh
tests/node_modules/@babel/core/lib/parse.js.mapByte savings3.8 KBHigh
tests/node_modules/@babel/core/lib/parser/index.js.mapByte savings4.8 KBHigh
tests/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.mapByte savings20.8 KBHigh
tests/node_modules/@babel/core/lib/tools/build-external-helpers.js.mapByte savings11.3 KBHigh
tests/node_modules/@babel/core/lib/transform-ast.js.mapByte savings4.5 KBHigh
tests/node_modules/@babel/core/lib/transform-file-browser.js.mapByte savings1.6 KBHigh
tests/node_modules/@babel/core/lib/transform-file.js.mapByte savings3.2 KBHigh
tests/node_modules/@babel/core/lib/transform.js.mapByte savings4.0 KBHigh
tests/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.mapByte savings5.7 KBHigh
tests/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.mapByte savings578 BHigh
tests/node_modules/@babel/core/lib/transformation/file/file.js.mapByte savings16.3 KBHigh
tests/node_modules/@babel/core/lib/transformation/file/generate.js.mapByte savings5.2 KBHigh
tests/node_modules/@babel/core/lib/transformation/file/merge-map.js.mapByte savings3.5 KBHigh
tests/node_modules/@babel/core/lib/transformation/index.js.mapByte savings7.7 KBHigh
tests/node_modules/@babel/core/lib/transformation/normalize-file.js.mapByte savings8.4 KBHigh
tests/node_modules/@babel/core/lib/transformation/normalize-opts.js.mapByte savings3.6 KBHigh
tests/node_modules/@babel/core/lib/transformation/plugin-pass.js.mapByte savings3.6 KBHigh
tests/node_modules/@babel/core/lib/transformation/util/clone-deep.js.mapByte savings4.3 KBHigh
tests/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.mapByte savings110.0 KBHigh
tests/node_modules/@babel/generator/lib/buffer.js.mapByte savings26.4 KBHigh
tests/node_modules/@babel/generator/lib/generators/base.js.mapByte savings6.2 KBHigh
tests/node_modules/@babel/generator/lib/generators/classes.js.mapByte savings15.0 KBHigh
tests/node_modules/@babel/generator/lib/generators/deprecated.js.mapByte savings2.2 KBHigh
tests/node_modules/@babel/generator/lib/generators/expressions.js.mapByte savings18.9 KBHigh
tests/node_modules/@babel/generator/lib/generators/flow.js.mapByte savings38.8 KBHigh
tests/node_modules/@babel/generator/lib/generators/index.js.mapByte savings4.0 KBHigh
tests/node_modules/@babel/generator/lib/generators/jsx.js.mapByte savings7.4 KBHigh
tests/node_modules/@babel/generator/lib/generators/methods.js.mapByte savings15.6 KBHigh
tests/node_modules/@babel/generator/lib/generators/modules.js.mapByte savings20.0 KBHigh
tests/node_modules/@babel/generator/lib/generators/statements.js.mapByte savings17.7 KBHigh
tests/node_modules/@babel/generator/lib/generators/template-literals.js.mapByte savings3.2 KBHigh
tests/node_modules/@babel/generator/lib/generators/types.js.mapByte savings17.1 KBHigh
tests/node_modules/@babel/generator/lib/generators/typescript.js.mapByte savings45.4 KBHigh
tests/node_modules/@babel/generator/lib/index.js.mapByte savings14.1 KBHigh
tests/node_modules/@babel/generator/lib/node/index.js.mapByte savings9.3 KBHigh
tests/node_modules/@babel/generator/lib/node/parentheses.js.mapByte savings28.3 KBHigh
tests/node_modules/@babel/generator/lib/node/whitespace.js.mapByte savings13.9 KBHigh
tests/node_modules/@babel/generator/lib/printer.js.mapByte savings75.5 KBHigh
tests/node_modules/@babel/generator/lib/source-map.js.mapByte savings7.8 KBHigh
tests/node_modules/@babel/generator/lib/token-map.js.mapByte savings14.6 KBHigh
tests/node_modules/@babel/helper-compilation-targets/lib/debug.js.mapByte savings2.5 KBHigh
tests/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.mapByte savings5.8 KBHigh
tests/node_modules/@babel/helper-compilation-targets/lib/index.js.mapByte savings18.5 KBHigh
tests/node_modules/@babel/helper-compilation-targets/lib/options.js.mapByte savings956 BHigh
tests/node_modules/@babel/helper-compilation-targets/lib/pretty.js.mapByte savings2.2 KBHigh
tests/node_modules/@babel/helper-compilation-targets/lib/targets.js.mapByte savings1.4 KBHigh
tests/node_modules/@babel/helper-compilation-targets/lib/utils.js.mapByte savings4.6 KBHigh
tests/node_modules/@babel/helper-module-imports/lib/import-builder.js.mapByte savings10.1 KBHigh
tests/node_modules/@babel/helper-module-imports/lib/import-injector.js.mapByte savings31.2 KBHigh
tests/node_modules/@babel/helper-module-imports/lib/index.js.mapByte savings3.2 KBHigh
tests/node_modules/@babel/helper-module-imports/lib/is-module.js.mapByte savings523 BHigh
tests/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.mapByte savings4.0 KBHigh
tests/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.mapByte savings3.9 KBHigh
tests/node_modules/@babel/helper-module-transforms/lib/index.js.mapByte savings32.0 KBHigh
tests/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js.mapByte savings2.4 KBHigh
tests/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.mapByte savings35.0 KBHigh
tests/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.mapByte savings35.1 KBHigh
tests/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/helper-plugin-utils/lib/index.js.mapByte savings7.2 KBHigh
tests/node_modules/@babel/helper-string-parser/lib/index.js.mapByte savings21.8 KBHigh
tests/node_modules/@babel/helper-validator-identifier/lib/identifier.js.mapByte savings26.4 KBHigh
tests/node_modules/@babel/helper-validator-identifier/lib/index.js.mapByte savings505 BHigh
tests/node_modules/@babel/helper-validator-identifier/lib/keyword.js.mapByte savings3.8 KBHigh
tests/node_modules/@babel/helper-validator-option/lib/find-suggestion.js.mapByte savings2.7 KBHigh
tests/node_modules/@babel/helper-validator-option/lib/index.js.mapByte savings327 BHigh
tests/node_modules/@babel/helper-validator-option/lib/validator.js.mapByte savings4.0 KBHigh
tests/node_modules/@babel/helpers/lib/helpers-generated.js.mapByte savings174.9 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/AwaitValue.js.mapByte savings357 BHigh
tests/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.mapByte savings838 BHigh
tests/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js.mapByte savings2.7 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/applyDecs.js.mapByte savings36.4 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.mapByte savings27.6 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.mapByte savings28.6 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.mapByte savings32.2 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.mapByte savings25.2 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js.mapByte savings26.7 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js.mapByte savings803 BHigh
tests/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.mapByte savings408 BHigh
tests/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js.mapByte savings599 BHigh
tests/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js.mapByte savings889 BHigh
tests/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js.mapByte savings594 BHigh
tests/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.mapByte savings2.9 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.mapByte savings7.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js.mapByte savings3.8 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.mapByte savings538 BHigh
tests/node_modules/@babel/helpers/lib/helpers/callSuper.js.mapByte savings1.6 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.mapByte savings653 BHigh
tests/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js.mapByte savings685 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js.mapByte savings1.4 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js.mapByte savings610 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/classCallCheck.js.mapByte savings631 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js.mapByte savings708 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js.mapByte savings700 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js.mapByte savings630 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js.mapByte savings482 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js.mapByte savings977 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js.mapByte savings897 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js.mapByte savings663 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js.mapByte savings779 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js.mapByte savings776 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js.mapByte savings458 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js.mapByte savings961 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js.mapByte savings736 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js.mapByte savings687 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js.mapByte savings622 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js.mapByte savings717 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js.mapByte savings461 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js.mapByte savings760 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js.mapByte savings1.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js.mapByte savings1.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js.mapByte savings724 BHigh
tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js.mapByte savings444 BHigh
tests/node_modules/@babel/helpers/lib/helpers/construct.js.mapByte savings1.6 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/createClass.js.mapByte savings2.1 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js.mapByte savings4.8 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js.mapByte savings2.9 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/createSuper.js.mapByte savings1.8 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/decorate.js.mapByte savings34.9 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/defaults.js.mapByte savings1.4 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.mapByte savings824 BHigh
tests/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.mapByte savings2.1 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/defineProperty.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/dispose.js.mapByte savings2.9 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/extends.js.mapByte savings1.9 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/get.js.mapByte savings2.2 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js.mapByte savings991 BHigh
tests/node_modules/@babel/helpers/lib/helpers/identity.js.mapByte savings285 BHigh
tests/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.mapByte savings2.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/inherits.js.mapByte savings1.7 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js.mapByte savings836 BHigh
tests/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js.mapByte savings1.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js.mapByte savings709 BHigh
tests/node_modules/@babel/helpers/lib/helpers/instanceof.js.mapByte savings754 BHigh
tests/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js.mapByte savings469 BHigh
tests/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.mapByte savings3.0 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.mapByte savings813 BHigh
tests/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.mapByte savings1.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/iterableToArray.js.mapByte savings676 BHigh
tests/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.mapByte savings3.0 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/jsx.js.mapByte savings3.5 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js.mapByte savings517 BHigh
tests/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js.mapByte savings497 BHigh
tests/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js.mapByte savings498 BHigh
tests/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js.mapByte savings454 BHigh
tests/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js.mapByte savings522 BHigh
tests/node_modules/@babel/helpers/lib/helpers/objectSpread.js.mapByte savings2.2 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.mapByte savings3.7 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.mapByte savings2.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/readOnlyError.js.mapByte savings414 BHigh
tests/node_modules/@babel/helpers/lib/helpers/regenerator.js.mapByte savings19.4 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/regeneratorAsync.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncGen.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncIterator.js.mapByte savings5.5 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/regeneratorDefine.js.mapByte savings2.7 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/regeneratorKeys.js.mapByte savings1.8 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.mapByte savings8.8 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/regeneratorValues.js.mapByte savings1.7 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/set.js.mapByte savings3.7 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.mapByte savings1.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js.mapByte savings977 BHigh
tests/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js.mapByte savings576 BHigh
tests/node_modules/@babel/helpers/lib/helpers/slicedToArray.js.mapByte savings1.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/superPropBase.js.mapByte savings930 BHigh
tests/node_modules/@babel/helpers/lib/helpers/superPropGet.js.mapByte savings1.4 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/superPropSet.js.mapByte savings971 BHigh
tests/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js.mapByte savings896 BHigh
tests/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js.mapByte savings783 BHigh
tests/node_modules/@babel/helpers/lib/helpers/tdz.js.mapByte savings410 BHigh
tests/node_modules/@babel/helpers/lib/helpers/temporalRef.js.mapByte savings609 BHigh
tests/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js.mapByte savings422 BHigh
tests/node_modules/@babel/helpers/lib/helpers/toArray.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.mapByte savings1.3 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.mapByte savings684 BHigh
tests/node_modules/@babel/helpers/lib/helpers/toSetter.js.mapByte savings865 BHigh
tests/node_modules/@babel/helpers/lib/helpers/tsRewriteRelativeImportExtensions.js.mapByte savings1.4 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/typeof.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.mapByte savings2.2 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/using.js.mapByte savings1.8 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/usingCtx.js.mapByte savings8.0 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js.mapByte savings8.6 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js.mapByte savings3.0 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.mapByte savings7.7 KBHigh
tests/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js.mapByte savings413 BHigh
tests/node_modules/@babel/helpers/lib/index.js.mapByte savings9.6 KBHigh
tests/node_modules/@babel/parser/lib/index.js.mapByte savings1.42 MBHigh
tests/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.mapByte savings2.5 KBHigh
tests/node_modules/@babel/plugin-syntax-jsx/lib/index.js.mapByte savings1.4 KBHigh
tests/node_modules/@babel/plugin-syntax-typescript/lib/index.js.mapByte savings3.5 KBHigh
tests/node_modules/@babel/template/lib/builder.js.mapByte savings7.6 KBHigh
tests/node_modules/@babel/template/lib/formatters.js.mapByte savings4.0 KBHigh
tests/node_modules/@babel/template/lib/index.js.mapByte savings1.9 KBHigh
tests/node_modules/@babel/template/lib/literal.js.mapByte savings5.5 KBHigh
tests/node_modules/@babel/template/lib/options.js.mapByte savings7.0 KBHigh
tests/node_modules/@babel/template/lib/parse.js.mapByte savings11.5 KBHigh
tests/node_modules/@babel/template/lib/populate.js.mapByte savings9.9 KBHigh
tests/node_modules/@babel/template/lib/string.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/traverse/lib/cache.js.mapByte savings2.0 KBHigh
tests/node_modules/@babel/traverse/lib/context.js.mapByte savings9.1 KBHigh
tests/node_modules/@babel/traverse/lib/hub.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/traverse/lib/index.js.mapByte savings6.6 KBHigh
tests/node_modules/@babel/traverse/lib/path/ancestry.js.mapByte savings10.5 KBHigh
tests/node_modules/@babel/traverse/lib/path/comments.js.mapByte savings4.0 KBHigh
tests/node_modules/@babel/traverse/lib/path/context.js.mapByte savings17.6 KBHigh
tests/node_modules/@babel/traverse/lib/path/conversion.js.mapByte savings59.7 KBHigh
tests/node_modules/@babel/traverse/lib/path/evaluation.js.mapByte savings29.8 KBHigh
tests/node_modules/@babel/traverse/lib/path/family.js.mapByte savings32.3 KBHigh
tests/node_modules/@babel/traverse/lib/path/index.js.mapByte savings29.8 KBHigh
tests/node_modules/@babel/traverse/lib/path/inference/index.js.mapByte savings10.3 KBHigh
tests/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.mapByte savings13.3 KBHigh
tests/node_modules/@babel/traverse/lib/path/inference/inferers.js.mapByte savings13.6 KBHigh
tests/node_modules/@babel/traverse/lib/path/inference/util.js.mapByte savings1.6 KBHigh
tests/node_modules/@babel/traverse/lib/path/introspection.js.mapByte savings36.5 KBHigh
tests/node_modules/@babel/traverse/lib/path/lib/hoister.js.mapByte savings16.4 KBHigh
tests/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.mapByte savings4.7 KBHigh
tests/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.mapByte savings11.8 KBHigh
tests/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.mapByte savings3.9 KBHigh
tests/node_modules/@babel/traverse/lib/path/modification.js.mapByte savings23.5 KBHigh
tests/node_modules/@babel/traverse/lib/path/removal.js.mapByte savings4.4 KBHigh
tests/node_modules/@babel/traverse/lib/path/replacement.js.mapByte savings24.0 KBHigh
tests/node_modules/@babel/traverse/lib/scope/binding.js.mapByte savings5.8 KBHigh
tests/node_modules/@babel/traverse/lib/scope/index.js.mapByte savings86.1 KBHigh
tests/node_modules/@babel/traverse/lib/scope/lib/renamer.js.mapByte savings11.1 KBHigh
tests/node_modules/@babel/traverse/lib/traverse-node.js.mapByte savings11.3 KBHigh
tests/node_modules/@babel/traverse/lib/types.js.mapByte savings3.2 KBHigh
tests/node_modules/@babel/traverse/lib/visitors.js.mapByte savings23.4 KBHigh
tests/node_modules/@babel/types/lib/asserts/assertNode.js.mapByte savings842 BHigh
tests/node_modules/@babel/types/lib/asserts/generated/index.js.mapByte savings101.1 KBHigh
tests/node_modules/@babel/types/lib/ast-types/generated/index.js.mapByte savings224.3 KBHigh
tests/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.mapByte savings2.7 KBHigh
tests/node_modules/@babel/types/lib/builders/generated/index.js.mapByte savings6.8 KBHigh
tests/node_modules/@babel/types/lib/builders/generated/lowercase.js.mapByte savings202.6 KBHigh
tests/node_modules/@babel/types/lib/builders/generated/uppercase.js.mapByte savings36.7 KBHigh
tests/node_modules/@babel/types/lib/builders/productions.js.mapByte savings527 BHigh
tests/node_modules/@babel/types/lib/builders/react/buildChildren.js.mapByte savings1.8 KBHigh
tests/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.mapByte savings1.6 KBHigh
tests/node_modules/@babel/types/lib/builders/validateNode.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/types/lib/clone/clone.js.mapByte savings627 BHigh
tests/node_modules/@babel/types/lib/clone/cloneDeep.js.mapByte savings635 BHigh
tests/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.mapByte savings735 BHigh
tests/node_modules/@babel/types/lib/clone/cloneNode.js.mapByte savings9.1 KBHigh
tests/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.mapByte savings642 BHigh
tests/node_modules/@babel/types/lib/comments/addComment.js.mapByte savings898 BHigh
tests/node_modules/@babel/types/lib/comments/addComments.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/types/lib/comments/inheritInnerComments.js.mapByte savings576 BHigh
tests/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.mapByte savings586 BHigh
tests/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.mapByte savings590 BHigh
tests/node_modules/@babel/types/lib/comments/inheritsComments.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/types/lib/comments/removeComments.js.mapByte savings691 BHigh
tests/node_modules/@babel/types/lib/constants/generated/index.js.mapByte savings8.7 KBHigh
tests/node_modules/@babel/types/lib/constants/index.js.mapByte savings4.7 KBHigh
tests/node_modules/@babel/types/lib/converters/ensureBlock.js.mapByte savings1.0 KBHigh
tests/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.mapByte savings6.2 KBHigh
tests/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.mapByte savings673 BHigh
tests/node_modules/@babel/types/lib/converters/toBlock.js.mapByte savings1.7 KBHigh
tests/node_modules/@babel/types/lib/converters/toComputedKey.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/types/lib/converters/toExpression.js.mapByte savings2.5 KBHigh
tests/node_modules/@babel/types/lib/converters/toIdentifier.js.mapByte savings1.6 KBHigh
tests/node_modules/@babel/types/lib/converters/toKeyAlias.js.mapByte savings2.7 KBHigh
tests/node_modules/@babel/types/lib/converters/toSequenceExpression.js.mapByte savings1.8 KBHigh
tests/node_modules/@babel/types/lib/converters/toStatement.js.mapByte savings3.0 KBHigh
tests/node_modules/@babel/types/lib/converters/valueToNode.js.mapByte savings7.8 KBHigh
tests/node_modules/@babel/types/lib/definitions/core.js.mapByte savings122.8 KBHigh
tests/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.mapByte savings359 BHigh
tests/node_modules/@babel/types/lib/definitions/experimental.js.mapByte savings6.8 KBHigh
tests/node_modules/@babel/types/lib/definitions/flow.js.mapByte savings33.4 KBHigh
tests/node_modules/@babel/types/lib/definitions/index.js.mapByte savings2.7 KBHigh
tests/node_modules/@babel/types/lib/definitions/jsx.js.mapByte savings9.5 KBHigh
tests/node_modules/@babel/types/lib/definitions/misc.js.mapByte savings1.9 KBHigh
tests/node_modules/@babel/types/lib/definitions/placeholders.js.mapByte savings2.1 KBHigh
tests/node_modules/@babel/types/lib/definitions/typescript.js.mapByte savings38.9 KBHigh
tests/node_modules/@babel/types/lib/definitions/utils.js.mapByte savings22.5 KBHigh
tests/node_modules/@babel/types/lib/index.js.mapByte savings13.3 KBHigh
tests/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.mapByte savings5.0 KBHigh
tests/node_modules/@babel/types/lib/modifications/inherits.js.mapByte savings2.1 KBHigh
tests/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/types/lib/modifications/removeProperties.js.mapByte savings2.4 KBHigh
tests/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.mapByte savings803 BHigh
tests/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.mapByte savings5.5 KBHigh
tests/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.mapByte savings2.8 KBHigh
tests/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.mapByte savings9.0 KBHigh
tests/node_modules/@babel/types/lib/retrievers/getFunctionName.js.mapByte savings5.0 KBHigh
tests/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/types/lib/traverse/traverse.js.mapByte savings3.5 KBHigh
tests/node_modules/@babel/types/lib/traverse/traverseFast.js.mapByte savings2.8 KBHigh
tests/node_modules/@babel/types/lib/utils/deprecationWarning.js.mapByte savings3.2 KBHigh
tests/node_modules/@babel/types/lib/utils/inherit.js.mapByte savings890 BHigh
tests/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.mapByte savings2.8 KBHigh
tests/node_modules/@babel/types/lib/utils/shallowEqual.js.mapByte savings811 BHigh
tests/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/types/lib/validators/generated/index.js.mapByte savings203.5 KBHigh
tests/node_modules/@babel/types/lib/validators/is.js.mapByte savings3.0 KBHigh
tests/node_modules/@babel/types/lib/validators/isBinding.js.mapByte savings2.0 KBHigh
tests/node_modules/@babel/types/lib/validators/isBlockScoped.js.mapByte savings813 BHigh
tests/node_modules/@babel/types/lib/validators/isImmutable.js.mapByte savings1.1 KBHigh
tests/node_modules/@babel/types/lib/validators/isLet.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/types/lib/validators/isNode.js.mapByte savings534 BHigh
tests/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.mapByte savings3.5 KBHigh
tests/node_modules/@babel/types/lib/validators/isPlaceholderType.js.mapByte savings1.0 KBHigh
tests/node_modules/@babel/types/lib/validators/isReferenced.js.mapByte savings7.0 KBHigh
tests/node_modules/@babel/types/lib/validators/isScope.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.mapByte savings994 BHigh
tests/node_modules/@babel/types/lib/validators/isType.js.mapByte savings1.7 KBHigh
tests/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.mapByte savings1.5 KBHigh
tests/node_modules/@babel/types/lib/validators/isValidIdentifier.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/types/lib/validators/isVar.js.mapByte savings1.2 KBHigh
tests/node_modules/@babel/types/lib/validators/matchesPattern.js.mapByte savings3.9 KBHigh
tests/node_modules/@babel/types/lib/validators/react/isCompatTag.js.mapByte savings437 BHigh
tests/node_modules/@babel/types/lib/validators/react/isReactComponent.js.mapByte savings587 BHigh
tests/node_modules/@babel/types/lib/validators/validate.js.mapByte savings3.2 KBHigh
tests/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.mapByte savings5.9 KBHigh
tests/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.mapByte savings6.2 KBHigh
tests/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.mapByte savings14.3 KBHigh
tests/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.mapByte savings14.3 KBHigh
tests/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.mapByte savings9.6 KBHigh
tests/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.mapByte savings9.7 KBHigh
tests/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.mapByte savings11.4 KBHigh
tests/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.mapByte savings11.7 KBHigh
tests/node_modules/@tootallnate/once/dist/index.js.mapByte savings824 BHigh
tests/node_modules/@tootallnate/once/dist/overloaded-parameters.js.mapByte savings134 BHigh
tests/node_modules/@tootallnate/once/dist/types.js.mapByte savings102 BHigh
tests/node_modules/agent-base/dist/src/index.js.mapByte savings5.8 KBHigh
tests/node_modules/agent-base/dist/src/promisify.js.mapByte savings499 BHigh
tests/node_modules/entities/dist/commonjs/decode-codepoint.js.mapByte savings1.8 KBHigh
tests/node_modules/entities/dist/commonjs/decode.js.mapByte savings11.8 KBHigh
tests/node_modules/entities/dist/commonjs/encode.js.mapByte savings1.8 KBHigh
tests/node_modules/entities/dist/commonjs/escape.js.mapByte savings2.8 KBHigh
tests/node_modules/entities/dist/commonjs/generated/decode-data-html.js.mapByte savings340 BHigh
tests/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.mapByte savings332 BHigh
tests/node_modules/entities/dist/commonjs/generated/encode-html.js.mapByte savings48.2 KBHigh
tests/node_modules/entities/dist/commonjs/index.js.mapByte savings2.7 KBHigh
tests/node_modules/entities/dist/esm/decode-codepoint.js.mapByte savings1.8 KBHigh
tests/node_modules/entities/dist/esm/decode.js.mapByte savings11.9 KBHigh
tests/node_modules/entities/dist/esm/encode.js.mapByte savings1.9 KBHigh
tests/node_modules/entities/dist/esm/escape.js.mapByte savings2.9 KBHigh
tests/node_modules/entities/dist/esm/generated/decode-data-html.js.mapByte savings357 BHigh
tests/node_modules/entities/dist/esm/generated/decode-data-xml.js.mapByte savings349 BHigh
tests/node_modules/entities/dist/esm/generated/encode-html.js.mapByte savings48.2 KBHigh
tests/node_modules/entities/dist/esm/index.js.mapByte savings2.7 KBHigh
tests/node_modules/get-caller-file/index.js.mapByte savings773 BHigh
tests/node_modules/http-proxy-agent/dist/agent.js.mapByte savings3.8 KBHigh
tests/node_modules/http-proxy-agent/dist/index.js.mapByte savings359 BHigh
tests/node_modules/https-proxy-agent/dist/agent.js.mapByte savings4.4 KBHigh
tests/node_modules/https-proxy-agent/dist/index.js.mapByte savings362 BHigh
tests/node_modules/https-proxy-agent/dist/parse-proxy-response.js.mapByte savings1.9 KBHigh
tests/node_modules/human-signals/build/src/core.js.mapByte savings10.6 KBHigh
tests/node_modules/human-signals/build/src/main.js.mapByte savings4.0 KBHigh
tests/node_modules/human-signals/build/src/realtime.js.mapByte savings1.2 KBHigh
tests/node_modules/human-signals/build/src/signals.js.mapByte savings2.1 KBHigh
tests/node_modules/saxes/saxes.js.mapByte savings51.8 KBHigh
tests/node_modules/source-map/dist/source-map.min.js.mapByte savings257.4 KBHigh
tests/node_modules/sprintf-js/dist/angular-sprintf.min.js.mapByte savings429 BHigh
tests/node_modules/sprintf-js/dist/sprintf.min.js.mapByte savings4.4 KBHigh
tests/node_modules/url-parse/dist/url-parse.min.js.mapByte savings9.8 KBHigh
tests/node_modules/xmlchars/xml/1.0/ed4.js.mapByte savings1.4 KBHigh
tests/node_modules/xmlchars/xml/1.0/ed5.js.mapByte savings2.6 KBHigh
tests/node_modules/xmlchars/xml/1.1/ed2.js.mapByte savings3.4 KBHigh
tests/node_modules/xmlchars/xmlchars.js.mapByte savings3.1 KBHigh
tests/node_modules/xmlchars/xmlns/1.0/ed3.js.mapByte savings1.7 KBHigh

Console statements

Console logging in production can expose debugging output.

scripts/content.jsMedium

console.log

3 calls
  1. console.log( 'Flow Extension: subflow definitions unavailable', e )
  2. console.log( 'Flow Extension: run stats unavailable', e )
  3. console.log( anItem )
scripts/popup.jsMedium

console.log

2 calls
  1. console.log( `Data size (${ data.length } chars) requires upgrade to ${ model }` )
  2. console.log( 'Data truncated to fit model context window' )

console.error

2 calls
  1. console.error( 'Flow parsing failed:', e )
  2. console.error( e )
tests/node_modules/@babel/core/lib/config/config-chain.jsMedium

console.log

3 calls
  1. console.log(`Babel configs on "${context.filename}" (ascending priority):\n` + [configReport, babelR
  2. console.log(message)
  3. console.log(message)
tests/node_modules/@babel/parser/bin/babel-parser.jsMedium

console.log

1 call
  1. console.log(JSON.stringify(ast, null, " "))

console.error

1 call
  1. console.error("no filename specified")
tests/node_modules/@babel/traverse/lib/scope/index.jsMedium

console.log

3 calls
  1. console.log(sep)
  2. console.log("#", scope.block.type)
  3. console.log(sep)
tests/node_modules/@jest/core/build/runJest.jsMedium

console.log

2 calls
  1. console.log(JSON.stringify(testsPaths))
  2. console.log(testsPaths.join('\n'))
tests/node_modules/@sinonjs/commons/lib/deprecated.jsMedium

console.log

1 call
  1. console.log(msg)
tests/node_modules/acorn/dist/bin.jsMedium

console.log

1 call
  1. console.log(JSON.stringify(result, function (_, value) { return typeof value === "bigint" ? null : v

console.error

1 call
  1. console.error(fileMode ? e.message.replace(/\(\d+:\d+\)$/, function (m) { return m.slice(0, 1) + inp
tests/node_modules/babel-plugin-istanbul/lib/load-nyc-config-sync.jsMedium

console.log

2 calls
  1. console.log(JSON.stringify(await loadNycConfig({ cwd, nycrcPath })))
  2. console.log(JSON.stringify({ 'load-nyc-config-sync-error': error.message }))
tests/node_modules/braces/lib/compile.jsMedium

console.log

1 call
  1. console.log('node.isClose', prefix, node.value)
tests/node_modules/create-jest/build/runCreate.jsMedium

console.log

10 calls
  1. console.log()
  2. console.log('Aborting...')
  3. console.log()
  4. console.log( _chalk().default.underline( 'The following questions will help Jest to create
  5. console.log()
  6. console.log('Aborting...')
  7. console.log('')
  8. console.log( `✏️ Modified ${_chalk().default.cyan(projectPackageJsonPath)}` )
  9. console.log('')
  10. console.log( `📝 Configuration file created at ${_chalk().default.cyan(jestConfigPath)}` )

console.error

2 calls
  1. console.error(_chalk().default.red(error.stack))
  2. console.error(_chalk().default.red(error))
tests/node_modules/emittery/index.jsMedium

console.log

1 call
  1. console.log(`[${logTime}][emittery:${type}][${debugName}] Event Name: ${eventName}\n\tdata: ${eventD
tests/node_modules/escodegen/bin/escodegen.jsMedium

console.log

2 calls
  1. console.log(optionator.generateHelp())
  2. console.log(escodegen.generate(syntax, options))

console.error

1 call
  1. console.error('Error parsing config: ', err)
tests/node_modules/escodegen/bin/esgenerate.jsMedium

console.log

2 calls
  1. console.log(optionator.generateHelp())
  2. console.log(escodegen.generate(JSON.parse(content), options))

console.error

1 call
  1. console.error('Error parsing config: ', err)
tests/node_modules/esprima/bin/esparse.jsMedium

console.log

19 calls
  1. console.log('Usage:')
  2. console.log(' esparse [options] [file.js]')
  3. console.log()
  4. console.log('Available options:')
  5. console.log()
  6. console.log(' --comment Gather all line and block comments in an array')
  7. console.log(' --loc Include line-column location info for each syntax node')
  8. console.log(' --range Include index-based range for each syntax node')
  9. console.log(' --raw Display the raw value of literals')
  10. console.log(' --tokens List all tokens in an array')
  11. console.log(' --tolerant Tolerate errors on a best-effort basis (experimental)')
  12. console.log(' -v, --version Shows program version')
  13. console.log()
  14. console.log('Error: more than one input file.')
  15. console.log('ECMAScript Parser (using Esprima version', esprima.version, ')')
  16. console.log()
  17. console.log('Error: unknown option ' + entry + '.')
  18. console.log(JSON.stringify(syntax, adjustRegexLiteral, 4))
  19. console.log('Error: ' + e.message)
tests/node_modules/esprima/bin/esvalidate.jsMedium

console.log

27 calls
  1. console.log('Usage:')
  2. console.log(' esvalidate [options] [file.js...]')
  3. console.log()
  4. console.log('Available options:')
  5. console.log()
  6. console.log(' --format=type Set the report format, plain (default) or junit')
  7. console.log(' -v, --version Print program version')
  8. console.log()
  9. console.log('ECMAScript Validator (using Esprima version', esprima.version, ')')
  10. console.log()
  11. console.log('Error: unknown report format ' + options.format + '.')
  12. console.log('Error: unknown option ' + entry + '.')
  13. console.log('<?xml version="1.0" encoding="UTF-8"?>')
  14. console.log('<testsuites>')
  15. console.log('<testsuite name="' + fname + '" errors="0" ' + ' failures="' + syntax.e
  16. console.log(' <testcase name="Line ' + error.lineNumber + ': ' + msg + '" ' + '
  17. console.log(' <error type="SyntaxError" message="' + error.message + '">' + e
  18. console.log(' </testcase>')
  19. console.log('</testsuite>')
  20. console.log(msg)
  21. console.log('<testsuite name="' + fname + '" errors="1" failures="0" tests="1" ' + '
  22. console.log(' <testcase name="' + e.message + '" ' + ' time="0">')
  23. console.log(' <error type="ParseError" message="' + e.message + '">' + e.message + '
  24. console.log(' </testcase>')
  25. console.log('</testsuite>')
  26. console.log(fname + ':' + e.lineNumber + ': ' + e.message.replace(/^Line\ [0-9]*\:\ /, ''))
  27. console.log('</testsuites>')
tests/node_modules/fast-json-stable-stringify/example/key_cmp.jsMedium

console.log

1 call
  1. console.log(s)
tests/node_modules/fast-json-stable-stringify/example/nested.jsMedium

console.log

1 call
  1. console.log(stringify(obj))
tests/node_modules/fast-json-stable-stringify/example/str.jsMedium

console.log

1 call
  1. console.log(stringify(obj))
tests/node_modules/fast-json-stable-stringify/example/value_cmp.jsMedium

console.log

1 call
  1. console.log(s)
tests/node_modules/import-local/fixtures/cli.jsMedium

console.log

1 call
  1. console.log('local')
tests/node_modules/istanbul-lib-instrument/node_modules/semver/bin/semver.jsMedium

console.log

2 calls
  1. console.log(v)
  2. console.log( `SemVer ${version} A JavaScript implementation of the https://semver.org/ specificatio

console.error

1 call
  1. console.error('--inc can only be used on a single version with no range')
tests/node_modules/istanbul-reports/lib/html-spa/index.jsMedium

console.log

1 call
  1. console.log('Write asset: ' + dest)
tests/node_modules/istanbul-reports/lib/html/index.jsMedium

console.log

1 call
  1. console.log('Write asset: ' + dest)
tests/node_modules/jest-config/build/normalize.jsMedium

console.log

1 call
  1. console.log( _chalk().default.red( ` Invalid testPattern ${testPathPattern} supplied. ` +
tests/node_modules/jest-snapshot/node_modules/semver/bin/semver.jsMedium

console.log

2 calls
  1. console.log(v)
  2. console.log( `SemVer ${version} A JavaScript implementation of the https://semver.org/ specificatio

console.error

1 call
  1. console.error('--inc can only be used on a single version with no range')
tests/node_modules/js-yaml/bin/js-yaml.jsMedium

console.log

2 calls
  1. console.log(JSON.stringify(output, null, ' '))
  2. console.log(yaml.dump(output))

console.error

5 calls
  1. console.error('File not found: ' + options.file)
  2. console.error( options.trace && error.stack || error.message || String(error))
  3. console.error(e.stack)
  4. console.error(e.toString(options.compact))
  5. console.error( options.trace && err.stack || err.message || String(err))
tests/node_modules/json5/lib/cli.jsMedium

console.log

2 calls
  1. console.log(pkg.version)
  2. console.log( ` Usage: json5 [options] <file> If <file> is not provided, then STDIN is u

console.error

1 call
  1. console.error(err.message)
tests/node_modules/make-dir/node_modules/semver/bin/semver.jsMedium

console.log

2 calls
  1. console.log(v)
  2. console.log( `SemVer ${version} A JavaScript implementation of the https://semver.org/ specificatio

console.error

1 call
  1. console.error('--inc can only be used on a single version with no range')
tests/node_modules/nwsapi/src/nwsapi.jsMedium

console.log

1 call
  1. console.log(message)
tests/node_modules/psl/types/test.tsMedium

console.log

3 calls
  1. console.log(x(psl.parse('')))
  2. console.log(psl.get('example.com'))
  3. console.log(psl.isValid('example.com'))
tests/node_modules/resolve/example/async.jsMedium

console.log

1 call
  1. console.log(res)

console.error

1 call
  1. console.error(err)
tests/node_modules/resolve/example/sync.jsMedium

console.log

1 call
  1. console.log(res)
tests/node_modules/resolve/test/dotdot/abc/index.jsMedium

console.log

1 call
  1. console.log(x)
tests/node_modules/resolve/test/precedence/aaa/main.jsMedium

console.log

1 call
  1. console.log(require('./'))
tests/node_modules/resolve/test/precedence/bbb/main.jsMedium

console.log

1 call
  1. console.log(require('./'))
tests/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.jsMedium

console.log

1 call
  1. console.log(' * all monorepo paths successfully resolved through symlinks')
tests/node_modules/semver/bin/semver.jsMedium

console.log

2 calls
  1. console.log(v)
  2. console.log(['SemVer ' + version, '', 'A JavaScript implementation of the https://semver.org

console.error

1 call
  1. console.error('--inc can only be used on a single version with no range')
tests/sendToGPT.test.jsMedium

console.log

2 calls
  1. console.log(`Data size (${data.length} chars) requires upgrade from ${originalModel} to ${model}`)
  2. console.log('Data truncated to fit model context window')

console.error

1 call
  1. console.error('Fetch error:', error)
tests/node_modules/@babel/core/lib/config/files/module-types.jsMedium

console.error

1 call
  1. console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescr
tests/node_modules/@babel/generator/lib/index.jsMedium

console.error

1 call
  1. console.error("[BABEL] Note: The code generator has deoptimised the styling of " + `${opts.filename}
tests/node_modules/@jest/core/build/cli/index.jsMedium

console.error

1 call
  1. console.error(message)
tests/node_modules/@jest/core/build/getChangedFilesPromise.jsMedium

console.error

1 call
  1. console.error(_chalk().default.red(`\n\n${message}`))
tests/node_modules/@jest/reporters/build/CoverageReporter.jsMedium

console.error

2 calls
  1. console.error( _chalk().default.red(` Failed to write coverage reports: ERRO
  2. console.error( _chalk().default.red( [ `Failed to collect
tests/node_modules/@jest/reporters/build/CoverageWorker.jsMedium

console.error

1 call
  1. console.error(err.stack)
tests/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/src/visitor.jsMedium

console.error

2 calls
  1. console.error( 'Unable to insert counter for node type:', path.node.
  2. console.error( 'Unable to process function body node type:', path.no
tests/node_modules/fb-watchman/index.jsMedium

console.error

2 calls
  1. console.error('Watchman: ', error.message)
  2. console.error(data)
tests/node_modules/fs.realpath/old.jsMedium

console.error

1 call
  1. console.error(msg)

console.trace

1 call
  1. console.trace(msg)
tests/node_modules/graceful-fs/graceful-fs.jsMedium

console.error

1 call
  1. console.error(m)
tests/node_modules/iconv-lite/lib/index.jsMedium

console.error

2 calls
  1. console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/a
  2. console.error("iconv-lite warning: js files use non-utf8 encoding. See https://github.com/ashtuchkin
tests/node_modules/istanbul-lib-instrument/node_modules/semver/internal/debug.jsMedium

console.error

1 call
  1. console.error('SEMVER', ...args)
tests/node_modules/istanbul-lib-instrument/src/visitor.jsMedium

console.error

2 calls
  1. console.error( 'Unable to insert counter for node type:', path.node.
  2. console.error( 'Unable to process function body node type:', path.no
tests/node_modules/jest-cli/build/run.jsMedium

console.error

2 calls
  1. console.error(_chalk().default.red(error.stack))
  2. console.error(_chalk().default.red(error))

console.warn

1 call
  1. console.warn( `${_chalk().default.bold( 'Force exiting Jest: ' )}Have you
tests/node_modules/jest-runner/build/index.jsMedium

console.error

1 call
  1. console.error( _chalk().default.yellow( 'A worker process has failed to exit g
tests/node_modules/jest-runner/build/runTest.jsMedium

console.error

1 call
  1. console.error( `Test environment found at "${testEnvironment}" does not export a "getVmContext
tests/node_modules/jest-runner/build/testWorker.jsMedium

console.error

1 call
  1. console.error(err.stack)
tests/node_modules/jest-runtime/build/index.jsMedium

console.error

1 call
  1. console.error( `\n${message}\n${(0, _jestMessageUtil().formatStackTrace)( stack,
tests/node_modules/jest-snapshot/node_modules/semver/internal/debug.jsMedium

console.error

1 call
  1. console.error('SEMVER', ...args)
tests/node_modules/jest-worker/build/workers/ChildProcessWorker.jsMedium

console.error

2 calls
  1. console.error('Error looking for out of memory crash', err)
  2. console.error('Unable to check memory usage', err)

console.warn

2 calls
  1. console.warn('Unable to detect out of memory event if silent === false')
  2. console.warn( 'Memory usage of workers can only be checked if a limit is set' )
tests/node_modules/make-dir/node_modules/semver/internal/debug.jsMedium

console.error

1 call
  1. console.error('SEMVER', ...args)
tests/node_modules/source-map-support/source-map-support.jsMedium

console.error

3 calls
  1. console.error()
  2. console.error(source)
  3. console.error(error.stack)
tests/node_modules/@babel/code-frame/lib/index.jsMedium

console.warn

1 call
  1. console.warn(new Error(message))
tests/node_modules/@babel/generator/lib/generators/modules.jsMedium

console.warn

1 call
  1. console.warn(`\ You are using import attributes, without specifying the desired output syntax. Pleas
tests/node_modules/@babel/helper-compilation-targets/lib/index.jsMedium

console.warn

3 calls
  1. console.warn("Warning, the following targets are using a decimal version:\n")
  2. console.warn(` ${target}: ${value}`)
  3. console.warn(` We recommend using a string for minor/patch versions to avoid numbers like 6.10 getti
tests/node_modules/@babel/helpers/lib/helpers/applyDecs.jsMedium

console.warn

1 call
  1. console.warn(".initializer has been renamed to .init as of March 2022")
tests/node_modules/@babel/types/lib/index.jsMedium

console.warn

1 call
  1. console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-releas
tests/node_modules/@babel/types/lib/utils/deprecationWarning.jsMedium

console.warn

1 call
  1. console.warn(`${prefix}\`${oldName}\` has been deprecated, please migrate to \`${newName}\`\n${trace
tests/node_modules/@jest/transform/build/ScriptTransformer.jsMedium

console.warn

1 call
  1. console.warn( (0, _runtimeErrorsAndWarnings.makeInvalidSourceMapWarning)( file
tests/node_modules/@sinonjs/fake-timers/src/fake-timers-src.jsMedium

console.warn

1 call
  1. console.warn(msg)
tests/node_modules/acorn/dist/acorn.jsMedium

console.warn

1 call
  1. console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will
tests/node_modules/acorn/dist/acorn.mjsMedium

console.warn

1 call
  1. console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will
tests/node_modules/debug/src/common.jsMedium

console.warn

1 call
  1. console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will b
tests/node_modules/istanbul-reports/lib/lcovonly/index.jsMedium

console.warn

1 call
  1. console.warn('Missing coverage entries in', fileName, key)
tests/node_modules/jest-haste-map/build/crawlers/watchman.jsMedium

console.warn

1 call
  1. console.warn('watchman warning: ', response.warning)
tests/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.jsMedium

console.warn

2 calls
  1. console.warn('[sane] Warning: Lost connection to watchman, reconnecting..')
  2. console.warn(resp.warning)
tests/node_modules/jest-validate/build/utils.jsMedium

console.warn

1 call
  1. console.warn( _chalk().default.yellow( `${_chalk().default.bold(name)}:\n\n${message}${com
tests/node_modules/jest-worker/build/workers/NodeThreadsWorker.jsMedium

console.warn

1 call
  1. console.warn( 'Memory usage of workers can only be checked if a limit is set' )
tests/node_modules/json5/dist/index.jsMedium

console.warn

1 call
  1. console.warn(("JSON5: '" + (formatChar(c)) + "' in strings is not valid ECMAScript; consider escapin
tests/node_modules/json5/dist/index.min.mjsMedium

console.warn

1 call
  1. console.warn(`JSON5: '${formatChar(u)}' in strings is not valid ECMAScript; consider escaping`)
tests/node_modules/json5/dist/index.mjsMedium

console.warn

1 call
  1. console.warn(`JSON5: '${formatChar(c)}' in strings is not valid ECMAScript; consider escaping`)
tests/node_modules/json5/lib/parse.jsMedium

console.warn

1 call
  1. console.warn(`JSON5: '${formatChar(c)}' in strings is not valid ECMAScript; consider escaping`)
tests/node_modules/json5/lib/require.jsMedium

console.warn

1 call
  1. console.warn("'json5/require' is deprecated. Please use 'json5/register' instead.")
tests/node_modules/react-is/umd/react-is.development.jsMedium

console.warn

2 calls
  1. console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in Re
  2. console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed
tests/node_modules/xmlchars/xmlchars.jsMedium

console.warn

1 call
  1. console.warn("DEPRECATION WARNING: the xmlchar *module* is deprecated: please \ replace e.g. require
tests/node_modules/concat-map/example/map.jsMedium

console.dir

1 call
  1. console.dir(ys)

Shipped cleanup debt

Occurrences349 occurrences
tests/node_modules/@ampproject/remapping/dist/remapping.mjsLow

TODO

2 comments
  1. TODO: Eventually support sourceRoot, which has to be removed because the sources are already
  2. TODO: We should eventually support async loading of sourcemap files.
tests/node_modules/@ampproject/remapping/dist/remapping.umd.jsLow

TODO

2 comments
  1. TODO: Eventually support sourceRoot, which has to be removed because the sources are already
  2. TODO: We should eventually support async loading of sourcemap files.
tests/node_modules/@babel/compat-data/corejs2-built-ins.jsLow

TODO

1 comment
  1. Todo (Babel 8): remove this file as Babel 8 drop support of core-js 2
tests/node_modules/@babel/compat-data/corejs3-shipped-proposals.jsLow

TODO

1 comment
  1. Todo (Babel 8): remove this file now that it is included in babel-plugin-polyfill-corejs3
tests/node_modules/@babel/compat-data/native-modules.jsLow

TODO

1 comment
  1. Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
tests/node_modules/@babel/compat-data/overlapping-plugins.jsLow

TODO

1 comment
  1. Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
tests/node_modules/@babel/compat-data/plugin-bugfixes.jsLow

TODO

1 comment
  1. Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
tests/node_modules/@babel/compat-data/plugins.jsLow

TODO

1 comment
  1. Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
tests/node_modules/@babel/parser/typings/babel-parser.d.tsLow

TODO

1 comment
  1. todo(flow->ts) real token type
tests/node_modules/@bcoe/v8-coverage/dist/lib/_src/normalize.tsLow

TODO

1 comment
  1. Normalizes a function coverage. Sorts the ranges (pre-order sort). TODO: Tree-based normalization of the ranges. @param funcCov Function coverage to normalize.
tests/node_modules/@bcoe/v8-coverage/dist/lib/_src/range-tree.tsLow

TODO

1 comment
  1. TODO(perf): Binary search (check overhead)
tests/node_modules/@bcoe/v8-coverage/dist/lib/normalize.d.tsLow

TODO

1 comment
  1. Normalizes a function coverage. Sorts the ranges (pre-order sort). TODO: Tree-based normalization of the ranges. @param funcCov Function coverage to normalize.
tests/node_modules/@bcoe/v8-coverage/dist/lib/normalize.jsLow

TODO

1 comment
  1. Normalizes a function coverage. Sorts the ranges (pre-order sort). TODO: Tree-based normalization of the ranges. @param funcCov Function coverage to normalize.
tests/node_modules/@bcoe/v8-coverage/dist/lib/normalize.mjsLow

TODO

1 comment
  1. Normalizes a function coverage. Sorts the ranges (pre-order sort). TODO: Tree-based normalization of the ranges. @param funcCov Function coverage to normalize.
tests/node_modules/@bcoe/v8-coverage/dist/lib/range-tree.jsLow

TODO

1 comment
  1. TODO(perf): Binary search (check overhead)
tests/node_modules/@bcoe/v8-coverage/dist/lib/range-tree.mjsLow

TODO

1 comment
  1. TODO(perf): Binary search (check overhead)
tests/node_modules/@bcoe/v8-coverage/src/lib/normalize.tsLow

TODO

1 comment
  1. Normalizes a function coverage. Sorts the ranges (pre-order sort). TODO: Tree-based normalization of the ranges. @param funcCov Function coverage to normalize.
tests/node_modules/@bcoe/v8-coverage/src/lib/range-tree.tsLow

TODO

1 comment
  1. TODO(perf): Binary search (check overhead)
tests/node_modules/@jest/fake-timers/build/legacyFakeTimers.jsLow

TODO

1 comment
  1. TODO: Use performance.now() once it's mocked
tests/node_modules/@jest/reporters/build/generateEmptyCoverage.jsLow

TODO

1 comment
  1. TODO: consider passing AST
tests/node_modules/@jest/reporters/build/index.d.tsLow

TODO

1 comment
  1. Called before running a spec (prior to `before` hooks) Not called for `skipped` and `todo` specs
tests/node_modules/@jest/test-result/build/helpers.jsLow

TODO

1 comment
  1. `todos` are new as of Jest 24, and not all runners return it.
tests/node_modules/@jest/transform/build/ScriptTransformer.jsLow

TODO

1 comment
  1. TODO: do we need to define the generics twice?
tests/node_modules/@jridgewell/gen-mapping/src/gen-mapping.tsLow

TODO

1 comment
  1. TODO: implement originalScopes/generatedRanges
tests/node_modules/@types/babel__traverse/index.d.tsLow

XXX

2 comments
  1. #region ------------------------- isXXX -------------------------
  2. #region ------------------------- assertXXX -------------------------
tests/node_modules/@types/node/compatibility/iterators.d.tsLow

TODO

1 comment
  1. TODO: remove once this package no longer supports TS 5.5, and replace NodeJS.BuiltinIteratorReturn with BuiltinIteratorReturn.
tests/node_modules/@types/node/fs/promises.d.tsLow

TODO

1 comment
  1. TODO: Add `EventEmitter` close
tests/node_modules/@types/node/module.d.tsLow

TODO

1 comment
  1. TODO: consider removing in a future major version update
tests/node_modules/@types/node/perf_hooks.d.tsLow

TODO

1 comment
  1. TODO: Narrow this based on entry type.
tests/node_modules/@types/node/test.d.tsLow

TODO

8 comments
  1. Shorthand for marking a suite as `TODO`. This is the same as calling {@link suite} with `options.todo` set to `true`. @since v20.13.0
  2. Shorthand for marking a test as `TODO`. This is the same as calling {@link test} with `options.todo` set to `true`. @since v20.2.0
  3. Present if `context.todo` is called.
  4. Present if `context.todo` is called.
  5. Present if `context.todo` is called.
  6. The total number of TODO tests.
  7. This function adds a `TODO` directive to the test's output. If `message` is provided, it is included in the output. Calling `todo()` does not terminate execution of the test function. This function does not return a value. ```js test('top level test', (t) => { // This test is marked as `TODO` t.todo('this is a todo'); }); ``` @since v18.0.0, v16.17.0 @param message Optional `TODO` message.
  8. If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in the test results as the reason why the test is `TODO`. @default false
tests/node_modules/@types/node/timers.d.tsLow

TODO

1 comment
  1. TODO: remove in a future major version bump
tests/node_modules/@types/node/url.d.tsLow

HACK

1 comment
  1. The `url.parse()` method takes a URL string, parses it, and returns a URL object. A `TypeError` is thrown if `urlString` is not a string. A `URIError` is thrown if the `auth` property is present but cannot be decoded. `url.parse()` uses a lenient, non-standard algorithm for parsing URL strings. It is prone to security issues such as [host name spoofing](https://hackerone.com/reports/678487) and incorrect handling of usernames and passwords. Do not use with untrusted input. CVEs are not issued for `url.parse()` vulnerabilities. Use the `WHATWG URL` API instead. @since v0.1.25 @deprecated Use the WHATWG URL API instead. @param urlString The URL string to parse. @param [parseQueryString=false] If `true`, the `query` property will always be set to an object returned by the {@link querystring} module's `parse()` method. If `false`, the `query` property on the returned URL object will be an unparsed, undecoded string. @param [slashesDenoteHost=false] If `true`, the first token after the literal string `//` and preceding the next `/` will be interpreted as the `host`. For instance, given `//foo/bar`, the result would be `{host: 'foo', pathname: '/bar'}` rather than `{pathname: '//foo/bar'}`.
tests/node_modules/@types/node/util.d.tsLow

TODO

1 comment
  1. TODO: , inspect: inspect
tests/node_modules/@types/node/wasi.d.tsLow

TODO

3 comments
  1. TODO: avoid DOM dependency until WASM moved to own lib.
  2. TODO: avoid DOM dependency until WASM moved to own lib.
  3. TODO: Narrow to DOM types
tests/node_modules/@types/node/worker_threads.d.tsLow

TODO

1 comment
  1. TODO: remove in a future major @types/node version.
tests/node_modules/acorn/dist/acorn.jsLow

XXX

1 comment
  1. Identifier or keyword. '\uXXXX' sequences are allowed in
tests/node_modules/acorn/dist/acorn.mjsLow

XXX

1 comment
  1. Identifier or keyword. '\uXXXX' sequences are allowed in
tests/node_modules/agent-base/dist/src/index.jsLow

XXX

1 comment
  1. XXX: non-documented `http` module API :(
tests/node_modules/agent-base/src/index.tsLow

XXX

1 comment
  1. XXX: non-documented `http` module API :(
tests/node_modules/ansi-escapes/index.d.tsLow

TODO

1 comment
  1. TODO: remove this in the next major version
tests/node_modules/ansi-escapes/index.jsLow

TODO

1 comment
  1. TODO: remove this in the next major version
tests/node_modules/argparse/lib/help/formatter.jsLow

TODO

1 comment
  1. class HelpFormatter Formatter for generating usage messages and argument help strings. Only the name of this class is considered a public API. All the methods provided by the class are considered an implementation detail. Do not call in your code, use this class only for inherits your own forvatter ToDo add [additonal formatters][1] [1]:http://docs.python.org/dev/library/argparse.html#formatter-class
tests/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/src/constants.jsLow

TODO

1 comment
  1. TODO: increment this version if there are schema changes
tests/node_modules/call-bind-apply-helpers/index.jsLow

TODO

1 comment
  1. @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.')
tests/node_modules/callsites/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release, refactor the whole definition to:
tests/node_modules/callsites/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/camelcase/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release, refactor the whole definition to:
tests/node_modules/camelcase/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/cjs-module-lexer/lexer.jsLow

TODO

1 comment
  1. TODO: <!-- XML comment support
tests/node_modules/cliui/build/lib/string-utils.jsLow

TODO

1 comment
  1. TODO: look at porting https://www.npmjs.com/package/wrap-ansi to ESM.
tests/node_modules/cssom/lib/CSSDocumentRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssom/lib/CSSFontFaceRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssom/lib/CSSHostRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssom/lib/CSSKeyframeRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssom/lib/CSSKeyframesRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssom/lib/CSSRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssom/lib/CSSStyleDeclaration.jsLow

FIXME

3 comments
  1. FIXME
  2. FIXME
  3. FIXME
tests/node_modules/cssom/lib/CSSValue.jsLow

TODO

1 comment
  1. @constructor @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue TODO: add if needed
tests/node_modules/cssom/lib/parse.jsLow

FIXME

1 comment
  1. FIXME: what if this '{' is in the url text of the match function?
tests/node_modules/cssstyle/lib/CSSStyleDeclaration.jsLow

FIXME

3 comments
  1. FIXME
  2. FIXME
  3. FIXME
tests/node_modules/cssstyle/lib/CSSStyleDeclaration.test.jsLow

TODO

1 comment
  1. TODO - deprecated according to MDN and not implemented at all, can we remove?
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSDocumentRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSHostRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSMediaRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSRule.jsLow

FIXME

1 comment
  1. FIXME
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.jsLow

FIXME

3 comments
  1. FIXME
  2. FIXME
  3. FIXME
tests/node_modules/cssstyle/node_modules/cssom/lib/CSSValue.jsLow

TODO

1 comment
  1. @constructor @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue TODO: add if needed
tests/node_modules/cssstyle/node_modules/cssom/lib/parse.jsLow

FIXME

1 comment
  1. FIXME: what if this '{' is in the url text of the match function?
tests/node_modules/debug/src/browser.jsLow

TODO

1 comment
  1. Currently only WebKit-based Web Inspectors, Firefox >= v31, and the Firebug extension (any Firefox version) are known to support "%c" CSS customizations. TODO: add a `localStorage` variable to explicitly enable/disable colors

XXX

3 comments
  1. XXX (@Qix-) should we be logging these?
  2. XXX (@Qix-) should we be logging these?
  3. XXX (@Qix-) should we be logging these?
tests/node_modules/debug/src/common.jsLow

XXX

2 comments
  1. XXX Temporary. Will be removed in the next major release.
  2. XXX DO NOT USE. This is a temporary stub function. XXX It WILL be removed in the next major release.
tests/node_modules/decimal.js/decimal.jsLow

TODO

11 comments
  1. TODO? Compare Newton's method.
  2. TODO? Replace with for-loop and checkRoundingDigits.
  3. Return a new Decimal whose value is the hyperbolic cosine of the value in radians of this Decimal. Domain: [-Infinity, Infinity] Range: [1, Infinity] cosh(x) = 1 + x^2/2! + x^4/4! + x^6/6! + ... cosh(0) = 1 cosh(-0) = 1 cosh(Infinity) = Infinity cosh(-Infinity) = Infinity cosh(NaN) = NaN x time taken (ms) result 1000 9 9.8503555700852349694e+433 10000 25 4.4034091128314607936e+4342 100000 171 1.4033316802130615897e+43429 1000000 3817 1.5166076984010437725e+434294 10000000 abandoned after 2 minute wait TODO? Compare performance of cosh(x) = 0.5 * (exp(x) + exp(-x))
  4. TODO? Estimation reused from cosine() and may not be optimal here.
  5. Return a new Decimal whose value is the hyperbolic sine of the value in radians of this Decimal. Domain: [-Infinity, Infinity] Range: [-Infinity, Infinity] sinh(x) = x + x^3/3! + x^5/5! + x^7/7! + ... sinh(0) = 0 sinh(-0) = -0 sinh(Infinity) = Infinity sinh(-Infinity) = -Infinity sinh(NaN) = NaN x time taken (ms) 10 2 ms 100 5 ms 1000 14 ms 10000 82 ms 100000 886 ms 1.4033316802130615897e+43429 200000 2613 ms 300000 5407 ms 400000 8824 ms 500000 13026 ms 8.7080643612718084129e+217146 1000000 48543 ms TODO? Compare performance of sinh(x) = 0.5 * (exp(x) - exp(-x))
  6. TODO? Special case acos(0.5) = pi/3 and acos(-0.5) = 2*pi/3
  7. Return a new Decimal whose value is the arcsine (inverse sine) in radians of the value of this Decimal. Domain: [-Infinity, Infinity] Range: [-pi/2, pi/2] asin(x) = 2*atan(x/(1 + sqrt(1 - x^2))) asin(0) = 0 asin(-0) = -0 asin(1/2) = pi/6 asin(-1/2) = -pi/6 asin(1) = pi/2 asin(-1) = -pi/2 asin(|x| > 1) = NaN asin(NaN) = NaN TODO? Compare performance of Taylor series.
  8. TODO? Special case asin(1/2) = pi/6 and asin(-1/2) = -pi/6
  9. TODO? if (x >= 1 && pr <= PI_PRECISION) atan(x) = halfPi * x.s - atan(1 / x);
  10. TODO? Replace with for-loop and checkRoundingDigits.
  11. TODO BigInt str: no need to check for decimal point, exponential form or leading zeros.
tests/node_modules/decimal.js/decimal.mjsLow

TODO

11 comments
  1. TODO? Compare Newton's method.
  2. TODO? Replace with for-loop and checkRoundingDigits.
  3. Return a new Decimal whose value is the hyperbolic cosine of the value in radians of this Decimal. Domain: [-Infinity, Infinity] Range: [1, Infinity] cosh(x) = 1 + x^2/2! + x^4/4! + x^6/6! + ... cosh(0) = 1 cosh(-0) = 1 cosh(Infinity) = Infinity cosh(-Infinity) = Infinity cosh(NaN) = NaN x time taken (ms) result 1000 9 9.8503555700852349694e+433 10000 25 4.4034091128314607936e+4342 100000 171 1.4033316802130615897e+43429 1000000 3817 1.5166076984010437725e+434294 10000000 abandoned after 2 minute wait TODO? Compare performance of cosh(x) = 0.5 * (exp(x) + exp(-x))
  4. TODO? Estimation reused from cosine() and may not be optimal here.
  5. Return a new Decimal whose value is the hyperbolic sine of the value in radians of this Decimal. Domain: [-Infinity, Infinity] Range: [-Infinity, Infinity] sinh(x) = x + x^3/3! + x^5/5! + x^7/7! + ... sinh(0) = 0 sinh(-0) = -0 sinh(Infinity) = Infinity sinh(-Infinity) = -Infinity sinh(NaN) = NaN x time taken (ms) 10 2 ms 100 5 ms 1000 14 ms 10000 82 ms 100000 886 ms 1.4033316802130615897e+43429 200000 2613 ms 300000 5407 ms 400000 8824 ms 500000 13026 ms 8.7080643612718084129e+217146 1000000 48543 ms TODO? Compare performance of sinh(x) = 0.5 * (exp(x) - exp(-x))
  6. TODO? Special case acos(0.5) = pi/3 and acos(-0.5) = 2*pi/3
  7. Return a new Decimal whose value is the arcsine (inverse sine) in radians of the value of this Decimal. Domain: [-Infinity, Infinity] Range: [-pi/2, pi/2] asin(x) = 2*atan(x/(1 + sqrt(1 - x^2))) asin(0) = 0 asin(-0) = -0 asin(1/2) = pi/6 asin(-1/2) = -pi/6 asin(1) = pi/2 asin(-1) = -pi/2 asin(|x| > 1) = NaN asin(NaN) = NaN TODO? Compare performance of Taylor series.
  8. TODO? Special case asin(1/2) = pi/6 and asin(-1/2) = -pi/6
  9. TODO? if (x >= 1 && pr <= PI_PRECISION) atan(x) = halfPi * x.s - atan(1 / x);
  10. TODO? Replace with for-loop and checkRoundingDigits.
  11. TODO BigInt str: no need to check for decimal point, exponential form or leading zeros.
tests/node_modules/emittery/index.jsLow

TODO

1 comment
  1. TODO: Use https://github.com/sindresorhus/safe-stringify when the package is more mature. Just copy-paste the code.
tests/node_modules/execa/lib/stream.jsLow

TODO

1 comment
  1. @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0
tests/node_modules/expect/build/index.d.tsLow

TODO

1 comment
  1. TODO should be: extends Array<unknown> = []
tests/node_modules/form-data/lib/form_data.jsLow

TODO

1 comment
  1. TODO: Looks like there is bug in Node fs.createReadStream
tests/node_modules/glob/common.jsLow

TODO

1 comment
  1. TODO: is an absolute `cwd` supposed to be resolved against `root`?
tests/node_modules/glob/glob.jsLow

XXX

1 comment
  1. XXX review this. Shouldn't it be doing the mounting etc
tests/node_modules/glob/sync.jsLow

XXX

1 comment
  1. XXX review this. Shouldn't it be doing the mounting etc
tests/node_modules/https-proxy-agent/dist/agent.jsLow

HACK

1 comment
  1. See: https://hackerone.com/reports/541502
tests/node_modules/iconv-lite/encodings/dbcs-codec.jsLow

TODO

3 comments
  1. TODO: What if we have no default? (resCode == undefined)
  2. See todo above.
  3. TODO: Callback with seq.
tests/node_modules/iconv-lite/encodings/dbcs-data.jsLow

TODO

3 comments
  1. TODO: KDDI extension to Shift_JIS
  2. TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes.
  3. TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars.

XXX

2 comments
  1. Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx)
  2. many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years.
tests/node_modules/inflight/inflight.jsLow

XXX

1 comment
  1. XXX It's somewhat ambiguous whether a new callback added in this
tests/node_modules/is-generator-fn/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release, refactor the whole definition to:
tests/node_modules/is-generator-fn/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/istanbul-lib-instrument/node_modules/semver/classes/range.jsLow

TODO

1 comment
  1. TODO build?
tests/node_modules/istanbul-lib-instrument/node_modules/semver/preload.jsLow

XXX

1 comment
  1. XXX remove in v8 or beyond
tests/node_modules/istanbul-lib-instrument/src/constants.jsLow

TODO

1 comment
  1. TODO: increment this version if there are schema changes
tests/node_modules/istanbul-lib-report/lib/report-base.jsLow

TODO

1 comment
  1. TODO: switch to class private field when targetting node.js 12
tests/node_modules/jest-changed-files/build/git.jsLow

TODO

1 comment
  1. TODO: Should we keep the original `message`?
tests/node_modules/jest-changed-files/build/hg.jsLow

TODO

1 comment
  1. TODO: Should we keep the original `message`?
tests/node_modules/jest-changed-files/build/sl.jsLow

TODO

1 comment
  1. TODO: Should we keep the original `message`?
tests/node_modules/jest-config/build/normalize.jsLow

TODO

1 comment
  1. TODO: Type this properly
tests/node_modules/jest-diff/build/cleanupSemantic.jsLow

XXX

4 comments
  1. e.g: <del>abcxxx</del><ins>xxxdef</ins>
  2. -> <del>abc</del>xxx<ins>def</ins>
  3. e.g: <del>xxxabc</del><ins>defxxx</ins>
  4. -> <ins>def</ins>xxx<del>abc</del>
tests/node_modules/jest-environment-jsdom/build/index.jsLow

TODO

1 comment
  1. TODO: remove this ASAP, but it currently causes tests to run really slow
tests/node_modules/jest-message-util/build/index.jsLow

TODO

1 comment
  1. TODO: check & read HasteFS instead of reading the filesystem:
tests/node_modules/jest-mock/build/index.jsLow

TODO

3 comments
  1. TODO remove re-export in Jest 30
  2. TODO remove re-export in Jest 30
  3. TODO in Jest 30 remove `SpyInstance` in favour of `Spied`
tests/node_modules/jest-runner/build/index.jsLow

TODO

1 comment
  1. TODO: Get appropriate type for `onCustomMessage`
tests/node_modules/jest-runtime/build/index.jsLow

TODO

8 comments
  1. TODO: make mandatory in Jest 30
  2. TODO: will this work on windows? It might be better if `shouldInstrument` deals with it anyways
  3. TODO: consider warning somehow that this does nothing. We should support deletions, anyways
  4. TODO: remove this check in Jest 30
  5. TODO: remove this check in Jest 30
  6. TODO: remove this check in Jest 30
  7. TODO: remove this check in Jest 30
  8. TODO: remove this check in Jest 30
tests/node_modules/jest-snapshot/build/InlineSnapshots.jsLow

HACK

1 comment
  1. A hack to prevent unexpected line breaks in the generated code
tests/node_modules/jest-snapshot/node_modules/semver/classes/range.jsLow

TODO

1 comment
  1. TODO build?
tests/node_modules/jest-snapshot/node_modules/semver/preload.jsLow

XXX

1 comment
  1. XXX remove in v8 or beyond
tests/node_modules/jest-validate/node_modules/camelcase/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/jest-worker/build/workers/ChildProcessWorker.jsLow

TODO

2 comments
  1. TODO: Add appropriate type check
  2. TODO: At some point it would make sense to make use of
tests/node_modules/jest-worker/build/workers/NodeThreadsWorker.jsLow

TODO

1 comment
  1. TODO: At some point it would make sense to make use of
tests/node_modules/js-yaml/dist/js-yaml.jsLow

HACK

2 comments
  1. Quick hack to not allow integers end with `_`
  2. while YAML requres dot: 5.e-100. Fix it with simple hack

TODO

2 comments
  1. TODO: rework to inline fn with no type cast?
  2. TODO: Add tag format check.
tests/node_modules/js-yaml/lib/js-yaml/loader.jsLow

TODO

1 comment
  1. TODO: rework to inline fn with no type cast?
tests/node_modules/js-yaml/lib/js-yaml/type.jsLow

TODO

1 comment
  1. TODO: Add tag format check.
tests/node_modules/js-yaml/lib/js-yaml/type/float.jsLow

HACK

2 comments
  1. Quick hack to not allow integers end with `_`
  2. while YAML requres dot: 5.e-100. Fix it with simple hack
tests/node_modules/jsdom/lib/api.jsLow

TODO

1 comment
  1. TODO NEWAPI move _cookieJar to window probably
tests/node_modules/jsdom/lib/jsdom/browser/Window.jsLow

TODO

3 comments
  1. TODO: implement timer nesting level behavior.
  2. TODO: Parse pseudoElt
  3. ### PUBLIC DATA PROPERTIES (TODO: should be getters)
tests/node_modules/jsdom/lib/jsdom/browser/parser/html.jsLow

TODO

1 comment
  1. TODO: the rest of jsdom ignores this
tests/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.jsLow

TODO

1 comment
  1. TODO This deviates from the spec when it comes to
tests/node_modules/jsdom/lib/jsdom/level2/style.jsLow

TODO

1 comment
  1. TODO
tests/node_modules/jsdom/lib/jsdom/level3/xpath.jsLow

TODO

17 comments
  1. TODO: not really needed, but supposedly tokenizer also disambiguates
  2. TODO
  3. ************************************************************************* Optimizations (TODO) * *************************************************************************
  4. TODO
  5. TODO: use optimization. Also try element.getElementsByTagName
  6. TODO: figure out whether positions should be undefined here.
  7. TODO: with namespace
  8. TODO: I think this check is unnecessary
  9. TODO
  10. TODO: namespaced version
  11. TODO
  12. TODO
  13. TODO: don't generate '/' nodes, just Axis nodes.
  14. TODO: give option
  15. TODO: is copy needed?
  16. TODO
  17. TODO: we removed mutation events but didn't take care of this. No tests fail, so that's nice, but eventually we
tests/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.jsLow

TODO

1 comment
  1. TODO: somehow set URL to active document's URL
tests/node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.jsLow

TODO

2 comments
  1. TODO: we don't implement BeforeUnloadEvent so we can't brand-check here
  2. TODO: Consider replacing this with `[ReflectEvent]`
tests/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.jsLow

TODO

3 comments
  1. TODO: using parseFloatingPointNumber in addition to isValidFloatingPointNumber to pass number.html WPT.
  2. TODO: using parseFloatingPointNumber in addition to isValidFloatingPointNumber to pass number.html WPT.
  3. TODO: The spec describes an imperative process for assigning/resetting an element's form
tests/node_modules/jsdom/lib/jsdom/living/helpers/http-request.jsLow

TODO

1 comment
  1. TODO: investigate this further and ideally remove
tests/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.jsLow

TODO

1 comment
  1. TODO: the many underscore-prefixed hooks should move here
tests/node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.jsLow

TODO

1 comment
  1. user-visible global scope with a _getTheParent value. TODO: remove this entire function and use _getTheParent
tests/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.jsLow

TODO

5 comments
  1. TODO: this should really implement https://html.spec.whatwg.org/multipage/links.html#link-type-stylesheet
  2. TODO: "Set the CSS style sheet’s parent CSS style sheet, owner node and owner CSS rule to null."
  3. TODO: title and disabled stuff
  4. TODO: MIME type checking?
  5. TODO this is actually really messed up and overwrites the sheet on elementImpl
tests/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.jsLow

TODO

1 comment
  1. TODO: revisit if https://github.com/jsdom/webidl2js/pull/108 gets fixed.
tests/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.jsLow

HACK

1 comment
  1. hack for script execution

TODO

1 comment
  1. TODO: each style and link element should register its sheet on creation
tests/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.jsLow

TODO

3 comments
  1. TODO: Correctly check if the document is fully active
  2. TODO: Create new browsing context, handle noopener
  3. TODO: Handle hyperlink suffix and referrerpolicy
tests/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.jsLow

TODO

1 comment
  1. TODO: handle crossorigin
tests/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.jsLow

TODO

3 comments
  1. TODO crossorigin="" or type=""
  2. TODO: refactor into general link-fetching like the spec.
  3. TODO handle crossorigin="", nonce, integrity="", referrerpolicy=""
tests/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.jsLow

TODO

1 comment
  1. TODO this should be [Reflect]able if we added default value support to webidl2js's [Reflect]
tests/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.jsLow

HACK

1 comment
  1. In our current terribly-hacky document.write() implementation, we parse in a div them move elements into the main

TODO

3 comments
  1. TODO: this text check doesn't seem completely the same as the spec, which e.g. will try to execute scripts with
  2. TODO: implement modules, and then change the check to `type === null`.
  3. TODO: implement nomodule here, **but only after we support modules**.
tests/node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.jsLow

TODO

1 comment
  1. TODO: <symbol>/<use> may make this different from ownerSVGElement.
tests/node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.jsLow

TODO

1 comment
  1. TODO: optimize with _ids caching trick; see Document class.
tests/node_modules/jsdom/lib/jsdom/living/post-message.jsLow

TODO

6 comments
  1. TODO: Fix me
  2. TODO: targetOrigin === '/' - requires reference to source window
  3. TODO: event.source - requires reference to source window
  4. TODO: event.origin - requires reference to source window
  5. TODO: event.ports
  6. TODO: event.data - structured clone message - requires cloning DOM nodes
tests/node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.jsLow

TODO

1 comment
  1. TODO: Emit "selectionchange" event. At this time, there is currently no test in WPT covering this.
tests/node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.jsLow

TODO

5 comments
  1. TODO: support non-DOMString lists.
  2. TODO: clone non-DOMString list elements.
  3. TODO: clone non-DOMString list elements.
  4. TODO: clone non-DOMString list elements.
  5. TODO: clone non-DOMString list elements.
tests/node_modules/jsdom/lib/jsdom/living/window/History-impl.jsLow

TODO

3 comments
  1. TODO structured clone data
  2. TODO: If the current entry in the session history represents a non-GET request
  3. TODO clone again!! O_o
tests/node_modules/jsdom/lib/jsdom/living/window/SessionHistory.jsLow

TODO

2 comments
  1. TODO: unload the active document with the recycle parameter set to false
  2. TODO structured clone
tests/node_modules/jsdom/lib/jsdom/living/window/navigation.jsLow

TODO

1 comment
  1. TODO:
tests/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.jsLow

TODO

5 comments
  1. TODO: handle encoding
  2. TODO: handling "constructing entry list"
  3. TODO: Handle <input type="image">
  4. TODO: handle form-associated custom elements.
  5. TODO: formdata event
tests/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.jsLow

TODO

1 comment
  1. TODO: Add support for URLSearchParams and ReadableStream
tests/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.jsLow

TODO

1 comment
  1. TODO: remove this when we fix EventTargetImpl to use this._globalObject directly instead of using _ownerDocument.
tests/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.jsLow

TODO

2 comments
  1. TODO this should become "resource loading" when XHR goes through resource loader
  2. TODO: implement https://html.spec.whatwg.org/#multipart-form-data
tests/node_modules/jsdom/lib/jsdom/utils.jsLow

TODO

1 comment
  1. TODO: remove once Node v16 is the minimum version.
tests/node_modules/jsdom/lib/jsdom/vm-shim.jsLow

TODO

1 comment
  1. TODO: This should probably use a symbol
tests/node_modules/leven/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release, refactor the whole definition to:
tests/node_modules/leven/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/make-dir/node_modules/semver/classes/range.jsLow

TODO

1 comment
  1. TODO build?
tests/node_modules/make-dir/node_modules/semver/preload.jsLow

XXX

1 comment
  1. XXX remove in v8 or beyond
tests/node_modules/mime-types/index.jsLow

TODO

4 comments
  1. TODO: use media-typer
  2. TODO: should this even be in this module?
  3. TODO: use content-type or other module
  4. TODO: use media-typer
tests/node_modules/mimic-fn/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release, refactor the whole definition to:
tests/node_modules/mimic-fn/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/minimatch/minimatch.jsLow

HACK

1 comment
  1. Hack to work around lack of negative lookbehind in JS

TODO

1 comment
  1. TODO: It would probably be faster to determine this

XXX

1 comment
  1. XXX remove this slice. Just pass the start index.
tests/node_modules/npm-run-path/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/npm-run-path/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/nwsapi/src/modules/nwsapi-traversal.jsLow

TODO

1 comment
  1. TODO: all of this needs tests
tests/node_modules/onetime/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/onetime/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/p-locate/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release, refactor the whole definition to:
tests/node_modules/p-locate/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/p-try/index.d.tsLow

TODO

1 comment
  1. TODO: remove this in the next major version, refactor the whole definition to:
tests/node_modules/p-try/index.jsLow

TODO

1 comment
  1. TODO: remove this in the next major version
tests/node_modules/path-key/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release, refactor the whole definition to:
tests/node_modules/path-key/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/pkg-dir/index.d.tsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/pkg-dir/index.jsLow

TODO

1 comment
  1. TODO: Remove this for the next major release
tests/node_modules/prompts/dist/elements/date.jsLow

TODO

2 comments
  1. Day // TODO
  2. AM/PM // TODO (special)
tests/node_modules/prompts/dist/util/action.jsLow

TODO

2 comments
  1. TODO create home() in prompt types (e.g. TextPrompt)
  2. TODO create end() in prompt types (e.g. TextPrompt)
tests/node_modules/prompts/lib/elements/date.jsLow

TODO

2 comments
  1. Day // TODO
  2. AM/PM // TODO (special)
tests/node_modules/prompts/lib/util/action.jsLow

TODO

2 comments
  1. TODO create home() in prompt types (e.g. TextPrompt)
  2. TODO create end() in prompt types (e.g. TextPrompt)
tests/node_modules/psl/index.jsLow

TODO

1 comment
  1. TODO: Simply remove trailing dot?
tests/node_modules/source-map/dist/source-map.debug.jsLow

XXX

1 comment
  1. XXX: file:// URIs and absolute paths lead to unexpected behavior for
tests/node_modules/source-map/dist/source-map.jsLow

XXX

1 comment
  1. XXX: file:// URIs and absolute paths lead to unexpected behavior for
tests/node_modules/source-map/lib/source-map-consumer.jsLow

XXX

1 comment
  1. XXX: file:// URIs and absolute paths lead to unexpected behavior for
tests/node_modules/string-width/index.d.tsLow

TODO

1 comment
  1. TODO: remove this in the next major version, refactor the whole definition to:
tests/node_modules/string-width/index.jsLow

TODO

1 comment
  1. TODO: remove this in the next major version
tests/node_modules/tr46/index.jsLow

TODO

1 comment
  1. TODO: make this more efficient
tests/node_modules/type-fest/source/basic.d.tsLow

TODO

2 comments
  1. TODO: This can just be `export type Primitive = not object` when the `not` keyword is out.
  2. TODO: Remove the `= unknown` sometime in the future when most users are on TS 3.5 as it's now the default
tests/node_modules/type-fest/source/require-exactly-one.d.tsLow

TODO

1 comment
  1. TODO: Remove this when we target TypeScript >=3.5.
tests/node_modules/undici-types/cache-interceptor.d.tsLow

TODO

1 comment
  1. TODO docs @default 'shared'
tests/node_modules/undici-types/client.d.tsLow

TODO

8 comments
  1. TODO
  2. TODO
  3. TODO
  4. TODO
  5. TODO
  6. TODO
  7. TODO
  8. TODO
tests/node_modules/undici-types/h2c-client.d.tsLow

TODO

7 comments
  1. TODO
  2. TODO
  3. TODO
  4. TODO
  5. TODO
  6. TODO
  7. TODO
tests/node_modules/undici-types/webidl.d.tsLow

TODO

1 comment
  1. TODO(@KhafraDev): a type could likely be implemented that can infer the return type
tests/node_modules/v8-to-istanbul/lib/v8-to-istanbul.jsLow

TODO

3 comments
  1. TODO: investigate whether there's ever a case where we hit this logic with 1:many sources.
  2. TODO: investigate whether there's ever a case where we hit this logic with 1:many sources.
  3. TODO: could we move the resolving logic for 1:1 source maps to the final
tests/node_modules/w3c-xmlserializer/lib/attributes.jsLow

TODO

1 comment
  1. TODO: Check well-formedness
tests/node_modules/whatwg-url/lib/URL-impl.jsLow

HACK

1 comment
  1. question mark by default. Therefore the doNotStripQMark hack is used.
tests/node_modules/whatwg-url/lib/percent-encoding.jsLow

TODO

1 comment
  1. Assuming encoding is always utf-8 allows us to trim one of the logic branches. TODO: support encoding.
tests/node_modules/whatwg-url/lib/url-state-machine.jsLow

TODO

4 comments
  1. TODO: If c is not a URL code point and not "%", parse error.
  2. TODO: Add: not a URL code point
  3. TODO: If c is not a URL code point and not "%", parse error.
  4. TODO: If c is not a URL code point and not "%", parse error.
tests/node_modules/whatwg-url/lib/urlencoded.jsLow

TODO

2 comments
  1. TODO "get the output encoding", i.e. handle encoding labels vs. names.
  2. TODO: handle encoding override
tests/node_modules/ws/lib/validation.jsLow

XXX

4 comments
  1. 0xxxxxxx
  2. 110xxxxx 10xxxxxx
  3. 1110xxxx 10xxxxxx 10xxxxxx
  4. 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
tests/node_modules/yargs-parser/browser.jsLow

TODO

1 comment
  1. TODO: figure out reasonable web equivalents for "resolve", "normalize", etc.
tests/node_modules/yargs-parser/build/lib/index.jsLow

TODO

1 comment
  1. TODO: figure out a way to combine ESM and CJS coverage, such that
tests/node_modules/yargs-parser/build/lib/yargs-parser.jsLow

TODO

4 comments
  1. TODO(bcoe): for the first pass at removing object prototype we didn't
  2. TODO(bcoe): in the next major version of yargs, switch to
  3. TODO(bcoe): in the next major version of yargs, switch to
  4. TODO(bcoe): in the next major version of yargs, switch to
tests/node_modules/yargs/lib/platform-shims/browser.mjsLow

TODO

1 comment
  1. TODO: replace this with y18n once it's ported to ESM:
tests/node_modules/yargs/yargs.mjsLow

TODO

1 comment
  1. TODO: consolidate on using a helpers file at some point in the future, which
tests/node_modules/yocto-queue/index.jsLow

TODO

2 comments
  1. TODO: Remove this when targeting Node.js 12.
  2. TODO: Use private class fields when targeting Node.js 12.

Minify shipped HTML

Total byte savings2.6 KB
popup.htmlFile artifactByte savings1.6 KBLow
tests/coverage/lcov-report/index.htmlFile artifactByte savings896 BLow
tests/node_modules/sprintf-js/demo/angular.htmlFile artifactByte savings71 BLow

Minify shipped SVG

Total byte savings97 B
tests/node_modules/psl/browserstack-logo.svgFile artifactByte savings97 BLow

Sourcemap Comment Leaks

  • tests/node_modules/@ampproject/remapping/dist/remapping.mjsremapping.mjs.map
  • tests/node_modules/@ampproject/remapping/dist/remapping.umd.jsremapping.umd.js.map
  • tests/node_modules/@babel/code-frame/lib/index.jsindex.js.map
  • tests/node_modules/@babel/core/lib/config/cache-contexts.jscache-contexts.js.map
  • tests/node_modules/@babel/core/lib/config/caching.jscaching.js.map
  • tests/node_modules/@babel/core/lib/config/config-chain.jsconfig-chain.js.map
  • tests/node_modules/@babel/core/lib/config/config-descriptors.jsconfig-descriptors.js.map
  • tests/node_modules/@babel/core/lib/config/files/configuration.jsconfiguration.js.map
  • tests/node_modules/@babel/core/lib/config/files/index-browser.jsindex-browser.js.map
  • tests/node_modules/@babel/core/lib/config/files/index.jsindex.js.map
  • tests/node_modules/@babel/core/lib/config/files/module-types.jsmodule-types.js.map
  • tests/node_modules/@babel/core/lib/config/files/package.jspackage.js.map
  • tests/node_modules/@babel/core/lib/config/files/plugins.jsplugins.js.map
  • tests/node_modules/@babel/core/lib/config/files/types.jstypes.js.map
  • tests/node_modules/@babel/core/lib/config/files/utils.jsutils.js.map
  • tests/node_modules/@babel/core/lib/config/full.jsfull.js.map
  • tests/node_modules/@babel/core/lib/config/helpers/config-api.jsconfig-api.js.map
  • tests/node_modules/@babel/core/lib/config/helpers/deep-array.jsdeep-array.js.map
  • tests/node_modules/@babel/core/lib/config/helpers/environment.jsenvironment.js.map
  • tests/node_modules/@babel/core/lib/config/index.jsindex.js.map
  • tests/node_modules/@babel/core/lib/config/item.jsitem.js.map
  • tests/node_modules/@babel/core/lib/config/partial.jspartial.js.map
  • tests/node_modules/@babel/core/lib/config/pattern-to-regex.jspattern-to-regex.js.map
  • tests/node_modules/@babel/core/lib/config/plugin.jsplugin.js.map
  • tests/node_modules/@babel/core/lib/config/printer.jsprinter.js.map
  • tests/node_modules/@babel/core/lib/config/resolve-targets-browser.jsresolve-targets-browser.js.map
  • tests/node_modules/@babel/core/lib/config/resolve-targets.jsresolve-targets.js.map
  • tests/node_modules/@babel/core/lib/config/util.jsutil.js.map
  • tests/node_modules/@babel/core/lib/config/validation/option-assertions.jsoption-assertions.js.map
  • tests/node_modules/@babel/core/lib/config/validation/options.jsoptions.js.map
  • tests/node_modules/@babel/core/lib/config/validation/plugins.jsplugins.js.map
  • tests/node_modules/@babel/core/lib/config/validation/removed.jsremoved.js.map
  • tests/node_modules/@babel/core/lib/errors/config-error.jsconfig-error.js.map
  • tests/node_modules/@babel/core/lib/errors/rewrite-stack-trace.jsrewrite-stack-trace.js.map
  • tests/node_modules/@babel/core/lib/gensync-utils/async.jsasync.js.map
  • tests/node_modules/@babel/core/lib/gensync-utils/fs.jsfs.js.map
  • tests/node_modules/@babel/core/lib/gensync-utils/functional.jsfunctional.js.map
  • tests/node_modules/@babel/core/lib/index.jsindex.js.map
  • tests/node_modules/@babel/core/lib/parse.jsparse.js.map
  • tests/node_modules/@babel/core/lib/parser/index.jsindex.js.map
  • tests/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.jsmissing-plugin-helper.js.map
  • tests/node_modules/@babel/core/lib/tools/build-external-helpers.jsbuild-external-helpers.js.map
  • tests/node_modules/@babel/core/lib/transform-ast.jstransform-ast.js.map
  • tests/node_modules/@babel/core/lib/transform-file-browser.jstransform-file-browser.js.map
  • tests/node_modules/@babel/core/lib/transform-file.jstransform-file.js.map
  • tests/node_modules/@babel/core/lib/transform.jstransform.js.map
  • tests/node_modules/@babel/core/lib/transformation/block-hoist-plugin.jsblock-hoist-plugin.js.map
  • tests/node_modules/@babel/core/lib/transformation/file/file.jsfile.js.map
  • tests/node_modules/@babel/core/lib/transformation/file/generate.jsgenerate.js.map
  • tests/node_modules/@babel/core/lib/transformation/file/merge-map.jsmerge-map.js.map
  • tests/node_modules/@babel/core/lib/transformation/index.jsindex.js.map
  • tests/node_modules/@babel/core/lib/transformation/normalize-file.jsnormalize-file.js.map
  • tests/node_modules/@babel/core/lib/transformation/normalize-opts.jsnormalize-opts.js.map
  • tests/node_modules/@babel/core/lib/transformation/plugin-pass.jsplugin-pass.js.map
  • tests/node_modules/@babel/core/lib/transformation/util/clone-deep.jsclone-deep.js.map
  • tests/node_modules/@babel/core/lib/vendor/import-meta-resolve.jsimport-meta-resolve.js.map
  • tests/node_modules/@babel/generator/lib/buffer.jsbuffer.js.map
  • tests/node_modules/@babel/generator/lib/generators/base.jsbase.js.map
  • tests/node_modules/@babel/generator/lib/generators/classes.jsclasses.js.map
  • tests/node_modules/@babel/generator/lib/generators/deprecated.jsdeprecated.js.map
  • tests/node_modules/@babel/generator/lib/generators/expressions.jsexpressions.js.map
  • tests/node_modules/@babel/generator/lib/generators/flow.jsflow.js.map
  • tests/node_modules/@babel/generator/lib/generators/index.jsindex.js.map
  • tests/node_modules/@babel/generator/lib/generators/jsx.jsjsx.js.map
  • tests/node_modules/@babel/generator/lib/generators/methods.jsmethods.js.map
  • tests/node_modules/@babel/generator/lib/generators/modules.jsmodules.js.map
  • tests/node_modules/@babel/generator/lib/generators/statements.jsstatements.js.map
  • tests/node_modules/@babel/generator/lib/generators/template-literals.jstemplate-literals.js.map
  • tests/node_modules/@babel/generator/lib/generators/types.jstypes.js.map
  • tests/node_modules/@babel/generator/lib/generators/typescript.jstypescript.js.map
  • tests/node_modules/@babel/generator/lib/index.jsindex.js.map
  • tests/node_modules/@babel/generator/lib/node/index.jsindex.js.map
  • tests/node_modules/@babel/generator/lib/node/parentheses.jsparentheses.js.map
  • tests/node_modules/@babel/generator/lib/node/whitespace.jswhitespace.js.map
  • tests/node_modules/@babel/generator/lib/printer.jsprinter.js.map
  • tests/node_modules/@babel/generator/lib/source-map.jssource-map.js.map
  • tests/node_modules/@babel/generator/lib/token-map.jstoken-map.js.map
  • tests/node_modules/@babel/helper-compilation-targets/lib/debug.jsdebug.js.map
  • tests/node_modules/@babel/helper-compilation-targets/lib/filter-items.jsfilter-items.js.map
  • tests/node_modules/@babel/helper-compilation-targets/lib/index.jsindex.js.map
  • tests/node_modules/@babel/helper-compilation-targets/lib/options.jsoptions.js.map
  • tests/node_modules/@babel/helper-compilation-targets/lib/pretty.jspretty.js.map
  • tests/node_modules/@babel/helper-compilation-targets/lib/targets.jstargets.js.map
  • tests/node_modules/@babel/helper-compilation-targets/lib/utils.jsutils.js.map
  • tests/node_modules/@babel/helper-module-imports/lib/import-builder.jsimport-builder.js.map
  • tests/node_modules/@babel/helper-module-imports/lib/import-injector.jsimport-injector.js.map
  • tests/node_modules/@babel/helper-module-imports/lib/index.jsindex.js.map
  • tests/node_modules/@babel/helper-module-imports/lib/is-module.jsis-module.js.map
  • tests/node_modules/@babel/helper-module-transforms/lib/dynamic-import.jsdynamic-import.js.map
  • tests/node_modules/@babel/helper-module-transforms/lib/get-module-name.jsget-module-name.js.map
  • tests/node_modules/@babel/helper-module-transforms/lib/index.jsindex.js.map
  • tests/node_modules/@babel/helper-module-transforms/lib/lazy-modules.jslazy-modules.js.map
  • tests/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.jsnormalize-and-load-metadata.js.map
  • tests/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.jsrewrite-live-references.js.map
  • tests/node_modules/@babel/helper-module-transforms/lib/rewrite-this.jsrewrite-this.js.map
  • tests/node_modules/@babel/helper-plugin-utils/lib/index.jsindex.js.map
  • tests/node_modules/@babel/helper-string-parser/lib/index.jsindex.js.map
  • tests/node_modules/@babel/helper-validator-identifier/lib/identifier.jsidentifier.js.map
  • tests/node_modules/@babel/helper-validator-identifier/lib/index.jsindex.js.map
  • tests/node_modules/@babel/helper-validator-identifier/lib/keyword.jskeyword.js.map
  • tests/node_modules/@babel/helper-validator-option/lib/find-suggestion.jsfind-suggestion.js.map
  • tests/node_modules/@babel/helper-validator-option/lib/index.jsindex.js.map
  • tests/node_modules/@babel/helper-validator-option/lib/validator.jsvalidator.js.map
  • tests/node_modules/@babel/helpers/lib/helpers-generated.jshelpers-generated.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/AwaitValue.jsAwaitValue.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/OverloadYield.jsOverloadYield.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.jsapplyDecoratedDescriptor.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/applyDecs.jsapplyDecs.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/applyDecs2203.jsapplyDecs2203.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.jsapplyDecs2203R.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/applyDecs2301.jsapplyDecs2301.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/applyDecs2305.jsapplyDecs2305.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/applyDecs2311.jsapplyDecs2311.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.jsarrayLikeToArray.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.jsarrayWithHoles.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.jsarrayWithoutHoles.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/assertClassBrand.jsassertClassBrand.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.jsassertThisInitialized.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.jsasyncGeneratorDelegate.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/asyncIterator.jsasyncIterator.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.jsasyncToGenerator.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.jsawaitAsyncGenerator.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/callSuper.jscallSuper.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/checkInRHS.jscheckInRHS.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.jscheckPrivateRedeclaration.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.jsclassApplyDescriptorDestructureSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.jsclassApplyDescriptorGet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.jsclassApplyDescriptorSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classCallCheck.jsclassCallCheck.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.jsclassCheckPrivateStaticAccess.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.jsclassCheckPrivateStaticFieldDescriptor.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.jsclassExtractFieldDescriptor.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classNameTDZError.jsclassNameTDZError.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.jsclassPrivateFieldDestructureSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.jsclassPrivateFieldGet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.jsclassPrivateFieldGet2.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.jsclassPrivateFieldInitSpec.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.jsclassPrivateFieldLooseBase.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.jsclassPrivateFieldLooseKey.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.jsclassPrivateFieldSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.jsclassPrivateFieldSet2.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.jsclassPrivateGetter.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.jsclassPrivateMethodGet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.jsclassPrivateMethodInitSpec.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.jsclassPrivateMethodSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.jsclassPrivateSetter.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.jsclassStaticPrivateFieldDestructureSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.jsclassStaticPrivateFieldSpecGet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.jsclassStaticPrivateFieldSpecSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.jsclassStaticPrivateMethodGet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.jsclassStaticPrivateMethodSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/construct.jsconstruct.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/createClass.jscreateClass.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.jscreateForOfIteratorHelper.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.jscreateForOfIteratorHelperLoose.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/createSuper.jscreateSuper.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/decorate.jsdecorate.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/defaults.jsdefaults.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/defineAccessor.jsdefineAccessor.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.jsdefineEnumerableProperties.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/defineProperty.jsdefineProperty.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/dispose.jsdispose.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/extends.jsextends.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/get.jsget.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.jsgetPrototypeOf.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/identity.jsidentity.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/importDeferProxy.jsimportDeferProxy.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/inherits.jsinherits.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/inheritsLoose.jsinheritsLoose.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.jsinitializerDefineProperty.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.jsinitializerWarningHelper.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/instanceof.jsinstanceof.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.jsinteropRequireDefault.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.jsinteropRequireWildcard.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/isNativeFunction.jsisNativeFunction.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.jsisNativeReflectConstruct.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/iterableToArray.jsiterableToArray.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.jsiterableToArrayLimit.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/jsx.jsjsx.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.jsmaybeArrayLike.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/newArrowCheck.jsnewArrowCheck.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/nonIterableRest.jsnonIterableRest.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.jsnonIterableSpread.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.jsnullishReceiverError.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.jsobjectDestructuringEmpty.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/objectSpread.jsobjectSpread.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/objectSpread2.jsobjectSpread2.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.jsobjectWithoutProperties.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.jsobjectWithoutPropertiesLoose.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.jspossibleConstructorReturn.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/readOnlyError.jsreadOnlyError.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/regenerator.jsregenerator.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/regeneratorAsync.jsregeneratorAsync.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncGen.jsregeneratorAsyncGen.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncIterator.jsregeneratorAsyncIterator.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/regeneratorDefine.jsregeneratorDefine.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/regeneratorKeys.jsregeneratorKeys.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.jsregeneratorRuntime.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/regeneratorValues.jsregeneratorValues.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/set.jsset.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/setFunctionName.jssetFunctionName.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.jssetPrototypeOf.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.jsskipFirstGeneratorNext.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/slicedToArray.jsslicedToArray.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/superPropBase.jssuperPropBase.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/superPropGet.jssuperPropGet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/superPropSet.jssuperPropSet.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.jstaggedTemplateLiteral.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.jstaggedTemplateLiteralLoose.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/tdz.jstdz.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/temporalRef.jstemporalRef.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/temporalUndefined.jstemporalUndefined.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/toArray.jstoArray.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/toConsumableArray.jstoConsumableArray.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/toPrimitive.jstoPrimitive.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/toPropertyKey.jstoPropertyKey.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/toSetter.jstoSetter.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/tsRewriteRelativeImportExtensions.jstsRewriteRelativeImportExtensions.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/typeof.jstypeof.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.jsunsupportedIterableToArray.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/using.jsusing.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/usingCtx.jsusingCtx.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.jswrapAsyncGenerator.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.jswrapNativeSuper.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/wrapRegExp.jswrapRegExp.js.map
  • tests/node_modules/@babel/helpers/lib/helpers/writeOnlyError.jswriteOnlyError.js.map
  • tests/node_modules/@babel/helpers/lib/index.jsindex.js.map
  • tests/node_modules/@babel/parser/lib/index.jsindex.js.map
  • tests/node_modules/@babel/plugin-syntax-import-attributes/lib/index.jsindex.js.map
  • tests/node_modules/@babel/plugin-syntax-jsx/lib/index.jsindex.js.map
  • tests/node_modules/@babel/plugin-syntax-typescript/lib/index.jsindex.js.map
  • tests/node_modules/@babel/template/lib/builder.jsbuilder.js.map
  • tests/node_modules/@babel/template/lib/formatters.jsformatters.js.map
  • tests/node_modules/@babel/template/lib/index.jsindex.js.map
  • tests/node_modules/@babel/template/lib/literal.jsliteral.js.map
  • tests/node_modules/@babel/template/lib/options.jsoptions.js.map
  • tests/node_modules/@babel/template/lib/parse.jsparse.js.map
  • tests/node_modules/@babel/template/lib/populate.jspopulate.js.map
  • tests/node_modules/@babel/template/lib/string.jsstring.js.map
  • tests/node_modules/@babel/traverse/lib/cache.jscache.js.map
  • tests/node_modules/@babel/traverse/lib/context.jscontext.js.map
  • tests/node_modules/@babel/traverse/lib/hub.jshub.js.map
  • tests/node_modules/@babel/traverse/lib/index.jsindex.js.map
  • tests/node_modules/@babel/traverse/lib/path/ancestry.jsancestry.js.map
  • tests/node_modules/@babel/traverse/lib/path/comments.jscomments.js.map
  • tests/node_modules/@babel/traverse/lib/path/context.jscontext.js.map
  • tests/node_modules/@babel/traverse/lib/path/conversion.jsconversion.js.map
  • tests/node_modules/@babel/traverse/lib/path/evaluation.jsevaluation.js.map
  • tests/node_modules/@babel/traverse/lib/path/family.jsfamily.js.map
  • tests/node_modules/@babel/traverse/lib/path/index.jsindex.js.map
  • tests/node_modules/@babel/traverse/lib/path/inference/index.jsindex.js.map
  • tests/node_modules/@babel/traverse/lib/path/inference/inferer-reference.jsinferer-reference.js.map
  • tests/node_modules/@babel/traverse/lib/path/inference/inferers.jsinferers.js.map
  • tests/node_modules/@babel/traverse/lib/path/inference/util.jsutil.js.map
  • tests/node_modules/@babel/traverse/lib/path/introspection.jsintrospection.js.map
  • tests/node_modules/@babel/traverse/lib/path/lib/hoister.jshoister.js.map
  • tests/node_modules/@babel/traverse/lib/path/lib/removal-hooks.jsremoval-hooks.js.map
  • tests/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.jsvirtual-types-validator.js.map
  • tests/node_modules/@babel/traverse/lib/path/lib/virtual-types.jsvirtual-types.js.map
  • tests/node_modules/@babel/traverse/lib/path/modification.jsmodification.js.map
  • tests/node_modules/@babel/traverse/lib/path/removal.jsremoval.js.map
  • tests/node_modules/@babel/traverse/lib/path/replacement.jsreplacement.js.map
  • tests/node_modules/@babel/traverse/lib/scope/binding.jsbinding.js.map
  • tests/node_modules/@babel/traverse/lib/scope/index.jsindex.js.map
  • tests/node_modules/@babel/traverse/lib/scope/lib/renamer.jsrenamer.js.map
  • tests/node_modules/@babel/traverse/lib/traverse-node.jstraverse-node.js.map
  • tests/node_modules/@babel/traverse/lib/types.jstypes.js.map
  • tests/node_modules/@babel/traverse/lib/visitors.jsvisitors.js.map
  • tests/node_modules/@babel/types/lib/asserts/assertNode.jsassertNode.js.map
  • tests/node_modules/@babel/types/lib/asserts/generated/index.jsindex.js.map
  • tests/node_modules/@babel/types/lib/ast-types/generated/index.jsindex.js.map
  • tests/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.jscreateFlowUnionType.js.map
  • tests/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.jscreateTypeAnnotationBasedOnTypeof.js.map
  • tests/node_modules/@babel/types/lib/builders/generated/index.jsindex.js.map
  • tests/node_modules/@babel/types/lib/builders/generated/lowercase.jslowercase.js.map
  • tests/node_modules/@babel/types/lib/builders/generated/uppercase.jsuppercase.js.map
  • tests/node_modules/@babel/types/lib/builders/productions.jsproductions.js.map
  • tests/node_modules/@babel/types/lib/builders/react/buildChildren.jsbuildChildren.js.map
  • tests/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.jscreateTSUnionType.js.map
  • tests/node_modules/@babel/types/lib/builders/validateNode.jsvalidateNode.js.map
  • tests/node_modules/@babel/types/lib/clone/clone.jsclone.js.map
  • tests/node_modules/@babel/types/lib/clone/cloneDeep.jscloneDeep.js.map
  • tests/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.jscloneDeepWithoutLoc.js.map
  • tests/node_modules/@babel/types/lib/clone/cloneNode.jscloneNode.js.map
  • tests/node_modules/@babel/types/lib/clone/cloneWithoutLoc.jscloneWithoutLoc.js.map
  • tests/node_modules/@babel/types/lib/comments/addComment.jsaddComment.js.map
  • tests/node_modules/@babel/types/lib/comments/addComments.jsaddComments.js.map
  • tests/node_modules/@babel/types/lib/comments/inheritInnerComments.jsinheritInnerComments.js.map
  • tests/node_modules/@babel/types/lib/comments/inheritLeadingComments.jsinheritLeadingComments.js.map
  • tests/node_modules/@babel/types/lib/comments/inheritTrailingComments.jsinheritTrailingComments.js.map
  • tests/node_modules/@babel/types/lib/comments/inheritsComments.jsinheritsComments.js.map
  • tests/node_modules/@babel/types/lib/comments/removeComments.jsremoveComments.js.map
  • tests/node_modules/@babel/types/lib/constants/generated/index.jsindex.js.map
  • tests/node_modules/@babel/types/lib/constants/index.jsindex.js.map
  • tests/node_modules/@babel/types/lib/converters/ensureBlock.jsensureBlock.js.map
  • tests/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.jsgatherSequenceExpressions.js.map
  • tests/node_modules/@babel/types/lib/converters/toBindingIdentifierName.jstoBindingIdentifierName.js.map
  • tests/node_modules/@babel/types/lib/converters/toBlock.jstoBlock.js.map
  • tests/node_modules/@babel/types/lib/converters/toComputedKey.jstoComputedKey.js.map
  • tests/node_modules/@babel/types/lib/converters/toExpression.jstoExpression.js.map
  • tests/node_modules/@babel/types/lib/converters/toIdentifier.jstoIdentifier.js.map
  • tests/node_modules/@babel/types/lib/converters/toKeyAlias.jstoKeyAlias.js.map
  • tests/node_modules/@babel/types/lib/converters/toSequenceExpression.jstoSequenceExpression.js.map
  • tests/node_modules/@babel/types/lib/converters/toStatement.jstoStatement.js.map
  • tests/node_modules/@babel/types/lib/converters/valueToNode.jsvalueToNode.js.map
  • tests/node_modules/@babel/types/lib/definitions/core.jscore.js.map
  • tests/node_modules/@babel/types/lib/definitions/deprecated-aliases.jsdeprecated-aliases.js.map
  • tests/node_modules/@babel/types/lib/definitions/experimental.jsexperimental.js.map
  • tests/node_modules/@babel/types/lib/definitions/flow.jsflow.js.map
  • tests/node_modules/@babel/types/lib/definitions/index.jsindex.js.map
  • tests/node_modules/@babel/types/lib/definitions/jsx.jsjsx.js.map
  • tests/node_modules/@babel/types/lib/definitions/misc.jsmisc.js.map
  • tests/node_modules/@babel/types/lib/definitions/placeholders.jsplaceholders.js.map
  • tests/node_modules/@babel/types/lib/definitions/typescript.jstypescript.js.map
  • tests/node_modules/@babel/types/lib/definitions/utils.jsutils.js.map
  • tests/node_modules/@babel/types/lib/index.d.tscreateTypeAnnotationBasedOnTypeof.d.ts.map
  • tests/node_modules/@babel/types/lib/index.d.tsgetBindingIdentifiers.d.ts.map
  • tests/node_modules/@babel/types/lib/index.d.tsgetOuterBindingIdentifiers.d.ts.map
  • tests/node_modules/@babel/types/lib/index.d.tsindex.d.ts.map
  • tests/node_modules/@babel/types/lib/index.d.tstoExpression.d.ts.map
  • tests/node_modules/@babel/types/lib/index.d.tstoKeyAlias.d.ts.map
  • tests/node_modules/@babel/types/lib/index.d.tstoStatement.d.ts.map
  • tests/node_modules/@babel/types/lib/index.d.tstraverseFast.d.ts.map
  • tests/node_modules/@babel/types/lib/index.d.tsvalueToNode.d.ts.map
  • tests/node_modules/@babel/types/lib/index.jsindex.js.map
  • tests/node_modules/@babel/types/lib/modifications/appendToMemberExpression.jsappendToMemberExpression.js.map
  • tests/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.jsremoveTypeDuplicates.js.map
  • tests/node_modules/@babel/types/lib/modifications/inherits.jsinherits.js.map
  • tests/node_modules/@babel/types/lib/modifications/prependToMemberExpression.jsprependToMemberExpression.js.map
  • tests/node_modules/@babel/types/lib/modifications/removeProperties.jsremoveProperties.js.map
  • tests/node_modules/@babel/types/lib/modifications/removePropertiesDeep.jsremovePropertiesDeep.js.map
  • tests/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.jsremoveTypeDuplicates.js.map
  • tests/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.jsgetAssignmentIdentifiers.js.map
  • tests/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.jsgetBindingIdentifiers.js.map
  • tests/node_modules/@babel/types/lib/retrievers/getFunctionName.jsgetFunctionName.js.map
  • tests/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.jsgetOuterBindingIdentifiers.js.map
  • tests/node_modules/@babel/types/lib/traverse/traverse.jstraverse.js.map
  • tests/node_modules/@babel/types/lib/traverse/traverseFast.jstraverseFast.js.map
  • tests/node_modules/@babel/types/lib/utils/deprecationWarning.jsdeprecationWarning.js.map
  • tests/node_modules/@babel/types/lib/utils/inherit.jsinherit.js.map
  • tests/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.jscleanJSXElementLiteralChild.js.map
  • tests/node_modules/@babel/types/lib/utils/shallowEqual.jsshallowEqual.js.map
  • tests/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.jsbuildMatchMemberExpression.js.map
  • tests/node_modules/@babel/types/lib/validators/generated/index.jsindex.js.map
  • tests/node_modules/@babel/types/lib/validators/is.jsis.js.map
  • tests/node_modules/@babel/types/lib/validators/isBinding.jsisBinding.js.map
  • tests/node_modules/@babel/types/lib/validators/isBlockScoped.jsisBlockScoped.js.map
  • tests/node_modules/@babel/types/lib/validators/isImmutable.jsisImmutable.js.map
  • tests/node_modules/@babel/types/lib/validators/isLet.jsisLet.js.map
  • tests/node_modules/@babel/types/lib/validators/isNode.jsisNode.js.map
  • tests/node_modules/@babel/types/lib/validators/isNodesEquivalent.jsisNodesEquivalent.js.map
  • tests/node_modules/@babel/types/lib/validators/isPlaceholderType.jsisPlaceholderType.js.map
  • tests/node_modules/@babel/types/lib/validators/isReferenced.jsisReferenced.js.map
  • tests/node_modules/@babel/types/lib/validators/isScope.jsisScope.js.map
  • tests/node_modules/@babel/types/lib/validators/isSpecifierDefault.jsisSpecifierDefault.js.map
  • tests/node_modules/@babel/types/lib/validators/isType.jsisType.js.map
  • tests/node_modules/@babel/types/lib/validators/isValidES3Identifier.jsisValidES3Identifier.js.map
  • tests/node_modules/@babel/types/lib/validators/isValidIdentifier.jsisValidIdentifier.js.map
  • tests/node_modules/@babel/types/lib/validators/isVar.jsisVar.js.map
  • tests/node_modules/@babel/types/lib/validators/matchesPattern.jsmatchesPattern.js.map
  • tests/node_modules/@babel/types/lib/validators/react/isCompatTag.jsisCompatTag.js.map
  • tests/node_modules/@babel/types/lib/validators/react/isReactComponent.jsisReactComponent.js.map
  • tests/node_modules/@babel/types/lib/validators/validate.jsvalidate.js.map
  • tests/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjsgen-mapping.mjs.map
  • tests/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.jsgen-mapping.umd.js.map
  • tests/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjsresolve-uri.mjs.map
  • tests/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.jsresolve-uri.umd.js.map
  • tests/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjssourcemap-codec.mjs.map
  • tests/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.jssourcemap-codec.umd.js.map
  • tests/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjstrace-mapping.mjs.map
  • tests/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.jstrace-mapping.umd.js.map
  • tests/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts")
  • tests/node_modules/@tootallnate/once/dist/index.jsindex.js.map
  • tests/node_modules/@tootallnate/once/dist/overloaded-parameters.jsoverloaded-parameters.js.map
  • tests/node_modules/@tootallnate/once/dist/types.jstypes.js.map
  • tests/node_modules/@types/node/vm.d.tssourcemap.json
  • tests/node_modules/agent-base/dist/src/index.jsindex.js.map
  • tests/node_modules/agent-base/dist/src/promisify.jspromisify.js.map
  • tests/node_modules/entities/dist/commonjs/decode-codepoint.d.tsdecode-codepoint.d.ts.map
  • tests/node_modules/entities/dist/commonjs/decode-codepoint.jsdecode-codepoint.js.map
  • tests/node_modules/entities/dist/commonjs/decode.d.tsdecode.d.ts.map
  • tests/node_modules/entities/dist/commonjs/decode.jsdecode.js.map
  • tests/node_modules/entities/dist/commonjs/encode.d.tsencode.d.ts.map
  • tests/node_modules/entities/dist/commonjs/encode.jsencode.js.map
  • tests/node_modules/entities/dist/commonjs/escape.d.tsescape.d.ts.map
  • tests/node_modules/entities/dist/commonjs/escape.jsescape.js.map
  • tests/node_modules/entities/dist/commonjs/generated/decode-data-html.d.tsdecode-data-html.d.ts.map
  • tests/node_modules/entities/dist/commonjs/generated/decode-data-html.jsdecode-data-html.js.map
  • tests/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.tsdecode-data-xml.d.ts.map
  • tests/node_modules/entities/dist/commonjs/generated/decode-data-xml.jsdecode-data-xml.js.map
  • tests/node_modules/entities/dist/commonjs/generated/encode-html.d.tsencode-html.d.ts.map
  • tests/node_modules/entities/dist/commonjs/generated/encode-html.jsencode-html.js.map
  • tests/node_modules/entities/dist/commonjs/index.d.tsindex.d.ts.map
  • tests/node_modules/entities/dist/commonjs/index.jsindex.js.map
  • tests/node_modules/entities/dist/esm/decode-codepoint.d.tsdecode-codepoint.d.ts.map
  • tests/node_modules/entities/dist/esm/decode-codepoint.jsdecode-codepoint.js.map
  • tests/node_modules/entities/dist/esm/decode.d.tsdecode.d.ts.map
  • tests/node_modules/entities/dist/esm/decode.jsdecode.js.map
  • tests/node_modules/entities/dist/esm/encode.d.tsencode.d.ts.map
  • tests/node_modules/entities/dist/esm/encode.jsencode.js.map
  • tests/node_modules/entities/dist/esm/escape.d.tsescape.d.ts.map
  • tests/node_modules/entities/dist/esm/escape.jsescape.js.map
  • tests/node_modules/entities/dist/esm/generated/decode-data-html.d.tsdecode-data-html.d.ts.map
  • tests/node_modules/entities/dist/esm/generated/decode-data-html.jsdecode-data-html.js.map
  • tests/node_modules/entities/dist/esm/generated/decode-data-xml.d.tsdecode-data-xml.d.ts.map
  • tests/node_modules/entities/dist/esm/generated/decode-data-xml.jsdecode-data-xml.js.map
  • tests/node_modules/entities/dist/esm/generated/encode-html.d.tsencode-html.d.ts.map
  • tests/node_modules/entities/dist/esm/generated/encode-html.jsencode-html.js.map
  • tests/node_modules/entities/dist/esm/index.d.tsindex.d.ts.map
  • tests/node_modules/entities/dist/esm/index.jsindex.js.map
  • tests/node_modules/get-caller-file/index.jsindex.js.map
  • tests/node_modules/http-proxy-agent/dist/agent.jsagent.js.map
  • tests/node_modules/http-proxy-agent/dist/index.jsindex.js.map
  • tests/node_modules/https-proxy-agent/dist/agent.jsagent.js.map
  • tests/node_modules/https-proxy-agent/dist/index.jsindex.js.map
  • tests/node_modules/https-proxy-agent/dist/parse-proxy-response.jsparse-proxy-response.js.map
  • tests/node_modules/human-signals/build/src/core.jscore.js.map
  • tests/node_modules/human-signals/build/src/main.jsmain.js.map
  • tests/node_modules/human-signals/build/src/realtime.jsrealtime.js.map
  • tests/node_modules/human-signals/build/src/signals.jssignals.js.map
  • tests/node_modules/saxes/saxes.jssaxes.js.map
  • tests/node_modules/source-map/dist/source-map.min.jssource-map.min.js.map
  • tests/node_modules/sprintf-js/dist/angular-sprintf.min.jsangular-sprintf.min.map
  • tests/node_modules/sprintf-js/dist/sprintf.min.jssprintf.min.map
  • tests/node_modules/xmlchars/xml/1.0/ed4.jsed4.js.map
  • tests/node_modules/xmlchars/xml/1.0/ed5.jsed5.js.map
  • tests/node_modules/xmlchars/xml/1.1/ed2.jsed2.js.map
  • tests/node_modules/xmlchars/xmlchars.jsxmlchars.js.map
  • tests/node_modules/xmlchars/xmlns/1.0/ed3.jsed3.js.map

Duplicate Contents

Duplicate groups
3
Evidence types
4

Asset duplicates

Groups
2
Duplicate Byte Cost
721 B

SECTION 04

Image Optimization Findings

Review image assets ranked by recoverable bytes. Open a row for usage evidence, preview, and the target change.

Assets
2
Recoverable Bytes
721 B

Orphan Icon Variants

Review shipped icon-like SVG variants that lack static bundle references before removing them.

Recoverable Bytes
0 B

No orphan icon variant findings emitted for this bundle.

Absence does not certify that every shipped icon variant is referenced.

Regulatory Risk Signals

Static risk signals across applicable regulatory frameworks. Investigate matches; absence does not certify compliance.

Total Signals
0
Subprocessors
0
Data flows
0
Jurisdictions
0
No regulatory risk signals were emitted for this scan.

The report did not find static regulatory signals in the current analyzer output. Absence does not certify compliance.