flatbuffers
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -0,0 +0,0 @@ import { ByteBuffer } from "./byte-buffer"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Long } from "./long"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare const SIZEOF_SHORT = 2; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare enum Encoding { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export { SIZEOF_SHORT } from './constants'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { Builder } from './flexbuffers/builder'; | ||
export { toReference } from './flexbuffers/reference'; | ||
export declare function builder(): Builder; | ||
export declare function toObject(buffer: Uint8Array): unknown; | ||
export declare function toObject(buffer: ArrayBuffer): unknown; | ||
export declare function encode(object: unknown, size?: number, deduplicateStrings?: boolean, deduplicateKeys?: boolean, deduplicateKeyVectors?: boolean): Uint8Array; |
@@ -14,3 +14,3 @@ "use strict"; | ||
function toObject(buffer) { | ||
return reference_1.toReference(buffer).toObject(); | ||
return (0, reference_1.toReference)(buffer).toObject(); | ||
} | ||
@@ -17,0 +17,0 @@ exports.toObject = toObject; |
@@ -0,0 +0,0 @@ export declare function createLong(low: number, high: number): Long; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ByteBuffer } from './byte-buffer'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export declare const int32: Int32Array; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ByteBuffer } from "./byte-buffer"; |
@@ -0,0 +0,0 @@ import { ByteBuffer } from "./byte-buffer"; |
@@ -0,0 +0,0 @@ import { Long } from "./long"; |
@@ -0,0 +0,0 @@ import { FILE_IDENTIFIER_LENGTH, SIZEOF_INT } from "./constants"; |
@@ -0,0 +0,0 @@ export declare const SIZEOF_SHORT = 2; |
@@ -0,0 +0,0 @@ export const SIZEOF_SHORT = 2; |
@@ -0,0 +0,0 @@ export declare enum Encoding { |
@@ -0,0 +0,0 @@ export var Encoding; |
@@ -0,0 +0,0 @@ export { SIZEOF_SHORT } from './constants'; |
@@ -0,0 +0,0 @@ export { SIZEOF_SHORT } from './constants'; |
import { Builder } from './flexbuffers/builder'; | ||
export { toReference } from './flexbuffers/reference'; | ||
export declare function builder(): Builder; | ||
export declare function toObject(buffer: Uint8Array): unknown; | ||
export declare function toObject(buffer: ArrayBuffer): unknown; | ||
export declare function encode(object: unknown, size?: number, deduplicateStrings?: boolean, deduplicateKeys?: boolean, deduplicateKeyVectors?: boolean): Uint8Array; |
@@ -0,0 +0,0 @@ /* eslint-disable @typescript-eslint/no-namespace */ |
@@ -0,0 +0,0 @@ export declare function createLong(low: number, high: number): Long; |
@@ -0,0 +0,0 @@ export function createLong(low, high) { |
@@ -0,0 +0,0 @@ import { ByteBuffer } from './byte-buffer'; |
export {}; |
@@ -0,0 +0,0 @@ export declare const int32: Int32Array; |
@@ -0,0 +0,0 @@ export const int32 = new Int32Array(2); |
{ | ||
"name": "flatbuffers", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Memory Efficient Serialization Library", | ||
"files": [ | ||
"js/*.js", | ||
"js/*.d.ts", | ||
"mjs/*.js", | ||
"mjs/*.d.ts", | ||
"ts/*.ts" | ||
"js/**/*.js", | ||
"js/**/*.d.ts", | ||
"mjs/**/*.js", | ||
"mjs/**/*.d.ts", | ||
"ts/**/*.ts" | ||
], | ||
@@ -21,3 +21,3 @@ "main": "js/flatbuffers.js", | ||
"compile": "tsc && tsc -p tsconfig.mjs.json", | ||
"prepublishOnly": "npm run compile" | ||
"prepublishOnly": "npm install --only=dev && npm run compile" | ||
}, | ||
@@ -24,0 +24,0 @@ "repository": { |
@@ -10,3 +10,3 @@ /* eslint-disable @typescript-eslint/no-namespace */ | ||
export function toObject(buffer: Uint8Array): unknown { | ||
export function toObject(buffer: ArrayBuffer): unknown { | ||
return toReference(buffer).toObject(); | ||
@@ -13,0 +13,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
293497
95
6982
0