@loaders.gl/loader-utils
Advanced tools
Comparing version 2.0.0-beta.6 to 2.0.0-beta.7
@@ -158,2 +158,26 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "setPathPrefix", { | ||
enumerable: true, | ||
get: function get() { | ||
return _fileAliases.setPathPrefix; | ||
} | ||
}); | ||
Object.defineProperty(exports, "getPathPrefix", { | ||
enumerable: true, | ||
get: function get() { | ||
return _fileAliases.getPathPrefix; | ||
} | ||
}); | ||
Object.defineProperty(exports, "resolvePath", { | ||
enumerable: true, | ||
get: function get() { | ||
return _fileAliases.resolvePath; | ||
} | ||
}); | ||
Object.defineProperty(exports, "_addAliases", { | ||
enumerable: true, | ||
get: function get() { | ||
return _fileAliases2.addAliases; | ||
} | ||
}); | ||
Object.defineProperty(exports, "_getMeshSize", { | ||
@@ -188,3 +212,7 @@ enumerable: true, | ||
var _fileAliases = require("./lib/path-utils/file-aliases"); | ||
var _fileAliases2 = require("./lib/path-utils/file-aliases.js"); | ||
var _meshUtils = require("./categories/mesh/mesh-utils"); | ||
//# sourceMappingURL=index.js.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
var LATEST = 'beta'; | ||
var VERSION = typeof "2.0.0-beta.6" !== 'undefined' ? "2.0.0-beta.6" : LATEST; | ||
var VERSION = typeof "2.0.0-beta.7" !== 'undefined' ? "2.0.0-beta.7" : LATEST; | ||
var loadLibraryPromises = {}; | ||
@@ -23,0 +23,0 @@ |
@@ -12,3 +12,3 @@ "use strict"; | ||
var VERSION = typeof "2.0.0-beta.6" !== 'undefined' ? "2.0.0-beta.6" : ''; | ||
var VERSION = typeof "2.0.0-beta.7" !== 'undefined' ? "2.0.0-beta.7" : ''; | ||
@@ -15,0 +15,0 @@ function validateLoaderVersion(loader) { |
@@ -12,3 +12,5 @@ export { default as createWorker } from './lib/create-worker'; | ||
export { getFirstCharacters, getMagicString } from './lib/binary-utils/get-first-characters'; | ||
export { setPathPrefix, getPathPrefix, resolvePath } from './lib/path-utils/file-aliases'; | ||
export { addAliases as _addAliases } from './lib/path-utils/file-aliases.js'; | ||
export { getMeshSize as _getMeshSize } from './categories/mesh/mesh-utils'; | ||
//# sourceMappingURL=index.js.map |
@@ -5,3 +5,3 @@ import { global, isBrowser, isWorker } from '../env-utils/globals'; | ||
const LATEST = 'beta'; | ||
const VERSION = typeof "2.0.0-beta.6" !== 'undefined' ? "2.0.0-beta.6" : LATEST; | ||
const VERSION = typeof "2.0.0-beta.7" !== 'undefined' ? "2.0.0-beta.7" : LATEST; | ||
const loadLibraryPromises = {}; | ||
@@ -8,0 +8,0 @@ export async function loadLibrary(libraryUrl, moduleName = null, options = {}) { |
import assert from './env-utils/assert'; | ||
const VERSION = typeof "2.0.0-beta.6" !== 'undefined' ? "2.0.0-beta.6" : ''; | ||
const VERSION = typeof "2.0.0-beta.7" !== 'undefined' ? "2.0.0-beta.7" : ''; | ||
export function validateLoaderVersion(loader, coreVersion = VERSION) { | ||
@@ -4,0 +4,0 @@ assert(loader, 'no loader provided'); |
@@ -12,3 +12,5 @@ export { default as createWorker } from './lib/create-worker'; | ||
export { getFirstCharacters, getMagicString } from './lib/binary-utils/get-first-characters'; | ||
export { setPathPrefix, getPathPrefix, resolvePath } from './lib/path-utils/file-aliases'; | ||
export { addAliases as _addAliases } from './lib/path-utils/file-aliases.js'; | ||
export { getMeshSize as _getMeshSize } from './categories/mesh/mesh-utils'; | ||
//# sourceMappingURL=index.js.map |
@@ -6,3 +6,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
var LATEST = 'beta'; | ||
var VERSION = typeof "2.0.0-beta.6" !== 'undefined' ? "2.0.0-beta.6" : LATEST; | ||
var VERSION = typeof "2.0.0-beta.7" !== 'undefined' ? "2.0.0-beta.7" : LATEST; | ||
var loadLibraryPromises = {}; | ||
@@ -9,0 +9,0 @@ export function loadLibrary(libraryUrl) { |
import assert from './env-utils/assert'; | ||
var VERSION = typeof "2.0.0-beta.6" !== 'undefined' ? "2.0.0-beta.6" : ''; | ||
var VERSION = typeof "2.0.0-beta.7" !== 'undefined' ? "2.0.0-beta.7" : ''; | ||
export function validateLoaderVersion(loader) { | ||
@@ -4,0 +4,0 @@ var coreVersion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : VERSION; |
{ | ||
"name": "@loaders.gl/loader-utils", | ||
"version": "2.0.0-beta.6", | ||
"version": "2.0.0-beta.7", | ||
"description": "Framework-independent loaders for 3D graphics formats", | ||
@@ -41,3 +41,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "f40fa05d62c12bfba344661c221c4dfddfd97776" | ||
"gitHead": "5a7cb43597e208bd0777d9eea0a2ad1ae8b7a8c7" | ||
} |
@@ -43,4 +43,10 @@ export {default as createWorker} from './lib/create-worker'; | ||
// PATH UTILS | ||
export {setPathPrefix, getPathPrefix, resolvePath} from './lib/path-utils/file-aliases'; | ||
// FOR TESTING ONLY, EXPERIMENTAL | ||
export {addAliases as _addAliases} from './lib/path-utils/file-aliases.js'; | ||
// MESH CATEGORY UTILS | ||
// Note: Should move to category specific module if code size increases | ||
export {getMeshSize as _getMeshSize} from './categories/mesh/mesh-utils'; |
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
227758
108
2358