@loaders.gl/core
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
391212
4528
4