{"name":"@azure/core-http-compat","version":"2.1.3-alpha.20240412.3","keywords":["azure","cloud"],"author":"Microsoft Corporation","license":"MIT","_id":"@azure/core-http-compat@2.1.3-alpha.20240412.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"},"tag":"dev","dist":{"shasum":"bd00500b5669341fc33d4c28ec8bf457c2ccb5e5","tarball":"http://registry-npm.ywwl.com/@azure/core-http-compat/download/@azure/core-http-compat-2.1.3-alpha.20240412.3.tgz","fileCount":153,"integrity":"sha512-1fzNS8jxybkkQVbvx8M+TzdDf6ZMqBFIEzsCvjkd6hyfGKNihpIO4Ctg1uTRcaQ5dVPNk5CqEUH/WSF9SbK8BA==","signatures":[{"sig":"MEUCIGD0f9EpWdaPis9+hi2ebNNmORN8mrLt9bSl02dE4+u5AiEAjNAL70bLk1Pg5s6aguvdr9qTQpXTTmkfS5INj6PsZJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":338843,"size":29077,"noattachment":false,"key":"/@azure/core-http-compat/-/@azure/core-http-compat-2.1.3-alpha.20240412.3.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"},"dialects":["esm","commonjs"],"selfLink":false,"esmDialects":["browser","react-native"]},"type":"module","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App3\\temp\\cc903a2b-0b04-4be7-8c76-56b62f79d9ba\\azure-core-http-compat-2.1.3-alpha.20240412.3.tgz","types":"./dist/commonjs/index.d.ts","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 package.json api-extractor.json src test --ext .ts --ext .cts --ext .mts","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","build":"npm run clean && tshy && api-extractor run --local","clean":"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 package.json api-extractor.json src test --ext .ts --ext .cts --ext .mts --fix --fix-type [problem,suggestion]","test:node":"echo skipped","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run clean && tshy && dev-tool run build-test","extract-api":"tshy && api-extractor run --local","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":"echo skipped","build:samples":"echo Obsolete","unit-test:node":"dev-tool run test:vitest --no-test-proxy","execute:samples":"echo skipped","integration-test":"echo skipped","unit-test:browser":"npm run build:test && dev-tool run test:vitest --no-test-proxy --browser","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_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_App3\\temp\\cc903a2b-0b04-4be7-8c76-56b62f79d9ba\\azure-core-http-compat-2.1.3-alpha.20240412.3.tgz","//metadata":{"migrationDate":"2023-03-08T18:36:03.000Z"},"_integrity":"sha512-1fzNS8jxybkkQVbvx8M+TzdDf6ZMqBFIEzsCvjkd6hyfGKNihpIO4Ctg1uTRcaQ5dVPNk5CqEUH/WSF9SbK8BA==","repository":"github:Azure/azure-sdk-for-js","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.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^1.13.0","eslint":"^8.56.0","rimraf":"^5.0.5","vitest":"^1.3.1","prettier":"^3.2.5","playwright":"^1.41.2","typescript":"~5.4.5","@types/node":"^18.0.0","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@vitest/browser":"^1.3.1","@azure/test-utils":">=1.0.0-alpha <1.0.0-alphb","@microsoft/api-extractor":"^7.40.3","@vitest/coverage-istanbul":"^1.3.1","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb"},"_npmOperationalInternal":{"tmp":"tmp/core-http-compat_2.1.3-alpha.20240412.3_1712949291576_0.7200855907307062","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":1712949291792,"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"_cnpm_publish_time":1712949291792,"dist-tags":{"dev":"2.3.3-alpha.20260311.2","latest":"2.5.0"}}