{ "//metadata": { "constantPaths": [ { "path": "src/util/constants.ts", "prefix": "coreHttpVersion" } ] }, "author": { "name": "Microsoft Corporation" }, "browser": { "./es/src/policies/msRestUserAgentPolicy.js": "./es/src/policies/msRestUserAgentPolicy.browser.js", "./es/src/policies/disableResponseDecompressionPolicy.js": "./es/src/policies/disableResponseDecompressionPolicy.browser.js", "./es/src/policies/proxyPolicy.js": "./es/src/policies/proxyPolicy.browser.js", "./es/src/util/base64.js": "./es/src/util/base64.browser.js", "./es/src/util/xml.js": "./es/src/util/xml.browser.js", "./es/src/defaultHttpClient.js": "./es/src/defaultHttpClient.browser.js", "./es/src/util/inspect.js": "./es/src/util/inspect.browser.js" }, "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "bundleDependencies": false, "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.1.3", "@azure/core-tracing": "1.0.0-preview.9", "@azure/logger": "^1.0.0", "@opentelemetry/api": "^0.10.2", "@types/node-fetch": "^2.5.0", "@types/tunnel": "^0.0.1", "form-data": "^3.0.0", "node-fetch": "^2.6.0", "process": "^0.11.10", "tough-cookie": "^4.0.0", "tslib": "^2.0.0", "tunnel": "^0.0.6", "uuid": "^8.3.0", "xml2js": "^0.4.19" }, "deprecated": false, "description": "Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest", "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/logger-js": "^1.0.2", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "^4.0.0", "@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-node-resolve": "^8.0.0", "@types/chai": "^4.1.6", "@types/express": "^4.16.0", "@types/glob": "^7.1.1", "@types/mocha": "^7.0.2", "@types/node": "^8.0.0", "@types/sinon": "^9.0.4", "@types/tough-cookie": "^4.0.0", "@types/uuid": "^8.0.0", "@types/xml2js": "^0.4.3", "babel-runtime": "^6.26.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "downlevel-dts": "~0.4.0", "eslint": "^6.1.0", "express": "^4.16.3", "fetch-mock": "^9.10.1", "glob": "^7.1.2", "karma": "^5.1.0", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.0.0", "karma-edge-launcher": "^0.4.2", "karma-firefox-launcher": "^1.1.0", "karma-mocha": "^2.0.1", "karma-rollup-preprocessor": "^7.0.0", "karma-sourcemap-loader": "^0.3.7", "mocha": "^7.1.1", "mocha-junit-reporter": "^1.18.0", "npm-run-all": "^4.1.5", "nyc": "^14.0.0", "prettier": "^1.16.4", "puppeteer": "^3.3.0", "regenerator-runtime": "^0.13.3", "rimraf": "^3.0.0", "rollup": "^1.16.3", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-visualizer": "^4.0.4", "shx": "^0.3.2", "sinon": "^9.0.2", "ts-node": "^8.3.0", "typescript": "~3.9.3", "uglify-js": "^3.4.9", "xhr-mock": "^2.4.1" }, "engines": { "node": ">=8.0.0" }, "files": [ "dist/**/*.node.js", "dist/**/*.node.js.map", "dom-shim.d.ts", "es/src/**/*.js", "es/src/**/*.js.map", "types/*/src/**/*.d.ts", "types/*/src/**/*.d.ts.map", "README.md", "LICENSE" ], "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-http/README.md", "keywords": [ "isomorphic", "browser", "javascript", "node", "microsoft", "autorest", "clientruntime", "azure", "cloud" ], "license": "MIT", "main": "dist/index.js", "module": "./es/src/coreHttp.js", "name": "@azure/core-http", "nyc": { "extension": [ ".ts" ], "exclude": [ "coverage/**/*", "**/*.d.ts", "**/*.js" ], "reporter": [ "text", "html", "cobertura" ], "all": true }, "repository": { "type": "git", "url": "git+https://github.com/Azure/azure-sdk-for-js.git" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "run-s build:tsc extract-api:nobuild build:types build:rollup", "build:rollup": "rollup -c 2>&1", "build:scripts": "tsc -p ./.scripts/", "build:test": "run-s build build:test-browser", "build:test-browser": "rollup -c rollup.test.config.js 2>&1", "build:tsc": "tsc -p tsconfig.es.json", "build:types": "downlevel-dts types/latest/ types/3.1/", "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", "check:everything": "ts-node ./.scripts/checkEverything.ts", "check:foronlycalls": "ts-node ./.scripts/checkForOnlyCalls.ts", "check:packagejsonversion": "ts-node ./.scripts/checkPackageJsonVersion.ts", "clean": "rimraf ./es ./dist ./dist-test ./dist-browser ./types ./types3.1 ./coverage ./temp ./*.tgz", "cover:unit:node": "nyc npm run unit-test:node", "dep:autorest.typescript": "npx ts-node .scripts/testDependentProjects.ts autorest.typescript 'gulp build' 'gulp regenerate' 'npm run local'", "dep:ms-rest-azure-js": "npx ts-node .scripts/testDependentProjects.ts ms-rest-azure-js", "execute:samples": "echo skipped", "extract-api": "tsc -p tsconfig.es.json && api-extractor run --local", "extract-api:nobuild": "api-extractor run --local", "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "echo skipped", "integration-test:node": "echo skipped", "latest": "ts-node ./.scripts/latest.ts", "lint": "eslint package.json api-extractor.json src test --ext .ts -f html -o core-http-lintReport.html || exit 0", "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", "local": "ts-node ./.scripts/local.ts", "pack": "npm pack 2>&1", "prebuild": "npm run clean", "publish-preview": "mocha --no-colors && shx rm -rf dist/test && node ./.scripts/publish", "test": "npm run build:test && npm run unit-test && npm run integration-test", "test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser", "test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "unit-test:browser": "node ./node_modules/karma/bin/karma start karma.conf.ts --browsers ChromeNoSecurity --single-run", "unit-test:node": "cross-env TS_NODE_FILES=true mocha --require ts-node/register --timeout 50000 --reporter ../../../common/tools/mocha-multi-reporter.js --colors --exclude \"test/**/*.browser.ts\" \"test/**/*.ts\"" }, "sdk-type": "client", "sideEffects": false, "tags": [ "isomorphic", "browser", "javascript", "node", "microsoft", "autorest", "clientruntime" ], "types": "./types/latest/src/coreHttp.d.ts", "typesVersions": { "<3.6": { "types/latest/src/*": [ "types/3.1/src/*" ] } }, "version": "1.2.0" }