File tree Expand file tree Collapse file tree 7 files changed +7
-6
lines changed Expand file tree Collapse file tree 7 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1+ nodejs 18.13.0
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import {
1616import * as protoLoader from '@grpc/proto-loader' ;
1717import _ from 'lodash' ;
1818import sizeof from 'object-sizeof' ;
19- import * as protobufjs from 'protobufjs' ;
19+ import protobufjs from 'protobufjs' ;
2020import type * as descriptor from 'protobufjs/ext/descriptor' ;
2121import { v4 as uuidv4 } from 'uuid' ;
2222
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import {
1515} from 'axios' ;
1616import { IAxiosRetryConfig } from 'axios-retry' ;
1717import type { Request , Response } from 'express' ;
18- import * as protobufjs from 'protobufjs' ;
18+ import protobufjs from 'protobufjs' ;
1919
2020import type { GrpcContext } from '../components/grpc.js' ;
2121import { Lang } from '../constants.js' ;
Original file line number Diff line number Diff line change 11import type { ChannelCredentials } from '@grpc/grpc-js' ;
22import type { Client as GrpcReflectionClient } from 'grpc-reflection-js' ;
33import _ from 'lodash' ;
4- import * as protobufjs from 'protobufjs' ;
4+ import protobufjs from 'protobufjs' ;
55
66import { patchProtoPathResolver } from './proto-path-resolver.js' ;
77
Original file line number Diff line number Diff line change 77 ClientUnaryCall ,
88 ClientWritableStream ,
99} from '@grpc/grpc-js' ;
10- import * as protobufjs from 'protobufjs' ;
10+ import protobufjs from 'protobufjs' ;
1111
1212import {
1313 DEFAULT_PROTO_LOADER_OPTIONS ,
Original file line number Diff line number Diff line change 11import * as grpc from '@grpc/grpc-js' ;
22import _ from 'lodash' ;
3- import * as protobufjs from 'protobufjs' ;
3+ import protobufjs from 'protobufjs' ;
44
55import { Lang } from '../constants.js' ;
66import { GatewayError } from '../models/common.js' ;
Original file line number Diff line number Diff line change 11import * as fs from 'fs' ;
22import * as path from 'path' ;
33
4- import * as protobufjs from 'protobufjs' ;
4+ import protobufjs from 'protobufjs' ;
55
66export function patchProtoPathResolver ( root : protobufjs . Root , includeDirs : string [ ] ) {
77 const originalResolvePath = root . resolvePath ;
You can’t perform that action at this time.
0 commit comments