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

globe.gl

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globe.gl - npm Package Compare versions

Comparing version 2.26.10 to 2.26.11

23

dist/globe.gl.common.js

@@ -61,2 +61,3 @@ 'use strict';

function _defineProperty(obj, key, value) {
key = _toPropertyKey(key);
if (key in obj) {

@@ -126,2 +127,16 @@ Object.defineProperty(obj, key, {

}
function _toPrimitive(input, hint) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
function _toPropertyKey(arg) {
var key = _toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}

@@ -385,8 +400,4 @@ function linkKapsule (kapsulePropName, kapsuleType) {

// Avoid rotating more than 180deg longitude
while (curGeoCoords.lng - finalGeoCoords.lng > 180) {
curGeoCoords.lng -= 360;
}
while (curGeoCoords.lng - finalGeoCoords.lng < -180) {
curGeoCoords.lng += 360;
}
while (curGeoCoords.lng - finalGeoCoords.lng > 180) curGeoCoords.lng -= 360;
while (curGeoCoords.lng - finalGeoCoords.lng < -180) curGeoCoords.lng += 360;
new TWEEN.Tween(curGeoCoords).to(finalGeoCoords, transitionDuration).easing(TWEEN.Easing.Cubic.InOut).onUpdate(setCameraPos).start();

@@ -393,0 +404,0 @@ }

@@ -59,2 +59,3 @@ import { AmbientLight, DirectionalLight, Vector2 } from 'three';

function _defineProperty(obj, key, value) {
key = _toPropertyKey(key);
if (key in obj) {

@@ -124,2 +125,16 @@ Object.defineProperty(obj, key, {

}
function _toPrimitive(input, hint) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
function _toPropertyKey(arg) {
var key = _toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}

@@ -383,8 +398,4 @@ function linkKapsule (kapsulePropName, kapsuleType) {

// Avoid rotating more than 180deg longitude
while (curGeoCoords.lng - finalGeoCoords.lng > 180) {
curGeoCoords.lng -= 360;
}
while (curGeoCoords.lng - finalGeoCoords.lng < -180) {
curGeoCoords.lng += 360;
}
while (curGeoCoords.lng - finalGeoCoords.lng > 180) curGeoCoords.lng -= 360;
while (curGeoCoords.lng - finalGeoCoords.lng < -180) curGeoCoords.lng += 360;
new TWEEN.Tween(curGeoCoords).to(finalGeoCoords, transitionDuration).easing(TWEEN.Easing.Cubic.InOut).onUpdate(setCameraPos).start();

@@ -391,0 +402,0 @@ }

{
"name": "globe.gl",
"version": "2.26.10",
"version": "2.26.11",
"description": "UI component for Globe Data Visualization using ThreeJS/WebGL",

@@ -53,17 +53,17 @@ "unpkg": "dist/globe.gl.min.js",

"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/core": "^7.20.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.2",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-babel": "^6.0.2",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"postcss": "^8.4.19",
"@rollup/plugin-terser": "^0.2.1",
"postcss": "^8.4.20",
"rimraf": "^3.0.2",
"rollup": "^3.3.0",
"rollup-plugin-dts": "^5.0.0",
"rollup": "^3.8.1",
"rollup-plugin-dts": "^5.1.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.9.3"
"typescript": "^4.9.4"
}
}

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 too big to display

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