{"_id":"@ahmttyydn/pre-post-request-scripts","_rev":"7-a709b32bf02d924cc3efabf601fa4ff5","name":"@ahmttyydn/pre-post-request-scripts","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@ahmttyydn/pre-post-request-scripts","version":"1.0.0","keywords":["scalar","openapi","swagger","scripts","pre-request scripts","post-response scripts","api client"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/pre-post-request-scripts@1.0.0","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"dist":{"shasum":"46c112ccd30d8982748378f790f5ce8d9d96b204","tarball":"https://registry.npmjs.org/@ahmttyydn/pre-post-request-scripts/-/pre-post-request-scripts-1.0.0.tgz","fileCount":97,"integrity":"sha512-KzP4BsGTfAlVX0KW0ECAfWuRGwnXOMJdXCBGiwkSj4O/xax4+VdUKLY+4TL+a+obOcii2PAkOwqHcYJyDluEuA==","signatures":[{"sig":"MEUCIDdjQfFrhuXHWJhx7YS6qI0jJS9sxD4r+nCWjX59j8k8AiEAn9chawfoDA9UCDZevuRz/q2BVU/jRTrXSREYZhHZ83M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142291},"main":"dist/index.js","type":"module","_from":"file:ahmttyydn-pre-post-request-scripts-1.0.0.tgz","types":"./dist/index.d.ts","module":"dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./*.css":{"import":"./dist/*.css","default":"./dist/*.css","require":"./dist/*.css"},"./libs/execute-scripts":{"types":"./dist/libs/execute-scripts/index.d.ts","import":"./dist/libs/execute-scripts/index.js","default":"./dist/libs/execute-scripts/index.js"},"./plugins/post-response-scripts":{"types":"./dist/plugins/post-response-scripts/index.d.ts","import":"./dist/plugins/post-response-scripts/index.js","default":"./dist/plugins/post-response-scripts/index.js"},"./plugins/post-response-scripts/components/TestResults":{"types":"./dist/plugins/post-response-scripts/components/TestResults/index.d.ts","import":"./dist/plugins/post-response-scripts/components/TestResults/index.js","default":"./dist/plugins/post-response-scripts/components/TestResults/index.js"},"./plugins/post-response-scripts/components/PostResponseScripts":{"types":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.d.ts","import":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js","default":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js"}},"scripts":{"dev":"vite","test":"vitest","build":"vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","preview":"vite preview","types:check":"vue-tsc --noEmit"},"_npmUser":{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"},"_resolved":"/private/var/folders/6s/_0b0836n1t9dc5prz2rp43h80000gn/T/04372495d29d1d94521b454b6ccaeb00/ahmttyydn-pre-post-request-scripts-1.0.0.tgz","_integrity":"sha512-KzP4BsGTfAlVX0KW0ECAfWuRGwnXOMJdXCBGiwkSj4O/xax4+VdUKLY+4TL+a+obOcii2PAkOwqHcYJyDluEuA==","repository":{"url":"git+https://github.com/scalar/scalar.git","type":"git","directory":"packages/pre-post-request-scripts"},"_npmVersion":"11.6.2","description":"Execute pre-request and post-response scripts in the Scalar API Client","directories":{},"_nodeVersion":"24.11.1","dependencies":{"vue":"^3.5.30","@headlessui/vue":"1.7.23","postman-sandbox":"^6.6.1","@ahmttyydn/oas-utils":"1.0.0","@ahmttyydn/components":"1.0.0","@codemirror/lang-javascript":"^6.2.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","@vue/test-utils":"2.4.6","@ahmttyydn/types":"1.0.0","@vitejs/plugin-vue":"^6.0.3","@ahmttyydn/use-codemirror":"1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pre-post-request-scripts_1.0.0_1775418766626_0.7791989532176726","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ahmttyydn/pre-post-request-scripts","version":"1.0.1","keywords":["scalar","openapi","swagger","scripts","pre-request scripts","post-response scripts","api client"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/pre-post-request-scripts@1.0.1","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"5aa943c5cf14fcf2044413b8442d3edd506db2f7","tarball":"https://registry.npmjs.org/@ahmttyydn/pre-post-request-scripts/-/pre-post-request-scripts-1.0.1.tgz","fileCount":97,"integrity":"sha512-NvaPyWjsa9Fr5zSMlZZRykcMrQghM4eJYxwaz8lMQ8dDW49K/5jh9VMIr3vgxWCpkDqEQhxUV79UCKIsmt9ZmA==","signatures":[{"sig":"MEYCIQCyoiR1/hcDBw6sNw+GPDaq8XEwfEB5geIAV/TNNiBeRQIhAIT8BIKNWmN2XWrfuHe2ixhihvkC5rzbm27BHicfgo6s","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fpre-post-request-scripts@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142294},"main":"dist/index.js","type":"module","_from":"file:ahmttyydn-pre-post-request-scripts-1.0.1.tgz","types":"./dist/index.d.ts","module":"dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./*.css":{"import":"./dist/*.css","default":"./dist/*.css","require":"./dist/*.css"},"./libs/execute-scripts":{"types":"./dist/libs/execute-scripts/index.d.ts","import":"./dist/libs/execute-scripts/index.js","default":"./dist/libs/execute-scripts/index.js"},"./plugins/post-response-scripts":{"types":"./dist/plugins/post-response-scripts/index.d.ts","import":"./dist/plugins/post-response-scripts/index.js","default":"./dist/plugins/post-response-scripts/index.js"},"./plugins/post-response-scripts/components/TestResults":{"types":"./dist/plugins/post-response-scripts/components/TestResults/index.d.ts","import":"./dist/plugins/post-response-scripts/components/TestResults/index.js","default":"./dist/plugins/post-response-scripts/components/TestResults/index.js"},"./plugins/post-response-scripts/components/PostResponseScripts":{"types":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.d.ts","import":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js","default":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js"}},"scripts":{"dev":"vite","test":"vitest","build":"vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","preview":"vite preview","types:check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5ccbe6d-9b70-470e-8800-11822bcee57b"}},"_resolved":"/tmp/24c648eec6659cd0d7b0e7259cbabd1b/ahmttyydn-pre-post-request-scripts-1.0.1.tgz","_integrity":"sha512-NvaPyWjsa9Fr5zSMlZZRykcMrQghM4eJYxwaz8lMQ8dDW49K/5jh9VMIr3vgxWCpkDqEQhxUV79UCKIsmt9ZmA==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/pre-post-request-scripts"},"_npmVersion":"11.11.0","description":"Execute pre-request and post-response scripts in the Scalar API Client","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","@headlessui/vue":"1.7.23","postman-sandbox":"^6.6.1","@ahmttyydn/oas-utils":"1.0.1","@ahmttyydn/components":"1.0.1","@codemirror/lang-javascript":"^6.2.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","@vue/test-utils":"2.4.6","@ahmttyydn/types":"1.0.1","@vitejs/plugin-vue":"^6.0.3","@ahmttyydn/use-codemirror":"1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pre-post-request-scripts_1.0.1_1775438342765_0.2126553208695383","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ahmttyydn/pre-post-request-scripts","version":"1.0.2","keywords":["scalar","openapi","swagger","scripts","pre-request scripts","post-response scripts","api client"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/pre-post-request-scripts@1.0.2","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"fb8a3780a551957a6b58ab56088e69276849bf8f","tarball":"https://registry.npmjs.org/@ahmttyydn/pre-post-request-scripts/-/pre-post-request-scripts-1.0.2.tgz","fileCount":97,"integrity":"sha512-/4RQTAUftBzOfMk6QVXCRU8e7D1zqrA7Dpz+K+/yoooNM5idlvnR3XKbhNa2ACl5mcE1eXJhzHBiiDaSml79uw==","signatures":[{"sig":"MEUCIDtzRh6jghLwUN6UGd0/RN2BGM+bXElfA16o8Mjui7qBAiEA94ehaf/q14C8d8YaRt7PnLg1f1ZzvtN+ZXrO4B2F+A4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fpre-post-request-scripts@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142294},"main":"dist/index.js","type":"module","_from":"file:ahmttyydn-pre-post-request-scripts-1.0.2.tgz","types":"./dist/index.d.ts","module":"dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./*.css":{"import":"./dist/*.css","default":"./dist/*.css","require":"./dist/*.css"},"./libs/execute-scripts":{"types":"./dist/libs/execute-scripts/index.d.ts","import":"./dist/libs/execute-scripts/index.js","default":"./dist/libs/execute-scripts/index.js"},"./plugins/post-response-scripts":{"types":"./dist/plugins/post-response-scripts/index.d.ts","import":"./dist/plugins/post-response-scripts/index.js","default":"./dist/plugins/post-response-scripts/index.js"},"./plugins/post-response-scripts/components/TestResults":{"types":"./dist/plugins/post-response-scripts/components/TestResults/index.d.ts","import":"./dist/plugins/post-response-scripts/components/TestResults/index.js","default":"./dist/plugins/post-response-scripts/components/TestResults/index.js"},"./plugins/post-response-scripts/components/PostResponseScripts":{"types":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.d.ts","import":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js","default":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js"}},"scripts":{"dev":"vite","test":"vitest","build":"vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","preview":"vite preview","types:check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5ccbe6d-9b70-470e-8800-11822bcee57b"}},"_resolved":"/tmp/575462d4b608df124f689095c3c9b56c/ahmttyydn-pre-post-request-scripts-1.0.2.tgz","_integrity":"sha512-/4RQTAUftBzOfMk6QVXCRU8e7D1zqrA7Dpz+K+/yoooNM5idlvnR3XKbhNa2ACl5mcE1eXJhzHBiiDaSml79uw==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/pre-post-request-scripts"},"_npmVersion":"11.11.0","description":"Execute pre-request and post-response scripts in the Scalar API Client","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","@headlessui/vue":"1.7.23","postman-sandbox":"^6.6.1","@ahmttyydn/oas-utils":"1.0.2","@ahmttyydn/components":"1.0.2","@codemirror/lang-javascript":"^6.2.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","@vue/test-utils":"2.4.6","@ahmttyydn/types":"1.0.2","@vitejs/plugin-vue":"^6.0.3","@ahmttyydn/use-codemirror":"1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/pre-post-request-scripts_1.0.2_1775439176278_0.8710952183137963","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@ahmttyydn/pre-post-request-scripts","version":"1.0.4","keywords":["scalar","openapi","swagger","scripts","pre-request scripts","post-response scripts","api client"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/pre-post-request-scripts@1.0.4","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"75ed36ea8c1cb19b380c4ec1f09b14475eddb90c","tarball":"https://registry.npmjs.org/@ahmttyydn/pre-post-request-scripts/-/pre-post-request-scripts-1.0.4.tgz","fileCount":97,"integrity":"sha512-M+Pd0m+xJsoTslKOxj3odoxfqyoQB6PZTLR/Mv8qfE83oERD38i0zZYHiBWYdDUQLQTylpQljfd+aHPaDqwMyQ==","signatures":[{"sig":"MEUCIQDA9LAd9Q7JQoXIISwMP/H8PF8kue3O3aWa73ysNkRwCgIgTf+jso1aGDHwjzxMXv7BxfJhbS2LlciEZAVln871URY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fpre-post-request-scripts@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142295},"main":"dist/index.js","type":"module","_from":"file:ahmttyydn-pre-post-request-scripts-1.0.4.tgz","types":"./dist/index.d.ts","module":"dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./*.css":{"import":"./dist/*.css","default":"./dist/*.css","require":"./dist/*.css"},"./libs/execute-scripts":{"types":"./dist/libs/execute-scripts/index.d.ts","import":"./dist/libs/execute-scripts/index.js","default":"./dist/libs/execute-scripts/index.js"},"./plugins/post-response-scripts":{"types":"./dist/plugins/post-response-scripts/index.d.ts","import":"./dist/plugins/post-response-scripts/index.js","default":"./dist/plugins/post-response-scripts/index.js"},"./plugins/post-response-scripts/components/TestResults":{"types":"./dist/plugins/post-response-scripts/components/TestResults/index.d.ts","import":"./dist/plugins/post-response-scripts/components/TestResults/index.js","default":"./dist/plugins/post-response-scripts/components/TestResults/index.js"},"./plugins/post-response-scripts/components/PostResponseScripts":{"types":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.d.ts","import":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js","default":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js"}},"scripts":{"dev":"vite","test":"vitest","build":"vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","preview":"vite preview","types:check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5ccbe6d-9b70-470e-8800-11822bcee57b"}},"_resolved":"/tmp/7843e3a338814dcde65c39e8766221dd/ahmttyydn-pre-post-request-scripts-1.0.4.tgz","_integrity":"sha512-M+Pd0m+xJsoTslKOxj3odoxfqyoQB6PZTLR/Mv8qfE83oERD38i0zZYHiBWYdDUQLQTylpQljfd+aHPaDqwMyQ==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/pre-post-request-scripts"},"_npmVersion":"11.11.0","description":"Execute pre-request and post-response scripts in the Scalar API Client","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","@headlessui/vue":"1.7.23","postman-sandbox":"^6.6.1","@ahmttyydn/oas-utils":"1.0.4","@ahmttyydn/components":"1.0.4","@codemirror/lang-javascript":"^6.2.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","@vue/test-utils":"2.4.6","@ahmttyydn/types":"1.0.4","@vitejs/plugin-vue":"^6.0.3","@ahmttyydn/use-codemirror":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/pre-post-request-scripts_1.0.4_1775441093931_0.7516418292165559","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@ahmttyydn/pre-post-request-scripts","version":"1.0.6","keywords":["scalar","openapi","swagger","scripts","pre-request scripts","post-response scripts","api client"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/pre-post-request-scripts@1.0.6","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"3b04b952ba73e90dfc649225745e1059376dc9dd","tarball":"https://registry.npmjs.org/@ahmttyydn/pre-post-request-scripts/-/pre-post-request-scripts-1.0.6.tgz","fileCount":97,"integrity":"sha512-LUj9Qx51cdlydOaAdxNtagcd2fOrBwZmFavZ0kLu1mDsMu019xD1C99X4CMFk0DboTpdTR6HitmzzKTKkSboJA==","signatures":[{"sig":"MEQCH0dP568zWPjt0DB4FO1a1YXumuFoHzE4boqYV9GPnSYCIQDWObMi2lLVpR+td09Ap2qSfVAPQCyJQjKyxFYO8uydlA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fpre-post-request-scripts@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142295},"main":"dist/index.js","type":"module","_from":"file:ahmttyydn-pre-post-request-scripts-1.0.6.tgz","types":"./dist/index.d.ts","module":"dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./*.css":{"import":"./dist/*.css","default":"./dist/*.css","require":"./dist/*.css"},"./libs/execute-scripts":{"types":"./dist/libs/execute-scripts/index.d.ts","import":"./dist/libs/execute-scripts/index.js","default":"./dist/libs/execute-scripts/index.js"},"./plugins/post-response-scripts":{"types":"./dist/plugins/post-response-scripts/index.d.ts","import":"./dist/plugins/post-response-scripts/index.js","default":"./dist/plugins/post-response-scripts/index.js"},"./plugins/post-response-scripts/components/TestResults":{"types":"./dist/plugins/post-response-scripts/components/TestResults/index.d.ts","import":"./dist/plugins/post-response-scripts/components/TestResults/index.js","default":"./dist/plugins/post-response-scripts/components/TestResults/index.js"},"./plugins/post-response-scripts/components/PostResponseScripts":{"types":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.d.ts","import":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js","default":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js"}},"scripts":{"dev":"vite","test":"vitest","build":"vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","preview":"vite preview","types:check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5ccbe6d-9b70-470e-8800-11822bcee57b"}},"_resolved":"/tmp/4edfc8a5e452d2a08e843fc01dddcc44/ahmttyydn-pre-post-request-scripts-1.0.6.tgz","_integrity":"sha512-LUj9Qx51cdlydOaAdxNtagcd2fOrBwZmFavZ0kLu1mDsMu019xD1C99X4CMFk0DboTpdTR6HitmzzKTKkSboJA==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/pre-post-request-scripts"},"_npmVersion":"11.11.0","description":"Execute pre-request and post-response scripts in the Scalar API Client","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","@headlessui/vue":"1.7.23","postman-sandbox":"^6.6.1","@ahmttyydn/oas-utils":"1.0.6","@ahmttyydn/components":"1.0.6","@codemirror/lang-javascript":"^6.2.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","@vue/test-utils":"2.4.6","@ahmttyydn/types":"1.0.6","@vitejs/plugin-vue":"^6.0.3","@ahmttyydn/use-codemirror":"1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/pre-post-request-scripts_1.0.6_1775488459820_0.6580169982393138","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@ahmttyydn/pre-post-request-scripts","version":"1.0.8","keywords":["scalar","openapi","swagger","scripts","pre-request scripts","post-response scripts","api client"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/pre-post-request-scripts@1.0.8","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"c4c751ccb3bf3daf756a6f9f28b63da748c964a6","tarball":"https://registry.npmjs.org/@ahmttyydn/pre-post-request-scripts/-/pre-post-request-scripts-1.0.8.tgz","fileCount":97,"integrity":"sha512-JAK4KS2UzTvh3lknZ07cBYL0I8KHgHrFGgZwup/CiPkd+g8XwnhigSetoQCimt9m8TcjBQ3po4a2kdkhgRBDag==","signatures":[{"sig":"MEQCICiElMKie6oCLHJhZOee3oSWD476h+oic4WieX7nT5/tAiALs8qqR+axyOi34EspJjLJ9oJvIQtux2ktzPgvO6Y4aw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fpre-post-request-scripts@1.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142295},"main":"dist/index.js","type":"module","_from":"file:ahmttyydn-pre-post-request-scripts-1.0.8.tgz","types":"./dist/index.d.ts","module":"dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./*.css":{"import":"./dist/*.css","default":"./dist/*.css","require":"./dist/*.css"},"./libs/execute-scripts":{"types":"./dist/libs/execute-scripts/index.d.ts","import":"./dist/libs/execute-scripts/index.js","default":"./dist/libs/execute-scripts/index.js"},"./plugins/post-response-scripts":{"types":"./dist/plugins/post-response-scripts/index.d.ts","import":"./dist/plugins/post-response-scripts/index.js","default":"./dist/plugins/post-response-scripts/index.js"},"./plugins/post-response-scripts/components/TestResults":{"types":"./dist/plugins/post-response-scripts/components/TestResults/index.d.ts","import":"./dist/plugins/post-response-scripts/components/TestResults/index.js","default":"./dist/plugins/post-response-scripts/components/TestResults/index.js"},"./plugins/post-response-scripts/components/PostResponseScripts":{"types":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.d.ts","import":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js","default":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js"}},"scripts":{"dev":"vite","test":"vitest","build":"vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","preview":"vite preview","types:check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5ccbe6d-9b70-470e-8800-11822bcee57b"}},"_resolved":"/tmp/36b67d2fa70996c99c899debed5def86/ahmttyydn-pre-post-request-scripts-1.0.8.tgz","_integrity":"sha512-JAK4KS2UzTvh3lknZ07cBYL0I8KHgHrFGgZwup/CiPkd+g8XwnhigSetoQCimt9m8TcjBQ3po4a2kdkhgRBDag==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/pre-post-request-scripts"},"_npmVersion":"11.11.0","description":"Execute pre-request and post-response scripts in the Scalar API Client","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","@headlessui/vue":"1.7.23","postman-sandbox":"^6.6.1","@ahmttyydn/oas-utils":"1.0.8","@ahmttyydn/components":"1.0.8","@codemirror/lang-javascript":"^6.2.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","@vue/test-utils":"2.4.6","@ahmttyydn/types":"1.0.8","@vitejs/plugin-vue":"^6.0.3","@ahmttyydn/use-codemirror":"1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/pre-post-request-scripts_1.0.8_1775513465362_0.137930592848019","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@ahmttyydn/pre-post-request-scripts","description":"Execute pre-request and post-response scripts in the Scalar API Client","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/ahmtydn/scalar.git","directory":"packages/pre-post-request-scripts"},"keywords":["scalar","openapi","swagger","scripts","pre-request scripts","post-response scripts","api client"],"version":"1.0.9","engines":{"node":">=22"},"type":"module","main":"dist/index.js","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./*.css":{"import":"./dist/*.css","require":"./dist/*.css","default":"./dist/*.css"},"./libs/execute-scripts":{"import":"./dist/libs/execute-scripts/index.js","types":"./dist/libs/execute-scripts/index.d.ts","default":"./dist/libs/execute-scripts/index.js"},"./plugins/post-response-scripts":{"import":"./dist/plugins/post-response-scripts/index.js","types":"./dist/plugins/post-response-scripts/index.d.ts","default":"./dist/plugins/post-response-scripts/index.js"},"./plugins/post-response-scripts/components/PostResponseScripts":{"import":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js","types":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.d.ts","default":"./dist/plugins/post-response-scripts/components/PostResponseScripts/index.js"},"./plugins/post-response-scripts/components/TestResults":{"import":"./dist/plugins/post-response-scripts/components/TestResults/index.js","types":"./dist/plugins/post-response-scripts/components/TestResults/index.d.ts","default":"./dist/plugins/post-response-scripts/components/TestResults/index.js"}},"dependencies":{"@codemirror/lang-javascript":"^6.2.5","@headlessui/vue":"1.7.23","postman-sandbox":"^6.6.1","vue":"^3.5.30","@ahmttyydn/components":"1.0.9","@ahmttyydn/oas-utils":"1.0.9"},"devDependencies":{"@vitejs/plugin-vue":"^6.0.3","@vue/test-utils":"2.4.6","vite":"8.0.0","@ahmttyydn/types":"1.0.9","@ahmttyydn/use-codemirror":"1.0.9"},"scripts":{"build":"vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","dev":"vite","preview":"vite preview","test":"vitest","types:check":"vue-tsc --noEmit"},"types":"./dist/index.d.ts","_id":"@ahmttyydn/pre-post-request-scripts@1.0.9","_integrity":"sha512-UzQRjHslMyFap5Y7Fb4vIpd5Ek6l+clp0C4Z7oHEITqvRp2xIsC+3Vu+3EeP5UIQzwEqzF5owb0CRtxECtLncg==","_resolved":"/tmp/70b4eed079896056eb891806061f0cc0/ahmttyydn-pre-post-request-scripts-1.0.9.tgz","_from":"file:ahmttyydn-pre-post-request-scripts-1.0.9.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-UzQRjHslMyFap5Y7Fb4vIpd5Ek6l+clp0C4Z7oHEITqvRp2xIsC+3Vu+3EeP5UIQzwEqzF5owb0CRtxECtLncg==","shasum":"95ef0becc6f40320e23b1140dee12f36bdb1e5f3","tarball":"https://registry.npmjs.org/@ahmttyydn/pre-post-request-scripts/-/pre-post-request-scripts-1.0.9.tgz","fileCount":97,"unpackedSize":142295,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fpre-post-request-scripts@1.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDebZCmV/wrKsfS7rlz4oFoKJz5DBlsJi0n9SGI5HFazAiEAnTOkXa4q2xxTmiL7nw9uOvawJiGx73C/85WCcOFrLK4="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5ccbe6d-9b70-470e-8800-11822bcee57b"}},"directories":{},"maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pre-post-request-scripts_1.0.9_1775514732721_0.49549962310397677"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-05T19:52:46.545Z","modified":"2026-04-06T22:32:13.124Z","1.0.0":"2026-04-05T19:52:46.780Z","1.0.1":"2026-04-06T01:19:02.920Z","1.0.2":"2026-04-06T01:32:56.479Z","1.0.4":"2026-04-06T02:04:54.094Z","1.0.6":"2026-04-06T15:14:20.007Z","1.0.8":"2026-04-06T22:11:05.507Z","1.0.9":"2026-04-06T22:32:12.861Z"},"bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"author":{"name":"Scalar","url":"https://github.com/scalar"},"license":"MIT","homepage":"https://github.com/ahmtydn/scalar","keywords":["scalar","openapi","swagger","scripts","pre-request scripts","post-response scripts","api client"],"repository":{"type":"git","url":"git+https://github.com/ahmtydn/scalar.git","directory":"packages/pre-post-request-scripts"},"description":"Execute pre-request and post-response scripts in the Scalar API Client","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"readme":"# Scalar Scripts\n\n[![Version](https://img.shields.io/npm/v/%40scalar/scripts)](https://www.npmjs.com/package/@ahmttyydn/pre-post-request-scripts)\n[![Downloads](https://img.shields.io/npm/dm/%40scalar/scripts)](https://www.npmjs.com/package/@ahmttyydn/pre-post-request-scripts)\n[![License](https://img.shields.io/npm/l/%40scalar%2Fmock-server)](https://www.npmjs.com/package/@ahmttyydn/pre-post-request-scripts)\n[![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/scalar)\n\nPost-response scripts for your OpenAPI documents.\n\nScripts are executed with the official Postman sandbox runtime (`postman-sandbox`), so the `pm` API behavior follows Postman semantics.\n\n> Note: This is intended to be used as a plugin with @ahmttyydn/api-client.\n\n## Installation\n\n```bash\nnpm install @ahmttyydn/pre-post-request-scripts\n```\n\n## Usage\n\n```ts\nimport { createApiClientWeb } from '@ahmttyydn/api-client/layouts/Web'\nimport { postResponseScriptsPlugin } from '@ahmttyydn/pre-post-request-scripts'\nimport '@ahmttyydn/api-client/style.css'\n\ncreateApiClientWeb(\n  document.getElementById('app'),\n  {\n    proxyUrl: 'https://proxy.scalar.com',\n    // Load the plugin\n    plugins: [\n      postResponseScriptsPlugin()\n    ],\n  },\n)\n```\n\n## Script Runtime\n\n- Uses the official Postman sandbox package: <https://github.com/postmanlabs/postman-sandbox>\n- Scripts run as Postman `test` scripts, so `pm.response`, `pm.test`, and `pm.expect` are provided by Postman\n- Script results are surfaced in the Tests panel via the plugin\n\n## Community\n\nWe are API nerds. You too? Let's chat on Discord: <https://discord.gg/scalar>\n\n## License\n\nThe source code in this repository is licensed under [MIT](https://github.com/ahmtydn/scalar/blob/main/LICENSE).\n","readmeFilename":"README.md"}