Socket
Socket
Sign inDemoInstall

@loaders.gl/images

Package Overview
Dependencies
Maintainers
9
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/images - npm Package Compare versions

Comparing version 4.0.0-beta.7 to 4.0.0-beta.8

8

dist/dist.dev.js

@@ -40,3 +40,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

isImageFormatSupported: () => isImageFormatSupported,
isImageTypeSupported: () => isImageTypeSupported
isImageTypeSupported: () => isImageTypeSupported,
loadImage: () => loadImage
});

@@ -596,2 +597,7 @@

}
// src/index.ts
function loadImage() {
throw new Error("loadImage has moved to @loaders.gl/textures");
}
return __toCommonJS(src_exports);

@@ -598,0 +604,0 @@ })();

@@ -10,2 +10,4 @@ export type { ImageDataType, ImageType, ImageTypeEnum } from './types';

export { isImageFormatSupported } from './lib/category-api/image-format';
/** @deprecated Temporary placeholder to prevent builds from breaking */
export declare function loadImage(): void;
//# sourceMappingURL=index.d.ts.map

@@ -8,2 +8,5 @@ export { ImageLoader } from "./image-loader.js";

export { isImageFormatSupported } from "./lib/category-api/image-format.js";
export function loadImage() {
throw new Error('loadImage has moved to @loaders.gl/textures');
}
//# sourceMappingURL=index.js.map

6

package.json
{
"name": "@loaders.gl/images",
"version": "4.0.0-beta.7",
"version": "4.0.0-beta.8",
"description": "Framework-independent loaders and writers for images (PNG, JPG, ...)",

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

"dependencies": {
"@loaders.gl/loader-utils": "4.0.0-beta.7"
"@loaders.gl/loader-utils": "4.0.0-beta.8"
},
"gitHead": "5b6cab0ab5d73212cfa37fa5da6e25ad7ef83fe5",
"gitHead": "ec3d1747b4c01c52a235455d6462680e711b4e19",
"devDependencies": {

@@ -48,0 +48,0 @@ "@types/get-pixels": "^3.3.2"

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

@@ -3,0 +4,0 @@ import type {Writer, WriterOptions} from '@loaders.gl/loader-utils';

@@ -27,1 +27,7 @@ // TYPES

export {isImageFormatSupported} from './lib/category-api/image-format';
// REMOVED
/** @deprecated Temporary placeholder to prevent builds from breaking */
export function loadImage() {
throw new Error('loadImage has moved to @loaders.gl/textures');
}
// loaders.gl, MIT license
// Copyright (c) vis.gl contributors

@@ -3,0 +4,0 @@ import {isBrowser} from '@loaders.gl/loader-utils';

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
// code adapted from https://github.com/sindresorhus/file-type under MIT license

@@ -3,0 +4,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

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