Socket
Socket
Sign inDemoInstall

react-hook-visible-satellites

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hook-visible-satellites - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

dist/react-hook-visible-satellites.cjs.js

@@ -370,3 +370,6 @@ 'use strict';

if (isFastMoving) {
ctx.fillText(name, textX, textY);
if (elevation > 30) {
ctx.fillText(name, textX, textY);
}
ctx.fillRect(x, y, 5, 5);

@@ -433,3 +436,3 @@ satTextPositions.push({

const uniq = ramda.uniqBy(sat => sat.tleArr[0], visibleSatellites);
const uniq = ramda.uniqBy(sat => sat.tleArr[1].substr(0, 7), visibleSatellites);
const forDisplay = uniq.filter(satellite => satellite.info.elevation > 10);

@@ -436,0 +439,0 @@ return React__default.createElement("div", {

@@ -363,3 +363,6 @@ import React, { useState, useEffect, useRef } from 'react';

if (isFastMoving) {
ctx.fillText(name, textX, textY);
if (elevation > 30) {
ctx.fillText(name, textX, textY);
}
ctx.fillRect(x, y, 5, 5);

@@ -426,3 +429,3 @@ satTextPositions.push({

const uniq = uniqBy(sat => sat.tleArr[0], visibleSatellites);
const uniq = uniqBy(sat => sat.tleArr[1].substr(0, 7), visibleSatellites);
const forDisplay = uniq.filter(satellite => satellite.info.elevation > 10);

@@ -429,0 +432,0 @@ return React.createElement("div", {

{
"name": "react-hook-visible-satellites",
"version": "1.1.0",
"version": "1.1.1",
"description": "Computes and displays satellites currently visible overhead.",

@@ -5,0 +5,0 @@ "main": "dist/react-hook-visible-satellites.cjs.js",

@@ -118,3 +118,6 @@ import React, { useEffect, useRef } from "react";

if (isFastMoving) {
ctx.fillText(name, textX, textY);
if (elevation > 30) {
ctx.fillText(name, textX, textY);
}
ctx.fillRect(x, y, 5, 5);

@@ -195,3 +198,3 @@

const uniq = uniqBy(sat => sat.tleArr[0], visibleSatellites);
const uniq = uniqBy(sat => sat.tleArr[1].substr(0, 7), visibleSatellites);

@@ -198,0 +201,0 @@ const forDisplay = uniq.filter(satellite => satellite.info.elevation > 10);

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