Skip to content

Commit 3388765

Browse files
committed
proto-loader: Update to Long 5.x
1 parent 422e8cb commit 3388765

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/proto-loader/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/proto-loader",
3-
"version": "0.6.9",
3+
"version": "0.6.10",
44
"author": "Google Inc.",
55
"contributors": [
66
{
@@ -47,7 +47,7 @@
4747
"dependencies": {
4848
"@types/long": "^4.0.1",
4949
"lodash.camelcase": "^4.3.0",
50-
"long": "^4.0.0",
50+
"long": "^5.2.0",
5151
"protobufjs": "^6.10.0",
5252
"yargs": "^16.2.0"
5353
},

packages/proto-loader/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import * as descriptor from 'protobufjs/ext/descriptor';
2222

2323
import { loadProtosWithOptionsSync, loadProtosWithOptions, Options, addCommonProtos } from './util';
2424

25-
export { Long } from 'long';
25+
import Long = require('long');
2626

27-
export { Options };
27+
export { Options, Long };
2828

2929
/**
3030
* This type exists for use with code generated by the proto-loader-gen-types

0 commit comments

Comments
 (0)