Skip to content

Commit

Permalink
update node.js version from 20 to 22.7.0
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Pandey <[email protected]>
  • Loading branch information
aspandey committed Aug 28, 2024
1 parent f004fd3 commit b2f76ae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.0
22.7.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"@types/jest": "29.5.12",
"@types/lodash": "4.17.7",
"@types/mongodb": "4.0.7",
"@types/node": "20.16.1",
"@types/node": "22.5.0",
"@types/pg": "8.11.6",
"@types/request": "2.48.12",
"eslint": "8.57.0",
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/rpc_ws.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Copyright (C) 2016 NooBaa */
'use strict';

const WS = global.WebSocket || require('ws');
const WS = require('ws');

const dbg = require('../util/debug_module')(__filename);
const http_utils = require('../util/http_utils');
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/rpc_ws_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const url = require('url');
const EventEmitter = require('events').EventEmitter;
const RpcWsConnection = require('./rpc_ws');
const dbg = require('../util/debug_module')(__filename);
const WS = global.WebSocket || require('ws');
const WS = require('ws');


/**
Expand Down

0 comments on commit b2f76ae

Please sign in to comment.