Socket
Socket
Sign inDemoInstall

@loaders.gl/gltf

Package Overview
Dependencies
18
Maintainers
9
Versions
326
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.1 to 4.0.2

8

dist/glb-writer.js

@@ -11,6 +11,10 @@ import { encodeGLBSync } from "./lib/encoders/encode-glb.js";

binary: true,
encodeSync,
options: {
glb: {}
}
},
encode: async function (glb) {
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
return encodeSync(glb, options);
},
encodeSync
};

@@ -17,0 +21,0 @@ function encodeSync(glb, options) {

@@ -17,6 +17,7 @@ import type { Writer, WriterOptions } from '@loaders.gl/loader-utils';

binary: boolean;
encodeSync: typeof encodeSync;
options: {
gltf: {};
};
encode: (gltf: any, options?: GLTFWriterOptions) => Promise<ArrayBuffer>;
encodeSync: typeof encodeSync;
};

@@ -23,0 +24,0 @@ declare function encodeSync(gltf: any, options?: GLTFWriterOptions): ArrayBuffer;

@@ -11,6 +11,10 @@ import { VERSION } from "./lib/utils/version.js";

binary: true,
encodeSync,
options: {
gltf: {}
}
},
encode: async function (gltf) {
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
return encodeSync(gltf, options);
},
encodeSync
};

@@ -17,0 +21,0 @@ function encodeSync(gltf) {

{
"name": "@loaders.gl/gltf",
"version": "4.0.1",
"version": "4.0.2",
"description": "Framework-independent loader for the glTF format",

@@ -45,9 +45,9 @@ "license": "MIT",

"dependencies": {
"@loaders.gl/draco": "4.0.1",
"@loaders.gl/images": "4.0.1",
"@loaders.gl/loader-utils": "4.0.1",
"@loaders.gl/textures": "4.0.1",
"@loaders.gl/draco": "4.0.2",
"@loaders.gl/images": "4.0.2",
"@loaders.gl/loader-utils": "4.0.2",
"@loaders.gl/textures": "4.0.2",
"@math.gl/core": "^4.0.0"
},
"gitHead": "765e5a26a6bf3f2cc02cabffc4a1e3665ec92a53"
"gitHead": "471058d109d5652f28c32c1f296fd632f9a5c806"
}

@@ -27,8 +27,8 @@ // loaders.gl, MIT license

binary: true,
encodeSync,
options: {
glb: {}
}
},
encode: async (glb, options: GLBWriterOptions = {}) => encodeSync(glb, options),
encodeSync
};

@@ -35,0 +35,0 @@

@@ -22,8 +22,8 @@ import type {Writer, WriterOptions} from '@loaders.gl/loader-utils';

binary: true,
encodeSync,
options: {
gltf: {}
}
},
encode: async (gltf, options: GLTFWriterOptions = {}) => encodeSync(gltf, options),
encodeSync
};

@@ -30,0 +30,0 @@

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc