{"name":"@azure/core-http-compat","version":"2.0.2-alpha.20230925.3","keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/core-http-compat@2.0.2-alpha.20230925.3","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":"83ea5514d53369b1dd1deba94ea565fafe98c4ed","tarball":"http://registry-npm.ywwl.com/@azure/core-http-compat/download/@azure/core-http-compat-2.0.2-alpha.20230925.3.tgz","fileCount":24,"integrity":"sha512-L0fholmw/2ltCeFk/OtdjOcQFZKvm/qsTwOqardpStKRdW+a8srnHkdQu12Luw6+K43616To9JKEArk6ArPqcg==","signatures":[{"sig":"MEUCIG34xx+fxnHm8SsNPXQBJ5jcsi7HIR6vftPTx1kONp0+AiEArmWy1pg8s3pKq9PWEilP00GNaQEtYn8c2ytwhBcbsRs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":127237,"size":21743,"noattachment":false,"key":"/@azure/core-http-compat/-/@azure/core-http-compat-2.0.2-alpha.20230925.3.tgz"},"main":"dist/index.js","_from":"file:/mnt/vss/_work/1/packages/azure-core-http-compat/azure-core-http-compat-2.0.2-alpha.20230925.3.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":"dev-tool run test:node-ts-input --no-test-proxy=true","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.2-alpha.20230925.3.tgz","//metadata":{"migrationDate":"2023-03-08T18:36:03.000Z"},"_integrity":"sha512-L0fholmw/2ltCeFk/OtdjOcQFZKvm/qsTwOqardpStKRdW+a8srnHkdQu12Luw6+K43616To9JKEArk6ArPqcg==","repository":{"url":"git+https://github.com/Azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"9.6.7","description":"Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@azure/core-client":"^1.3.0","@azure/abort-controller":"^1.0.4","@azure/core-rest-pipeline":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.0.0","eslint":"^8.0.0","rimraf":"^3.0.0","ts-node":"^10.0.0","prettier":"^2.5.1","cross-env":"^7.0.2","typescript":"~5.0.0","@types/node":"^14.0.0","downlevel-dts":"^0.10.0","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/test-utils":">=1.0.0-alpha <1.0.0-alphb","mocha-junit-reporter":"^2.0.0","@microsoft/api-extractor":"^7.31.1","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb"},"_npmOperationalInternal":{"tmp":"tmp/core-http-compat_2.0.2-alpha.20230925.3_1695668008342_0.5279332302834621","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":1695668008549,"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"_cnpm_publish_time":1695668008549,"dist-tags":{"dev":"2.3.3-alpha.20260311.2","latest":"2.5.0"}}