Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loaders.gl/loader-utils

Package Overview
Dependencies
Maintainers
9
Versions
319
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/loader-utils - npm Package Compare versions

Comparing version 1.1.0-beta.1 to 1.1.0

dist/es5/lib/binary-copy-utils.js

62

dist/es5/index.js

@@ -14,2 +14,50 @@ "use strict";

});
Object.defineProperty(exports, "padTo4Bytes", {
enumerable: true,
get: function get() {
return _memoryCopyUtils.padTo4Bytes;
}
});
Object.defineProperty(exports, "copyToArray", {
enumerable: true,
get: function get() {
return _memoryCopyUtils.copyToArray;
}
});
Object.defineProperty(exports, "copyArrayBuffer", {
enumerable: true,
get: function get() {
return _memoryCopyUtils.copyArrayBuffer;
}
});
Object.defineProperty(exports, "copyPaddedArrayBufferToDataView", {
enumerable: true,
get: function get() {
return _binaryCopyUtils.copyPaddedArrayBufferToDataView;
}
});
Object.defineProperty(exports, "copyPaddedStringToDataView", {
enumerable: true,
get: function get() {
return _binaryCopyUtils.copyPaddedStringToDataView;
}
});
Object.defineProperty(exports, "padStringToByteAlignment", {
enumerable: true,
get: function get() {
return _encodeUtils.padStringToByteAlignment;
}
});
Object.defineProperty(exports, "copyStringToDataView", {
enumerable: true,
get: function get() {
return _encodeUtils.copyStringToDataView;
}
});
Object.defineProperty(exports, "copyBinaryToDataView", {
enumerable: true,
get: function get() {
return _encodeUtils.copyBinaryToDataView;
}
});
Object.defineProperty(exports, "_getMeshSize", {

@@ -21,6 +69,20 @@ enumerable: true,

});
Object.defineProperty(exports, "assert", {
enumerable: true,
get: function get() {
return _assert["default"];
}
});
var _createWorker = _interopRequireDefault(require("./worker-utils/create-worker"));
var _memoryCopyUtils = require("./lib/memory-copy-utils");
var _binaryCopyUtils = require("./lib/binary-copy-utils");
var _encodeUtils = require("./lib/encode-utils");
var _meshUtils = require("./categories/mesh/mesh-utils");
var _assert = _interopRequireDefault(require("./lib/utils/assert"));
//# sourceMappingURL=index.js.map

4

dist/es6/index.js
export { default as createWorker } from './worker-utils/create-worker';
export { padTo4Bytes, copyToArray, copyArrayBuffer } from './lib/memory-copy-utils';
export { copyPaddedArrayBufferToDataView, copyPaddedStringToDataView } from './lib/binary-copy-utils';
export { padStringToByteAlignment, copyStringToDataView, copyBinaryToDataView } from './lib/encode-utils';
export { getMeshSize as _getMeshSize } from './categories/mesh/mesh-utils';
export { default as assert } from './lib/utils/assert';
//# sourceMappingURL=index.js.map

7

dist/es6/worker-utils/create-worker.js

@@ -8,5 +8,6 @@ import getTransferList from './get-transfer-list';

self.onmessage = evt => {
const _evt$data = evt.data,
arraybuffer = _evt$data.arraybuffer,
opts = _evt$data.opts;
const {
arraybuffer,
opts
} = evt.data;

@@ -13,0 +14,0 @@ try {

export { default as createWorker } from './worker-utils/create-worker';
export { padTo4Bytes, copyToArray, copyArrayBuffer } from './lib/memory-copy-utils';
export { copyPaddedArrayBufferToDataView, copyPaddedStringToDataView } from './lib/binary-copy-utils';
export { padStringToByteAlignment, copyStringToDataView, copyBinaryToDataView } from './lib/encode-utils';
export { getMeshSize as _getMeshSize } from './categories/mesh/mesh-utils';
export { default as assert } from './lib/utils/assert';
//# sourceMappingURL=index.js.map
{
"name": "@loaders.gl/loader-utils",
"version": "1.1.0-beta.1",
"version": "1.1.0",
"description": "Framework-independent loaders for 3D graphics formats",

@@ -35,3 +35,4 @@ "license": "MIT",

"@babel/runtime": "^7.3.1"
}
},
"gitHead": "3e703baf6d39bbefce19a509709f5dc80a1cc428"
}
// WORKER UTILS
export {default as createWorker} from './worker-utils/create-worker';
// MEMORY COPY UTILS
export {padTo4Bytes, copyToArray, copyArrayBuffer} from './lib/memory-copy-utils';
export {copyPaddedArrayBufferToDataView, copyPaddedStringToDataView} from './lib/binary-copy-utils';
export {
padStringToByteAlignment,
copyStringToDataView,
copyBinaryToDataView
} from './lib/encode-utils';
// MESH CATEGORY UTILS
export {getMeshSize as _getMeshSize} from './categories/mesh/mesh-utils';
export {default as assert} from './lib/utils/assert';

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc