New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@loaders.gl/terrain

Package Overview
Dependencies
Maintainers
9
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/terrain - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

18

dist/quantized-mesh-worker.js

@@ -8,2 +8,5 @@ "use strict";

// ../worker-utils/src/lib/node/worker_threads-browser.ts
var parentPort = null;
// ../worker-utils/src/lib/worker-utils/get-transfer-list.ts

@@ -46,15 +49,2 @@ function getTransferList(object, recursive = true, transfers) {

async function getParentPort() {
let parentPort;
try {
eval("globalThis.parentPort = require('worker_threads').parentPort");
parentPort = globalThis.parentPort;
} catch {
try {
eval("globalThis.workerThreadsPromise = import('worker_threads')");
const workerThreads = await globalThis.workerThreadsPromise;
parentPort = workerThreads.parentPort;
} catch (error) {
console.error(error.message);
}
}
return parentPort;

@@ -1306,3 +1296,3 @@ }

// src/lib/utils/version.ts
var VERSION = true ? "4.0.3" : "latest";
var VERSION = true ? "4.0.4" : "latest";

@@ -1309,0 +1299,0 @@ // src/terrain-loader.ts

@@ -8,2 +8,5 @@ "use strict";

// ../worker-utils/src/lib/node/worker_threads-browser.ts
var parentPort = null;
// ../worker-utils/src/lib/worker-utils/get-transfer-list.ts

@@ -46,15 +49,2 @@ function getTransferList(object, recursive = true, transfers) {

async function getParentPort() {
let parentPort;
try {
eval("globalThis.parentPort = require('worker_threads').parentPort");
parentPort = globalThis.parentPort;
} catch {
try {
eval("globalThis.workerThreadsPromise = import('worker_threads')");
const workerThreads = await globalThis.workerThreadsPromise;
parentPort = workerThreads.parentPort;
} catch (error) {
console.error(error.message);
}
}
return parentPort;

@@ -1306,3 +1296,3 @@ }

// src/lib/utils/version.ts
var VERSION = true ? "4.0.3" : "latest";
var VERSION = true ? "4.0.4" : "latest";

@@ -1309,0 +1299,0 @@ // src/terrain-loader.ts

{
"name": "@loaders.gl/terrain",
"version": "4.0.3",
"version": "4.0.4",
"description": "Framework-independent loader for terrain raster formats",

@@ -46,8 +46,8 @@ "license": "MIT",

"@babel/runtime": "^7.3.1",
"@loaders.gl/images": "4.0.3",
"@loaders.gl/loader-utils": "4.0.3",
"@loaders.gl/schema": "4.0.3",
"@loaders.gl/images": "4.0.4",
"@loaders.gl/loader-utils": "4.0.4",
"@loaders.gl/schema": "4.0.4",
"@mapbox/martini": "^0.2.0"
},
"gitHead": "03c871839b36c997249dabae1844df53a35d3760"
"gitHead": "4dc810fa04bb400f4aedfef98a83c7ef882ed3d7"
}

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {LoaderContext, LoaderWithParser} from '@loaders.gl/loader-utils';

@@ -2,0 +5,0 @@ import {parseFromContext} from '@loaders.gl/loader-utils';

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
// Copyright (C) 2018-2019 HERE Europe B.V.

@@ -2,0 +5,0 @@ //

@@ -0,17 +1,7 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
// ISC License
// Copyright(c) 2019, Michael Fogleman, Vladimir Agafonkin
// Permission to use, copy, modify, and / or distribute this software for any purpose
// with or without fee is hereby granted, provided that the above copyright notice
// and this permission notice appear in all copies.
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS.IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
// OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
// TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
// THIS SOFTWARE.
// @ts-nocheck

@@ -18,0 +8,0 @@

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import {concatenateTypedArrays} from '@loaders.gl/loader-utils';

@@ -2,0 +5,0 @@

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import {Mesh, getMeshBoundingBox} from '@loaders.gl/schema';

@@ -2,0 +5,0 @@ import decode, {DECODING_STEPS} from './decode-quantized-mesh';

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
// Version constant cannot be imported, it needs to correspond to the build version of **this** module.

@@ -2,0 +5,0 @@ // __VERSION__ is injected by babel-plugin-version-inline

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {Loader, LoaderOptions} from '@loaders.gl/loader-utils';

@@ -2,0 +5,0 @@ import {VERSION} from './lib/utils/version';

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import type {Loader} from '@loaders.gl/loader-utils';

@@ -2,0 +5,0 @@ import type {ImageLoaderOptions} from '@loaders.gl/images';

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import {createLoaderWorker} from '@loaders.gl/loader-utils';

@@ -2,0 +5,0 @@ import {QuantizedMeshLoader} from '../index';

@@ -0,1 +1,4 @@

// loaders.gl, MIT license
// Copyright (c) vis.gl contributors
import {createLoaderWorker} from '@loaders.gl/loader-utils';

@@ -2,0 +5,0 @@ import {TerrainLoader} from '../index';

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

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