@azure/event-hubs 6.0.2-alpha.20251010.1 → 6.0.2-alpha.20251014.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/event-hubs",
|
|
3
3
|
"sdk-type": "client",
|
|
4
|
-
"version": "6.0.2-alpha.
|
|
4
|
+
"version": "6.0.2-alpha.20251014.1",
|
|
5
5
|
"description": "Azure Event Hubs SDK for JS.",
|
|
6
6
|
"author": "Microsoft Corporation",
|
|
7
7
|
"license": "MIT",
|
|
@@ -104,19 +104,24 @@
|
|
|
104
104
|
"chai-as-promised": "^8.0.1",
|
|
105
105
|
"chai-exclude": "^3.0.0",
|
|
106
106
|
"copyfiles": "^2.4.1",
|
|
107
|
+
"cross-env": "^7.0.3",
|
|
107
108
|
"debug": "^4.4.0",
|
|
108
109
|
"dotenv": "^16.0.0",
|
|
109
110
|
"eslint": "^9.33.0",
|
|
110
111
|
"https-proxy-agent": "^7.0.0",
|
|
111
112
|
"node-forge": "^1.3.1",
|
|
112
113
|
"playwright": "^1.50.1",
|
|
114
|
+
"prettier": "^3.6.2",
|
|
115
|
+
"rimraf": "^6.0.1",
|
|
116
|
+
"tshy": "^3.0.0",
|
|
117
|
+
"tsx": "^4.20.4",
|
|
113
118
|
"typescript": "~5.9.3",
|
|
114
119
|
"vitest": "^3.2.3",
|
|
115
120
|
"ws": "^8.2.0",
|
|
116
121
|
"@azure-tools/test-credential": "^2.1.2",
|
|
117
122
|
"@azure/dev-tool": "^1.0.0",
|
|
118
|
-
"@azure/
|
|
119
|
-
"@azure
|
|
123
|
+
"@azure-tools/test-utils-vitest": "^2.0.1",
|
|
124
|
+
"@azure/eslint-plugin-azure-sdk": "^3.0.0"
|
|
120
125
|
},
|
|
121
126
|
"exports": {
|
|
122
127
|
"./package.json": "./package.json",
|
|
@@ -140,21 +145,21 @@
|
|
|
140
145
|
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
141
146
|
"build:samples": "tsc -p tsconfig.samples.json",
|
|
142
147
|
"build:test:browser": "dev-tool run build-package && dev-tool run build-test",
|
|
143
|
-
"check-format": "
|
|
144
|
-
"clean": "
|
|
148
|
+
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"samples-dev/**/*.{ts,cts,mts}\" \"scripts/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
|
|
149
|
+
"clean": "rimraf --glob dist dist-* temp *.tgz *.log .tshy *.xml",
|
|
145
150
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
146
151
|
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
|
|
147
|
-
"format": "
|
|
148
|
-
"generate-certs": "
|
|
152
|
+
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"samples-dev/**/*.{ts,cts,mts}\" \"scripts/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
|
|
153
|
+
"generate-certs": "tsx scripts/generateCerts.mts",
|
|
149
154
|
"lint": "eslint package.json src test",
|
|
150
155
|
"lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
|
|
151
156
|
"pack": "pnpm pack 2>&1",
|
|
152
157
|
"perf-test:node": "tsc -p . --module \"commonjs\" && node dist-esm/test/perf/track-2/index.spec.js",
|
|
153
158
|
"test": "npm run test:node && npm run test:browser",
|
|
154
159
|
"test:browser": "echo skipped",
|
|
155
|
-
"test:browser:live": "dev-tool run build-package && dev-tool run build-test &&
|
|
156
|
-
"test:node": "npm run generate-certs &&
|
|
157
|
-
"test:node:live": "dev-tool run build-package &&
|
|
160
|
+
"test:browser:live": "dev-tool run build-package && dev-tool run build-test && cross-env TEST_MODE=live dev-tool run test:vitest --browser --no-test-proxy",
|
|
161
|
+
"test:node": "npm run generate-certs && cross-env NODE_EXTRA_CA_CERTS=\"./certs/my-private-root-ca.crt.pem\" AZURE_LOG_LEVEL=\"info\" npm run vitest:node",
|
|
162
|
+
"test:node:live": "dev-tool run build-package && cross-env TEST_MODE=live npm run vitest:node",
|
|
158
163
|
"update-snippets": "dev-tool run update-snippets",
|
|
159
164
|
"vitest:node": "dev-tool run test:vitest --no-test-proxy"
|
|
160
165
|
}
|