File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 146
146
"stream-browserify" : " ^3.0.0" ,
147
147
"tmp-promise" : " ^1.0.3" ,
148
148
"ts-loader" : " ^9.2.9" ,
149
- "ts-node" : " ^9.1.1 " ,
149
+ "ts-node" : " ^10.9.2 " ,
150
150
"typedoc" : " ^0.22.4" ,
151
- "typescript" : " 4.5.5 " ,
151
+ "typescript" : " 4.7.4 " ,
152
152
"url" : " ^0.11.0" ,
153
153
"util" : " ^0.12.4" ,
154
154
"webpack" : " ^5.72.0" ,
Original file line number Diff line number Diff line change @@ -339,9 +339,11 @@ function copyAddressDetails(
339
339
source : SocketIsh < typeof SOCKET_ADDRESS_METADATA_FIELDS [ number ] > ,
340
340
target : SocketIsh < typeof SOCKET_ADDRESS_METADATA_FIELDS [ number ] >
341
341
) {
342
- Object . defineProperties ( target , _ . zipObject ( SOCKET_ADDRESS_METADATA_FIELDS ,
342
+ Object . defineProperties ( target , _ . zipObject (
343
+ SOCKET_ADDRESS_METADATA_FIELDS ,
343
344
_ . range ( SOCKET_ADDRESS_METADATA_FIELDS . length ) . map ( ( ) => ( { writable : true } ) )
344
- ) ) ;
345
+ ) as PropertyDescriptorMap ) ;
346
+
345
347
SOCKET_ADDRESS_METADATA_FIELDS . forEach ( ( fieldName ) => {
346
348
if ( target [ fieldName ] === undefined ) {
347
349
( target as any ) [ fieldName ] = source [ fieldName ] ;
You can’t perform that action at this time.
0 commit comments