Skip to content

Commit 6328f8f

Browse files
Update dependency @types/k6 to ^0.57.0 (#5397)
Co-authored-by: Dhruv Bhanushali <dhruv_b@live.com>
1 parent 2eb8ee7 commit 6328f8f

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

packages/js/k6/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@rollup/plugin-commonjs": "^28.0.0",
1515
"@rollup/plugin-node-resolve": "^15.2.3",
1616
"@rollup/plugin-typescript": "^12.0.0",
17-
"@types/k6": "^0.53.1",
17+
"@types/k6": "^0.57.0",
1818
"core-js": "^3.37.1",
1919
"glob": "^11.0.0",
2020
"rollup": "^4.22.4",

packages/js/k6/src/http.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ import {
1414
type RefinedParams,
1515
type ResponseType,
1616
} from "k6/http"
17-
import { HttpURL } from "k6/experimental/tracing"
1817

1918
// Polyfills URL
2019
import "core-js/web/url"
2120
import "core-js/web/url-search-params"
2221

2322
import { sign } from "./crypto"
2423

24+
interface HttpURL {
25+
__brand: "http-url"
26+
}
27+
2528
const signingSecret = __ENV.signing_secret
2629

2730
function getSignedParams<

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)