1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
| {
| "name": "@azure/core-http-compat",
| "version": "2.4.0",
| "description": "Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.",
| "sdk-type": "client",
| "type": "module",
| "main": "./dist/commonjs/index.js",
| "types": "./dist/commonjs/index.d.ts",
| "browser": "./dist/browser/index.js",
| "react-native": "./dist/react-native/index.js",
| "exports": {
| "./package.json": "./package.json",
| ".": {
| "browser": {
| "types": "./dist/browser/index.d.ts",
| "default": "./dist/browser/index.js"
| },
| "react-native": {
| "types": "./dist/react-native/index.d.ts",
| "default": "./dist/react-native/index.js"
| },
| "import": {
| "types": "./dist/esm/index.d.ts",
| "default": "./dist/esm/index.js"
| },
| "require": {
| "types": "./dist/commonjs/index.d.ts",
| "default": "./dist/commonjs/index.js"
| }
| }
| },
| "files": [
| "dist/",
| "!dist/**/*.d.*ts.map",
| "README.md",
| "LICENSE"
| ],
| "repository": "github:Azure/azure-sdk-for-js",
| "keywords": [
| "azure",
| "cloud"
| ],
| "author": "Microsoft Corporation",
| "license": "MIT",
| "bugs": {
| "url": "https://github.com/Azure/azure-sdk-for-js/issues"
| },
| "engines": {
| "node": ">=20.0.0"
| },
| "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-compat/",
| "sideEffects": false,
| "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
| "dependencies": {
| "@azure/abort-controller": "^2.1.2"
| },
| "peerDependencies": {
| "@azure/core-client": "^1.10.0",
| "@azure/core-rest-pipeline": "^1.22.0"
| },
| "devDependencies": {
| "@azure/core-client": "^1.10.0",
| "@azure/core-rest-pipeline": "^1.22.0",
| "@types/node": "^20.19.25",
| "@vitest/browser-playwright": "^4.1.2",
| "@vitest/coverage-istanbul": "^4.1.2",
| "cross-env": "^10.1.0",
| "eslint": "^9.39.1",
| "playwright": "^1.58.2",
| "prettier": "^3.6.2",
| "rimraf": "^6.1.0",
| "typescript": "~6.0.2",
| "vitest": "^4.1.2",
| "@azure/eslint-plugin-azure-sdk": "^3.0.0",
| "@azure/dev-tool": "^1.0.0"
| },
| "//metadata": {
| "migrationDate": "2023-03-08T18:36:03.000Z"
| },
| "module": "./dist/esm/index.js",
| "scripts": {
| "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
| "build:samples": "echo Skipped.",
| "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,mts}\" \"test/**/*.{ts,mts}\" \"*.{js,cjs,mjs,json}\"",
| "clean": "rimraf --glob dist dist-* temp types *.tgz *.log",
| "execute:samples": "echo skipped",
| "extract-api": "dev-tool run build-package && dev-tool run extract-api",
| "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,mts}\" \"test/**/*.{ts,mts}\" \"*.{js,cjs,mjs,json}\"",
| "lint": "eslint package.json src test",
| "lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
| "pack": "pnpm pack 2>&1",
| "test": "npm run test:node && npm run test:browser",
| "test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser",
| "test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest --no-test-proxy",
| "update-snippets": "dev-tool run update-snippets"
| }
| }
|
|