{"name":"@azure/core-http-compat","version":"2.3.1-alpha.20250528.2","keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/core-http-compat@2.3.1-alpha.20250528.2","maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-compat/","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"tag":"dev","dist":{"shasum":"030953a46e79eed908a0d58d8d84aef79d2934a1","tarball":"http://registry-npm.ywwl.com/@azure/core-http-compat/download/@azure/core-http-compat-2.3.1-alpha.20250528.2.tgz","fileCount":116,"integrity":"sha512-3ysKZhMM9FeBcohpCR3BwS9T1nWKYZhp7o1Jj7gc5VqgM1Y5gyLgVyQ2ercXis9D6NveV4lZmjeOQdB8OHuUtg==","signatures":[{"sig":"MEQCIFpnecZvxhwWyloUuZtU8W6+C6PXKU0W9O9hoOV6A0wRAiBApKCvGRQcjLMzZJkfsIrmeLSE6af4MDfoXKERNjc2ZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":317923,"size":26510,"noattachment":false,"key":"/@azure/core-http-compat/-/@azure/core-http-compat-2.3.1-alpha.20250528.2.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"},"project":"./tsconfig.src.json","dialects":["esm","commonjs"],"selfLink":false,"esmDialects":["browser","react-native"]},"type":"module","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App2\\temp\\f1657939-29a6-4a91-9851-324dbc68dcb1\\azure-core-http-compat-2.3.1-alpha.20250528.2.tgz","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","browser":"./dist/browser/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"browser":{"types":"./dist/browser/index.d.ts","default":"./dist/browser/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"},"react-native":{"types":"./dist/react-native/index.d.ts","default":"./dist/react-native/index.js"}},"./package.json":"./package.json"},"scripts":{"lint":"eslint README.md package.json api-extractor.json src test","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","build":"npm run clean && dev-tool run build-package && dev-tool run extract-api","clean":"dev-tool run vendored rimraf --glob dist dist-* temp types *.tgz *.log","format":"dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,mts}\" \"test/**/*.{ts,mts}\" \"*.{js,cjs,mjs,json}\"","lint:fix":"eslint README.md package.json api-extractor.json src test --fix --fix-type [problem,suggestion]","test:node":"dev-tool run test:vitest --no-test-proxy","extract-api":"dev-tool run build-package && dev-tool run extract-api","check-format":"dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,mts}\" \"test/**/*.{ts,mts}\" \"*.{js,cjs,mjs,json}\"","test:browser":"npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser","build:samples":"echo Obsolete","test:node:esm":"dev-tool run test:vitest --esm --no-test-proxy","execute:samples":"echo skipped","update-snippets":"dev-tool run update-snippets"},"_npmUser":{"name":"microsoft1es","email":"npmjs@microsoft.com"},"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","sdk-type":"client","_resolved":"M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App2\\temp\\f1657939-29a6-4a91-9851-324dbc68dcb1\\azure-core-http-compat-2.3.1-alpha.20250528.2.tgz","//metadata":{"migrationDate":"2023-03-08T18:36:03.000Z"},"_integrity":"sha512-3ysKZhMM9FeBcohpCR3BwS9T1nWKYZhp7o1Jj7gc5VqgM1Y5gyLgVyQ2ercXis9D6NveV4lZmjeOQdB8OHuUtg==","repository":{"url":"git+https://github.com/Azure/azure-sdk-for-js.git","type":"git"},"description":"Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.","directories":{},"sideEffects":false,"_nodeVersion":"18.5.0","dependencies":{"@azure/core-client":"^1.3.0","@azure/abort-controller":"^2.0.0","@azure/core-rest-pipeline":"^1.20.0"},"react-native":"./dist/react-native/index.js","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^9.9.0","vitest":"^3.0.9","playwright":"^1.41.2","typescript":"~5.8.2","@types/node":"^18.0.0","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@vitest/browser":"^3.0.9","@vitest/coverage-istanbul":"^3.0.9","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb"},"_npmOperationalInternal":{"tmp":"tmp/core-http-compat_2.3.1-alpha.20250528.2_1748456062567_0.7434282846547278","host":"s3://npm-registry-packages-npm-production"},"readme":"# Azure Core HTTP Compatibility library for JavaScript\n\nThis library provides classes and interfaces to be used by Azure client libraries that want to move from using [@azure/core-http](https://www.npmjs.com/package/@azure/core-http) to [@azure/core-client](https://www.npmjs.com/package/@azure/core-client) & [@azure/core-rest-pipeline](https://www.npmjs.com/package/@azure/core-rest-pipeline) without causing breaking changes in their public API surface.\n\n## Usage\n\n### ExtendedCommonClientOptions\n\nWith `@azure/core-http` library, the `options` parameter to the custom client will look like:\n\n```\nexport interface SearchClientOptions extends PipelineOptions {\n  apiVersion?: string;\n}\n```\n\nWith the `@azure/core-client` & `@azure/core-rest-pipeline` libraries, the `options` parameter to the custom client will look like:\n\n```\nexport interface SearchClientOptions extends CommonClientOptions {\n  apiVersion?: string;\n}\n```\n\nWith the Core HTTP Compatibility library, the `options` parameter to the custom client will look like:\n\n```\nexport interface SearchClientOptions extends ExtendedCommonClientOptions {\n  apiVersion?: string;\n}\n```\n","publish_time":1748456062803,"_cnpm_publish_time":1748456062803,"dist-tags":{"dev":"2.3.3-alpha.20260311.2","latest":"2.5.0"}}