Skip to content

use browser friendly crypto #4

use browser friendly crypto

use browser friendly crypto #4

Triggered via push February 28, 2024 14:36
Status Failure
Total duration 34s
Artifacts

test.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Unhandled error: test/index.test.ts#L93
AssertionError: promise rejected "ReferenceError: crypto is not defined" instead of resolving ❯ test/index.test.ts:93:32 This error originated in "test/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17 ❯ test/index.test.ts:93:43
test/index.test.ts > makes a request: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
test/index.test.ts > sets request headers: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
test/index.test.ts > accepts request options: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
test/index.test.ts > accepts additional headers: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
test/index.test.ts > accepts params: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
test/index.test.ts > requests a single resource: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
test/index.test.ts > makes chained requests: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
test/index.test.ts > makes nested chained requests: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
test/index.test.ts > request methods > makes a get request: src/request.ts#L13
ReferenceError: crypto is not defined ❯ Object.request src/request.ts:13:21 ❯ RequestBuilder.request src/index.ts:20:26 ❯ RequestBuilder.getInnerPromise src/request-builder.ts:107:32 ❯ RequestBuilder.then src/request-builder.ts:102:17
build (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.