mirror of https://github.com/grpc/grpc-node.git
proto-loader: Update to Long 5.x
This commit is contained in:
parent
422e8cbcba
commit
3388765cbb
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@grpc/proto-loader",
|
||||
"version": "0.6.9",
|
||||
"version": "0.6.10",
|
||||
"author": "Google Inc.",
|
||||
"contributors": [
|
||||
{
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
"dependencies": {
|
||||
"@types/long": "^4.0.1",
|
||||
"lodash.camelcase": "^4.3.0",
|
||||
"long": "^4.0.0",
|
||||
"long": "^5.2.0",
|
||||
"protobufjs": "^6.10.0",
|
||||
"yargs": "^16.2.0"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ import * as descriptor from 'protobufjs/ext/descriptor';
|
|||
|
||||
import { loadProtosWithOptionsSync, loadProtosWithOptions, Options, addCommonProtos } from './util';
|
||||
|
||||
export { Long } from 'long';
|
||||
import Long = require('long');
|
||||
|
||||
export { Options };
|
||||
export { Options, Long };
|
||||
|
||||
/**
|
||||
* This type exists for use with code generated by the proto-loader-gen-types
|
||||
|
|
|
|||
Loading…
Reference in New Issue