@loaders.gl/bson
Advanced tools
Comparing version 4.3.2 to 4.4.0-alpha.1
@@ -0,6 +1,11 @@ | ||
// loaders.gl | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) vis.gl contributors | ||
import { parseBSONSync } from "./lib/parsers/parse-bson.js"; | ||
import { BSONFormat } from "./bson-format.js"; | ||
// __VERSION__ is injected by babel-plugin-version-inline | ||
// @ts-ignore TS2304: Cannot find name '__VERSION__'. | ||
const VERSION = typeof "4.3.1" !== 'undefined' ? "4.3.1" : 'latest'; | ||
const VERSION = typeof "4.4.0-alpha.0" !== 'undefined' ? "4.4.0-alpha.0" : 'latest'; | ||
export const BSONLoader = { | ||
...BSONFormat, | ||
dataType: null, | ||
@@ -7,0 +12,0 @@ batchType: null, |
@@ -17,3 +17,6 @@ import type { WriterOptions } from '@loaders.gl/loader-utils'; | ||
readonly encodeSync: (data: Record<string, unknown>, options?: WriterOptions) => ArrayBuffer; | ||
readonly mimeTypes: ["application/bson"]; | ||
readonly category: "json"; | ||
readonly binary: true; | ||
}; | ||
//# sourceMappingURL=bson-writer.d.ts.map |
@@ -5,6 +5,8 @@ // loaders.gl | ||
import { encodeBSONSync } from "./lib/encoders/encode-bson.js"; | ||
import { BSONFormat } from "./bson-format.js"; | ||
// __VERSION__ is injected by babel-plugin-version-inline | ||
// @ts-ignore TS2304: Cannot find name '__VERSION__'. | ||
const VERSION = typeof "4.3.1" !== 'undefined' ? "4.3.1" : 'latest'; | ||
const VERSION = typeof "4.4.0-alpha.0" !== 'undefined' ? "4.4.0-alpha.0" : 'latest'; | ||
export const BSONWriter = { | ||
...BSONFormat, | ||
name: 'BSON', | ||
@@ -11,0 +13,0 @@ id: 'bson', |
{ | ||
"name": "@loaders.gl/bson", | ||
"version": "4.3.2", | ||
"version": "4.4.0-alpha.1", | ||
"description": "Framework-independent loader for JSON and streaming JSON formats", | ||
@@ -43,5 +43,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@loaders.gl/gis": "4.3.2", | ||
"@loaders.gl/loader-utils": "4.3.2", | ||
"@loaders.gl/schema": "4.3.2", | ||
"@loaders.gl/gis": "4.4.0-alpha.1", | ||
"@loaders.gl/loader-utils": "4.4.0-alpha.1", | ||
"@loaders.gl/schema": "4.4.0-alpha.1", | ||
"@types/bson": "4.2.0", | ||
@@ -51,5 +51,5 @@ "bson": "4.2.0" | ||
"peerDependencies": { | ||
"@loaders.gl/core": "^4.3.0" | ||
"@loaders.gl/core": "4.4.0-alpha.0" | ||
}, | ||
"gitHead": "b4203b8703f64a38d6f79a3113bc7bb51d45c93a" | ||
"gitHead": "f1732de45907bd500bf4eedb4803beca8bf4bfb0" | ||
} |
// loaders.gl | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) vis.gl contributors | ||
import type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils'; | ||
import type {ParseBSONOptions} from './lib/parsers/parse-bson'; | ||
import {parseBSONSync} from './lib/parsers/parse-bson'; | ||
import {BSONFormat} from './bson-format'; | ||
@@ -21,2 +23,3 @@ // __VERSION__ is injected by babel-plugin-version-inline | ||
export const BSONLoader = { | ||
...BSONFormat, | ||
dataType: null as unknown as Record<string, unknown>, | ||
@@ -23,0 +26,0 @@ batchType: null as never, |
@@ -8,2 +8,3 @@ // loaders.gl | ||
import {encodeBSONSync} from './lib/encoders/encode-bson'; | ||
import {BSONFormat} from './bson-format'; | ||
@@ -19,2 +20,3 @@ // __VERSION__ is injected by babel-plugin-version-inline | ||
export const BSONWriter = { | ||
...BSONFormat, | ||
name: 'BSON', | ||
@@ -21,0 +23,0 @@ id: 'bson', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
371473
31
6989
2
+ Added@loaders.gl/geoarrow@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/gis@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/loader-utils@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/schema@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/schema-utils@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/worker-utils@4.4.0-alpha.1(transitive)
+ Added@swc/helpers@0.5.15(transitive)
+ Added@types/command-line-args@5.2.3(transitive)
+ Added@types/command-line-usage@5.0.4(transitive)
+ Added@types/node@20.17.7(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedapache-arrow@18.0.0(transitive)
+ Addedarray-back@3.1.06.2.2(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedchalk-template@0.4.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcommand-line-args@5.2.1(transitive)
+ Addedcommand-line-usage@7.0.3(transitive)
+ Addedfind-replace@3.0.0(transitive)
+ Addedflatbuffers@24.3.25(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedjson-bignum@0.0.3(transitive)
+ Addedlodash.camelcase@4.3.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedtable-layout@4.1.1(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedtypical@4.0.07.3.0(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedwordwrapjs@5.1.0(transitive)
- Removed@loaders.gl/core@4.3.2(transitive)
- Removed@loaders.gl/gis@4.3.2(transitive)
- Removed@loaders.gl/loader-utils@4.3.2(transitive)
- Removed@loaders.gl/schema@4.3.2(transitive)
- Removed@loaders.gl/worker-utils@4.3.2(transitive)