Repository Analysis

medusajs/medusa

The world's most flexible commerce platform.

0.5 Likely human-written View on GitHub
0.5
Adjusted Score
0.5
Raw Score
100%
Time Factor
2026-05-29
Last Push
34,050
Stars
TypeScript
Language
1,343,822
Lines of Code
12496
Files
606
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 3MEDIUM 3LOW 599

Pattern Findings

606 matches across 9 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers293 hits · 297 pts
SeverityFileLineSnippet
LOW…modules/__tests__/rbac-match-endpoint-entities.spec.ts41async function collectAdminEndpointEntities(): Promise<Set<string>> {
LOW…modules/__tests__/rbac-match-endpoint-entities.spec.ts78function collectPolicyResourceEntities(): Set<string> {
LOW…tests/modules/__tests__/product/admin/products.spec.ts18async function createProductsWithVariants(
LOW…ping-options/workflows/batch-shipping-options-rules.ts29async function createShippingOptionFixture({
LOWintegration-tests/helpers/client-authentication.ts.txt2export async function getClientAuthenticationCookie(
LOW…/packages/docs-automator/src/commands/analyze-cloud.ts7export function registerAnalyzeCloudCommand(program: Command) {
LOW…typedoc-plugin-custom/src/resolve-references-plugin.ts268function getOrCreateInternalNs({
LOW…ages/docs-generator/src/utils/get-output-base-paths.ts34export function getRouteExamplesOutputBasePath() {
LOW…ackages/docs-generator/src/utils/medusa-react-utils.ts89export function shouldHaveCustomNamespace(node: ts.Node): boolean {
LOWwww/utils/packages/utils/src/examples-utils.ts21function getReflectionTypeFakeValue({
LOWwww/utils/packages/utils/src/examples-utils.ts203export function getReflectionTypeFakeValueStr({
LOWwww/utils/packages/utils/src/workflow-utils.ts72export function findReflectionInNamespaces(
LOW…dusa/src/resources/helpers/type-declaration-members.ts67function getComponentMarkdownContent({
LOW…medusa/src/utils/get-correct-declaration-reflection.ts9export default function getCorrectDeclarationReflection(
LOW…arkdown-medusa/src/utils/reflection-type-parameters.ts28export function getReflectionTypeParameters({
LOW…doc-plugin-markdown-medusa/src/utils/workflow-utils.ts7export function getWorkflowReflectionFromNamespace(
LOW…doc-plugin-markdown-medusa/src/utils/workflow-utils.ts25export function getPackageNameForWorkflowReflection(
LOW…ugin-markdown-medusa/src/utils/reflection-formatter.ts123export function reflectionComponentFormatter({
LOW…-medusa/src/utils/format-workflow-diagram-component.ts1export function formatWorkflowDiagramComponent({
LOW…ypedoc-plugin-markdown-medusa/src/utils/frontmatter.ts39function resolveFrontmatterVariables(
LOW…-plugin-markdown-medusa/src/utils/react-query-utils.ts29export function getReactQueryQueryParameterType(
LOWwww/docs/cloudflare-migration-diff.md2205+export async function generateSpecsPathsManifest() {
LOW…ges/docs-ui/src/utils/check-sidebar-item-visibility.ts1export function checkSidebarItemVisibility(
LOW…ges/docs-ui/src/utils/check-sidebar-item-visibility.ts11function checkSidebarItemVisibilityRelative(
LOW…ges/docs-ui/src/utils/check-sidebar-item-visibility.ts30function checkSidebarItemVisibilityTransition(
LOW…/packages/docs-ui/src/hooks/use-scroll-utils/index.tsx70function useScrollControllerContextValue({
LOW…w/packages/remark-rehype-plugins/src/cloudinary-img.ts7export function cloudinaryImgRehypePlugin({
LOW…s/remark-rehype-plugins/src/attach-frontmatter-data.ts3export function remarkAttachFrontmatterDataPlugin(): Transformer {
LOW…mark-rehype-plugins/src/workflow-diagram-link-fixer.ts5export function workflowDiagramLinkFixerPlugin(
LOW…/remark-rehype-plugins/src/prerequisites-link-fixer.ts5export function prerequisitesLinkFixerPlugin(
LOWwww/packages/build-scripts/src/generate-sidebar.ts40async function getAutogeneratedSidebarItems(
LOWwww/packages/build-scripts/src/generate-sidebar.ts113async function getAutogeneratedTagSidebarItems(
LOW…cripts/src/utils/sidebar-attach-href-common-options.ts8export function sidebarAttachCommonOptions(
LOW…ripts/src/utils/get-core-flows-ref-sidebar-children.ts5export default async function getCoreFlowsRefSidebarChildren(): Promise<
LOW…pps/ui/specs/examples/dropdown-menu-disabled-icons.tsx4export default function DropdownMenuDisabledAndIcons() {
LOWwww/apps/ui/specs/examples/dropdown-menu-shortcuts.tsx14export default function DropdownMenuWithShortcuts() {
LOW…ps/ui/specs/examples/progress-accordion-controlled.tsx4export default function ProgressAccordionControlled() {
LOW…apps/ui/specs/examples/progress-accordion-disabled.tsx3export default function ProgressAccordionDisabled() {
LOW…s/api-reference/utils/get-security-schema-type-name.ts3export default function getSecuritySchemaTypeName(
LOWpackages/medusa-test-utils/src/medusa-test-runner.ts334export function medusaIntegrationTestRunner({
LOW…e/core-flows/src/order/workflows/create-fulfillment.ts119function prepareRegisterOrderFulfillmentData({
LOW…core/core-flows/src/order/workflows/create-shipment.ts105function prepareRegisterShipmentData({
LOW…order/workflows/mark-order-fulfillment-as-delivered.ts126function prepareRegisterDeliveryData({
LOW…-flows/src/order/workflows/cancel-order-fulfillment.ts142function prepareCancelOrderFulfillmentData({
LOW…s/src/order/workflows/return/confirm-return-request.ts171function extractReturnShippingOptionId({ orderPreview, orderReturn }) {
LOW…s/src/order/workflows/return/create-complete-return.ts43function prepareShippingMethodData({
LOW…s/src/order/workflows/return/create-complete-return.ts87function validateCustomRefundAmount({
LOW…s/src/order/workflows/return/create-complete-return.ts192function prepareReturnShippingOptionQueryVariables({
LOW…es/core/core-flows/src/order/utils/order-validation.ts25export function throwIfManagedItemsNotStockedAtReturnLocation({
LOW…es/core/core-flows/src/order/utils/order-validation.ts77export function throwIfItemsDoesNotExistsInOrder({
LOW…es/core/core-flows/src/order/utils/order-validation.ts98export function throwIfItemsAreNotGroupedByShippingRequirement({
LOW…es/core/core-flows/src/order/utils/order-validation.ts141export function throwIfOrderChangeIsNotActive({
LOW…es/core/core-flows/src/order/utils/order-validation.ts165export function throwIfItemsDoesNotExistsInReturn({
LOW…/core-flows/src/order/utils/prepare-shipping-method.ts38export function prepareShippingMethodUpdate({
LOW…/core-flows/src/order/steps/set-tax-lines-for-items.ts138function normalizeItemTaxLinesForOrder(
LOW…/core-flows/src/order/steps/set-tax-lines-for-items.ts151function normalizeShippingTaxLinesForOrder(
LOW…c/fulfillment/steps/set-shipping-options-price-sets.ts35async function getCurrentShippingOptionPriceSetsLinks(
LOW…s/src/fulfillment/steps/set-shipping-options-prices.ts40async function getCurrentShippingOptionPrices(
LOW…es/core/core-flows/src/tax/steps/get-item-tax-lines.ts50function normalizeTaxModuleContext(
LOW…es/core/core-flows/src/tax/steps/get-item-tax-lines.ts121function normalizeLineItemsForShipping(
233 more matches not shown…
Fake / Example Data164 hits · 175 pts
SeverityFileLineSnippet
LOW…ation-tests/http/__tests__/exchanges/exchanges.spec.ts175 email: "foo@bar.com",
LOW…ation-tests/http/__tests__/exchanges/exchanges.spec.ts991 email: "foo@bar.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts269 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts274 address_1: "123 Main St",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts330 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts334 address_1: "123 Main St",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts390 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts395 address_1: "123 Main St",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts476 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts481 address_1: "123 Main St",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts539 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts543 address_1: "123 Main St",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts604 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts609 address_1: "123 Main St",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts731 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts736 address_1: "123 Main St",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts795 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts799 address_1: "123 Main St",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts860 email: "test@test.com",
LOW…ts__/draft-order/admin/draft-order-translation.spec.ts865 address_1: "123 Main St",
LOW…s/http/__tests__/draft-order/admin/draft-order.spec.ts161 email: "test@test.com",
LOW…s/http/__tests__/draft-order/admin/draft-order.spec.ts165 address_1: "123 Main St",
LOW…s/http/__tests__/draft-order/admin/draft-order.spec.ts187 email: "test@test.com",
LOW…s/http/__tests__/draft-order/admin/draft-order.spec.ts219 expect(response.data.draft_order.email).toBe("test@test.com")
LOW…s/http/__tests__/draft-order/admin/draft-order.spec.ts1651 address_1: "123 Main St",
LOW…tegration-tests/http/__tests__/user/admin/user.spec.ts123 email: "test@test.com",
LOW…/__tests__/loyalty/admin/store-credit-accounts.spec.ts41 { email: "test@test.com" },
LOW…-tests/http/__tests__/loyalty/admin/gift-cards.spec.ts36 { email: "test@test.com" },
LOW…sts/http/__tests__/promotions/admin/promotions.spec.ts1507 { email: "test@test.com" },
LOW…tegration-tests/http/__tests__/cart/store/cart.spec.ts4398 email: "test@test.com",
LOW…ests/http/__tests__/returns/return-translation.spec.ts221 email: "foo@bar.com",
LOW…tegration-tests/http/__tests__/returns/returns.spec.ts99 email: "foo@bar.com",
LOW…n-tests/http/__tests__/order-edits/order-edits.spec.ts195 email: "foo@bar.com",
LOW…n-tests/http/__tests__/order-edits/order-edits.spec.ts792 email: "foo@bar.com",
LOW…n-tests/http/__tests__/order-edits/order-edits.spec.ts1249 email: "foo@bar.com",
LOW…n-tests/http/__tests__/order-edits/order-edits.spec.ts2530 email: "foo@bar.com",
LOW…n-tests/http/__tests__/order-edits/order-edits.spec.ts2686 email: "foo@bar.com",
LOWintegration-tests/http/__tests__/claims/claims.spec.ts151 email: "foo@bar.com",
LOWintegration-tests/http/__tests__/claims/claims.spec.ts1351 email: "foo@bar.com",
LOW…ests/http/__tests__/claims/claims-translations.spec.ts414 email: "foo@bar.com",
LOW…tegration-tests/api/__tests__/admin/order/order.js.txt118 email: "test@test.com",
LOWintegration-tests/modules/__tests__/order/order.spec.ts206 email: "foo@bar.com",
LOWintegration-tests/modules/__tests__/order/order.spec.ts716 email: "foo@bar.com",
LOWintegration-tests/modules/__tests__/order/order.spec.ts783 email: "foo@bar.com",
LOW…s/__tests__/order/workflows/begin-order-return.spec.ts239 email: "foo@bar.com",
LOW…es/__tests__/order/workflows/begin-order-claim.spec.ts238 email: "foo@bar.com",
LOW…s/__tests__/order/workflows/create-fulfillment.spec.ts238 email: "foo@bar.com",
LOW…ules/__tests__/order/workflows/create-shipment.spec.ts239 email: "foo@bar.com",
LOW…__tests__/order/workflows/begin-order-exchange.spec.ts295 email: "foo@bar.com",
LOW…tests__/order/workflows/create-complete-return.spec.ts242 email: "foo@bar.com",
LOW…tests__/order/workflows/create-complete-return.spec.ts439 email: "foo@bar.com",
LOW…odules/__tests__/order/workflows/__fixtures__/index.ts31 email: "foo@bar.com",
LOW…odules/__tests__/order/workflows/__fixtures__/index.ts284 email: customer?.email || "foo@bar.com",
LOW…s/__tests__/auth/admin/email-password-provider.spec.ts28 const email = "test@test.com"
LOW…es/__tests__/payment/payment-session.workflows.spec.ts52 email: "test@test.com",
LOW…ts/modules/__tests__/cart/store/cart.workflows.spec.ts1468 address_1: "123 Main St",
LOW…ts/modules/__tests__/cart/store/cart.workflows.spec.ts1529 address_1: "123 Main St",
LOW…ts/modules/__tests__/cart/store/cart.workflows.spec.ts1590 address_1: "123 Main St",
LOW…ts/modules/__tests__/cart/store/cart.workflows.spec.ts1679 address_1: "123 Main St",
LOW…ation-tests/modules/__tests__/cart/store/carts.spec.ts1822 email: "foo@bar.com",
104 more matches not shown…
Over-Commented Block109 hits · 109 pts
SeverityFileLineSnippet
LOW…__/payment-collection/admin/payment-collection.spec.ts21 // describe("/admin/payment-collections/:id", () => {
LOW…__/payment-collection/admin/payment-collection.spec.ts41 // it("updates a payment collection", async () => {
LOW…__/payment-collection/admin/payment-collection.spec.ts61 // metadata: {
LOW…__/payment-collection/admin/payment-collection.spec.ts81 // status: "authorized",
LOW…__/payment-collection/admin/payment-collection.spec.ts101 // })
LOW…__/payment-collection/admin/payment-collection.spec.ts121 // expect(res.response.data.message).toBe(
LOW…tp/__tests__/sales-channel/admin/sales-channel.spec.ts521 // - GET /admin/orders
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts341 id: proposedProduct.id,
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts361 // id: conditionId,
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts381 // `/admin/products?discount_condition_id=${discountConditionId}`,
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts861 ])
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts881 // const priceSet = await createVariantPriceSet({
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts901 // },
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts3521 })
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts3541 // expect(response.status).toEqual(200)
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts3561 // })
LOW…ion-tests/http/__tests__/product/admin/product.spec.ts3581 // })
LOW…sts/http/__tests__/price-list/admin/price-list.spec.ts761 })
LOW…sts/http/__tests__/price-list/admin/price-list.spec.ts781// const db = useDb()
LOW…sts/http/__tests__/price-list/admin/price-list.spec.ts801// }
LOW…sts/http/__tests__/price-list/admin/price-list.spec.ts821// ],
LOW…sts/http/__tests__/price-list/admin/price-list.spec.ts841// id: expect.any(String),
LOW…sts/http/__tests__/price-list/admin/price-list.spec.ts861// )
LOW…lows-diagrams-generator/src/classes/diagram-builder.ts181 const linePrefix = this.getLinePrefix(level)
LOW…lows-diagrams-generator/src/classes/diagram-builder.ts201 // ++nodesInCurrentLine
LOWscripts/labels.sh1#!/usr/bin/env bash
LOWscripts/convert_to_discussion.sh1#!/usr/bin/env bash
LOW…/core/core-flows/src/tax/workflows/update-tax-rates.ts61// async (input: StepInput, { container }) => {
LOWpackages/core/types/src/caching/index.ts21 // cacheGetFn: () => Promise<any>,
LOWpackages/core/types/src/event-bus/common.ts1import { Context } from "../shared-context"
LOWpackages/core/utils/src/core-flows/events.ts1021// [CustomerWorkflowEvents.CREATED]?: EventOptions
LOWpackages/core/utils/src/core-flows/events.ts1041// [OrderEditWorkflowEvents.CONFIRMED]?: EventOptions
LOWpackages/core/utils/src/core-flows/events.ts1061
LOWpackages/core/utils/src/core-flows/events.ts1081
LOWpackages/core/utils/src/core-flows/events.ts1101// [RegionWorkflowEvents.DELETED]?: EventOptions
LOWpackages/core/utils/src/core-flows/events.ts1121// // Translation events
LOWpackages/core/utils/src/notification/events.ts21// [NotificationEvents.NOTIFICATION_ATTACHED]?: EventOptions
LOWpackages/core/utils/src/fulfillment/events.ts41 DELIVERY_CREATED: "delivery.created",
LOWpackages/core/utils/src/fulfillment/events.ts61// [FulfillmentEvents.SERVICE_ZONE_DETACHED]?: EventOptions
LOWpackages/core/utils/src/fulfillment/events.ts81// [FulfillmentEvents.SHIPPING_OPTION_TYPE_UPDATED]?: EventOptions
LOWpackages/core/utils/src/fulfillment/events.ts101// [FulfillmentEvents.SHIPPING_OPTION_RULE_DETACHED]?: EventOptions
LOWpackages/core/utils/src/fulfillment/events.ts121// [FulfillmentEvents.FULFILLMENT_ITEM_UPDATED]?: EventOptions
LOWpackages/core/utils/src/user/events.ts21// [UserEvents.USER_ATTACHED]?: EventOptions
LOWpackages/core/utils/src/product/events.ts41// [ProductEvents.PRODUCT_ATTACHED]?: EventOptions
LOWpackages/core/utils/src/product/events.ts61// [ProductEvents.PRODUCT_OPTION_VALUE_CREATED]?: EventOptions
LOWpackages/core/utils/src/product/events.ts81// [ProductEvents.PRODUCT_TAG_ATTACHED]?: EventOptions
LOWpackages/core/utils/src/product/events.ts101// [ProductEvents.PRODUCT_IMAGE_CREATED]?: EventOptions
LOWpackages/core/utils/src/inventory/events.ts21// [InventoryEvents.INVENTORY_ITEM_CREATED]?: EventOptions
LOWpackages/core/utils/src/inventory/events.ts41// [InventoryEvents.INVENTORY_LEVEL_ATTACHED]?: EventOptions
LOWpackages/core/utils/src/pricing/events.ts21// export interface EventBusEventsOptions {
LOWpackages/core/utils/src/pricing/events.ts41// [PricingEvents.PRICE_RULE_DELETED]?: EventOptions
LOWpackages/core/utils/src/pricing/events.ts61// }
LOWpackages/medusa/jest.config.js1module.exports = {
LOW…data-grid/components/data-grid-country-select-cell.tsx1// Not currently used, re-implement or delete depending on whether there is a need for it in the future.
LOW…data-grid/components/data-grid-country-select-cell.tsx21// type: "select",
LOW…data-grid/components/data-grid-country-select-cell.tsx41// >
LOW…data-grid/components/data-grid-country-select-cell.tsx61// inputProps: InputProps
LOW…data-grid/components/data-grid-country-select-cell.tsx81// }
LOW…data-grid/components/data-grid-country-select-cell.tsx101// }
LOW…data-grid/components/data-grid-country-select-cell.tsx121// <TrianglesMini
49 more matches not shown…
Verbosity Indicators29 hits · 44 pts
SeverityFileLineSnippet
LOW…ation-tests/http/__tests__/view-configurations.spec.ts713 // Step 1: Create a system default view
LOW…ation-tests/http/__tests__/view-configurations.spec.ts747 // Step 2: Retrieve active view - should return the system default
LOW…on-tests/modules/__tests__/rbac/rbac-workflows.spec.ts38 // Step 1: Create base policies
LOW…on-tests/modules/__tests__/rbac/rbac-workflows.spec.ts84 // Step 2: Create base roles with their policies
LOW…on-tests/modules/__tests__/rbac/rbac-workflows.spec.ts125 // Step 3: Create "Admin" role that inherits from both Viewer and Editor, plus additional permissions
LOW…on-tests/modules/__tests__/rbac/rbac-workflows.spec.ts145 // Step 4: Verify role parent was created
LOW…on-tests/modules/__tests__/rbac/rbac-workflows.spec.ts164 // Step 5: Verify direct policies for Admin role
LOW…on-tests/modules/__tests__/rbac/rbac-workflows.spec.ts177 // Step 6: List ALL policies for Admin role (including inherited)
LOW…on-tests/modules/__tests__/rbac/rbac-workflows.spec.ts230 // Step 7: Verify Viewer role only has its direct policies
LOW…on-tests/modules/__tests__/rbac/rbac-workflows.spec.ts247 // Step 8: Verify Editor role only has its direct policies
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts95 // Step 1: Crawl all directories in parallel
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts126 // Step 2: Parse all OAS files in parallel and collect valid ones
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts196 // Step 3: Create a single TypeScript program for all route files
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts270 // Step 4: Check which OAS files should be kept (parallel processing)
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts314 // Step 5: Collect tags and schemas from ALL valid OAS files (parallel)
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts389 // Step 6: Delete invalid OAS files in parallel batches
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts401 // Step 7: Process base files in parallel
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts446 // Step 8: Process schema files in parallel
LOW…tils/packages/docs-generator/src/commands/clean-oas.ts473 // Step 9: Clean up unused schemas
LOW…dusa-dev-cli/src/local-npm-registry/publish-package.js32 // we need to check if package depend on any other package to will be published and
LOW…ion-tests/__fixtures__/workflow_sync_retry_interval.ts28// Step 1: Fails first 2 times, succeeds on 3rd attempt
LOW…ion-tests/__fixtures__/workflow_sync_retry_interval.ts52// Step 2: Always succeeds (to verify workflow continues after retry)
LOW…egration-tests/__fixtures__/workflow_retry_interval.ts17// Step 1: Fails first 2 times, succeeds on 3rd attempt
LOW…egration-tests/__fixtures__/workflow_retry_interval.ts42// Step 2: Always succeeds (to verify workflow continues after retry)
LOW…ion-tests/__fixtures__/workflow_sync_retry_interval.ts28// Step 1: Fails first 2 times, succeeds on 3rd attempt
LOW…ion-tests/__fixtures__/workflow_sync_retry_interval.ts52// Step 2: Always succeeds (to verify workflow continues after retry)
LOW…egration-tests/__fixtures__/workflow_retry_interval.ts17// Step 1: Fails first 2 times, succeeds on 3rd attempt
LOW…egration-tests/__fixtures__/workflow_retry_interval.ts42// Step 2: Always succeeds (to verify workflow continues after retry)
LOW…ign-system/toolbox/src/commands/tokens/utils/colors.ts40 * So we need to check if the opacity is defined, and if it is,
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippet
HIGHwww/apps/ui/specs/examples/code-block-demo.tsx7 code: `curl 'http://localhost:9000/store/products/PRODUCT_ID'\n -H 'x-publishable-key: YOUR_API_KEY'`,
HIGH…em/ui/src/components/code-block/code-block.stories.tsx23 code: `curl -H 'x-publishable-key: YOUR_API_KEY' 'http://localhost:9000/store/products/PRODUCT_ID'`,
HIGH…em/ui/src/components/code-block/code-block.stories.tsx28 code: `// Install the JS Client in your storefront project: @medusajs/medusa-js\n\nimport Medusa from "@medusajs/med
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICAL…sts/api/__tests__/admin/draft-order/draft-order.js.txt877 order.data.draft_order.cart.items.forEach((item) => {
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippet
MEDIUM…ages/medusa/src/commands/__tests__/run-scripts.spec.ts13// ─── Mocks ────────────────────────────────────────────────────────────────────
MEDIUM…ages/medusa/src/commands/__tests__/run-scripts.spec.ts52// ─── Helpers ──────────────────────────────────────────────────────────────────
MEDIUM…ages/medusa/src/commands/__tests__/run-scripts.spec.ts76// ─── Tests ────────────────────────────────────────────────────────────────────
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippet
LOW…es/src/constants/merger-custom-options/notification.ts178Make sure to replace the value of \`template\` to the ID of the template in your provider.
LOWpackages/core/modules-sdk/src/medusa-module.ts74 * Don't forget to clear the instances (MedusaModule.clearInstances()) after the migration are done.
LOWpackages/cli/medusa-cli/cli.js10 "ts-node cannot be loaded and used, if you are running in production don't forget to set your NODE_ENV to producti
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWscripts/deps-analyze/update-dependency-versions.sh16 # Check if package exists in dependencies or devDependencies