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

@loaders.gl/gltf

Package Overview
Dependencies
Maintainers
6
Versions
342
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/gltf - npm Package Compare versions

Comparing version 0.5.4 to 0.6.1

4

dist/es5/gltf/gltf-loader.js

@@ -35,6 +35,6 @@ "use strict";

extension: ['gltf', 'glb'],
parseText: parseTextGLTF,
parseBinary: parseBinaryGLTF
parseTextSync: parseTextGLTF,
parseSync: parseBinaryGLTF
};
exports.default = _default;
//# sourceMappingURL=gltf-loader.js.map

@@ -10,4 +10,2 @@ "use strict";

var _core = require("@loaders.gl/core");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -23,3 +21,2 @@

extension: 'glb',
writeToFile: _core.saveBinaryFile,
// TODO - encode standard format? Encode mesh to binary?

@@ -26,0 +23,0 @@ encodeToBinary: encodeGLB

@@ -20,5 +20,5 @@ // Binary container format for glTF

extension: ['gltf', 'glb'],
parseText: parseTextGLTF,
parseBinary: parseBinaryGLTF
parseTextSync: parseTextGLTF,
parseSync: parseBinaryGLTF
};
//# sourceMappingURL=gltf-loader.js.map
import GLTFBuilder from './gltf-builder';
import { saveBinaryFile } from '@loaders.gl/core';

@@ -12,3 +11,2 @@ function encodeGLB(json, options) {

extension: 'glb',
writeToFile: saveBinaryFile,
// TODO - encode standard format? Encode mesh to binary?

@@ -15,0 +13,0 @@ encodeToBinary: encodeGLB

@@ -20,5 +20,5 @@ // Binary container format for glTF

extension: ['gltf', 'glb'],
parseText: parseTextGLTF,
parseBinary: parseBinaryGLTF
parseTextSync: parseTextGLTF,
parseSync: parseBinaryGLTF
};
//# sourceMappingURL=gltf-loader.js.map
import GLTFBuilder from './gltf-builder';
import { saveBinaryFile } from '@loaders.gl/core';

@@ -12,3 +11,2 @@ function encodeGLB(json, options) {

extension: 'glb',
writeToFile: saveBinaryFile,
// TODO - encode standard format? Encode mesh to binary?

@@ -15,0 +13,0 @@ encodeToBinary: encodeGLB

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

@@ -43,4 +43,4 @@ "license": "MIT",

"dependencies": {
"@loaders.gl/core": "^0.5.4"
"@loaders.gl/core": "^0.6.1"
}
}

@@ -18,4 +18,4 @@ // Binary container format for glTF

extension: ['gltf', 'glb'],
parseText: parseTextGLTF,
parseBinary: parseBinaryGLTF
parseTextSync: parseTextGLTF,
parseSync: parseBinaryGLTF
};
import GLTFBuilder from './gltf-builder';
import {saveBinaryFile} from '@loaders.gl/core';

@@ -12,5 +11,4 @@ function encodeGLB(json, options) {

extension: 'glb',
writeToFile: saveBinaryFile,
// TODO - encode standard format? Encode mesh to binary?
encodeToBinary: encodeGLB
};

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

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