@loaders.gl/draco
Advanced tools
Comparing version 4.1.0-alpha.2 to 4.1.0-alpha.3
@@ -59,3 +59,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
// src/lib/utils/version.ts | ||
var VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest"; | ||
var VERSION = true ? "4.1.0-alpha.3" : "latest"; | ||
@@ -559,11 +559,10 @@ // src/draco-loader.ts | ||
// ../worker-utils/src/lib/env-utils/version.ts | ||
var NPM_TAG = "latest"; | ||
function getVersion() { | ||
if (!globalThis._loadersgl_?.version) { | ||
globalThis._loadersgl_ = globalThis._loadersgl_ || {}; | ||
if (typeof __VERSION__ === "undefined") { | ||
if (false) { | ||
console.warn("loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN."); | ||
globalThis._loadersgl_.version = NPM_TAG; | ||
} else { | ||
globalThis._loadersgl_.version = __VERSION__; | ||
globalThis._loadersgl_.version = "4.1.0-alpha.3"; | ||
} | ||
@@ -570,0 +569,0 @@ } |
@@ -46,3 +46,3 @@ "use strict"; | ||
} else { | ||
globalThis._loadersgl_.version = "4.1.0-alpha.2"; | ||
globalThis._loadersgl_.version = "4.1.0-alpha.3"; | ||
} | ||
@@ -362,3 +362,3 @@ } | ||
// src/lib/utils/version.ts | ||
var VERSION2 = true ? "4.1.0-alpha.2" : "latest"; | ||
var VERSION2 = true ? "4.1.0-alpha.3" : "latest"; | ||
@@ -365,0 +365,0 @@ // src/draco-loader.ts |
@@ -46,3 +46,3 @@ "use strict"; | ||
} else { | ||
globalThis._loadersgl_.version = "4.1.0-alpha.2"; | ||
globalThis._loadersgl_.version = "4.1.0-alpha.3"; | ||
} | ||
@@ -655,3 +655,3 @@ } | ||
// src/lib/utils/version.ts | ||
var VERSION2 = true ? "4.1.0-alpha.2" : "latest"; | ||
var VERSION2 = true ? "4.1.0-alpha.3" : "latest"; | ||
@@ -658,0 +658,0 @@ // src/draco-writer.ts |
@@ -1,2 +0,2 @@ | ||
export const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest'; | ||
export const VERSION = typeof "4.1.0-alpha.3" !== 'undefined' ? "4.1.0-alpha.3" : 'latest'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@loaders.gl/draco", | ||
"version": "4.1.0-alpha.2", | ||
"version": "4.1.0-alpha.3", | ||
"description": "Framework-independent loader and writer for Draco compressed meshes and point clouds", | ||
@@ -60,11 +60,11 @@ "license": "MIT", | ||
"@babel/runtime": "^7.3.1", | ||
"@loaders.gl/loader-utils": "4.1.0-alpha.2", | ||
"@loaders.gl/schema": "4.1.0-alpha.2", | ||
"@loaders.gl/worker-utils": "4.1.0-alpha.2", | ||
"@loaders.gl/loader-utils": "4.1.0-alpha.3", | ||
"@loaders.gl/schema": "4.1.0-alpha.3", | ||
"@loaders.gl/worker-utils": "4.1.0-alpha.3", | ||
"draco3d": "1.5.5" | ||
}, | ||
"devDependencies": { | ||
"@loaders.gl/polyfills": "4.1.0-alpha.2" | ||
"@loaders.gl/polyfills": "4.1.0-alpha.3" | ||
}, | ||
"gitHead": "a248382edd20e846c1ccb23c15d089fb9b368dbc" | ||
"gitHead": "b78075a7cb8d4ecd4aac84805ce74b8ceb400cf7" | ||
} |
@@ -1,2 +0,3 @@ | ||
// loaders.gl, MIT license | ||
// loaders.gl | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) vis.gl contributors | ||
@@ -3,0 +4,0 @@ |
@@ -1,2 +0,3 @@ | ||
// loaders.gl, MIT license | ||
// loaders.gl | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) vis.gl contributors | ||
@@ -3,0 +4,0 @@ import type {LoaderWithParser} from '@loaders.gl/loader-utils'; |
@@ -17,3 +17,3 @@ // Polyfills increases the bundle size significantly. Use it for NodeJS worker only | ||
const {input, options} = payload; | ||
const result = await DracoWriter.encode!(input, options); | ||
const result = await DracoWriter.encode(input, options); | ||
WorkerBody.postMessage('done', {result}); | ||
@@ -20,0 +20,0 @@ } catch (error) { |
@@ -15,3 +15,3 @@ import {WorkerBody, WorkerMessagePayload} from '@loaders.gl/worker-utils'; | ||
const {input, options} = payload; | ||
const result = await DracoWriter.encode!(input, options); | ||
const result = await DracoWriter.encode(input, options); | ||
WorkerBody.postMessage('done', {result}); | ||
@@ -18,0 +18,0 @@ } catch (error) { |
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 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
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 too big to display
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 2 instances in 1 package
15471665
92
149295
+ Added@loaders.gl/loader-utils@4.1.0-alpha.3(transitive)
+ Added@loaders.gl/schema@4.1.0-alpha.3(transitive)
+ Added@loaders.gl/worker-utils@4.1.0-alpha.3(transitive)
- Removed@loaders.gl/loader-utils@4.1.0-alpha.2(transitive)
- Removed@loaders.gl/schema@4.1.0-alpha.2(transitive)
- Removed@loaders.gl/worker-utils@4.1.0-alpha.2(transitive)