@skyramp/mcp 0.4.1 → 0.4.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/commands/localDevTestChangesCommand.js +2 -1
- package/build/commands/recommendTestsAndExecuteCommand.js +15 -7
- package/build/commands/testThisEndpointCommand.js +35 -6
- package/build/execution/wrapperConfig.d.ts +56 -0
- package/build/execution/wrapperConfig.js +155 -0
- package/build/index.js +40 -10
- package/build/playwright/blueprintDigest.js +28 -7
- package/build/playwright/registerPlaywrightTools.js +47 -28
- package/build/playwright/traceExportStore.d.ts +22 -0
- package/build/playwright/traceExportStore.js +81 -0
- package/build/playwright/traceRecordingPrompt.js +11 -3
- package/build/prompts/code-reuse.js +118 -49
- package/build/prompts/fix-error-prompt.d.ts +9 -1
- package/build/prompts/fix-error-prompt.js +31 -28
- package/build/prompts/local-dev/local-dev-plan.d.ts +3 -0
- package/build/prompts/local-dev/local-dev-plan.js +8 -23
- package/build/prompts/local-dev/local-dev-prompts.d.ts +1 -1
- package/build/prompts/local-dev/local-dev-prompts.js +31 -4
- package/build/prompts/modularization/integration-test-modularization.js +13 -6
- package/build/prompts/modularization/ui-test-modularization.js +1 -1
- package/build/prompts/personas.js +1 -1
- package/build/prompts/pom-aware-code-reuse.js +7 -9
- package/build/prompts/reuse-hand-off.d.ts +64 -0
- package/build/prompts/reuse-hand-off.js +130 -0
- package/build/prompts/shared-helper-policy.d.ts +124 -2
- package/build/prompts/shared-helper-policy.js +178 -12
- package/build/prompts/startTraceCollectionPrompts.js +1 -1
- package/build/prompts/sut-setup/modes/adaptWorkflowPrompt.js +7 -8
- package/build/prompts/sut-setup/modes/dockerComposePrompt.js +1 -1
- package/build/prompts/sut-setup/shared.d.ts +4 -1
- package/build/prompts/sut-setup/shared.js +6 -4
- package/build/prompts/test-maintenance/actionsInstructions.d.ts +19 -11
- package/build/prompts/test-maintenance/actionsInstructions.js +47 -26
- package/build/prompts/test-maintenance/drift-analysis-prompt.d.ts +16 -8
- package/build/prompts/test-maintenance/drift-analysis-prompt.js +93 -38
- package/build/prompts/test-maintenance/driftAnalysisSections.js +5 -3
- package/build/prompts/test-maintenance/driftAnalysisShared.js +4 -2
- package/build/prompts/test-maintenance/uiDriftAnalysisSections.js +8 -5
- package/build/prompts/test-recommendation/recommendationSections.js +19 -8
- package/build/prompts/test-recommendation/recommendationShared.d.ts +1 -1
- package/build/prompts/test-recommendation/recommendationShared.js +0 -1
- package/build/prompts/test-recommendation/registerRecommendTestsPrompt.js +5 -2
- package/build/prompts/test-recommendation/test-recommendation-prompt.js +10 -7
- package/build/prompts/testbot/testbot-prompts.js +133 -63
- package/build/recommendation/answers.js +18 -9
- package/build/recommendation/pullRequestText.js +1 -1
- package/build/recommendation/registerPlan.js +31 -17
- package/build/recommendation/subjectStep.d.ts +8 -10
- package/build/recommendation/subjectStep.js +17 -16
- package/build/recommendation/types.d.ts +71 -17
- package/build/recommendation/types.js +9 -15
- package/build/recommendation/verifierContracts.d.ts +7 -3
- package/build/recommendation/verifierContracts.js +8 -4
- package/build/recommendation/verifiers/changedFile.js +11 -13
- package/build/recommendation/verifiers/citedPath.d.ts +8 -0
- package/build/recommendation/verifiers/citedPath.js +16 -2
- package/build/recommendation/verifiers/coverage.d.ts +2 -2
- package/build/recommendation/verifiers/coverage.js +190 -134
- package/build/recommendation/verifiers/defects.js +56 -16
- package/build/recommendation/verifiers/deliveredMatchesPlan.d.ts +7 -1
- package/build/recommendation/verifiers/deliveredMatchesPlan.js +28 -14
- package/build/recommendation/verifiers/endpointGrounded.js +14 -8
- package/build/recommendation/verifiers/existingCoverage.d.ts +6 -0
- package/build/recommendation/verifiers/existingCoverage.js +30 -21
- package/build/recommendation/verifiers/expectedOutcome.js +17 -8
- package/build/recommendation/verifiers/expectedValueSourced.js +54 -43
- package/build/recommendation/verifiers/issueTraceability.d.ts +5 -0
- package/build/recommendation/verifiers/issueTraceability.js +64 -7
- package/build/recommendation/verifiers/removedElementGuarded.js +19 -11
- package/build/recommendation/verifiers/reportedCategory.js +9 -4
- package/build/recommendation/verifiers/requirementSourced.js +34 -21
- package/build/recommendation/verifiers/screenRoute.js +15 -10
- package/build/recommendation/verifiers/statedDifference.js +15 -8
- package/build/recommendation/verifiers/uiElementGrounded.js +50 -16
- package/build/resources/analysisResources.js +7 -3
- package/build/resources/progressResource.js +4 -2
- package/build/resources/sutSetupResource.js +20 -2
- package/build/resources/testbotResource.js +19 -1
- package/build/services/AnalyticsService.js +3 -1
- package/build/services/ScenarioGenerationService.js +5 -5
- package/build/services/TestDiscoveryService.js +53 -9
- package/build/services/TestExecutionService.js +63 -21
- package/build/services/TestGenerationService.d.ts +1 -1
- package/build/services/TestGenerationService.js +43 -24
- package/build/skills/enhanceAssertionsSkill.d.ts +45 -0
- package/build/skills/enhanceAssertionsSkill.js +103 -0
- package/build/skills/fixTestImportErrorsSkill.d.ts +2 -2
- package/build/skills/fixTestImportErrorsSkill.js +2 -2
- package/build/skills/runTestSkill.d.ts +6 -0
- package/build/skills/runTestSkill.js +17 -0
- package/build/skills/skillFiles.d.ts +38 -0
- package/build/skills/skillFiles.js +94 -0
- package/build/skills/validateAssertionAlignmentSkill.d.ts +34 -0
- package/build/skills/validateAssertionAlignmentSkill.js +59 -0
- package/build/tool-phases.js +4 -1
- package/build/tools/auth/loginTool.js +3 -1
- package/build/tools/auth/logoutTool.js +3 -1
- package/build/tools/budgetExcuse.d.ts +15 -0
- package/build/tools/budgetExcuse.js +113 -0
- package/build/tools/code-refactor/alignAssertionsTool.d.ts +2 -0
- package/build/tools/code-refactor/alignAssertionsTool.js +51 -0
- package/build/tools/code-refactor/assertion-state.d.ts +1 -1
- package/build/tools/code-refactor/assertion-state.js +1 -1
- package/build/tools/code-refactor/assertionOperations.d.ts +44 -0
- package/build/tools/code-refactor/assertionOperations.js +82 -0
- package/build/tools/code-refactor/assertionSkillTools.d.ts +3 -0
- package/build/tools/code-refactor/assertionSkillTools.js +86 -0
- package/build/tools/code-refactor/codeReuseTool.js +27 -3
- package/build/tools/code-refactor/enhanceAssertionsTool.js +19 -83
- package/build/tools/code-refactor/gate-markers.d.ts +51 -0
- package/build/tools/code-refactor/gate-markers.js +95 -0
- package/build/tools/code-refactor/retrofit-state.d.ts +3 -1
- package/build/tools/code-refactor/retrofit-state.js +44 -2
- package/build/tools/code-refactor/reuse-outcome.d.ts +23 -1
- package/build/tools/code-refactor/reuse-outcome.js +36 -13
- package/build/tools/code-refactor/reuse-state.d.ts +90 -16
- package/build/tools/code-refactor/reuse-state.js +191 -61
- package/build/tools/code-refactor/utils-verify-gates.d.ts +4 -0
- package/build/tools/code-refactor/utils-verify-gates.js +269 -30
- package/build/tools/code-refactor/verify-gates.d.ts +15 -1
- package/build/tools/code-refactor/verify-gates.js +36 -4
- package/build/tools/enrichTestWithMocksTool.d.ts +1 -1
- package/build/tools/enrichTestWithMocksTool.js +9 -5
- package/build/tools/executeSkyrampTestTool.d.ts +118 -48
- package/build/tools/executeSkyrampTestTool.js +998 -372
- package/build/tools/execution-video-state.js +1 -1
- package/build/tools/fixErrorTool.js +5 -6
- package/build/tools/generate-tests/batchMockGenerationTool.js +1 -1
- package/build/tools/generate-tests/generateBatchScenarioRestTool.js +114 -73
- package/build/tools/generate-tests/generateContractRestTool.js +34 -16
- package/build/tools/generate-tests/generateE2ERestTool.d.ts +1 -0
- package/build/tools/generate-tests/generateE2ERestTool.js +9 -1
- package/build/tools/generate-tests/generateIntegrationRestTool.js +22 -7
- package/build/tools/generate-tests/generateMockRestTool.js +3 -1
- package/build/tools/generate-tests/generateUIRestTool.d.ts +2 -0
- package/build/tools/generate-tests/generateUIRestTool.js +11 -2
- package/build/tools/generate-tests/loadTestSchema.js +1 -3
- package/build/tools/generate-tests/planGuard.js +6 -3
- package/build/tools/generate-tests/scenarioFileIdentity.js +4 -1
- package/build/tools/generate-tests/scenarioLint.js +17 -5
- package/build/tools/generate-tests/trace-reuse-guard.js +5 -2
- package/build/tools/generateEnrichedIntegrationTestTool.js +9 -3
- package/build/tools/one-click/oneClickTool.js +3 -1
- package/build/tools/preflightMockCheckTool.js +23 -7
- package/build/tools/submitReportTool.d.ts +51 -12
- package/build/tools/submitReportTool.js +988 -161
- package/build/tools/test-management/actionsTool.js +241 -51
- package/build/tools/test-management/analyzeChangesTool.d.ts +8 -9
- package/build/tools/test-management/analyzeChangesTool.js +127 -68
- package/build/tools/test-management/analyzeTestHealthTool.d.ts +0 -11
- package/build/tools/test-management/analyzeTestHealthTool.js +42 -76
- package/build/tools/test-management/registerTestPlanTool.d.ts +44 -34
- package/build/tools/test-management/registerTestPlanTool.js +255 -111
- package/build/tools/test-management/resolveScreenTool.js +33 -9
- package/build/tools/test-management/testsOwedBeforeRun.d.ts +28 -0
- package/build/tools/test-management/testsOwedBeforeRun.js +53 -0
- package/build/tools/trace/startTraceCollectionTool.js +3 -1
- package/build/tools/trace/stopTraceCollectionTool.js +42 -6
- package/build/tools/verifyTestDependenciesTool.d.ts +3 -0
- package/build/tools/verifyTestDependenciesTool.js +54 -0
- package/build/tools/workspace/initScanWorkspaceTool.js +9 -3
- package/build/tools/workspace/initializeWorkspaceTool.js +3 -1
- package/build/types/AssertionOutcome.d.ts +1 -1
- package/build/types/EnhanceType.d.ts +6 -0
- package/build/types/EnhanceType.js +1 -0
- package/build/types/RepositoryAnalysis.d.ts +32 -72
- package/build/types/ReuseOutcome.d.ts +100 -7
- package/build/types/ReuseOutcome.js +16 -0
- package/build/types/StepMethod.js +20 -6
- package/build/types/TestAnalysis.d.ts +10 -2
- package/build/types/TestExecution.d.ts +45 -0
- package/build/types/TestRecommendation.d.ts +1 -1
- package/build/types/TestRecommendation.js +4 -1
- package/build/types/TestTypes.d.ts +16 -0
- package/build/types/TestTypes.js +40 -3
- package/build/types/TestbotPromptOptions.d.ts +9 -1
- package/build/types/TestbotReport.d.ts +45 -9
- package/build/utils/AnalysisStateManager.d.ts +137 -34
- package/build/utils/AnalysisStateManager.js +228 -44
- package/build/utils/assertion-verify/api-shared-lints.js +34 -16
- package/build/utils/assertion-verify/metrics.js +39 -6
- package/build/utils/assertion-verify/ui-lints.js +4 -2
- package/build/utils/branchDiff.js +47 -12
- package/build/utils/canonicalJson.js +3 -1
- package/build/utils/connectionErrors.d.ts +10 -0
- package/build/utils/connectionErrors.js +10 -0
- package/build/utils/dartRouteExtractor.js +36 -7
- package/build/utils/fixAttempts.d.ts +26 -0
- package/build/utils/fixAttempts.js +109 -0
- package/build/utils/frontendSelectors.js +23 -4
- package/build/utils/generatedTestRecord.d.ts +19 -0
- package/build/utils/generatedTestRecord.js +61 -0
- package/build/utils/gitStaging.js +7 -2
- package/build/utils/initAgent.js +26 -6
- package/build/utils/language-helper.js +60 -45
- package/build/utils/pathMatching.js +2 -1
- package/build/utils/pathSignatures.js +6 -2
- package/build/utils/planMatchKeys.d.ts +2 -2
- package/build/utils/planMatchKeys.js +20 -14
- package/build/utils/pom-catalog-parse.js +7 -2
- package/build/utils/pom-scope/import-expansion.js +6 -1
- package/build/utils/pom-scope/index.js +50 -12
- package/build/utils/pom-scope/scoring.js +13 -3
- package/build/utils/pom-scope/selector-extractor.js +16 -3
- package/build/utils/pom-scope/strip.d.ts +8 -0
- package/build/utils/pom-scope/strip.js +238 -0
- package/build/utils/pom-scope/testIdDiscovery.js +14 -2
- package/build/utils/pom-verify/__fixtures__/af-style/asset-list.page.d.ts +1 -1
- package/build/utils/pom-verify/__fixtures__/af-style/asset-list.page.js +4 -2
- package/build/utils/pom-verify/__fixtures__/af-style/report.iframe.page.js +3 -1
- package/build/utils/pom-verify/__fixtures__/af-style/workflow-footer.page.js +3 -1
- package/build/utils/pom-verify/bindings.js +5 -1
- package/build/utils/pom-verify/calls.js +9 -2
- package/build/utils/pom-verify/verify.js +27 -5
- package/build/utils/pr-comment-parser.js +20 -7
- package/build/utils/progress.d.ts +1 -1
- package/build/utils/progress.js +1 -1
- package/build/utils/proxy-terminal.d.ts +19 -1
- package/build/utils/proxy-terminal.js +346 -21
- package/build/utils/rebaselineSnapshots.d.ts +1 -1
- package/build/utils/rebaselineSnapshots.js +6 -16
- package/build/utils/removedUiElements.js +1 -1
- package/build/utils/reportLanguage.js +35 -7
- package/build/utils/reportVerification.d.ts +14 -8
- package/build/utils/reportVerification.js +19 -19
- package/build/utils/repositorySlug.d.ts +32 -0
- package/build/utils/repositorySlug.js +77 -0
- package/build/utils/reuseRouting.d.ts +10 -0
- package/build/utils/reuseRouting.js +21 -2
- package/build/utils/runContextGauge.d.ts +27 -0
- package/build/utils/runContextGauge.js +181 -0
- package/build/utils/runSerialized.d.ts +3 -0
- package/build/utils/runSerialized.js +39 -0
- package/build/utils/screenRoutes.js +74 -18
- package/build/utils/skyrampMdContent.d.ts +1 -1
- package/build/utils/skyrampMdContent.js +1 -1
- package/build/utils/skyrampSdkVersion.d.ts +9 -0
- package/build/utils/skyrampSdkVersion.js +16 -0
- package/build/utils/sourceRouteExtractor.js +13 -6
- package/build/utils/telemetry.d.ts +1 -0
- package/build/utils/telemetry.js +8 -5
- package/build/utils/testDependencyPolicy.d.ts +9 -0
- package/build/utils/testDependencyPolicy.js +809 -0
- package/build/utils/testExecutionRecord.d.ts +94 -0
- package/build/utils/testExecutionRecord.js +269 -0
- package/build/utils/testFileClassification.d.ts +8 -0
- package/build/utils/testFileClassification.js +39 -4
- package/build/utils/trace-parser.js +62 -14
- package/build/utils/urlPath.js +3 -1
- package/build/utils/utils-verify/action-key.d.ts +46 -0
- package/build/utils/utils-verify/action-key.js +120 -38
- package/build/utils/utils-verify/action-sites.d.ts +32 -0
- package/build/utils/utils-verify/action-sites.js +202 -0
- package/build/utils/utils-verify/allow.d.ts +122 -3
- package/build/utils/utils-verify/allow.js +146 -21
- package/build/utils/utils-verify/body-reach.d.ts +120 -0
- package/build/utils/utils-verify/body-reach.js +333 -0
- package/build/utils/utils-verify/call-sites.d.ts +31 -7
- package/build/utils/utils-verify/call-sites.js +80 -13
- package/build/utils/utils-verify/delivered-imports.d.ts +43 -0
- package/build/utils/utils-verify/delivered-imports.js +84 -0
- package/build/utils/utils-verify/fixed-sleep.d.ts +96 -0
- package/build/utils/utils-verify/fixed-sleep.js +461 -0
- package/build/utils/utils-verify/in-house.d.ts +93 -0
- package/build/utils/utils-verify/in-house.js +719 -0
- package/build/utils/utils-verify/incumbent.d.ts +3 -0
- package/build/utils/utils-verify/incumbent.js +75 -0
- package/build/utils/utils-verify/index.d.ts +2 -0
- package/build/utils/utils-verify/index.js +2 -0
- package/build/utils/utils-verify/language-spec.d.ts +51 -10
- package/build/utils/utils-verify/language-spec.js +232 -21
- package/build/utils/utils-verify/locate.d.ts +26 -0
- package/build/utils/utils-verify/locate.js +125 -23
- package/build/utils/utils-verify/module-name.d.ts +40 -0
- package/build/utils/utils-verify/module-name.js +98 -0
- package/build/utils/utils-verify/parse.d.ts +56 -7
- package/build/utils/utils-verify/parse.js +195 -40
- package/build/utils/utils-verify/retrofit-equivalence.d.ts +5 -0
- package/build/utils/utils-verify/retrofit-equivalence.js +4 -2
- package/build/utils/utils-verify/stage.d.ts +5 -0
- package/build/utils/utils-verify/stage.js +47 -2
- package/build/utils/utils-verify/status-once.d.ts +62 -0
- package/build/utils/utils-verify/status-once.js +207 -0
- package/build/utils/utils-verify/typecheck.d.ts +61 -0
- package/build/utils/utils-verify/typecheck.js +338 -0
- package/build/utils/utils-verify/verify.d.ts +79 -3
- package/build/utils/utils-verify/verify.js +531 -61
- package/build/utils/versions.d.ts +3 -3
- package/build/utils/versions.js +1 -1
- package/build/utils/workspaceAuth.js +107 -37
- package/build/workspace/queryParamResolution.js +11 -4
- package/build/workspace/workspace.d.ts +72 -52
- package/build/workspace/workspace.js +19 -15
- package/node_modules/playwright/ThirdPartyNotices.txt +19 -19
- package/node_modules/playwright/lib/mcp/skyramp/assertTool.js +8 -2
- package/node_modules/playwright/lib/mcp/skyramp/common/cssValue.js +87 -0
- package/node_modules/playwright/lib/mcp/skyramp/loadTraceTool.js +31 -0
- package/node_modules/playwright/lib/mcp/skyramp/skyRampImport.js +3 -0
- package/node_modules/playwright/lib/mcp/skyramp/traceRecordingBackend.js +181 -15
- package/node_modules/playwright/lib/mcp/test/skyRampExport.js +24 -0
- package/node_modules/playwright/lib/transform/babelBundleImpl.js +2353 -190
- package/node_modules/playwright/node_modules/playwright-core/ThirdPartyNotices.txt +62 -34
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/.package-lock.json +72 -41
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/@hono/node-server/dist/serve-static.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/@hono/node-server/dist/serve-static.mjs +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/@hono/node-server/package.json +2 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/README.md +16 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/index.js +4 -20
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/lib/read.js +17 -17
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/lib/types/json.js +60 -32
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/lib/types/raw.js +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/lib/types/text.js +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/lib/types/urlencoded.js +16 -20
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/lib/utils.js +18 -16
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/node_modules/content-type/LICENSE +22 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/node_modules/content-type/README.md +71 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/node_modules/content-type/package.json +52 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/body-parser/package.json +23 -10
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/es-object-atoms/CHANGELOG.md +21 -14
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/es-object-atoms/isObject.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/es-object-atoms/package.json +6 -7
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/es-object-atoms/tsconfig.json +1 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/index.js +266 -45
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/lib/schemes.js +9 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/lib/utils.js +396 -92
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/package.json +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/equal.test.js +31 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/fixtures/uri-js-parse.json +2 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/parse.test.js +7 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/security-normalization.test.js +101 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/security.test.js +301 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hasown/CHANGELOG.md +7 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hasown/index.d.ts +0 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hasown/package.json +4 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/client/client.js +30 -16
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/client/utils.js +4 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/context.js +32 -13
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/accepts/accepts.js +36 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/proxy/index.js +4 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/ssg/ssg.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/ssg/utils.js +30 -10
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/streaming/sse.js +5 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/hono-base.js +10 -8
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/base.js +44 -23
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/components.js +25 -26
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/context.js +5 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/render.js +2 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/server.js +5 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/hooks/index.js +16 -13
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/streaming.js +4 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/cache/index.js +103 -8
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/compress/index.js +5 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/cors/index.js +17 -14
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/csrf/index.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/etag/digest.js +47 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/etag/index.js +7 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +9 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +9 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/language/language.js +10 -6
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/method-not-allowed/index.js +90 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +16 -7
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/request.js +20 -13
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/linear-router/router.js +7 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/pattern-router/router.js +3 -9
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +65 -59
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +71 -128
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +14 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/trie-router/node.js +47 -70
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/trie-router/router.js +3 -11
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/utils.js +27 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/accept.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/body.js +21 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/cookie.js +4 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/ipaddr.js +5 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/stream.js +12 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/url.js +19 -11
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/client/client.js +30 -16
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/client/utils.js +4 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/context.js +32 -13
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/accepts/accepts.js +36 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/proxy/index.js +4 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/ssg/ssg.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/ssg/utils.js +30 -10
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/streaming/sse.js +5 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/hono-base.js +10 -8
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/base.js +41 -23
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/components.js +26 -27
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/context.js +6 -6
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/dom/render.js +2 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/dom/server.js +5 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/hooks/index.js +16 -13
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/intrinsic-element/components.js +4 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/streaming.js +5 -6
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/cache/index.js +103 -8
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/compress/index.js +5 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/cors/index.js +17 -14
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/csrf/index.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/etag/digest.js +47 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/etag/index.js +7 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/jwk/jwk.js +9 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/jwt/jwt.js +9 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/language/language.js +10 -6
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/method-not-allowed/index.js +68 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/pretty-json/index.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +16 -7
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/request.js +21 -14
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/linear-router/router.js +7 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/pattern-router/router.js +3 -9
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/node.js +61 -58
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/router.js +77 -129
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/trie.js +14 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/trie-router/node.js +47 -70
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/trie-router/router.js +3 -11
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/utils.js +5 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +9 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/client/types.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/context.d.ts +6 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/hono-base.d.ts +4 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/base.d.ts +7 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/dom/index.d.ts +5 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +2 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/dom/server.d.ts +5 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/hooks/index.d.ts +8 -6
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/index.d.ts +5 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/cache/index.d.ts +6 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/combine/index.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/cors/index.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +2 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +2 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +2 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/method-not-allowed/index.d.ts +49 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +4 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +2 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/router/trie-router/node.d.ts +1 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/router/trie-router/router.d.ts +0 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/router/utils.d.ts +1 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/router.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/utils/headers.d.ts +2 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/utils/url.d.ts +5 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/accept.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/body.js +21 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/cookie.js +5 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/ipaddr.js +5 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/stream.js +12 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/url.js +17 -10
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/package.json +11 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/README.md +173 -143
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/address-error.d.ts +11 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/address-error.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/common.d.ts +49 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/common.js +79 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/common.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/ipv4.d.ts +78 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/ipv4.js +119 -24
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/ipv4.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/ipv6.d.ts +151 -10
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/ipv6.js +316 -90
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/ipv6.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/v4/constants.d.ts +12 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/v4/constants.js +45 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/v4/constants.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/v6/constants.d.ts +14 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/v6/constants.js +50 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/dist/v6/constants.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/ip-address/package.json +6 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/.github/THREAT_MODEL.md +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/CHANGELOG.md +26 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/README.md +19 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/dist/qs.js +25 -25
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/eslint.config.mjs +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/lib/parse.js +16 -6
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/lib/stringify.js +23 -8
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/lib/utils.js +57 -11
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/package.json +8 -7
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/test/parse.js +419 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/test/stringify.js +317 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/qs/test/utils.js +206 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/side-channel/CHANGELOG.md +10 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/side-channel/README.md +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/side-channel/index.js +5 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/side-channel/package.json +10 -10
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/side-channel/test/index.js +16 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/type-is/index.js +8 -18
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/type-is/node_modules/content-type/LICENSE +22 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/type-is/node_modules/content-type/README.md +71 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/type-is/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/type-is/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/type-is/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/type-is/node_modules/content-type/package.json +52 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/type-is/package.json +9 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/package-lock.json +72 -41
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/.package-lock.json +6 -6
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/brace-expansion/README.md +23 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/brace-expansion/index.js +265 -86
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/brace-expansion/package.json +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/README.md +173 -143
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/address-error.d.ts +11 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/address-error.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/common.d.ts +49 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/common.js +79 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/common.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/ipv4.d.ts +78 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/ipv4.js +119 -24
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/ipv4.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/ipv6.d.ts +151 -10
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/ipv6.js +316 -90
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/ipv6.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/v4/constants.d.ts +12 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/v4/constants.js +45 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/v4/constants.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/v6/constants.d.ts +14 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/v6/constants.js +50 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/dist/v6/constants.js.map +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/node_modules/ip-address/package.json +6 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/utils/package-lock.json +6 -6
- package/node_modules/playwright/node_modules/playwright-core/lib/cli/program.js +18 -9
- package/node_modules/playwright/node_modules/playwright-core/lib/mcpBundleImpl/index.js +47 -47
- package/node_modules/playwright/node_modules/playwright-core/lib/server/codegen/skyramp/jsonlReader.js +3 -0
- package/node_modules/playwright/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +42 -0
- package/node_modules/playwright/node_modules/playwright-core/lib/utilsBundleImpl/index.js +121 -121
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/{index.B7KbSQcC.js → index.BAkLd5DX.js} +1 -1
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/index.html +1 -1
- package/node_modules/playwright/node_modules/playwright-core/package.json +1 -1
- package/node_modules/playwright/node_modules/playwright-core/src/cli/program.ts +31 -9
- package/node_modules/playwright/node_modules/playwright-core/src/server/codegen/skyramp/jsonlReader.ts +1 -0
- package/node_modules/playwright/node_modules/playwright-core/src/server/recorder/recorderRunner.ts +57 -1
- package/node_modules/playwright/package.json +2 -2
- package/package.json +7 -6
- package/plugin/prompts/code-reuse/hand-off.md +30 -0
- package/plugin/prompts/generate-tests/generation.md +1 -1
- package/plugin/prompts/plan-tests.md +14 -14
- package/plugin/prompts/testbot-task1.md +2 -2
- package/plugin/skills/enhance-assertions/SKILL.md +25 -0
- package/plugin/skills/enhance-assertions/reference/contract.md +51 -0
- package/plugin/skills/enhance-assertions/reference/integration.md +58 -0
- package/plugin/skills/enhance-assertions/reference/shared-rules.md +220 -0
- package/plugin/skills/enhance-assertions/reference/ui.md +373 -0
- package/plugin/skills/fix-test-import-errors/SKILL.md +45 -50
- package/plugin/skills/run-test/SKILL.md +16 -0
- package/plugin/skills/validate-assertion-alignment-post-execution/SKILL.md +32 -0
- package/plugin/skills/validate-assertion-alignment-post-execution/reference/checks.md +44 -0
- package/plugin/skills/validate-assertion-alignment-post-execution/reference/evidence.md +47 -0
- package/build/adapters/jestAdapter.d.ts +0 -14
- package/build/adapters/jestAdapter.js +0 -113
- package/build/adapters/mochaAdapter.d.ts +0 -13
- package/build/adapters/mochaAdapter.js +0 -87
- package/build/adapters/playwrightAdapter.d.ts +0 -17
- package/build/adapters/playwrightAdapter.js +0 -182
- package/build/adapters/pytestAdapter.d.ts +0 -15
- package/build/adapters/pytestAdapter.js +0 -108
- package/build/prompts/enhance-assertions/contractProviderAssertionsPrompt.d.ts +0 -2
- package/build/prompts/enhance-assertions/contractProviderAssertionsPrompt.js +0 -29
- package/build/prompts/enhance-assertions/integrationAssertionsPrompt.d.ts +0 -2
- package/build/prompts/enhance-assertions/integrationAssertionsPrompt.js +0 -36
- package/build/prompts/enhance-assertions/sharedAssertionRules.d.ts +0 -16
- package/build/prompts/enhance-assertions/sharedAssertionRules.js +0 -284
- package/build/prompts/enhance-assertions/uiAssertionsPrompt.d.ts +0 -2
- package/build/prompts/enhance-assertions/uiAssertionsPrompt.js +0 -388
- package/build/tools/runExistingTestsTool.d.ts +0 -138
- package/build/tools/runExistingTestsTool.js +0 -644
- package/build/types/ExternalTestExecution.d.ts +0 -67
- package/build/types/ExternalTestExecution.js +0 -8
- package/build/workspace/testSuites.d.ts +0 -20
- package/build/workspace/testSuites.js +0 -17
- package/node_modules/playwright/node_modules/playwright-core/.DS_Store +0 -0
|
@@ -4,7 +4,7 @@ THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
|
|
|
4
4
|
|
|
5
5
|
This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
|
|
6
6
|
|
|
7
|
-
- @hono/node-server@1.19.
|
|
7
|
+
- @hono/node-server@1.19.17 (https://github.com/honojs/node-server)
|
|
8
8
|
- @lowire/loop@0.0.25 (https://github.com/pavelfeldman/lowire)
|
|
9
9
|
- @modelcontextprotocol/sdk@1.26.0 (https://github.com/modelcontextprotocol/typescript-sdk)
|
|
10
10
|
- accepts@2.0.0 (https://github.com/jshttp/accepts)
|
|
@@ -12,8 +12,8 @@ This project incorporates components from the projects listed below. The origina
|
|
|
12
12
|
- ajv-formats@3.0.1 (https://github.com/ajv-validator/ajv-formats)
|
|
13
13
|
- ajv@8.18.0 (https://github.com/ajv-validator/ajv)
|
|
14
14
|
- balanced-match@1.0.2 (https://github.com/juliangruber/balanced-match)
|
|
15
|
-
- body-parser@2.
|
|
16
|
-
- brace-expansion@1.1.
|
|
15
|
+
- body-parser@2.3.0 (https://github.com/expressjs/body-parser)
|
|
16
|
+
- brace-expansion@1.1.18 (https://github.com/juliangruber/brace-expansion)
|
|
17
17
|
- buffer-crc32@0.2.13 (https://github.com/brianloveswords/buffer-crc32)
|
|
18
18
|
- bytes@3.1.2 (https://github.com/visionmedia/bytes.js)
|
|
19
19
|
- call-bind-apply-helpers@1.0.2 (https://github.com/ljharb/call-bind-apply-helpers)
|
|
@@ -24,6 +24,7 @@ This project incorporates components from the projects listed below. The origina
|
|
|
24
24
|
- concat-map@0.0.1 (https://github.com/substack/node-concat-map)
|
|
25
25
|
- content-disposition@1.1.0 (https://github.com/jshttp/content-disposition)
|
|
26
26
|
- content-type@1.0.5 (https://github.com/jshttp/content-type)
|
|
27
|
+
- content-type@2.1.0 (https://github.com/jshttp/content-type)
|
|
27
28
|
- cookie-signature@1.2.2 (https://github.com/visionmedia/node-cookie-signature)
|
|
28
29
|
- cookie@0.7.2 (https://github.com/jshttp/cookie)
|
|
29
30
|
- cors@2.8.5 (https://github.com/expressjs/cors)
|
|
@@ -41,7 +42,7 @@ This project incorporates components from the projects listed below. The origina
|
|
|
41
42
|
- end-of-stream@1.4.4 (https://github.com/mafintosh/end-of-stream)
|
|
42
43
|
- es-define-property@1.0.1 (https://github.com/ljharb/es-define-property)
|
|
43
44
|
- es-errors@1.3.0 (https://github.com/ljharb/es-errors)
|
|
44
|
-
- es-object-atoms@1.1.
|
|
45
|
+
- es-object-atoms@1.1.2 (https://github.com/ljharb/es-object-atoms)
|
|
45
46
|
- escape-html@1.0.3 (https://github.com/component/escape-html)
|
|
46
47
|
- etag@1.8.1 (https://github.com/jshttp/etag)
|
|
47
48
|
- eventsource-parser@3.0.3 (https://github.com/rexxars/eventsource-parser)
|
|
@@ -49,7 +50,7 @@ This project incorporates components from the projects listed below. The origina
|
|
|
49
50
|
- express-rate-limit@8.5.2 (https://github.com/express-rate-limit/express-rate-limit)
|
|
50
51
|
- express@5.2.1 (https://github.com/expressjs/express)
|
|
51
52
|
- fast-deep-equal@3.1.3 (https://github.com/epoberezkin/fast-deep-equal)
|
|
52
|
-
- fast-uri@3.1.
|
|
53
|
+
- fast-uri@3.1.7 (https://github.com/fastify/fast-uri)
|
|
53
54
|
- finalhandler@2.1.1 (https://github.com/pillarjs/finalhandler)
|
|
54
55
|
- forwarded@0.2.0 (https://github.com/jshttp/forwarded)
|
|
55
56
|
- fresh@2.0.0 (https://github.com/jshttp/fresh)
|
|
@@ -60,13 +61,13 @@ This project incorporates components from the projects listed below. The origina
|
|
|
60
61
|
- gopd@1.2.0 (https://github.com/ljharb/gopd)
|
|
61
62
|
- graceful-fs@4.2.10 (https://github.com/isaacs/node-graceful-fs)
|
|
62
63
|
- has-symbols@1.1.0 (https://github.com/inspect-js/has-symbols)
|
|
63
|
-
- hasown@2.0.
|
|
64
|
-
- hono@4.
|
|
64
|
+
- hasown@2.0.4 (https://github.com/inspect-js/hasOwn)
|
|
65
|
+
- hono@4.13.7 (https://github.com/honojs/hono)
|
|
65
66
|
- http-errors@2.0.1 (https://github.com/jshttp/http-errors)
|
|
66
67
|
- https-proxy-agent@7.0.6 (https://github.com/TooTallNate/proxy-agents)
|
|
67
68
|
- iconv-lite@0.7.2 (https://github.com/pillarjs/iconv-lite)
|
|
68
69
|
- inherits@2.0.4 (https://github.com/isaacs/inherits)
|
|
69
|
-
- ip-address@10.
|
|
70
|
+
- ip-address@10.7.0 (https://github.com/beaugunderson/ip-address)
|
|
70
71
|
- ipaddr.js@1.9.1 (https://github.com/whitequark/ipaddr.js)
|
|
71
72
|
- is-docker@2.2.1 (https://github.com/sindresorhus/is-docker)
|
|
72
73
|
- is-promise@4.0.0 (https://github.com/then/is-promise)
|
|
@@ -101,7 +102,7 @@ This project incorporates components from the projects listed below. The origina
|
|
|
101
102
|
- proxy-addr@2.0.7 (https://github.com/jshttp/proxy-addr)
|
|
102
103
|
- proxy-from-env@1.1.0 (https://github.com/Rob--W/proxy-from-env)
|
|
103
104
|
- pump@3.0.2 (https://github.com/mafintosh/pump)
|
|
104
|
-
- qs@6.
|
|
105
|
+
- qs@6.16.0 (https://github.com/ljharb/qs)
|
|
105
106
|
- range-parser@1.2.1 (https://github.com/jshttp/range-parser)
|
|
106
107
|
- raw-body@3.0.2 (https://github.com/stream-utils/raw-body)
|
|
107
108
|
- require-from-string@2.0.2 (https://github.com/floatdrop/require-from-string)
|
|
@@ -116,14 +117,14 @@ This project incorporates components from the projects listed below. The origina
|
|
|
116
117
|
- side-channel-list@1.0.1 (https://github.com/ljharb/side-channel-list)
|
|
117
118
|
- side-channel-map@1.0.1 (https://github.com/ljharb/side-channel-map)
|
|
118
119
|
- side-channel-weakmap@1.0.2 (https://github.com/ljharb/side-channel-weakmap)
|
|
119
|
-
- side-channel@1.1.
|
|
120
|
+
- side-channel@1.1.1 (https://github.com/ljharb/side-channel)
|
|
120
121
|
- signal-exit@3.0.7 (https://github.com/tapjs/signal-exit)
|
|
121
122
|
- smart-buffer@4.2.0 (https://github.com/JoshGlazebrook/smart-buffer)
|
|
122
123
|
- socks-proxy-agent@8.0.5 (https://github.com/TooTallNate/proxy-agents)
|
|
123
124
|
- socks@2.8.9 (https://github.com/JoshGlazebrook/socks)
|
|
124
125
|
- statuses@2.0.2 (https://github.com/jshttp/statuses)
|
|
125
126
|
- toidentifier@1.0.1 (https://github.com/component/toidentifier)
|
|
126
|
-
- type-is@2.0
|
|
127
|
+
- type-is@2.1.0 (https://github.com/jshttp/type-is)
|
|
127
128
|
- unpipe@1.0.0 (https://github.com/stream-utils/unpipe)
|
|
128
129
|
- vary@1.1.2 (https://github.com/jshttp/vary)
|
|
129
130
|
- which@2.0.2 (https://github.com/isaacs/node-which)
|
|
@@ -136,7 +137,7 @@ This project incorporates components from the projects listed below. The origina
|
|
|
136
137
|
- zod@3.25.76 (https://github.com/colinhacks/zod)
|
|
137
138
|
- zod@4.3.5 (https://github.com/colinhacks/zod)
|
|
138
139
|
|
|
139
|
-
%% @hono/node-server@1.19.
|
|
140
|
+
%% @hono/node-server@1.19.17 NOTICES AND INFORMATION BEGIN HERE
|
|
140
141
|
=========================================
|
|
141
142
|
MIT License
|
|
142
143
|
|
|
@@ -160,7 +161,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
160
161
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
161
162
|
SOFTWARE.
|
|
162
163
|
=========================================
|
|
163
|
-
END OF @hono/node-server@1.19.
|
|
164
|
+
END OF @hono/node-server@1.19.17 AND INFORMATION
|
|
164
165
|
|
|
165
166
|
%% @lowire/loop@0.0.25 NOTICES AND INFORMATION BEGIN HERE
|
|
166
167
|
=========================================
|
|
@@ -527,7 +528,7 @@ SOFTWARE.
|
|
|
527
528
|
=========================================
|
|
528
529
|
END OF balanced-match@1.0.2 AND INFORMATION
|
|
529
530
|
|
|
530
|
-
%% body-parser@2.
|
|
531
|
+
%% body-parser@2.3.0 NOTICES AND INFORMATION BEGIN HERE
|
|
531
532
|
=========================================
|
|
532
533
|
(The MIT License)
|
|
533
534
|
|
|
@@ -553,9 +554,9 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
553
554
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
554
555
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
555
556
|
=========================================
|
|
556
|
-
END OF body-parser@2.
|
|
557
|
+
END OF body-parser@2.3.0 AND INFORMATION
|
|
557
558
|
|
|
558
|
-
%% brace-expansion@1.1.
|
|
559
|
+
%% brace-expansion@1.1.18 NOTICES AND INFORMATION BEGIN HERE
|
|
559
560
|
=========================================
|
|
560
561
|
MIT License
|
|
561
562
|
|
|
@@ -579,7 +580,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
579
580
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
580
581
|
SOFTWARE.
|
|
581
582
|
=========================================
|
|
582
|
-
END OF brace-expansion@1.1.
|
|
583
|
+
END OF brace-expansion@1.1.18 AND INFORMATION
|
|
583
584
|
|
|
584
585
|
%% buffer-crc32@0.2.13 NOTICES AND INFORMATION BEGIN HERE
|
|
585
586
|
=========================================
|
|
@@ -845,6 +846,33 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
845
846
|
=========================================
|
|
846
847
|
END OF content-type@1.0.5 AND INFORMATION
|
|
847
848
|
|
|
849
|
+
%% content-type@2.1.0 NOTICES AND INFORMATION BEGIN HERE
|
|
850
|
+
=========================================
|
|
851
|
+
(The MIT License)
|
|
852
|
+
|
|
853
|
+
Copyright (c) 2015 Douglas Christopher Wilson
|
|
854
|
+
|
|
855
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
856
|
+
a copy of this software and associated documentation files (the
|
|
857
|
+
'Software'), to deal in the Software without restriction, including
|
|
858
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
859
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
860
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
861
|
+
the following conditions:
|
|
862
|
+
|
|
863
|
+
The above copyright notice and this permission notice shall be
|
|
864
|
+
included in all copies or substantial portions of the Software.
|
|
865
|
+
|
|
866
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
867
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
868
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
869
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
870
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
871
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
872
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
873
|
+
=========================================
|
|
874
|
+
END OF content-type@2.1.0 AND INFORMATION
|
|
875
|
+
|
|
848
876
|
%% cookie-signature@1.2.2 NOTICES AND INFORMATION BEGIN HERE
|
|
849
877
|
=========================================
|
|
850
878
|
(The MIT License)
|
|
@@ -1285,7 +1313,7 @@ SOFTWARE.
|
|
|
1285
1313
|
=========================================
|
|
1286
1314
|
END OF es-errors@1.3.0 AND INFORMATION
|
|
1287
1315
|
|
|
1288
|
-
%% es-object-atoms@1.1.
|
|
1316
|
+
%% es-object-atoms@1.1.2 NOTICES AND INFORMATION BEGIN HERE
|
|
1289
1317
|
=========================================
|
|
1290
1318
|
MIT License
|
|
1291
1319
|
|
|
@@ -1309,7 +1337,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1309
1337
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1310
1338
|
SOFTWARE.
|
|
1311
1339
|
=========================================
|
|
1312
|
-
END OF es-object-atoms@1.1.
|
|
1340
|
+
END OF es-object-atoms@1.1.2 AND INFORMATION
|
|
1313
1341
|
|
|
1314
1342
|
%% escape-html@1.0.3 NOTICES AND INFORMATION BEGIN HERE
|
|
1315
1343
|
=========================================
|
|
@@ -1500,7 +1528,7 @@ SOFTWARE.
|
|
|
1500
1528
|
=========================================
|
|
1501
1529
|
END OF fast-deep-equal@3.1.3 AND INFORMATION
|
|
1502
1530
|
|
|
1503
|
-
%% fast-uri@3.1.
|
|
1531
|
+
%% fast-uri@3.1.7 NOTICES AND INFORMATION BEGIN HERE
|
|
1504
1532
|
=========================================
|
|
1505
1533
|
Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
|
|
1506
1534
|
Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team>
|
|
@@ -1533,7 +1561,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
1533
1561
|
The complete list of contributors can be found at:
|
|
1534
1562
|
- https://github.com/garycourt/uri-js/graphs/contributors
|
|
1535
1563
|
=========================================
|
|
1536
|
-
END OF fast-uri@3.1.
|
|
1564
|
+
END OF fast-uri@3.1.7 AND INFORMATION
|
|
1537
1565
|
|
|
1538
1566
|
%% finalhandler@2.1.1 NOTICES AND INFORMATION BEGIN HERE
|
|
1539
1567
|
=========================================
|
|
@@ -1779,7 +1807,7 @@ SOFTWARE.
|
|
|
1779
1807
|
=========================================
|
|
1780
1808
|
END OF has-symbols@1.1.0 AND INFORMATION
|
|
1781
1809
|
|
|
1782
|
-
%% hasown@2.0.
|
|
1810
|
+
%% hasown@2.0.4 NOTICES AND INFORMATION BEGIN HERE
|
|
1783
1811
|
=========================================
|
|
1784
1812
|
MIT License
|
|
1785
1813
|
|
|
@@ -1803,9 +1831,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1803
1831
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1804
1832
|
SOFTWARE.
|
|
1805
1833
|
=========================================
|
|
1806
|
-
END OF hasown@2.0.
|
|
1834
|
+
END OF hasown@2.0.4 AND INFORMATION
|
|
1807
1835
|
|
|
1808
|
-
%% hono@4.
|
|
1836
|
+
%% hono@4.13.7 NOTICES AND INFORMATION BEGIN HERE
|
|
1809
1837
|
=========================================
|
|
1810
1838
|
MIT License
|
|
1811
1839
|
|
|
@@ -1829,7 +1857,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1829
1857
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1830
1858
|
SOFTWARE.
|
|
1831
1859
|
=========================================
|
|
1832
|
-
END OF hono@4.
|
|
1860
|
+
END OF hono@4.13.7 AND INFORMATION
|
|
1833
1861
|
|
|
1834
1862
|
%% http-errors@2.0.1 NOTICES AND INFORMATION BEGIN HERE
|
|
1835
1863
|
=========================================
|
|
@@ -1930,7 +1958,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
1930
1958
|
=========================================
|
|
1931
1959
|
END OF inherits@2.0.4 AND INFORMATION
|
|
1932
1960
|
|
|
1933
|
-
%% ip-address@10.
|
|
1961
|
+
%% ip-address@10.7.0 NOTICES AND INFORMATION BEGIN HERE
|
|
1934
1962
|
=========================================
|
|
1935
1963
|
Copyright (C) 2011 by Beau Gunderson
|
|
1936
1964
|
|
|
@@ -1952,7 +1980,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1952
1980
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1953
1981
|
THE SOFTWARE.
|
|
1954
1982
|
=========================================
|
|
1955
|
-
END OF ip-address@10.
|
|
1983
|
+
END OF ip-address@10.7.0 AND INFORMATION
|
|
1956
1984
|
|
|
1957
1985
|
%% ipaddr.js@1.9.1 NOTICES AND INFORMATION BEGIN HERE
|
|
1958
1986
|
=========================================
|
|
@@ -2812,7 +2840,7 @@ THE SOFTWARE.
|
|
|
2812
2840
|
=========================================
|
|
2813
2841
|
END OF pump@3.0.2 AND INFORMATION
|
|
2814
2842
|
|
|
2815
|
-
%% qs@6.
|
|
2843
|
+
%% qs@6.16.0 NOTICES AND INFORMATION BEGIN HERE
|
|
2816
2844
|
=========================================
|
|
2817
2845
|
BSD 3-Clause License
|
|
2818
2846
|
|
|
@@ -2844,7 +2872,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
2844
2872
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
2845
2873
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2846
2874
|
=========================================
|
|
2847
|
-
END OF qs@6.
|
|
2875
|
+
END OF qs@6.16.0 AND INFORMATION
|
|
2848
2876
|
|
|
2849
2877
|
%% range-parser@1.2.1 NOTICES AND INFORMATION BEGIN HERE
|
|
2850
2878
|
=========================================
|
|
@@ -3189,7 +3217,7 @@ SOFTWARE.
|
|
|
3189
3217
|
=========================================
|
|
3190
3218
|
END OF side-channel-weakmap@1.0.2 AND INFORMATION
|
|
3191
3219
|
|
|
3192
|
-
%% side-channel@1.1.
|
|
3220
|
+
%% side-channel@1.1.1 NOTICES AND INFORMATION BEGIN HERE
|
|
3193
3221
|
=========================================
|
|
3194
3222
|
MIT License
|
|
3195
3223
|
|
|
@@ -3213,7 +3241,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
3213
3241
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3214
3242
|
SOFTWARE.
|
|
3215
3243
|
=========================================
|
|
3216
|
-
END OF side-channel@1.1.
|
|
3244
|
+
END OF side-channel@1.1.1 AND INFORMATION
|
|
3217
3245
|
|
|
3218
3246
|
%% signal-exit@3.0.7 NOTICES AND INFORMATION BEGIN HERE
|
|
3219
3247
|
=========================================
|
|
@@ -3366,7 +3394,7 @@ SOFTWARE.
|
|
|
3366
3394
|
=========================================
|
|
3367
3395
|
END OF toidentifier@1.0.1 AND INFORMATION
|
|
3368
3396
|
|
|
3369
|
-
%% type-is@2.0
|
|
3397
|
+
%% type-is@2.1.0 NOTICES AND INFORMATION BEGIN HERE
|
|
3370
3398
|
=========================================
|
|
3371
3399
|
(The MIT License)
|
|
3372
3400
|
|
|
@@ -3392,7 +3420,7 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
3392
3420
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
3393
3421
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3394
3422
|
=========================================
|
|
3395
|
-
END OF type-is@2.0
|
|
3423
|
+
END OF type-is@2.1.0 AND INFORMATION
|
|
3396
3424
|
|
|
3397
3425
|
%% unpipe@1.0.0 NOTICES AND INFORMATION BEGIN HERE
|
|
3398
3426
|
=========================================
|
|
@@ -3657,6 +3685,6 @@ END OF zod@4.3.5 AND INFORMATION
|
|
|
3657
3685
|
|
|
3658
3686
|
SUMMARY BEGIN HERE
|
|
3659
3687
|
=========================================
|
|
3660
|
-
Total Packages:
|
|
3688
|
+
Total Packages: 132
|
|
3661
3689
|
=========================================
|
|
3662
3690
|
END OF SUMMARY
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"node_modules/@hono/node-server": {
|
|
8
|
-
"version": "1.19.
|
|
9
|
-
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.
|
|
10
|
-
"integrity": "sha512-
|
|
8
|
+
"version": "1.19.17",
|
|
9
|
+
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.17.tgz",
|
|
10
|
+
"integrity": "sha512-dSneS5qhiauZWGDCeK4o695Xd9nUNjviSZCMQrj10eetr8Uln1ucn6bbphOM6UynAMMtNIzZNSpL9vnASJwrPQ==",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=18.14.1"
|
|
@@ -112,20 +112,20 @@
|
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
"node_modules/body-parser": {
|
|
115
|
-
"version": "2.
|
|
116
|
-
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.
|
|
117
|
-
"integrity": "sha512-
|
|
115
|
+
"version": "2.3.0",
|
|
116
|
+
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
|
|
117
|
+
"integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==",
|
|
118
118
|
"license": "MIT",
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"bytes": "^3.1.2",
|
|
121
|
-
"content-type": "^
|
|
121
|
+
"content-type": "^2.0.0",
|
|
122
122
|
"debug": "^4.4.3",
|
|
123
|
-
"http-errors": "^2.0.
|
|
124
|
-
"iconv-lite": "^0.7.
|
|
123
|
+
"http-errors": "^2.0.1",
|
|
124
|
+
"iconv-lite": "^0.7.2",
|
|
125
125
|
"on-finished": "^2.4.1",
|
|
126
|
-
"qs": "^6.
|
|
127
|
-
"raw-body": "^3.0.
|
|
128
|
-
"type-is": "^2.0
|
|
126
|
+
"qs": "^6.15.2",
|
|
127
|
+
"raw-body": "^3.0.2",
|
|
128
|
+
"type-is": "^2.1.0"
|
|
129
129
|
},
|
|
130
130
|
"engines": {
|
|
131
131
|
"node": ">=18"
|
|
@@ -135,6 +135,19 @@
|
|
|
135
135
|
"url": "https://opencollective.com/express"
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
|
+
"node_modules/body-parser/node_modules/content-type": {
|
|
139
|
+
"version": "2.1.0",
|
|
140
|
+
"resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
|
|
141
|
+
"integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
|
|
142
|
+
"license": "MIT",
|
|
143
|
+
"engines": {
|
|
144
|
+
"node": ">=18"
|
|
145
|
+
},
|
|
146
|
+
"funding": {
|
|
147
|
+
"type": "opencollective",
|
|
148
|
+
"url": "https://opencollective.com/express"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
138
151
|
"node_modules/bytes": {
|
|
139
152
|
"version": "3.1.2",
|
|
140
153
|
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
|
|
@@ -314,9 +327,9 @@
|
|
|
314
327
|
}
|
|
315
328
|
},
|
|
316
329
|
"node_modules/es-object-atoms": {
|
|
317
|
-
"version": "1.1.
|
|
318
|
-
"resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.
|
|
319
|
-
"integrity": "sha512-
|
|
330
|
+
"version": "1.1.2",
|
|
331
|
+
"resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
|
|
332
|
+
"integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",
|
|
320
333
|
"license": "MIT",
|
|
321
334
|
"dependencies": {
|
|
322
335
|
"es-errors": "^1.3.0"
|
|
@@ -429,9 +442,9 @@
|
|
|
429
442
|
"license": "MIT"
|
|
430
443
|
},
|
|
431
444
|
"node_modules/fast-uri": {
|
|
432
|
-
"version": "3.1.
|
|
433
|
-
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.
|
|
434
|
-
"integrity": "sha512-
|
|
445
|
+
"version": "3.1.7",
|
|
446
|
+
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.7.tgz",
|
|
447
|
+
"integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==",
|
|
435
448
|
"funding": [
|
|
436
449
|
{
|
|
437
450
|
"type": "github",
|
|
@@ -554,9 +567,9 @@
|
|
|
554
567
|
}
|
|
555
568
|
},
|
|
556
569
|
"node_modules/hasown": {
|
|
557
|
-
"version": "2.0.
|
|
558
|
-
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.
|
|
559
|
-
"integrity": "sha512-
|
|
570
|
+
"version": "2.0.4",
|
|
571
|
+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
|
|
572
|
+
"integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
|
|
560
573
|
"license": "MIT",
|
|
561
574
|
"dependencies": {
|
|
562
575
|
"function-bind": "^1.1.2"
|
|
@@ -566,9 +579,9 @@
|
|
|
566
579
|
}
|
|
567
580
|
},
|
|
568
581
|
"node_modules/hono": {
|
|
569
|
-
"version": "4.
|
|
570
|
-
"resolved": "https://registry.npmjs.org/hono/-/hono-4.
|
|
571
|
-
"integrity": "sha512-
|
|
582
|
+
"version": "4.13.7",
|
|
583
|
+
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.7.tgz",
|
|
584
|
+
"integrity": "sha512-c8/gF9ac8Y78/agExVocyLevgR+JlpNB444Py0FSX8pJoPdYUfUzRcXtYEYGwt6l19qIlVZPN5Mfsw9jFShmQQ==",
|
|
572
585
|
"license": "MIT",
|
|
573
586
|
"engines": {
|
|
574
587
|
"node": ">=16.9.0"
|
|
@@ -617,9 +630,9 @@
|
|
|
617
630
|
"license": "ISC"
|
|
618
631
|
},
|
|
619
632
|
"node_modules/ip-address": {
|
|
620
|
-
"version": "10.
|
|
621
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.
|
|
622
|
-
"integrity": "sha512
|
|
633
|
+
"version": "10.7.0",
|
|
634
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.0.tgz",
|
|
635
|
+
"integrity": "sha512-BGFsyJd5mpXp3rK6jIdADLNgpJUK1jnjzvYF8lK+VyDab9JAmqN0YOKDdP17HlgKb2+ehPgDc8EtnRLbGCAMhA==",
|
|
623
636
|
"license": "MIT",
|
|
624
637
|
"engines": {
|
|
625
638
|
"node": ">= 12"
|
|
@@ -830,12 +843,13 @@
|
|
|
830
843
|
}
|
|
831
844
|
},
|
|
832
845
|
"node_modules/qs": {
|
|
833
|
-
"version": "6.
|
|
834
|
-
"resolved": "https://registry.npmjs.org/qs/-/qs-6.
|
|
835
|
-
"integrity": "sha512-
|
|
846
|
+
"version": "6.16.0",
|
|
847
|
+
"resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz",
|
|
848
|
+
"integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==",
|
|
836
849
|
"license": "BSD-3-Clause",
|
|
837
850
|
"dependencies": {
|
|
838
|
-
"
|
|
851
|
+
"es-define-property": "^1.0.1",
|
|
852
|
+
"side-channel": "^1.1.1"
|
|
839
853
|
},
|
|
840
854
|
"engines": {
|
|
841
855
|
"node": ">=0.6"
|
|
@@ -972,14 +986,14 @@
|
|
|
972
986
|
}
|
|
973
987
|
},
|
|
974
988
|
"node_modules/side-channel": {
|
|
975
|
-
"version": "1.1.
|
|
976
|
-
"resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.
|
|
977
|
-
"integrity": "sha512-
|
|
989
|
+
"version": "1.1.1",
|
|
990
|
+
"resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",
|
|
991
|
+
"integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",
|
|
978
992
|
"license": "MIT",
|
|
979
993
|
"dependencies": {
|
|
980
994
|
"es-errors": "^1.3.0",
|
|
981
|
-
"object-inspect": "^1.13.
|
|
982
|
-
"side-channel-list": "^1.0.
|
|
995
|
+
"object-inspect": "^1.13.4",
|
|
996
|
+
"side-channel-list": "^1.0.1",
|
|
983
997
|
"side-channel-map": "^1.0.1",
|
|
984
998
|
"side-channel-weakmap": "^1.0.2"
|
|
985
999
|
},
|
|
@@ -1062,17 +1076,34 @@
|
|
|
1062
1076
|
}
|
|
1063
1077
|
},
|
|
1064
1078
|
"node_modules/type-is": {
|
|
1065
|
-
"version": "2.0
|
|
1066
|
-
"resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.
|
|
1067
|
-
"integrity": "sha512-
|
|
1079
|
+
"version": "2.1.0",
|
|
1080
|
+
"resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz",
|
|
1081
|
+
"integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==",
|
|
1068
1082
|
"license": "MIT",
|
|
1069
1083
|
"dependencies": {
|
|
1070
|
-
"content-type": "^
|
|
1084
|
+
"content-type": "^2.0.0",
|
|
1071
1085
|
"media-typer": "^1.1.0",
|
|
1072
1086
|
"mime-types": "^3.0.0"
|
|
1073
1087
|
},
|
|
1074
1088
|
"engines": {
|
|
1075
|
-
"node": ">=
|
|
1089
|
+
"node": ">= 18"
|
|
1090
|
+
},
|
|
1091
|
+
"funding": {
|
|
1092
|
+
"type": "opencollective",
|
|
1093
|
+
"url": "https://opencollective.com/express"
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
"node_modules/type-is/node_modules/content-type": {
|
|
1097
|
+
"version": "2.1.0",
|
|
1098
|
+
"resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
|
|
1099
|
+
"integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
|
|
1100
|
+
"license": "MIT",
|
|
1101
|
+
"engines": {
|
|
1102
|
+
"node": ">=18"
|
|
1103
|
+
},
|
|
1104
|
+
"funding": {
|
|
1105
|
+
"type": "opencollective",
|
|
1106
|
+
"url": "https://opencollective.com/express"
|
|
1076
1107
|
}
|
|
1077
1108
|
},
|
|
1078
1109
|
"node_modules/unpipe": {
|
|
@@ -100,7 +100,7 @@ var serveStatic = (options = { root: "" }) => {
|
|
|
100
100
|
} else {
|
|
101
101
|
try {
|
|
102
102
|
filename = tryDecodeURI(c.req.path);
|
|
103
|
-
if (/(?:^|[\/\\])\.{1,2}(?:$|[\/\\])|[\/\\]{2,}
|
|
103
|
+
if (/(?:^|[\/\\])\.{1,2}(?:$|[\/\\])|[\/\\]{2,}|\\/.test(filename)) {
|
|
104
104
|
throw new Error();
|
|
105
105
|
}
|
|
106
106
|
} catch {
|
|
@@ -76,7 +76,7 @@ var serveStatic = (options = { root: "" }) => {
|
|
|
76
76
|
} else {
|
|
77
77
|
try {
|
|
78
78
|
filename = tryDecodeURI(c.req.path);
|
|
79
|
-
if (/(?:^|[\/\\])\.{1,2}(?:$|[\/\\])|[\/\\]{2,}
|
|
79
|
+
if (/(?:^|[\/\\])\.{1,2}(?:$|[\/\\])|[\/\\]{2,}|\\/.test(filename)) {
|
|
80
80
|
throw new Error();
|
|
81
81
|
}
|
|
82
82
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hono/node-server",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.17",
|
|
4
4
|
"description": "Node.js Adapter for Hono",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"watch": "tsup --watch",
|
|
60
60
|
"postbuild": "publint",
|
|
61
61
|
"prerelease": "bun run build && bun run test",
|
|
62
|
-
"release": "np",
|
|
62
|
+
"release": "np --no-publish --branch v1.x",
|
|
63
63
|
"lint": "eslint src test",
|
|
64
64
|
"lint:fix": "eslint src test --fix",
|
|
65
65
|
"format": "prettier --check \"src/**/*.{js,ts}\" \"test/**/*.{js,ts}\"",
|
|
@@ -51,7 +51,14 @@ $ npm install body-parser
|
|
|
51
51
|
## API
|
|
52
52
|
|
|
53
53
|
```js
|
|
54
|
+
// Import all parsers
|
|
54
55
|
const bodyParser = require('body-parser')
|
|
56
|
+
|
|
57
|
+
// Or import individual parsers directly
|
|
58
|
+
const json = require('body-parser/json')
|
|
59
|
+
const urlencoded = require('body-parser/urlencoded')
|
|
60
|
+
const raw = require('body-parser/raw')
|
|
61
|
+
const text = require('body-parser/text')
|
|
55
62
|
```
|
|
56
63
|
|
|
57
64
|
The `bodyParser` object exposes various factories to create middlewares. All
|
|
@@ -93,11 +100,13 @@ specifies the number of bytes; if it is a string, the value is passed to the
|
|
|
93
100
|
[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
|
|
94
101
|
to `'100kb'`.
|
|
95
102
|
|
|
103
|
+
> It’s recommended not to configure a very high limit and to use the default value whenever possible. Allowing larger payloads increases memory usage because of the resources required for decoding and transformations, and it can also lead to longer response times as more data is processed. By ‘very high’, we mean values above the default, for example payloads of 5 MB or more can already start to introduce these risks. With the default limits, these issues do not occur.
|
|
104
|
+
|
|
96
105
|
##### reviver
|
|
97
106
|
|
|
98
107
|
The `reviver` option is passed directly to `JSON.parse` as the second
|
|
99
108
|
argument. You can find more information on this argument
|
|
100
|
-
[in the MDN documentation about JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#
|
|
109
|
+
[in the MDN documentation about JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#the_reviver_parameter).
|
|
101
110
|
|
|
102
111
|
##### strict
|
|
103
112
|
|
|
@@ -149,6 +158,8 @@ specifies the number of bytes; if it is a string, the value is passed to the
|
|
|
149
158
|
[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
|
|
150
159
|
to `'100kb'`.
|
|
151
160
|
|
|
161
|
+
> It’s recommended not to configure a very high limit and to use the default value whenever possible. Allowing larger payloads increases memory usage because of the resources required for decoding and transformations, and it can also lead to longer response times as more data is processed. By ‘very high’, we mean values above the default, for example payloads of 5 MB or more can already start to introduce these risks. With the default limits, these issues do not occur.
|
|
162
|
+
|
|
152
163
|
##### type
|
|
153
164
|
|
|
154
165
|
The `type` option is used to determine what media type the middleware will
|
|
@@ -200,6 +211,8 @@ specifies the number of bytes; if it is a string, the value is passed to the
|
|
|
200
211
|
[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
|
|
201
212
|
to `'100kb'`.
|
|
202
213
|
|
|
214
|
+
> It’s recommended not to configure a very high limit and to use the default value whenever possible. Allowing larger payloads increases memory usage because of the resources required for decoding and transformations, and it can also lead to longer response times as more data is processed. By ‘very high’, we mean values above the default, for example payloads of 5 MB or more can already start to introduce these risks. With the default limits, these issues do not occur.
|
|
215
|
+
|
|
203
216
|
##### type
|
|
204
217
|
|
|
205
218
|
The `type` option is used to determine what media type the middleware will
|
|
@@ -255,6 +268,8 @@ specifies the number of bytes; if it is a string, the value is passed to the
|
|
|
255
268
|
[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
|
|
256
269
|
to `'100kb'`.
|
|
257
270
|
|
|
271
|
+
> It’s recommended not to configure a very high limit and to use the default value whenever possible. Allowing larger payloads increases memory usage because of the resources required for decoding and transformations, and it can also lead to longer response times as more data is processed. By ‘very high’, we mean values above the default, for example payloads of 5 MB or more can already start to introduce these risks. With the default limits, these issues do not occur.
|
|
272
|
+
|
|
258
273
|
##### parameterLimit
|
|
259
274
|
|
|
260
275
|
The `parameterLimit` option controls the maximum number of parameters that
|
|
@@ -24,41 +24,25 @@ exports = module.exports = bodyParser
|
|
|
24
24
|
* JSON parser.
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
|
-
|
|
28
|
-
configurable: true,
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: () => require('./lib/types/json')
|
|
31
|
-
})
|
|
27
|
+
exports.json = require('./lib/types/json')
|
|
32
28
|
|
|
33
29
|
/**
|
|
34
30
|
* Raw parser.
|
|
35
31
|
* @public
|
|
36
32
|
*/
|
|
37
|
-
|
|
38
|
-
configurable: true,
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: () => require('./lib/types/raw')
|
|
41
|
-
})
|
|
33
|
+
exports.raw = require('./lib/types/raw')
|
|
42
34
|
|
|
43
35
|
/**
|
|
44
36
|
* Text parser.
|
|
45
37
|
* @public
|
|
46
38
|
*/
|
|
47
|
-
|
|
48
|
-
configurable: true,
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: () => require('./lib/types/text')
|
|
51
|
-
})
|
|
39
|
+
exports.text = require('./lib/types/text')
|
|
52
40
|
|
|
53
41
|
/**
|
|
54
42
|
* URL-encoded parser.
|
|
55
43
|
* @public
|
|
56
44
|
*/
|
|
57
|
-
|
|
58
|
-
configurable: true,
|
|
59
|
-
enumerable: true,
|
|
60
|
-
get: () => require('./lib/types/urlencoded')
|
|
61
|
-
})
|
|
45
|
+
exports.urlencoded = require('./lib/types/urlencoded')
|
|
62
46
|
|
|
63
47
|
/**
|
|
64
48
|
* Create a middleware to parse json and urlencoded bodies.
|