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

msfs-simconnect-api-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

msfs-simconnect-api-wrapper - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

9

msfs-api.js

@@ -150,2 +150,7 @@ import {

const def = defs[pos];
if (def === undefined) {
handle.clearDataDefinition(DATA_ID);
this.releaseId(DATA_ID);
throw new Error(`Cannot get SimVar: "${propName}" unknown.`);
}
handle.addToDataDefinition(

@@ -230,2 +235,6 @@ DATA_ID,

const def = SimVars[propName];
if (def === undefined) {
this.releaseId(DATA_ID);
throw new Error(`Cannot set SimVar: "${propName}" unknown.`);
}
const bufferLength = 100; // TODO: we probably want to allocate only as much buffer as we actually need

@@ -232,0 +241,0 @@ const buffer = def.write(new RawBuffer(bufferLength), value);

2

package.json
{
"name": "msfs-simconnect-api-wrapper",
"version": "1.1.9",
"version": "1.1.10",
"description": "A convenient SimConnect API for playing with Microsoft Flight Simulator 2020",

@@ -5,0 +5,0 @@ "main": "msfs-api.js",

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