@loaders.gl/draco
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -14,2 +14,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "DracoWorkerLoader", { | ||
enumerable: true, | ||
get: function get() { | ||
return _dracoWorkerLoader["default"]; | ||
} | ||
}); | ||
Object.defineProperty(exports, "DracoWriter", { | ||
@@ -33,6 +39,7 @@ enumerable: true, | ||
}); | ||
exports.DracoWorkerLoader = void 0; | ||
var _dracoLoader = _interopRequireDefault(require("./draco-loader")); | ||
var _dracoWorkerLoader = _interopRequireDefault(require("./draco-worker-loader")); | ||
var _dracoWriter = _interopRequireDefault(require("./draco-writer")); | ||
@@ -43,19 +50,2 @@ | ||
var _dracoBuilder = _interopRequireDefault(require("./draco-builder")); | ||
function parseSync(arrayBuffer, options) { | ||
var dracoParser = new _dracoParser["default"](); | ||
try { | ||
return dracoParser.parseSync(arrayBuffer, options); | ||
} finally { | ||
dracoParser.destroy(); | ||
} | ||
} | ||
var DracoWorkerLoader = { | ||
name: 'DRACO', | ||
extensions: ['drc'], | ||
parseSync: parseSync | ||
}; | ||
exports.DracoWorkerLoader = DracoWorkerLoader; | ||
//# sourceMappingURL=index.js.map |
export { default as DracoLoader } from './draco-loader'; | ||
export { default as DracoWorkerLoader } from './draco-worker-loader'; | ||
export { default as DracoWriter } from './draco-writer'; | ||
export { default as DracoParser } from './draco-parser'; | ||
export { default as DracoBuilder } from './draco-builder'; | ||
import DracoParser from './draco-parser'; | ||
function parseSync(arrayBuffer, options) { | ||
var dracoParser = new DracoParser(); | ||
try { | ||
return dracoParser.parseSync(arrayBuffer, options); | ||
} finally { | ||
dracoParser.destroy(); | ||
} | ||
} | ||
export var DracoWorkerLoader = { | ||
name: 'DRACO', | ||
extensions: ['drc'], | ||
parseSync | ||
}; | ||
//# sourceMappingURL=index.js.map |
export { default as DracoLoader } from './draco-loader'; | ||
export { default as DracoWorkerLoader } from './draco-worker-loader'; | ||
export { default as DracoWriter } from './draco-writer'; | ||
export { default as DracoParser } from './draco-parser'; | ||
export { default as DracoBuilder } from './draco-builder'; | ||
import DracoParser from './draco-parser'; | ||
function parseSync(arrayBuffer, options) { | ||
var dracoParser = new DracoParser(); | ||
try { | ||
return dracoParser.parseSync(arrayBuffer, options); | ||
} finally { | ||
dracoParser.destroy(); | ||
} | ||
} | ||
export var DracoWorkerLoader = { | ||
name: 'DRACO', | ||
extensions: ['drc'], | ||
parseSync: parseSync | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@loaders.gl/draco", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Framework-independent loader and writer for Draco compressed meshes and point clouds", | ||
@@ -41,6 +41,6 @@ "license": "MIT", | ||
"@babel/runtime": "^7.3.1", | ||
"@loaders.gl/loader-utils": "1.2.1", | ||
"@loaders.gl/loader-utils": "1.2.2", | ||
"draco3d": "^1.3.4" | ||
}, | ||
"gitHead": "fc4f9cef05d6f379a1f22657ed84d1e6acb0bd21" | ||
"gitHead": "c8bd2fef7bc686e5cf2ae68926f2ee51d95b50cf" | ||
} |
export {default as DracoLoader} from './draco-loader'; | ||
export {default as DracoWorkerLoader} from './draco-worker-loader'; | ||
export {default as DracoWriter} from './draco-writer'; | ||
@@ -6,21 +7,1 @@ | ||
export {default as DracoBuilder} from './draco-builder'; | ||
// DEPRECATED | ||
// eslint-disable-next-line import/first | ||
import DracoParser from './draco-parser'; | ||
function parseSync(arrayBuffer, options) { | ||
const dracoParser = new DracoParser(); | ||
try { | ||
return dracoParser.parseSync(arrayBuffer, options); | ||
} finally { | ||
dracoParser.destroy(); | ||
} | ||
} | ||
export const DracoWorkerLoader = { | ||
name: 'DRACO', | ||
extensions: ['drc'], | ||
parseSync | ||
}; |
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
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
13427528
35494
0
57
+ Added@loaders.gl/loader-utils@1.2.2(transitive)
- Removed@loaders.gl/loader-utils@1.2.1(transitive)