{"name":"@azure/core-http-compat","version":"2.0.1","keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/core-http-compat@2.0.1","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"},"dist":{"shasum":"bfbad57f60ac1707e4fe5d6d585557d97cccf346","tarball":"http://registry-npm.ywwl.com/@azure/core-http-compat/download/@azure/core-http-compat-2.0.1.tgz","fileCount":24,"integrity":"sha512-xpQZz/q7E0jSW4rckrTo2mDFDQgo6I69hBU4voMQi7REi6JRW5a+KfVkbJCFCWnkFmP6cAJ0IbuudTdf/MEBOQ==","signatures":[{"sig":"MEUCIH1o9AM3+C8K0tZ4Yv8aDnNE9Hn4G+Dq5j35AEd7PIdGAiEAhNhE1pAvXNHRvSahbwGRsgIB7OplkSUGg4fDlZmuhbY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":127149,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLz2QACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGtA/+I6n+5x7NwYAXdOGHTdxQxKDnQh38a3NAI7Iq/OENNJcbwEpL\r\nKqpLiNBCXif/nAakIg1iutU4bqOTCbNiQ4KB70V/3ZzwurxrbaUOcwwe5RMT\r\nLPNGT2lDB4E7whT1m935d5r7gHZR3SU/a4fsUDJqGbX2yu5DADwsy6lzoRnl\r\nTs/OrqXoNWCQyoJtRcxif1BA58YsQBKlG5TwTAJxA9BYsCDD2VjqSwsGNewU\r\n+bSZxhrQKjBxmaWwKgAMT7BKfc34gUdiqTUpiPkwa92xD10CysraSJTqVN2l\r\ngD3wws8NJ4Dbv20ymn+RV76OrKzEbwJzyaDW145WmphLi47oP/g9OEQCv/Jh\r\nKF44bLAKPCsGp5okzi3UX1t56hNB2NIfyDDuaaQZk773N/VknLEwlOJTdQUI\r\nGvvrijlt3Q82AOghqKbgYb2RMIupRHyGs8KlClqzL0GeZEHfyUv7Le+Troca\r\ndkda4M+/MWvV4o6nPCqocYVr7Yfi9fF9gpmcJ8tPya+b2G0KRe3cpdUQkehP\r\nRrthvrK5hzkIIJBoFTP/NaCQEUKglS4AhVJojl1sR6pGVAAKxrwuTR5y5dAS\r\neTifPC4OCqOSB84yNdQBsJLN+X0ZwvYNNRM9C4ff1IO93RNQGFL2ZveHnrXa\r\nW+ti+jjQND3y1BBFYugrJiLu/ImeCL+MYcA=\r\n=WJFc\r\n-----END PGP SIGNATURE-----\r\n","size":21718,"noattachment":false,"key":"/@azure/core-http-compat/-/@azure/core-http-compat-2.0.1.tgz"},"main":"dist/index.js","_from":"file:/mnt/vss/_work/1/packages/azure-core-http-compat/azure-core-http-compat-2.0.1.tgz","types":"types/latest/core-http-compat.d.ts","module":"dist-esm/src/index.js","engines":{"node":">=14.0.0"},"scripts":{"lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test":"npm run clean && npm run build && npm run unit-test:node && npm run unit-test:browser && npm run integration-test","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local && npm run build:types","clean":"rimraf dist dist-* temp types *.tgz *.log","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","test:node":"echo skipped","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"tsc -p . && dev-tool run bundle","build:types":"downlevel-dts types/latest/ types/1.0/","extract-api":"tsc -p . && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"echo skipped","build:samples":"echo Obsolete","unit-test:node":"cross-env TS_NODE_FILES=true mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 50000 --full-trace \"test/**/*.spec.ts\"","execute:samples":"echo skipped","integration-test":"echo skipped","unit-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","sdk-type":"client","_resolved":"/mnt/vss/_work/1/packages/azure-core-http-compat/azure-core-http-compat-2.0.1.tgz","_integrity":"sha512-xpQZz/q7E0jSW4rckrTo2mDFDQgo6I69hBU4voMQi7REi6JRW5a+KfVkbJCFCWnkFmP6cAJ0IbuudTdf/MEBOQ==","repository":{"url":"git+https://github.com/Azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"9.5.0","description":"Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@azure/core-client":"^1.3.0","@azure/abort-controller":"^1.0.4","@azure/core-rest-pipeline":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.1.1","eslint":"^8.0.0","rimraf":"^3.0.0","prettier":"^2.5.1","cross-env":"^7.0.2","typescript":"~4.8.0","downlevel-dts":"^0.10.0","@azure/dev-tool":"^1.0.0","@azure/test-utils":"^1.0.0","mocha-junit-reporter":"^2.0.0","@microsoft/api-extractor":"^7.31.1","@azure/eslint-plugin-azure-sdk":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core-http-compat_2.0.1_1680817552568_0.9856645354459428","host":"s3://npm-registry-packages"},"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":1680817552741,"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"_cnpm_publish_time":1680817552741,"dist-tags":{"dev":"2.3.3-alpha.20260311.2","latest":"2.5.0"}}