messagepack
Advanced tools
Comparing version 1.1.7 to 1.1.8
import { Type, Collection, Obj, Nil, Bool, Int, Uint, Float, Bytes, Str, TypedArr, TypedMap, Time, Any, Arr, Map, Struct, Union, structEncoder, structDecoder, unionEncoder, unionDecoder } from "./types"; | ||
import { WriteBuffer, ReadBuffer } from "./buffer"; | ||
export { WriteBuffer, ReadBuffer, Type, Collection, Obj, Nil, Bool, Int, Uint, Float, Bytes, Str, TypedArr, TypedMap, Time, Any, Arr, Map, Struct, Union, structEncoder, structDecoder, unionEncoder, unionDecoder, encode, decode }; | ||
export { WriteBuffer, ReadBuffer, Type, Collection, Obj, Nil, Bool, Int, Uint, Float, Bytes, Str, TypedArr, TypedMap, Time, Any, Arr, Map, Struct, Union, structEncoder, structDecoder, unionEncoder, unionDecoder, encode, decode, }; | ||
declare function encode<T>(v: T, typ?: Type<T>): Uint8Array; | ||
declare function decode<T>(buf: BufferSource, typ?: Type<T>): T; |
@@ -32,3 +32,3 @@ export declare const enum Tag { | ||
FixExt8 = 215, | ||
FixExt16 = 216, | ||
FixExt16 = 216 | ||
} | ||
@@ -35,0 +35,0 @@ export declare function posFixintTag(i: number): Tag; |
{ | ||
"name": "messagepack", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "A MessagePack implementation for JavaScript.", | ||
@@ -33,7 +33,7 @@ "main": "dist/messagepack.cjs.js", | ||
"devDependencies": { | ||
"@types/node": "^10.1.3", | ||
"rollup": "^0.59.4", | ||
"rollup-plugin-tsc": "^1.1.9", | ||
"testsome": "^1.0.1" | ||
"@types/node": "^10.12.18", | ||
"rollup": "^0.68.2", | ||
"rollup-plugin-tsc": "^1.1.15", | ||
"testsome": "^1.0.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
52753