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

@viewar/guide

Package Overview
Dependencies
Maintainers
8
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@viewar/guide - npm Package Compare versions

Comparing version 0.11.6 to 0.11.7

2

package.json
{
"name": "@viewar/guide",
"version": "0.11.6",
"version": "0.11.7",
"description": "ViewAR Guide",

@@ -5,0 +5,0 @@ "main": "dist/viewar-guide.js",

@@ -29,2 +29,4 @@ import Vector3 from '../../math/vector3';

}
} else {
return { success: true, height: currentPosition.y + 0.4 * METER };
}

@@ -31,0 +33,0 @@ }

@@ -59,6 +59,14 @@ import test from 'tape';

test('getTargetHeight - returns no success if previous waypoint not existing.', (assert) => {
test('getTargetHeight - returns success if previous waypoint not existing.', (assert) => {
const initialHeight = 400;
const navigation = {
currentWaypoint: NO_WAYPOINT,
currentWaypoint: {
pose: {
position: {
x: 0,
y: 10,
z: 0,
}
}
},
previousWaypoint: NO_WAYPOINT,

@@ -75,4 +83,4 @@ };

assert.equals(success, false);
assertEpsilonEquals(assert, height, initialHeight);
assert.equals(success, true);
assertEpsilonEquals(assert, height, 410);

@@ -79,0 +87,0 @@ assert.end();

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