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

@meshtastic/meshtasticjs

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meshtastic/meshtasticjs - npm Package Compare versions

Comparing version 0.9.7 to 0.9.8

2

dist/iHttpConnection.js

@@ -86,3 +86,3 @@ import { Types } from "./index.js";

let pingSuccessful = false;
await fetch(`${this.url}/hotspot-detect.html`, { signal })
await fetch(`${this.url}/hotspot-detect.html`, { signal, mode: 'no-cors' })
.then(() => {

@@ -89,0 +89,0 @@ pingSuccessful = true;

@@ -612,3 +612,7 @@ import { Logger } from "tslog";

generateRandId() {
return Math.floor(Math.random() * 1e9);
const seed = crypto.getRandomValues(new Uint32Array(1));
if (!seed[0]) {
throw new Error("Cannot generate CSPRN");
}
return Math.floor(seed[0] * Math.pow(2, -32) * 1e9);
}

@@ -615,0 +619,0 @@ /**

{
"name": "@meshtastic/meshtasticjs",
"version": "0.9.7",
"version": "0.9.8",
"description": "Browser library for interfacing with meshtastic devices",

@@ -50,3 +50,3 @@ "license": "GPL-3.0-only",

"@typescript-eslint/parser": "^5.47.1",
"eslint": "^8.30.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.5.0",

@@ -53,0 +53,0 @@ "eslint-import-resolver-typescript": "^3.5.2",

@@ -5,3 +5,3 @@ # Meshtastic.js

[![Downloads](https://badgen.net/npm/dt/@meshtastic/meshtasticjs)](https://www.npmjs.com/package/@meshtastic/meshtasticjs)
[![CI](https://img.shields.io/github/workflow/status/meshtastic/meshtastic.js/CI?label=actions&logo=github&color=yellow)](https://github.com/meshtastic/meshtastic.js/actions/workflows/ci.yml)
[![CI](https://img.shields.io/github/actions/workflow/status/meshtastic/js/ci.yml?branch=master&label=actions&logo=github&color=yellow)](https://github.com/meshtastic/js/actions/workflows/ci.yml)
[![CLA assistant](https://cla-assistant.io/readme/badge/meshtastic/meshtastic.js)](https://cla-assistant.io/meshtastic/meshtastic.js)

@@ -8,0 +8,0 @@ [![Fiscal Contributors](https://opencollective.com/meshtastic/tiers/badge.svg?label=Fiscal%20Contributors&color=deeppink)](https://opencollective.com/meshtastic/)

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