{"name":"@azure/core-http-compat","version":"2.0.1-alpha.20230106.1","keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/core-http-compat@2.0.1-alpha.20230106.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":"87a2341d1062758a6371317e04665c0048b1a5d7","tarball":"http://registry-npm.ywwl.com/@azure/core-http-compat/download/@azure/core-http-compat-2.0.1-alpha.20230106.1.tgz","fileCount":24,"integrity":"sha512-nmfJS35JAYZnqTklKsRC1Y9OHl/TG0Iz7gKoZMCJuQ1XRP6o5YhqBwRApBrxvqbiHtfGs0XstTfWBBcsm4xhiw==","signatures":[{"sig":"MEQCIF/mzFaeaqD/2y0cADLKhdslyuqRHJrFS/hewmAvnRScAiA+TlmBWR09PKUW5mdxs+OastIAEMDCOxI+ml3AnK51gQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuHWzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRKxAApGBex/mQJMVdMQNKU1UYJ1vi6+E6nPNsgQqpcLamZ3rPpzj4\r\na43XMl5EoOxtYGjBvoe1u3oubTVUC2XmKCJZF/zBonq0HqUEtU+F+0s1g3un\r\nfDBapXqgWe6hvh6IlSQqDi4lm2tME89qFUs9uu7hdsrQI8h21fsXIQ3qdaa5\r\n86SWgxNbyXDvqv3TLgEvkCxt64fwTbfJdnp6WnYAedEn5OnHJ3JowG1ejRGe\r\nYTRc+tJIVmalHRNs97ygXrZxClrOxD1ChENSkuHhrmogeDVzzdAi2kbHcFct\r\nUIcQmGzHHf+qbxz8MAjMLiNzAg+6y5r8qwvTr9xXOP2YFCzh0ixev+XqkLtK\r\nOYezv+q80gQMFUiNUR2O3BpXMt77HapwKA9by34L6sWkVWKfgK8R5oTRKIw0\r\nb5N2w3Awdt2oWtiu3vh5nWfu9Y1MaM9RCUXkie4z9C3mykjOom28D8aF+fP6\r\nVuHUqUJnOuMHjq8Q1Dpe2zE/uYJOx2OeRFT7MOVc20WXBUdqtf/s/wrOjIDm\r\ncrhGorB4v2RAl5jnl8YwlgV2AVDi9u1wLoI3Y+tGorPysELI5kHOzUMBlUrr\r\nYCyYiE3EfN3FkpQpQms6BLGIIDizLQPPxStH2eR6+JA2QH1lrMulWp14Ku0r\r\nqgYr92mdjI/zk76oS/QxIP97G/UCt4Pd5bc=\r\n=enLZ\r\n-----END PGP SIGNATURE-----\r\n","size":21476,"noattachment":false,"key":"/@azure/core-http-compat/-/@azure/core-http-compat-2.0.1-alpha.20230106.1.tgz"},"main":"dist/index.js","_from":"file:/mnt/vss/_work/1/packages/azure-core-http-compat/azure-core-http-compat-2.0.1-alpha.20230106.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-alpha.20230106.1.tgz","_integrity":"sha512-nmfJS35JAYZnqTklKsRC1Y9OHl/TG0Iz7gKoZMCJuQ1XRP6o5YhqBwRApBrxvqbiHtfGs0XstTfWBBcsm4xhiw==","repository":{"url":"git+https://github.com/Azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"8.19.2","description":"Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.","directories":{},"sideEffects":false,"_nodeVersion":"16.18.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":"^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-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.1-alpha.20230106.1_1673033139631_0.0821277538309777","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":1673033139857,"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"_cnpm_publish_time":1673033139857,"dist-tags":{"dev":"2.3.3-alpha.20260311.2","latest":"2.5.0"}}