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.5.2 to 0.5.3

dist/es5/image-utils/image-loaders.js

4

dist/es5/file-utils/load-image.js

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

var _imageLoader = require("../image-utils/image-loader");
var _imageLoaders = require("../image-utils/image-loaders");

@@ -17,4 +17,4 @@ /*

function loadImage(url, options) {
return _imageLoader.PlatformImageLoader.readAndParseImage(url, options);
return _imageLoaders.PlatformImageLoader.load(url, options);
}
//# sourceMappingURL=load-image.js.map

@@ -126,2 +126,20 @@ "use strict";

});
Object.defineProperty(exports, "ImageBitmapLoader", {
enumerable: true,
get: function get() {
return _imageLoaders.ImageBitmapLoader;
}
});
Object.defineProperty(exports, "HTMLImageLoader", {
enumerable: true,
get: function get() {
return _imageLoaders.HTMLImageLoader;
}
});
Object.defineProperty(exports, "PlatformImageLoader", {
enumerable: true,
get: function get() {
return _imageLoaders.PlatformImageLoader;
}
});
Object.defineProperty(exports, "getAccessorTypeFromSize", {

@@ -220,2 +238,4 @@ enumerable: true,

var _imageLoaders = require("./image-utils/image-loaders");
var _gltfTypeUtils = require("./mesh-utils/gltf-type-utils");

@@ -222,0 +242,0 @@

@@ -1,2 +0,2 @@

import { PlatformImageLoader } from '../image-utils/image-loader';
import { PlatformImageLoader } from '../image-utils/image-loaders';
/*

@@ -9,4 +9,4 @@ * Loads images asynchronously

export function loadImage(url, options) {
return PlatformImageLoader.readAndParseImage(url, options);
return PlatformImageLoader.load(url, options);
}
//# sourceMappingURL=load-image.js.map

@@ -13,3 +13,4 @@ // FILE LOADING FUNCTIONS

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

@@ -16,0 +17,0 @@ export { getAccessorTypeFromSize, getComponentTypeFromArray } from './mesh-utils/gltf-type-utils';

@@ -1,2 +0,2 @@

import { PlatformImageLoader } from '../image-utils/image-loader';
import { PlatformImageLoader } from '../image-utils/image-loaders';
/*

@@ -9,4 +9,4 @@ * Loads images asynchronously

export function loadImage(url, options) {
return PlatformImageLoader.readAndParseImage(url, options);
return PlatformImageLoader.load(url, options);
}
//# sourceMappingURL=load-image.js.map

@@ -13,3 +13,4 @@ // FILE LOADING FUNCTIONS

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

@@ -16,0 +17,0 @@ export { getAccessorTypeFromSize, getComponentTypeFromArray } from './mesh-utils/gltf-type-utils';

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

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -1,2 +0,2 @@

import {PlatformImageLoader} from '../image-utils/image-loader';
import {PlatformImageLoader} from '../image-utils/image-loaders';

@@ -9,3 +9,3 @@ /*

export function loadImage(url, options) {
return PlatformImageLoader.readAndParseImage(url, options);
return PlatformImageLoader.load(url, options);
}

@@ -39,2 +39,8 @@ // FILE LOADING FUNCTIONS

export {
ImageBitmapLoader,
HTMLImageLoader,
PlatformImageLoader
} from './image-utils/image-loaders';
// MESH UTILS

@@ -41,0 +47,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