Skip to content

Commit

Permalink
chore: update third-party licenses and sha of links in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Apr 12, 2024
1 parent 4b73dd8 commit f1286ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -126,11 +126,11 @@ thoroughly review the code.
@smithy/util-base64
Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
https://cdn.jsdelivr.net/npm/@smithy/util-base64@2.2.0/LICENSE
https://cdn.jsdelivr.net/npm/@smithy/util-base64@2.3.0/LICENSE
@smithy/util-utf8
Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
https://cdn.jsdelivr.net/npm/@smithy/util-utf8@2.2.0/LICENSE
https://cdn.jsdelivr.net/npm/@smithy/util-utf8@2.3.0/LICENSE
```

## Sponsors
Expand Down
6 changes: 3 additions & 3 deletions src/utils.ts
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/dot-notation, @typescript-eslint/no-non-null-assertion, no-bitwise, no-plusplus, unicorn/prefer-code-point */

// https://github.com/smithy-lang/smithy-typescript/blob/9275e12bb1db680284681d5ff7277fe3315bbfba/packages/util-base64/src/constants.browser.ts
// https://github.com/smithy-lang/smithy-typescript/blob/d4cd0661109dd77e65f382f9b8d6d6d7abee92b6/packages/util-base64/src/constants.browser.ts

const alphabetByEncoding: Record<string, number> = {}
const alphabetByValue: string[] = Array.from({ length: 64 })
Expand Down Expand Up @@ -54,7 +54,7 @@ export const bufferToString = (value: Uint8Array): string => {
return new TextDecoder().decode(value)
}

// https://github.com/smithy-lang/smithy-typescript/blob/9275e12bb1db680284681d5ff7277fe3315bbfba/packages/util-base64/src/fromBase64.browser.ts
// https://github.com/smithy-lang/smithy-typescript/blob/d4cd0661109dd77e65f382f9b8d6d6d7abee92b6/packages/util-base64/src/fromBase64.browser.ts

/**
* Decode a base64url string to a Uint8Array.
Expand Down Expand Up @@ -104,7 +104,7 @@ export const base64urlDecode = (_input: string): Uint8Array => {
return new Uint8Array(out)
}

// https://github.com/smithy-lang/smithy-typescript/blob/9275e12bb1db680284681d5ff7277fe3315bbfba/packages/util-base64/src/toBase64.browser.ts
// https://github.com/smithy-lang/smithy-typescript/blob/8e8f35138482f034b7ac092fc99d23ca4f611128/packages/util-base64/src/toBase64.browser.ts

/**
* Encode a Uint8Array to a base64url string.
Expand Down

0 comments on commit f1286ee

Please sign in to comment.