@loaders.gl/loader-utils
Advanced tools
Comparing version 4.3.0-alpha.7 to 4.3.0-alpha.8
// __VERSION__ is injected by babel-plugin-version-inline | ||
// @ts-ignore TS2304: Cannot find name '__VERSION__'. | ||
const VERSION = typeof "4.3.0-alpha.6" !== 'undefined' ? "4.3.0-alpha.6" : 'latest'; | ||
const VERSION = typeof "4.3.0-alpha.7" !== 'undefined' ? "4.3.0-alpha.7" : 'latest'; | ||
/** | ||
@@ -5,0 +5,0 @@ * A JSON Micro loader (minimal bundle size) |
@@ -8,3 +8,3 @@ // loaders.gl | ||
// @ts-ignore TS2304: Cannot find name '__VERSION__'. | ||
export const VERSION = typeof "4.3.0-alpha.6" !== 'undefined' ? "4.3.0-alpha.6" : 'latest'; | ||
export const VERSION = typeof "4.3.0-alpha.7" !== 'undefined' ? "4.3.0-alpha.7" : 'latest'; | ||
const version = VERSION[0] >= '0' && VERSION[0] <= '9' ? `v${VERSION}` : ''; | ||
@@ -11,0 +11,0 @@ // Make sure we set the global variable |
{ | ||
"name": "@loaders.gl/loader-utils", | ||
"version": "4.3.0-alpha.7", | ||
"version": "4.3.0-alpha.8", | ||
"description": "Framework-independent loaders for 3D graphics formats", | ||
@@ -48,4 +48,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@loaders.gl/schema": "4.3.0-alpha.7", | ||
"@loaders.gl/worker-utils": "4.3.0-alpha.7", | ||
"@loaders.gl/schema": "4.3.0-alpha.8", | ||
"@loaders.gl/worker-utils": "4.3.0-alpha.8", | ||
"@probe.gl/log": "^4.0.2", | ||
@@ -57,3 +57,3 @@ "@probe.gl/stats": "^4.0.2" | ||
}, | ||
"gitHead": "73fb27872d89f3804dca37ebd568c6ba9609a98f" | ||
"gitHead": "c458e0c3a09543cd7c4a293d3c3f08c12acf78c0" | ||
} |
@@ -297,9 +297,7 @@ // loaders.gl | ||
/** Typescript helper to extract options type from a generic loader type */ | ||
export type LoaderOptionsType<T = Loader> = T extends Loader<any, any, infer Options> | ||
? Options | ||
: never; | ||
export type LoaderOptionsType<T = Loader> = | ||
T extends Loader<any, any, infer Options> ? Options : never; | ||
/** Typescript helper to extract data type from a generic loader type */ | ||
export type LoaderReturnType<T = Loader> = T extends Loader<infer Return, any, any> | ||
? Return | ||
: never; | ||
export type LoaderReturnType<T = Loader> = | ||
T extends Loader<infer Return, any, any> ? Return : never; | ||
/** Typescript helper to extract batch type from a generic loader type */ | ||
@@ -306,0 +304,0 @@ export type LoaderBatchType<T = Loader> = T extends Loader<any, infer Batch, any> ? Batch : never; |
@@ -95,4 +95,3 @@ // loaders.gl | ||
/** Typescript helper to extract the writer options type from a generic writer type */ | ||
export type WriterOptionsType<T = Writer> = T extends Writer<unknown, unknown, infer Options> | ||
? Options | ||
: never; | ||
export type WriterOptionsType<T = Writer> = | ||
T extends Writer<unknown, unknown, infer Options> ? Options : never; |
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
451990
8241
+ Added@loaders.gl/schema@4.3.0-alpha.8(transitive)
+ Added@loaders.gl/worker-utils@4.3.0-alpha.8(transitive)
- Removed@loaders.gl/schema@4.3.0-alpha.7(transitive)
- Removed@loaders.gl/worker-utils@4.3.0-alpha.7(transitive)