{"name":"@azure/core-http-compat","version":"1.2.0-alpha.20220406.3","keywords":["azure","cloud"],"author":"Microsoft Corporation","license":"MIT","_id":"@azure/core-http-compat@1.2.0-alpha.20220406.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":"6a147849da7ce139d70335b90204822771e6607b","tarball":"http://registry-npm.ywwl.com/@azure/core-http-compat/download/@azure/core-http-compat-1.2.0-alpha.20220406.3.tgz","fileCount":19,"integrity":"sha512-MtP0x0T8FjbQ/uNwwJkuPROEaEdVzRoyK6tsv7hSJRjGEnmiZEgKTQIISwaNGg9W+8ICQ5Z2ZfAEUmAG80jmjQ==","signatures":[{"sig":"MEYCIQC/1dVHYPf6sujqiaY3rZdJ/c3vZHbxDTyg6N1gM1NVfQIhAO7jpl390ZxHKWy0RSwTuYLSzNgosmZiBCMO4uZ3m7D0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTdj3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbHBAApC9U1Xg/vRTjKt7T6bBrJaGYUL+IupwojxKFfzd4FoRWHXud\r\nbEKyUy1StwoxeDidSvlzdyk+ZQhtiwtjrFQJk3BwMVcQ3O20gTzVCgnKv3qH\r\nEeVKPaKxEIFSG1lqjwQ5VckKVJMqkChRcHziDTMi6IRJfJbsZLjSva5/IuwF\r\niM4IVQgClFkkRsdEW/mPGfNJMc2ulVeUiIJR0YYMLEfJVNGUBDbCTqCaVEwR\r\nwIeL1bNaS567yE0F6AFs2FfFP6XLWyWsJ6IwZZouANEVetC/h0YObB8skMaT\r\nUnQudSLPSQA7oVqwi21Po9LPnCBoaLBgAfIyglb5hRZ3klv4Ql6jRV/14bbj\r\n/KGxKI0TCPxpUeKcfpE5suisKSm++li8uIdRZurjdUQAVE40/4mMHcOX00Xn\r\n9P/9x8NT0sLzyKugUD5zRIrYWYyAXENcNxQRuh6ABbo7+LwUSDws2t34EdNa\r\nm/rbN8DG59dTbyudh1fKrvyZZFYOoS8FRLAqbbWjilR98MmJbKfqhP4Pwini\r\n6xFI5DaldeEICiWF9+sxqxYSb0Plkjy3dgMbhAM1BteDso6zuvoVtm4xie2v\r\nG92byh41UTgKrGQggTToj6kVW5BwyTG2aNLJwtawBeFv+JNdRv5Tnc4I/+n0\r\n2dKgoFmQFAbSxwKpPWUsnRyaA186v5catDI=\r\n=neDI\r\n-----END PGP SIGNATURE-----\r\n","size":9979,"noattachment":false,"key":"/@azure/core-http-compat/-/@azure/core-http-compat-1.2.0-alpha.20220406.3.tgz"},"main":"dist/index.js","_from":"file:/mnt/vss/_work/1/packages/azure-core-http-compat/azure-core-http-compat-1.2.0-alpha.20220406.3.tgz","types":"types/latest/core-http-compat.d.ts","module":"dist-esm/src/index.js","engines":{"node":">=12.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-1.2.0-alpha.20220406.3.tgz","_integrity":"sha512-MtP0x0T8FjbQ/uNwwJkuPROEaEdVzRoyK6tsv7hSJRjGEnmiZEgKTQIISwaNGg9W+8ICQ5Z2ZfAEUmAG80jmjQ==","repository":"github:Azure/azure-sdk-for-js","_npmVersion":"8.5.0","description":"Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","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":"^7.15.0","rimraf":"^3.0.0","prettier":"^2.5.1","cross-env":"^7.0.2","typescript":"~4.2.0","downlevel-dts":"^0.8.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.18.11","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb"},"_npmOperationalInternal":{"tmp":"tmp/core-http-compat_1.2.0-alpha.20220406.3_1649268982765_0.46559768351139263","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":1649268982990,"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"_cnpm_publish_time":1649268982990,"dist-tags":{"dev":"2.3.3-alpha.20260311.2","latest":"2.5.0"}}