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

glfw-raub

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glfw-raub - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

7

index.d.ts

@@ -141,2 +141,9 @@ import { EventEmitter } from 'events';

title: string;
/**
* This callback is called right before the window creation.
*
* `window` - a reference to the Window object (`this`).
* `glfw` - is a reference to GLFW module, just in case if needed.
*/
onBeforeWindow: (window: Window, glfw: unknown) => void;
}>>;

@@ -143,0 +150,0 @@

@@ -36,2 +36,3 @@ 'use strict';

this._onBeforeWindow = opts.onBeforeWindow;
this._display = opts.display;

@@ -495,2 +496,7 @@ this._monitors = glfw.getMonitors();

glfw.windowHint(glfw.DECORATED, this._decorated ? glfw.TRUE : glfw.FALSE);
if (this._onBeforeWindow) {
this._onBeforeWindow(this, glfw);
}
this._window = glfw.createWindow(

@@ -508,2 +514,6 @@ this._width,

if (this._onBeforeWindow) {
this._onBeforeWindow(this, glfw);
}
this._window = glfw.createWindow(

@@ -518,2 +528,6 @@ this._width,

if (this._onBeforeWindow) {
this._onBeforeWindow(this, glfw);
}
this._window = glfw.createWindow(

@@ -520,0 +534,0 @@ this._width,

2

package.json
{
"author": "Luis Blanco <luisblanco1337@gmail.com>",
"name": "glfw-raub",
"version": "5.1.0",
"version": "5.2.0",
"description": "GLFW for Node.js",

@@ -6,0 +6,0 @@ "license": "MIT",

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