{"name":"@azure/core-http-compat","version":"2.3.1-alpha.20250904.2","keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/core-http-compat@2.3.1-alpha.20250904.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":"bfff372e6aae3f9a939c6b3be4c725358cf55907","tarball":"http://registry-npm.ywwl.com/@azure/core-http-compat/download/@azure/core-http-compat-2.3.1-alpha.20250904.2.tgz","fileCount":116,"integrity":"sha512-cNcwSAL9Ljvt1tw7KKj2s7c+567TsD8QuVQe25tLqgaCwBKVaXlWBcyn5tG0hs0+GnRC1vqrMOzACuk8CXXSSw==","signatures":[{"sig":"MEUCIQCdhf2et2EnEl37kS4XYSq7+QVnBZ9l/oX3WoWDpOBTkwIgO2Uw3TcVPBxov75VJT9zUv7VtlutbRbX4lJuoiTf+R4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":315803,"size":26738,"noattachment":false,"key":"/@azure/core-http-compat/-/@azure/core-http-compat-2.3.1-alpha.20250904.2.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"},"project":"../../../tsconfig.src.build.json","dialects":["esm","commonjs"],"selfLink":false,"esmDialects":["browser","react-native"]},"type":"module","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\93b09a2e-dde9-4b39-b512-75652c625add\\azure-core-http-compat\\azure-core-http-compat-2.3.1-alpha.20250904.2.tgz","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","browser":"./dist/browser/index.js","engines":{"node":">=20.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 package.json src test","pack":"pnpm 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":"rimraf --glob dist dist-* temp types *.tgz *.log","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,mts}\" \"test/**/*.{ts,mts}\" \"*.{js,cjs,mjs,json}\"","lint:fix":"eslint package.json src test --fix --fix-type [problem,suggestion]","test:node":"dev-tool run build-test --no-browser-test && dev-tool run test:vitest --no-test-proxy","extract-api":"dev-tool run build-package && dev-tool run extract-api","check-format":"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 Skipped.","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_App1\\temp\\93b09a2e-dde9-4b39-b512-75652c625add\\azure-core-http-compat\\azure-core-http-compat-2.3.1-alpha.20250904.2.tgz","//metadata":{"migrationDate":"2023-03-08T18:36:03.000Z"},"_integrity":"sha512-cNcwSAL9Ljvt1tw7KKj2s7c+567TsD8QuVQe25tLqgaCwBKVaXlWBcyn5tG0hs0+GnRC1vqrMOzACuk8CXXSSw==","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.10.0","@azure/abort-controller":"^2.1.2","@azure/core-rest-pipeline":"^1.22.0"},"react-native":"./dist/react-native/index.js","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^9.33.0","vitest":"^3.2.3","playwright":"^1.50.1","typescript":"~5.8.3","@types/node":"^20.19.0","@azure/dev-tool":"^1.0.0","@vitest/browser":"^3.2.3","@vitest/coverage-istanbul":"^3.2.3","@azure/eslint-plugin-azure-sdk":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core-http-compat_2.3.1-alpha.20250904.2_1757009710659_0.7719142236304422","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":1757009710849,"_cnpm_publish_time":1757009710849,"dist-tags":{"dev":"2.3.3-alpha.20260311.2","latest":"2.5.0"}}