Skip to content

Commit

Permalink
wbn-sign: Bump version to 0.1.2
Browse files Browse the repository at this point in the history
Also update @types/node to be 14+
  • Loading branch information
sonkkeli committed Aug 3, 2023
1 parent e68d465 commit 767fc1d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
18 changes: 9 additions & 9 deletions js/sign/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions js/sign/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wbn-sign",
"version": "0.1.1",
"version": "0.1.2",
"description": "Signing tool to sign a web bundle with integrity block",
"homepage": "https://github.com/WICG/webpackage/tree/main/js/sign",
"main": "./lib/wbn-sign.cjs",
Expand Down Expand Up @@ -43,7 +43,7 @@
"read": "^2.0.0"
},
"devDependencies": {
"@types/node": "^12.7.11",
"@types/node": "^14.0.0",
"esbuild": "^0.14.47",
"jasmine": "^4.2.1",
"mock-stdin": "^1.0.0",
Expand Down
4 changes: 1 addition & 3 deletions js/sign/src/utils/cli-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ export async function parseMaybeEncryptedKey(

export function greenConsoleLog(text: string): void {
const logColor = { green: '\x1b[32m', reset: '\x1b[0m' };

// @ts-expect-error Unknown property `fd`.
const fileDescriptor: number = process.stdout.fd ?? 1;
const fileDescriptor: number = process.stdout.fd;

// If the log is used for non-terminal (fd != 1), e.g., setting an environment
// variable, it shouldn't have any formatting.
Expand Down

0 comments on commit 767fc1d

Please sign in to comment.