feat(packages/sui-js): using a pure js function to make this utility hashing function isomorphic #2703
Annotations
10 errors and 2 warnings
Lint:
packages/sui-js/src/hash/index.js#L1
Replace `"./sha256.js";` with `'./sha256.js'`
|
Lint:
packages/sui-js/src/hash/sha256.js#L7
Delete `⏎`
|
Lint:
packages/sui-js/src/hash/sha256.js#L21
Delete `⏎`
|
Lint:
packages/sui-js/src/hash/sha256.js#L39
Replace `··const·defaults·=·{·msgFormat:·'string',·outFormat:·'hex'·};` with `const·defaults·=·{msgFormat:·'string',·outFormat:·'hex'}`
|
Lint:
packages/sui-js/src/hash/sha256.js#L40
Replace `··const·opt·=·Object.assign(defaults,·options);` with `const·opt·=·Object.assign(defaults,·options)`
|
Lint:
packages/sui-js/src/hash/sha256.js#L42
Delete `··`
|
Lint:
packages/sui-js/src/hash/sha256.js#L44
Delete `··`
|
Lint:
packages/sui-js/src/hash/sha256.js#L45
Delete `····`
|
Lint:
packages/sui-js/src/hash/sha256.js#L45
Default clause should be the last clause
|
Lint:
packages/sui-js/src/hash/sha256.js#L46
Replace `····case·'string':···msg·=·utf8Encode(msg);·······break;` with `case·'string':⏎········msg·=·utf8Encode(msg)⏎········break`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/cancel-workflow-action@0.6.0, actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/cancel-workflow-action@0.6.0, actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading