Skip to content

Commit

Permalink
Merge pull request #56 from samchon/features/uuid
Browse files Browse the repository at this point in the history
Upgrade uuid version due to warning message
  • Loading branch information
samchon authored Sep 1, 2023
2 parents d787b40 + 0da0927 commit ce72c13
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ jobs:
NodeJS:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 16.x
- run: npm install
- run: npm run compile
- run: npm run test:node
Browser:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 16.x
- run: npm install --force
- run: npm run compile
- run: npm run bundle
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]",
"url": "https://github.com/samchon"
},
"version": "0.8.7",
"version": "0.8.8",
"main": "index.js",
"typings": "index.d.ts",
"scripts": {
Expand All @@ -28,8 +28,8 @@
"dependencies": {
"import2": "^1.0.0",
"serialize-error": "^4.1.0",
"tstl": "^2.5.3",
"uuid": "^3.4.0",
"tstl": "^2.5.13",
"uuid": "^9.0.0",
"ws": "^7.5.3"
},
"devDependencies": {
Expand All @@ -48,8 +48,8 @@
"puppeteer": "^10.1.0",
"source-map-support": "^0.5.19",
"ts-node": "^10.1.0",
"typedoc": "^0.22.10",
"typescript": "^4.5.2",
"typedoc": "^0.25.0",
"typescript": "^5.2.2",
"whatwg-fetch": "^3.6.2"
},
"homepage": "https://tgrid.com",
Expand Down
6 changes: 3 additions & 3 deletions src/protocols/web/WebConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ export class WebConnector<Header, Provider extends object | null>
}
} catch (exp) {
this.state_ = WebConnector.State.NONE;
if (this.socket_!.readyState === WebConnector.State.OPEN) {
this.socket_!.onclose = () => {};
this.socket_!.close();
if (this.socket_ && this.socket_.readyState === WebConnector.State.OPEN) {
this.socket_.onclose = () => {};
this.socket_.close();
}
throw exp;
}
Expand Down

0 comments on commit ce72c13

Please sign in to comment.