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

aframe-globe-component

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-globe-component - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

8

index.js

@@ -157,3 +157,9 @@ /* global AFRAME */

}
return this.globe.globeMaterial();
var globe = this.globe;
var returnVal = globe.globeMaterial.apply(globe, arguments);
return returnVal === globe
? this // return self, not the inner globe component
: returnVal;
},

@@ -160,0 +166,0 @@

40

package.json
{
"name": "aframe-globe-component",
"version": "1.6.0",
"version": "1.7.0",
"description": "A 3D Globe component for A-Frame.",

@@ -50,9 +50,9 @@ "main": "index.js",

"three": ">=0.88.0",
"three-globe": "^2.15.1"
"three-globe": "^2.16.1"
},
"devDependencies": {
"@babel/cli": "^7.12.16",
"@babel/core": "^7.12.16",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-proposal-decorators": "^7.12.13",
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.13.5",
"@babel/plugin-proposal-do-expressions": "^7.12.13",

@@ -63,7 +63,7 @@ "@babel/plugin-proposal-export-default-from": "^7.12.13",

"@babel/plugin-proposal-function-sent": "^7.12.13",
"@babel/plugin-proposal-json-strings": "^7.12.13",
"@babel/plugin-proposal-logical-assignment-operators": "^7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13",
"@babel/plugin-proposal-json-strings": "^7.13.8",
"@babel/plugin-proposal-logical-assignment-operators": "^7.13.8",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-numeric-separator": "^7.12.13",
"@babel/plugin-proposal-optional-chaining": "^7.12.16",
"@babel/plugin-proposal-optional-chaining": "^7.13.8",
"@babel/plugin-proposal-pipeline-operator": "^7.12.13",

@@ -73,9 +73,9 @@ "@babel/plugin-proposal-throw-expressions": "^7.12.13",

"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.12.16",
"@babel/preset-env": "^7.13.10",
"aframe": "*",
"babel-loader": "^8.2.2",
"babel-preset-minify": "^0.5.1",
"chai": "^4.2.0",
"chai": "^4.3.4",
"chai-shallow-deep-equal": "^1.4.6",
"cross-env": "6.0.3",
"cross-env": "7.0.3",
"ghpages": "^0.0.10",

@@ -92,11 +92,11 @@ "karma": "^4.4.1",

"mocha": "^6.2.2",
"randomcolor": "^0.5.4",
"semistandard": "^14.2.0",
"shelljs": "^0.8.3",
"shx": "^0.3.2",
"randomcolor": "^0.6.2",
"semistandard": "^16.0.0",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"snazzy": "^8.0.0",
"superagent": "^5.3.1",
"webpack": "^5.20.1",
"snazzy": "^9.0.0",
"superagent": "^6.1.0",
"webpack": "^5.25.0",
"webpack-cli": "^3.3.12",

@@ -103,0 +103,0 @@ "webpack-dev-server": "^3.11.2",

@@ -171,3 +171,3 @@ ## aframe-globe-component

| --- | --- | --- |
| globeMaterial | - | Access the internal ThreeJS [MeshPhongMaterial](https://threejs.org/docs/#api/en/materials/MeshPhongMaterial) used to wrap the globe. Can be used for more advanced styling of the globe. |
| globeMaterial | [material: <i>object</i>] | Getter/setter of the ThreeJS material used to wrap the globe. Can be used for more advanced styling of the globe. |
| getCoords | lat: <i>number</i>, lng: <i>number</i> [, altitude: <i>number</i>] | Utility method to translate spherical coordinates. Given a pair of latitude/longitude coordinates and optionally altitude (in terms of globe radius units), returns the equivalent `{x, y, z}` cartesian spatial coordinates. |

@@ -174,0 +174,0 @@ | toGeoCoords | { x: <i>number</i>, y: <i>number</i>, z: <i>number</i> } | Utility method to translate cartesian coordinates to the geographic domain. Given a set of 3D cartesian coordinates `{x, y, z}`, returns the equivalent `{lat, lng, altitude}` spherical coordinates. Altitude is defined in terms of globe radius units. |

Sorry, the diff of this file is too big to display

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