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
320
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 2.3.1 to 3.0.0-alpha.1

2

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

@@ -37,3 +37,3 @@ "use strict";

var srcByteLength = source.byteLength;
sourceArray = new Uint8Array(source.buffer, srcByteOffset, srcByteLength);
sourceArray = new Uint8Array(source.buffer || source.arrayBuffer, srcByteOffset, srcByteLength);
}

@@ -40,0 +40,0 @@

@@ -24,3 +24,3 @@ "use strict";

var LATEST = 'beta';
var VERSION = typeof "2.3.1" !== 'undefined' ? "2.3.1" : LATEST;
var VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : LATEST;
var loadLibraryPromises = {};

@@ -27,0 +27,0 @@

@@ -12,3 +12,3 @@ "use strict";

var VERSION = typeof "2.3.1" !== 'undefined' ? "2.3.1" : '';
var VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : '';

@@ -15,0 +15,0 @@ function validateLoaderVersion(loader) {

@@ -12,3 +12,3 @@ "use strict";

var VERSION = typeof "2.3.1" !== 'undefined' ? "2.3.1" : '';
var VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : '';

@@ -15,0 +15,0 @@ function validateLoaderVersion(loader) {

@@ -22,3 +22,3 @@ import { sliceArrayBuffer } from './array-buffer-utils';

const srcByteLength = source.byteLength;
sourceArray = new Uint8Array(source.buffer, srcByteOffset, srcByteLength);
sourceArray = new Uint8Array(source.buffer || source.arrayBuffer, srcByteOffset, srcByteLength);
}

@@ -25,0 +25,0 @@

@@ -5,3 +5,3 @@ import { global, isBrowser, isWorker } from '../env-utils/globals';

const LATEST = 'beta';
const VERSION = typeof "2.3.1" !== 'undefined' ? "2.3.1" : LATEST;
const VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : 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.3.1" !== 'undefined' ? "2.3.1" : '';
const VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : '';
export function validateLoaderVersion(loader, coreVersion = VERSION) {

@@ -4,0 +4,0 @@ assert(loader, 'no loader provided');

import assert from '../env-utils/assert';
const VERSION = typeof "2.3.1" !== 'undefined' ? "2.3.1" : '';
const VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : '';
export function validateLoaderVersion(loader, coreVersion = VERSION) {

@@ -4,0 +4,0 @@ assert(loader, 'no loader provided');

@@ -23,3 +23,3 @@ import { sliceArrayBuffer } from './array-buffer-utils';

var srcByteLength = source.byteLength;
sourceArray = new Uint8Array(source.buffer, srcByteOffset, srcByteLength);
sourceArray = new Uint8Array(source.buffer || source.arrayBuffer, srcByteOffset, srcByteLength);
}

@@ -26,0 +26,0 @@

@@ -7,3 +7,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

var LATEST = 'beta';
var VERSION = typeof "2.3.1" !== 'undefined' ? "2.3.1" : LATEST;
var VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : LATEST;
var loadLibraryPromises = {};

@@ -10,0 +10,0 @@ export function loadLibrary(_x) {

import assert from './env-utils/assert';
var VERSION = typeof "2.3.1" !== 'undefined' ? "2.3.1" : '';
var VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : '';
export function validateLoaderVersion(loader) {

@@ -4,0 +4,0 @@ var coreVersion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : VERSION;

import assert from '../env-utils/assert';
var VERSION = typeof "2.3.1" !== 'undefined' ? "2.3.1" : '';
var VERSION = typeof "3.0.0-alpha.1" !== 'undefined' ? "3.0.0-alpha.1" : '';
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.3.1",
"version": "3.0.0-alpha.1",
"description": "Framework-independent loaders for 3D graphics formats",

@@ -49,3 +49,3 @@ "license": "MIT",

},
"gitHead": "9fa661b3c4c49de3b0e1a90619d1011624f0ca7d"
"gitHead": "a443ce4367107090898c0ab3eb612120b9b3318d"
}

@@ -52,3 +52,5 @@ import {sliceArrayBuffer} from './array-buffer-utils';

const srcByteLength = source.byteLength;
sourceArray = new Uint8Array(source.buffer, srcByteOffset, srcByteLength);
// In gltf parser it is set as "arrayBuffer" instead of "buffer"
// https://github.com/visgl/loaders.gl/blob/1e3a82a0a65d7b6a67b1e60633453e5edda2960a/modules/gltf/src/lib/parse-gltf.js#L85
sourceArray = new Uint8Array(source.buffer || source.arrayBuffer, srcByteOffset, srcByteLength);
}

@@ -55,0 +57,0 @@

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