feat: add authentication #5
Annotations
19 errors and 6 warnings
typecheck:
src/authentication.ts#L3
Cannot find module './helpers' or its corresponding type declarations.
|
typecheck:
test/index.test.ts#L26
Property 'majorVersion' does not exist on type 'HeaderDecodeReturn'.
|
typecheck:
test/index.test.ts#L27
Property 'minorVersion' does not exist on type 'HeaderDecodeReturn'.
|
typecheck:
test/index.test.ts#L28
Property 'type' does not exist on type 'HeaderDecodeReturn'.
|
typecheck:
test/index.test.ts#L29
Property 'seqNo' does not exist on type 'HeaderDecodeReturn'.
|
typecheck:
test/index.test.ts#L30
Property 'flags' does not exist on type 'HeaderDecodeReturn'.
|
typecheck:
test/index.test.ts#L31
Property 'sessionId' does not exist on type 'HeaderDecodeReturn'.
|
typecheck:
test/index.test.ts#L32
Property 'length' does not exist on type 'HeaderDecodeReturn'.
|
typecheck:
test/index.test.ts#L34
Property 'isEncrypted' does not exist on type 'HeaderDecodeReturn'.
|
typecheck:
test/index.test.ts#L35
Property 'isSingleConnection' does not exist on type 'HeaderDecodeReturn'.
|
test/index.test.ts > @noction/tacacs-plus > header > decodeHeader > should decode a valid header:
src/header.ts#L93
Error: Invalid major version
❯ validateHeader src/header.ts:93:11
❯ Function.decode src/header.ts:163:20
❯ test/index.test.ts:24:31
|
test/index.test.ts > @noction/tacacs-plus > header > create > should create a custom header with specified values:
src/header.ts#L93
Error: Invalid major version
❯ validateHeader src/header.ts:93:11
❯ Function.create src/header.ts:194:9
❯ test/index.test.ts:56:37
|
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
|
test/index.test.ts > @noction/tacacs-plus > header > decodeHeader > should decode a valid header:
src/header.ts#L93
Error: Invalid major version
❯ validateHeader src/header.ts:93:11
❯ Function.decode src/header.ts:163:20
❯ test/index.test.ts:24:31
|
test/index.test.ts > @noction/tacacs-plus > header > create > should create a custom header with specified values:
src/header.ts#L93
Error: Invalid major version
❯ validateHeader src/header.ts:93:11
❯ Function.create src/header.ts:194:9
❯ test/index.test.ts:56:37
|
test (lts/*, macos-latest)
Process completed with exit code 1.
|
test/index.test.ts > @noction/tacacs-plus > header > decodeHeader > should decode a valid header:
src/header.ts#L93
Error: Invalid major version
❯ validateHeader src/header.ts:93:11
❯ Function.decode src/header.ts:163:20
❯ test/index.test.ts:24:31
|
test/index.test.ts > @noction/tacacs-plus > header > create > should create a custom header with specified values:
src/header.ts#L93
Error: Invalid major version
❯ validateHeader src/header.ts:93:11
❯ Function.create src/header.ts:194:9
❯ test/index.test.ts:56:37
|
test (lts/*, windows-latest)
Process completed with exit code 1.
|
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
src/index.ts#L55
Missing JSDoc @returns description
|
test (lts/*, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (lts/*, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (lts/*, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|