node-window-manager-all
Advanced tools
Comparing version 2.2.13 to 2.2.15
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { Monitor } from "./monitor"; | ||
@@ -25,5 +26,5 @@ import { IRectangle } from "../interfaces"; | ||
getOpacity(): any; | ||
getIcon(size?: 16 | 32 | 64 | 256): string; | ||
getIcon(size?: 16 | 32 | 64 | 256): Buffer; | ||
setOwner(window: Window | null | number): void; | ||
getOwner(): Window; | ||
} |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const __1 = require(".."); | ||
// import extractFileIcon from "extract-file-icon"; | ||
const extract_file_icon_1 = __importDefault(require("extract-file-icon")); | ||
const monitor_1 = require("./monitor"); | ||
@@ -141,4 +144,3 @@ const empty_monitor_1 = require("./empty-monitor"); | ||
getIcon(size = 64) { | ||
// return extractFileIcon(this.path, size); | ||
return ''; | ||
return extract_file_icon_1.default(this.path, size); | ||
} | ||
@@ -145,0 +147,0 @@ setOwner(window) { |
{ | ||
"name": "node-window-manager-all", | ||
"version": "2.2.13", | ||
"version": "2.2.15", | ||
"description": "Manage windows in macOS, Windows and Linux", | ||
@@ -41,2 +41,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"extract-file-icon": "^0.3.2", | ||
"node-addon-api": "2.0.0", | ||
@@ -43,0 +44,0 @@ "node-gyp-build": "^4.2.1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
937584
23
399
0
3
+ Addedextract-file-icon@^0.3.2
+ Addedextract-file-icon@0.3.2(transitive)
+ Addednode-addon-api@1.7.1(transitive)