Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loaders.gl/bson

Package Overview
Dependencies
Maintainers
0
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/bson - npm Package Compare versions

Comparing version 4.3.2 to 4.4.0-alpha.1

dist/bson-format.d.ts

7

dist/bson-loader.js

@@ -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

4

dist/bson-writer.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc