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

@loaders.gl/core

Package Overview
Dependencies
Maintainers
6
Versions
337
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/core - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

LICENSE

28

dist/es5/index.js

@@ -24,24 +24,24 @@ "use strict";

});
Object.defineProperty(exports, "readFile", {
Object.defineProperty(exports, "parseFile", {
enumerable: true,
get: function get() {
return _readFile.readFile;
return _parseFile.parseFile;
}
});
Object.defineProperty(exports, "readFileSync", {
Object.defineProperty(exports, "parseFileSync", {
enumerable: true,
get: function get() {
return _readFile.readFileSync;
return _parseFile.parseFileSync;
}
});
Object.defineProperty(exports, "parseFile", {
Object.defineProperty(exports, "readFile", {
enumerable: true,
get: function get() {
return _parseFile.parseFile;
return _readFile.readFile;
}
});
Object.defineProperty(exports, "parseFileSync", {
Object.defineProperty(exports, "readFileSync", {
enumerable: true,
get: function get() {
return _parseFile.parseFileSync;
return _readFile.readFileSync;
}

@@ -175,8 +175,2 @@ });

});
Object.defineProperty(exports, "decodeImage", {
enumerable: true,
get: function get() {
return _imageUtilsBrowser.decodeImage;
}
});
Object.defineProperty(exports, "ImageBitmapLoader", {

@@ -295,6 +289,6 @@ enumerable: true,

var _parseFile = require("./parse-file/parse-file");
var _readFile = require("./read-file/read-file");
var _parseFile = require("./parse-file/parse-file");
var _loadFile = require("./load-file/load-file");

@@ -320,4 +314,2 @@

var _imageUtilsBrowser = require("./image-utils/image-utils-browser");
var _imageLoaders = require("./image-utils/image-loaders");

@@ -324,0 +316,0 @@

@@ -60,3 +60,3 @@ "use strict";

if (loader.parseTextSync) {
if (loader.parseTextSync && typeof data === 'string') {
return loader.parseTextSync(data, options);

@@ -63,0 +63,0 @@ }

// FILE PARSING AND LOADING
export { setPathPrefix, getPathPrefix } from './read-file/path-prefix';
export { addFileAliases } from './read-file/file-aliases';
export { parseFile, parseFileSync } from './parse-file/parse-file';
export { readFile, readFileSync } from './read-file/read-file';
export { parseFile, parseFileSync } from './parse-file/parse-file';
export { loadFile, loadFileSync } from './load-file/load-file';

@@ -19,3 +19,2 @@ export { loadImage } from './load-file/load-image'; // FILE ENCODING AND SAVING

export { isImage, getImageSize } from './image-utils/get-image-size';
export { decodeImage } from './image-utils/image-utils-browser';
export { ImageBitmapLoader, HTMLImageLoader, PlatformImageLoader } from './image-utils/image-loaders'; // MESH UTILS

@@ -22,0 +21,0 @@

@@ -47,3 +47,3 @@ import parseWithWorker from '../worker-utils/parse-with-worker';

if (loader.parseTextSync) {
if (loader.parseTextSync && typeof data === 'string') {
return loader.parseTextSync(data, options);

@@ -50,0 +50,0 @@ }

// FILE PARSING AND LOADING
export { setPathPrefix, getPathPrefix } from './read-file/path-prefix';
export { addFileAliases } from './read-file/file-aliases';
export { parseFile, parseFileSync } from './parse-file/parse-file';
export { readFile, readFileSync } from './read-file/read-file';
export { parseFile, parseFileSync } from './parse-file/parse-file';
export { loadFile, loadFileSync } from './load-file/load-file';

@@ -19,3 +19,2 @@ export { loadImage } from './load-file/load-image'; // FILE ENCODING AND SAVING

export { isImage, getImageSize } from './image-utils/get-image-size';
export { decodeImage } from './image-utils/image-utils-browser';
export { ImageBitmapLoader, HTMLImageLoader, PlatformImageLoader } from './image-utils/image-loaders'; // MESH UTILS

@@ -22,0 +21,0 @@

@@ -47,3 +47,3 @@ import parseWithWorker from '../worker-utils/parse-with-worker';

if (loader.parseTextSync) {
if (loader.parseTextSync && typeof data === 'string') {
return loader.parseTextSync(data, options);

@@ -50,0 +50,0 @@ }

{
"name": "@loaders.gl/core",
"version": "0.6.1",
"version": "0.6.2",
"description": "Framework-independent loaders for 3D graphics formats",

@@ -44,3 +44,4 @@ "license": "MIT",

"text-encoding": "^0.6.4"
}
},
"gitHead": "e4254bd72aa623c1002d38034a3784cf673d3c4d"
}

@@ -5,4 +5,5 @@ // FILE PARSING AND LOADING

export {addFileAliases} from './read-file/file-aliases';
export {parseFile, parseFileSync} from './parse-file/parse-file';
export {readFile, readFileSync} from './read-file/read-file';
export {parseFile, parseFileSync} from './parse-file/parse-file';
export {loadFile, loadFileSync} from './load-file/load-file';

@@ -48,6 +49,2 @@ export {loadImage} from './load-file/load-image';

export {
decodeImage
} from './image-utils/image-utils-browser';
export {
ImageBitmapLoader,

@@ -54,0 +51,0 @@ HTMLImageLoader,

@@ -48,3 +48,3 @@ import parseWithWorker from '../worker-utils/parse-with-worker';

// First check for synchronous parsers
if (loader.parseTextSync) {
if (loader.parseTextSync && typeof data === 'string') {
return loader.parseTextSync(data, options);

@@ -51,0 +51,0 @@ }

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