Comparing version 0.0.7 to 0.1.0
{ | ||
"name": "glasstron", | ||
"version": "0.0.7", | ||
"version": "0.1.0", | ||
"description": "The go-to solution to Electron composition effects", | ||
@@ -33,2 +33,10 @@ "funding": { | ||
}, | ||
"files": [ | ||
"native/*", | ||
"src/*", | ||
"LICENSE", | ||
"binding.gyp", | ||
"binding.js", | ||
"package.json" | ||
], | ||
"homepage": "https://github.com/AryToNeX/Glasstron#readme", | ||
@@ -41,3 +49,3 @@ "devDependencies": { | ||
"@babel/preset-env": "^7.12.1", | ||
"electron": "~9", | ||
"electron": "~13", | ||
"eslint": "^7.12.1", | ||
@@ -47,5 +55,5 @@ "windowbar": "^1.7.3" | ||
"dependencies": { | ||
"node-addon-api": "^3.0.0", | ||
"node-addon-api": "^4.0.0", | ||
"x11": "^2.3.0" | ||
} | ||
} |
@@ -11,3 +11,2 @@ # Glasstron | ||
[![paypal](https://img.shields.io/badge/donate-on%20paypal-0079CD?logo=paypal&style=for-the-badge)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y7ZAFZ2H56FD4) | ||
[![discord](https://img.shields.io/discord/696696149301657640?color=7289DA&label=chat&logo=discord&logoColor=ffffff&style=for-the-badge)](https://discord.gg/vtswnGC4tH) | ||
@@ -14,0 +13,0 @@ ## Quickstart |
@@ -18,6 +18,6 @@ /* | ||
const Platform = require("./_platform.js"); | ||
const Utils = require("../utils.js"); | ||
const Platform = require("./_platform"); | ||
const Utils = require("../utils"); | ||
const x11 = require("../native/linux_x11/linux_x11.js"); | ||
const x11 = require("../native/linux_x11"); | ||
@@ -36,2 +36,4 @@ module.exports = class Linux extends Platform { | ||
static async asyncInit(win, _options){ | ||
await x11.createConnection(); | ||
const wm = await Linux._getXWindowManager(); | ||
@@ -50,2 +52,4 @@ switch(wm){ | ||
static async setBlur(win, bool){ | ||
await x11.awaitConnection(); | ||
const wm = await Linux._getXWindowManager(); | ||
@@ -52,0 +56,0 @@ switch(wm){ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2322309
23
906
106
5
+ Addednode-addon-api@4.3.0(transitive)
- Removednode-addon-api@3.2.1(transitive)
Updatednode-addon-api@^4.0.0