Socket
Socket
Sign inDemoInstall

@loaders.gl/textures

Package Overview
Dependencies
13
Maintainers
9
Versions
190
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.2 to 4.0.3

4

dist/basis-worker.js

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

} else {
globalThis._loadersgl_.version = "4.0.2";
globalThis._loadersgl_.version = "4.0.3";
}

@@ -372,3 +372,3 @@ }

// src/lib/utils/version.ts
var VERSION2 = true ? "4.0.2" : "beta";
var VERSION2 = true ? "4.0.3" : "latest";

@@ -375,0 +375,0 @@ // src/lib/parsers/basis-module-loader.ts

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

} else {
globalThis._loadersgl_.version = "4.0.2";
globalThis._loadersgl_.version = "4.0.3";
}

@@ -379,3 +379,3 @@ }

// src/lib/utils/version.ts
var VERSION2 = true ? "4.0.2" : "beta";
var VERSION2 = true ? "4.0.3" : "latest";

@@ -382,0 +382,0 @@ // ../../node_modules/ktx-parse/dist/ktx-parse.modern.js

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

import type { Writer, WriterOptions } from '@loaders.gl/loader-utils';
import type { WriterWithEncoder, WriterOptions } from '@loaders.gl/loader-utils';
export type CompressedTextureWriterOptions = WriterOptions & {

@@ -16,3 +16,3 @@ cwd?: string;

*/
export declare const CompressedTextureWriter: Writer<unknown, unknown, CompressedTextureWriterOptions>;
export declare const CompressedTextureWriter: WriterWithEncoder<unknown, unknown, CompressedTextureWriterOptions>;
//# sourceMappingURL=compressed-texture-writer.d.ts.map

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

} else {
globalThis._loadersgl_.version = "4.0.2";
globalThis._loadersgl_.version = "4.0.3";
}

@@ -379,3 +379,3 @@ }

// src/lib/utils/version.ts
var VERSION2 = true ? "4.0.2" : "beta";
var VERSION2 = true ? "4.0.3" : "latest";

@@ -382,0 +382,0 @@ // src/crunch-loader.ts

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

} else {
globalThis._loadersgl_.version = "4.0.2";
globalThis._loadersgl_.version = "4.0.3";
}

@@ -291,3 +291,3 @@ }

// src/lib/utils/version.ts
var VERSION2 = true ? "4.0.2" : "beta";
var VERSION2 = true ? "4.0.3" : "latest";

@@ -294,0 +294,0 @@ // src/lib/parsers/basis-module-loader.ts

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

import type { Writer, WriterOptions } from '@loaders.gl/loader-utils';
import type { WriterWithEncoder, WriterOptions } from '@loaders.gl/loader-utils';
import type { ImageDataType } from '@loaders.gl/images';

@@ -16,3 +16,3 @@ /** @todo should be in basis sub-object */

*/
export declare const KTX2BasisWriter: Writer<ImageDataType, unknown, KTX2BasisWriterOptions>;
export declare const KTX2BasisWriter: WriterWithEncoder<ImageDataType, unknown, KTX2BasisWriterOptions>;
//# sourceMappingURL=ktx2-basis-writer.d.ts.map

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

export const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';
export const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';
//# sourceMappingURL=version.js.map
"use strict";
(() => {
// src/lib/utils/version.ts
var VERSION = true ? "4.0.2" : "beta";
var VERSION = true ? "4.0.3" : "latest";

@@ -6,0 +6,0 @@ // src/lib/parsers/parse-npy.ts

{
"name": "@loaders.gl/textures",
"version": "4.0.2",
"version": "4.0.3",
"description": "Framework-independent loaders for compressed and super compressed (basis) textures ",

@@ -56,6 +56,6 @@ "license": "MIT",

"dependencies": {
"@loaders.gl/images": "4.0.2",
"@loaders.gl/loader-utils": "4.0.2",
"@loaders.gl/schema": "4.0.2",
"@loaders.gl/worker-utils": "4.0.2",
"@loaders.gl/images": "4.0.3",
"@loaders.gl/loader-utils": "4.0.3",
"@loaders.gl/schema": "4.0.3",
"@loaders.gl/worker-utils": "4.0.3",
"ktx-parse": "^0.0.4",

@@ -65,5 +65,5 @@ "texture-compressor": "^1.0.2"

"devDependencies": {
"@loaders.gl/polyfills": "4.0.2"
"@loaders.gl/polyfills": "4.0.3"
},
"gitHead": "471058d109d5652f28c32c1f296fd632f9a5c806"
"gitHead": "03c871839b36c997249dabae1844df53a35d3760"
}

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

import type {Writer, WriterOptions} from '@loaders.gl/loader-utils';
import type {WriterWithEncoder, WriterOptions} from '@loaders.gl/loader-utils';
import {VERSION} from './lib/utils/version';

@@ -20,3 +20,7 @@ import {encodeImageURLToCompressedTextureURL} from './lib/encoders/encode-texture';

*/
export const CompressedTextureWriter: Writer<unknown, unknown, CompressedTextureWriterOptions> = {
export const CompressedTextureWriter: WriterWithEncoder<
unknown,
unknown,
CompressedTextureWriterOptions
> = {
name: 'DDS Texture Container',

@@ -23,0 +27,0 @@ id: 'dds',

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {Writer, WriterOptions} from '@loaders.gl/loader-utils';
import type {WriterWithEncoder, WriterOptions} from '@loaders.gl/loader-utils';
import {VERSION} from './lib/utils/version';

@@ -23,3 +23,3 @@ import type {ImageDataType} from '@loaders.gl/images';

*/
export const KTX2BasisWriter: Writer<ImageDataType, unknown, KTX2BasisWriterOptions> = {
export const KTX2BasisWriter: WriterWithEncoder<ImageDataType, unknown, KTX2BasisWriterOptions> = {
name: 'Basis Universal Supercompressed GPU Texture',

@@ -26,0 +26,0 @@ id: 'ktx2-basis-writer',

// Version constant cannot be imported, it needs to correspond to the build version of **this** module.
// __VERSION__ is injected by babel-plugin-version-inline
// TODO: use 'latest' instead of 'beta' when 3.0.0 version is released as 'latest'
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
export const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'beta';
export const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc