{"name":"@azure/core-http-compat","version":"2.1.3-alpha.20240711.2","keywords":["azure","cloud"],"author":"Microsoft Corporation","license":"MIT","_id":"@azure/core-http-compat@2.1.3-alpha.20240711.2","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":"3efae4db4bcf649aff0f2215742ca568024b6737","tarball":"http://registry-npm.ywwl.com/@azure/core-http-compat/download/@azure/core-http-compat-2.1.3-alpha.20240711.2.tgz","fileCount":153,"integrity":"sha512-b/PtodhqiMTNbRZQrtAlpsrxua9HmikGYnvUrpGBOFALD5s+xVbLY42gvojbmUOhM7N6SJ2MJOpwyyVTXNMEjA==","signatures":[{"sig":"MEQCIDncic4QzQj2sPkfqCcmPR7gdyQwNC20FtDHT+eTFPv1AiAfEczgvVer/0nIWdKTpQ3oUOqji7Fzb1w0xhtGG7M3HQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":338710,"size":29047,"noattachment":false,"key":"/@azure/core-http-compat/-/@azure/core-http-compat-2.1.3-alpha.20240711.2.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\\a8af3d08-8783-4422-ab07-71504551269e\\azure-core-http-compat-2.1.3-alpha.20240711.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","source":"./src/index.ts","default":"./dist/esm/index.js"},"browser":{"types":"./dist/browser/index.d.ts","source":"./src/index.ts","default":"./dist/browser/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","source":"./src/index.ts","default":"./dist/commonjs/index.js"},"react-native":{"types":"./dist/react-native/index.d.ts","source":"./src/index.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 && dev-tool run extract-api","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":"echo skipped. actual commands inlined in browser test scripts","extract-api":"tshy && 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":"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 clean && tshy && dev-tool 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\\a8af3d08-8783-4422-ab07-71504551269e\\azure-core-http-compat-2.1.3-alpha.20240711.2.tgz","//metadata":{"migrationDate":"2023-03-08T18:36:03.000Z"},"_integrity":"sha512-b/PtodhqiMTNbRZQrtAlpsrxua9HmikGYnvUrpGBOFALD5s+xVbLY42gvojbmUOhM7N6SJ2MJOpwyyVTXNMEjA==","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.17.0","eslint":"^8.56.0","rimraf":"^5.0.5","vitest":"^1.3.1","playwright":"^1.41.2","typescript":"~5.5.3","@types/node":"^18.0.0","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@vitest/browser":"^1.3.1","@azure-tools/test-utils":"^1.0.1","@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.20240711.2_1720723609303_0.24934351968725021","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":1720723609460,"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"_cnpm_publish_time":1720723609460,"dist-tags":{"dev":"2.3.3-alpha.20260311.2","latest":"2.5.0"}}