diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 0000000..5df29d4
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,78 @@
+{
+ "extends": [
+ "eslint:recommended",
+ "plugin:node/recommended"
+ ],
+ "parserOptions": {
+ "ecmaVersion": 2022
+ },
+ "env": {
+ "node": true,
+ "es6": true
+ },
+ "rules": {
+ "arrow-parens": ["error", "always"],
+ "no-trailing-spaces": [
+ "error",
+ {
+ "skipBlankLines": true
+ }
+ ],
+ "indent": [
+ "error",
+ "tab",
+ {
+ "SwitchCase": 1
+ }
+ ],
+ "operator-linebreak": [
+ "error",
+ "after",
+ {
+ "overrides": {
+ "?": "before",
+ ":": "before"
+ }
+ }
+ ],
+ "max-len": ["error", 110],
+ "quotes": [
+ "error",
+ "single"
+ ],
+ "semi": [
+ "error",
+ "always"
+ ],
+ "no-multiple-empty-lines": ["error", { "max": 3, "maxEOF": 1, "maxBOF": 1 }],
+ "keyword-spacing": ["error", { "before": true, "after": true }],
+ "space-before-blocks": ["error"],
+ "space-before-function-paren": ["error", {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
+ "camelcase": ["error"],
+ "no-tabs": [0],
+ "global-require": [0],
+ "no-underscore-dangle": [0],
+ "no-plusplus": [0],
+ "no-shadow": [0],
+ "node/no-unpublished-require": [0],
+ "no-process-exit": [0],
+ "linebreak-style": [0],
+ "node/no-missing-require": [0],
+ "no-console": [0],
+ "node/no-unsupported-features/es-builtins": [
+ "error",
+ { "version": ">=18.16.0" }
+ ],
+ "node/no-unsupported-features/node-builtins": [
+ "error",
+ { "version": ">=18.16.0" }
+ ],
+ "func-names": [
+ "error",
+ "never",
+ {
+ "generators": "never"
+ }
+ ]
+ }
+}
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..9e27e2f
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,107 @@
+name: Build Binaries
+defaults:
+ run:
+ shell: bash
+
+on:
+ workflow_dispatch
+
+jobs:
+ create_release:
+ name: Create Release
+ if: contains('["raub"]', github.actor)
+ runs-on: ubuntu-latest
+
+ outputs:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+
+ steps:
+
+ - name: Fetch Repository
+ uses: actions/checkout@v3
+ with:
+ persist-credentials: false
+
+ - name: Install Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: 18.16.0
+ cache: 'npm'
+
+ - name: Get Package Version
+ id: package-version
+ run: node -p "'version='+require('./package').version" >> $GITHUB_OUTPUT
+
+ - name: Create Draft Release
+ id: create_release
+ uses: softprops/action-gh-release@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ draft: true
+ tag_name: ${{ steps.package-version.outputs.version }}
+ name: Release ${{ steps.package-version.outputs.version }}
+ body: Binaries at ${{ github.sha }}
+
+ build:
+ name: Build
+ strategy:
+ matrix:
+ os: [ubuntu-20.04, windows-2022, macos-11, [self-hosted, linux, ARM64]]
+
+ runs-on: ${{ matrix.os }}
+
+ steps:
+
+ - name: Fetch Repository
+ uses: actions/checkout@v3
+ with:
+ persist-credentials: false
+
+ - name: Install Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: 18.16.0
+ cache: 'npm'
+
+ - name: Install Modules
+ run: npm ci --ignore-scripts
+
+ - name: Add msbuild to PATH
+ if: matrix.os == 'windows-2022'
+ uses: microsoft/setup-msbuild@v1.1
+ with:
+ msbuild-architecture: x64
+
+ - name: Build Pre Step
+ run: chmod +x src/extract.sh && src/extract.sh
+
+ - name: Build Unix
+ if: matrix.os != 'windows-2022'
+ run: node src/build-unix
+
+ - name: Build Windows
+ if: matrix.os == 'windows-2022'
+ run: src/windows.sh
+
+ - name: Build Post Step
+ run: node src/build-post
+
+ - name: Get Package Version
+ id: package-version
+ shell: bash
+ run: node -p "'version='+require('./package').version" >> $GITHUB_OUTPUT
+
+ - name: Pack Files
+ id: pack-files
+ run: node -e "require('addon-tools-raub').actionPack()" >> $GITHUB_OUTPUT
+
+ - name: Store Binaries
+ uses: softprops/action-gh-release@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ draft: true
+ tag_name: ${{ steps.package-version.outputs.version }}
+ name: Release ${{ steps.package-version.outputs.version }}
+ files: ${{ steps.pack-files.outputs.pack }}
diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml
new file mode 100644
index 0000000..9b6252d
--- /dev/null
+++ b/.github/workflows/eslint.yml
@@ -0,0 +1,36 @@
+name: ESLint
+defaults:
+ run:
+ shell: bash
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ eslint:
+ name: ESLint
+ runs-on: ubuntu-20.04
+
+ steps:
+
+ - name: Fetch Repository
+ uses: actions/checkout@v3
+ with:
+ persist-credentials: false
+
+ - name: Install Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: 18.16.0
+ cache: 'npm'
+
+ - name: Install Modules
+ run: npm ci --ignore-scripts
+
+ - name: Run ESLint
+ run: npm run eslint
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 0000000..4a78f18
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,46 @@
+name: Publish to NPM
+defaults:
+ run:
+ shell: bash
+
+on:
+ workflow_dispatch
+
+jobs:
+ Publish:
+ if: contains('["raub"]', github.actor)
+ runs-on: ubuntu-latest
+
+ steps:
+
+ - name: Fetch Repository
+ uses: actions/checkout@v3
+ with:
+ persist-credentials: false
+
+ - name: Install Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: 18.16.0
+ cache: 'npm'
+
+ - name: Get Package Version
+ id: package-version
+ run: node -p "'version='+require('./package').version" >> $GITHUB_OUTPUT
+
+ - name: Publish
+ run: |
+ npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
+ npm publish --ignore-scripts
+ env:
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
+
+ - name: Create Release
+ id: create_release
+ uses: softprops/action-gh-release@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ draft: true
+ tag_name: ${{ steps.package-version.outputs.version }}
+ name: Release ${{ steps.package-version.outputs.version }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..bab11d7
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,40 @@
+name: Test
+defaults:
+ run:
+ shell: bash
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ unit-tests:
+ name: Unit Tests
+ strategy:
+ matrix:
+ os: [ubuntu-20.04, windows-2022, macos-11, [self-hosted, linux, ARM64]]
+
+ runs-on: ${{ matrix.os }}
+
+ steps:
+
+ - name: Fetch Repository
+ uses: actions/checkout@v3
+ with:
+ persist-credentials: false
+
+ - name: Install Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: 18.16.0
+ cache: 'npm'
+
+ - name: Install Modules
+ run: npm ci --ignore-scripts
+
+ - name: Run Unit Tests
+ run: npm test
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4fa178e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,12 @@
+.cproject
+.idea
+.lock-wscript
+.DS_Store
+.project
+.vscode
+.eslintrc
+node_modules/
+bin-*/
+src/build/
+src/libuiohook/
+*.log
diff --git a/LIBUIOHOOK_LGPL.md b/LIBUIOHOOK_LGPL.md
new file mode 100644
index 0000000..a80ce0e
--- /dev/null
+++ b/LIBUIOHOOK_LGPL.md
@@ -0,0 +1,164 @@
+GNU Lesser General Public License
+=================================
+
+Version 3, 29 June 2007
+
+Copyright © 2007 Free Software Foundation, Inc. <>
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+
+This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+### 0. Additional Definitions.
+
+As used herein, “this License” refers to version 3 of the GNU Lesser
+General Public License, and the “GNU GPL” refers to version 3 of the GNU
+General Public License.
+
+“The Library” refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+An “Application” is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+A “Combined Work” is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the “Linked
+Version”.
+
+The “Minimal Corresponding Source” for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+The “Corresponding Application Code” for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+### 1. Exception to Section 3 of the GNU GPL.
+
+You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+### 2. Conveying Modified Versions.
+
+If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+* a) under this License, provided that you make a good faith effort to
+ensure that, in the event an Application does not supply the
+function or data, the facility still operates, and performs
+whatever part of its purpose remains meaningful, or
+
+* b) under the GNU GPL, with none of the additional permissions of
+this License applicable to that copy.
+
+### 3. Object Code Incorporating Material from Library Header Files.
+
+The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+* a) Give prominent notice with each copy of the object code that the
+Library is used in it and that the Library and its use are
+covered by this License.
+* b) Accompany the object code with a copy of the GNU GPL and this license
+document.
+
+### 4. Combined Works.
+
+You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+* a) Give prominent notice with each copy of the Combined Work that
+the Library is used in it and that the Library and its use are
+covered by this License.
+
+* b) Accompany the Combined Work with a copy of the GNU GPL and this license
+document.
+
+* c) For a Combined Work that displays copyright notices during
+execution, include the copyright notice for the Library among
+these notices, as well as a reference directing the user to the
+copies of the GNU GPL and this license document.
+
+* d) Do one of the following:
+ - 0) Convey the Minimal Corresponding Source under the terms of this
+License, and the Corresponding Application Code in a form
+suitable for, and under terms that permit, the user to
+recombine or relink the Application with a modified version of
+the Linked Version to produce a modified Combined Work, in the
+manner specified by section 6 of the GNU GPL for conveying
+Corresponding Source.
+ - 1) Use a suitable shared library mechanism for linking with the
+Library. A suitable mechanism is one that (a) uses at run time
+a copy of the Library already present on the user's computer
+system, and (b) will operate properly with a modified version
+of the Library that is interface-compatible with the Linked
+Version.
+
+* e) Provide Installation Information, but only if you would otherwise
+be required to provide such information under section 6 of the
+GNU GPL, and only to the extent that such information is
+necessary to install and execute a modified version of the
+Combined Work produced by recombining or relinking the
+Application with a modified version of the Linked Version. (If
+you use option 4d0, the Installation Information must accompany
+the Minimal Corresponding Source and Corresponding Application
+Code. If you use option 4d1, you must provide the Installation
+Information in the manner specified by section 6 of the GNU GPL
+for conveying Corresponding Source.)
+
+### 5. Combined Libraries.
+
+You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+* a) Accompany the combined library with a copy of the same work based
+on the Library, uncombined with any other library facilities,
+conveyed under the terms of this License.
+* b) Give prominent notice with the combined library that part of it
+is a work based on the Library, and explaining where to find the
+accompanying uncombined form of the same work.
+
+### 6. Revised Versions of the GNU Lesser General Public License.
+
+The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License “or any later version”
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..2701809
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 Luis Blanco
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
index 64e8aa5..0e13bcd 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,33 @@
-# deps-uiohook-raub
\ No newline at end of file
+# Lib Binaries
+
+This is a part of [Node3D](https://github.com/raub) project.
+
+[](https://badge.fury.io/js/deps-uiohook-raub)
+[](https://github.com/raub/deps-uiohook-raub/actions/workflows/eslint.yml)
+[](https://github.com/raub/deps-uiohook-raub/actions/workflows/test.yml)
+
+```console
+npm i -s deps-uiohook-raub
+```
+
+This dependency package is distributing **Bullet Physics**
+binaries through **NPM** for **Node.js** addons.
+
+* Platforms (x64): Windows x64, Linux x64, OSX x64, Linux Aarch64.
+* Library: Bullet physics, see list below.
+* Linking: static lib-type.
+
+See the official
+[Bullet3 manual](https://github.com/bulletphysics/bullet3/blob/master/docs/Bullet_User_Manual.pdf)
+and [examples](https://github.com/bulletphysics/bullet3/tree/master/examples).
+
+See [uiohook-raub](https://github.com/raub/uiohook-raub/tree/master/src) for
+how the libraries may be used in a Node.js addon.
+
+
+## Legal Notice
+
+This software uses [libUIOHook](https://github.com/kwhat/libuiohook) under LGPL3 license.
+A copy of libUIOHook license is [included](/LIBUIOHOOK_LGPL.md),
+and can also be found at the
+[official repository](https://github.com/kwhat/libuiohook/blob/1.2/COPYING.LESSER.md).
diff --git a/include/uiohook.h b/include/uiohook.h
new file mode 100644
index 0000000..b132c93
--- /dev/null
+++ b/include/uiohook.h
@@ -0,0 +1,457 @@
+/* libUIOHook: Cross-platform keyboard and mouse hooking from userland.
+ * Copyright (C) 2006-2022 Alexander Barker. All Rights Reserved.
+ * https://github.com/kwhat/libuiohook/
+ *
+ * libUIOHook is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * libUIOHook is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see .
+ */
+
+#ifndef __UIOHOOK_H
+#define __UIOHOOK_H
+
+#include
+#include
+#include
+
+/* Begin Error Codes */
+#define UIOHOOK_SUCCESS 0x00
+#define UIOHOOK_FAILURE 0x01
+
+// System level errors.
+#define UIOHOOK_ERROR_OUT_OF_MEMORY 0x02
+
+// Unix specific errors.
+#define UIOHOOK_ERROR_X_OPEN_DISPLAY 0x20
+#define UIOHOOK_ERROR_X_RECORD_NOT_FOUND 0x21
+#define UIOHOOK_ERROR_X_RECORD_ALLOC_RANGE 0x22
+#define UIOHOOK_ERROR_X_RECORD_CREATE_CONTEXT 0x23
+#define UIOHOOK_ERROR_X_RECORD_ENABLE_CONTEXT 0x24
+#define UIOHOOK_ERROR_X_RECORD_GET_CONTEXT 0x25
+
+// Windows specific errors.
+#define UIOHOOK_ERROR_SET_WINDOWS_HOOK_EX 0x30
+#define UIOHOOK_ERROR_GET_MODULE_HANDLE 0x31
+
+// Darwin specific errors.
+#define UIOHOOK_ERROR_AXAPI_DISABLED 0x40
+#define UIOHOOK_ERROR_CREATE_EVENT_PORT 0x41
+#define UIOHOOK_ERROR_CREATE_RUN_LOOP_SOURCE 0x42
+#define UIOHOOK_ERROR_GET_RUNLOOP 0x43
+#define UIOHOOK_ERROR_CREATE_OBSERVER 0x44
+/* End Error Codes */
+
+/* Begin Log Levels and Function Prototype */
+typedef enum _log_level {
+ LOG_LEVEL_DEBUG = 1,
+ LOG_LEVEL_INFO,
+ LOG_LEVEL_WARN,
+ LOG_LEVEL_ERROR
+} log_level;
+
+// Logger callback function prototype.
+typedef bool (*logger_t)(unsigned int, const char *, ...);
+/* End Log Levels and Function Prototype */
+
+/* Begin Virtual Event Types and Data Structures */
+typedef enum _event_type {
+ EVENT_HOOK_ENABLED = 1,
+ EVENT_HOOK_DISABLED,
+ EVENT_KEY_TYPED,
+ EVENT_KEY_PRESSED,
+ EVENT_KEY_RELEASED,
+ EVENT_MOUSE_CLICKED,
+ EVENT_MOUSE_PRESSED,
+ EVENT_MOUSE_RELEASED,
+ EVENT_MOUSE_MOVED,
+ EVENT_MOUSE_DRAGGED,
+ EVENT_MOUSE_WHEEL
+} event_type;
+
+typedef struct _screen_data {
+ uint8_t number;
+ int16_t x;
+ int16_t y;
+ uint16_t width;
+ uint16_t height;
+} screen_data;
+
+typedef struct _keyboard_event_data {
+ uint16_t keycode;
+ uint16_t rawcode;
+ uint16_t keychar;
+} keyboard_event_data,
+ key_pressed_event_data,
+ key_released_event_data,
+ key_typed_event_data;
+
+typedef struct _mouse_event_data {
+ uint16_t button;
+ uint16_t clicks;
+ int16_t x;
+ int16_t y;
+} mouse_event_data,
+ mouse_pressed_event_data,
+ mouse_released_event_data,
+ mouse_clicked_event_data;
+
+typedef struct _mouse_wheel_event_data {
+ uint16_t clicks;
+ int16_t x;
+ int16_t y;
+ uint8_t type;
+ uint16_t amount;
+ int16_t rotation;
+ uint8_t direction;
+} mouse_wheel_event_data;
+
+typedef struct _uiohook_event {
+ event_type type;
+ uint64_t time;
+ uint16_t mask;
+ uint16_t reserved;
+ union {
+ keyboard_event_data keyboard;
+ mouse_event_data mouse;
+ mouse_wheel_event_data wheel;
+ } data;
+} uiohook_event;
+
+typedef void (*dispatcher_t)(uiohook_event *const);
+/* End Virtual Event Types and Data Structures */
+
+
+/* Begin Virtual Key Codes */
+#define VC_ESCAPE 0x0001
+
+// Begin Function Keys
+#define VC_F1 0x003B
+#define VC_F2 0x003C
+#define VC_F3 0x003D
+#define VC_F4 0x003E
+#define VC_F5 0x003F
+#define VC_F6 0x0040
+#define VC_F7 0x0041
+#define VC_F8 0x0042
+#define VC_F9 0x0043
+#define VC_F10 0x0044
+#define VC_F11 0x0057
+#define VC_F12 0x0058
+
+#define VC_F13 0x005B
+#define VC_F14 0x005C
+#define VC_F15 0x005D
+#define VC_F16 0x0063
+#define VC_F17 0x0064
+#define VC_F18 0x0065
+#define VC_F19 0x0066
+#define VC_F20 0x0067
+#define VC_F21 0x0068
+#define VC_F22 0x0069
+#define VC_F23 0x006A
+#define VC_F24 0x006B
+// End Function Keys
+
+
+// Begin Alphanumeric Zone
+#define VC_BACKQUOTE 0x0029
+
+#define VC_1 0x0002
+#define VC_2 0x0003
+#define VC_3 0x0004
+#define VC_4 0x0005
+#define VC_5 0x0006
+#define VC_6 0x0007
+#define VC_7 0x0008
+#define VC_8 0x0009
+#define VC_9 0x000A
+#define VC_0 0x000B
+
+#define VC_MINUS 0x000C // '-'
+#define VC_EQUALS 0x000D // '='
+#define VC_BACKSPACE 0x000E
+
+#define VC_TAB 0x000F
+#define VC_CAPS_LOCK 0x003A
+
+#define VC_A 0x001E
+#define VC_B 0x0030
+#define VC_C 0x002E
+#define VC_D 0x0020
+#define VC_E 0x0012
+#define VC_F 0x0021
+#define VC_G 0x0022
+#define VC_H 0x0023
+#define VC_I 0x0017
+#define VC_J 0x0024
+#define VC_K 0x0025
+#define VC_L 0x0026
+#define VC_M 0x0032
+#define VC_N 0x0031
+#define VC_O 0x0018
+#define VC_P 0x0019
+#define VC_Q 0x0010
+#define VC_R 0x0013
+#define VC_S 0x001F
+#define VC_T 0x0014
+#define VC_U 0x0016
+#define VC_V 0x002F
+#define VC_W 0x0011
+#define VC_X 0x002D
+#define VC_Y 0x0015
+#define VC_Z 0x002C
+
+#define VC_OPEN_BRACKET 0x001A // '['
+#define VC_CLOSE_BRACKET 0x001B // ']'
+#define VC_BACK_SLASH 0x002B // '\'
+
+#define VC_SEMICOLON 0x0027 // ';'
+#define VC_QUOTE 0x0028
+#define VC_ENTER 0x001C
+
+#define VC_COMMA 0x0033 // ','
+#define VC_PERIOD 0x0034 // '.'
+#define VC_SLASH 0x0035 // '/'
+
+#define VC_SPACE 0x0039
+// End Alphanumeric Zone
+
+
+#define VC_PRINTSCREEN 0x0E37
+#define VC_SCROLL_LOCK 0x0046
+#define VC_PAUSE 0x0E45
+
+#define VC_LESSER_GREATER 0x0E46 // '<', '>', '|' on qwertz layout
+
+// Begin Edit Key Zone
+#define VC_INSERT 0x0E52
+#define VC_DELETE 0x0E53
+#define VC_HOME 0x0E47
+#define VC_END 0x0E4F
+#define VC_PAGE_UP 0x0E49
+#define VC_PAGE_DOWN 0x0E51
+// End Edit Key Zone
+
+
+// Begin Cursor Key Zone
+#define VC_UP 0xE048
+#define VC_LEFT 0xE04B
+#define VC_CLEAR 0xE04C
+#define VC_RIGHT 0xE04D
+#define VC_DOWN 0xE050
+// End Cursor Key Zone
+
+
+// Begin Numeric Zone
+#define VC_NUM_LOCK 0x0045
+#define VC_KP_DIVIDE 0x0E35
+#define VC_KP_MULTIPLY 0x0037
+#define VC_KP_SUBTRACT 0x004A
+#define VC_KP_EQUALS 0x0E0D
+#define VC_KP_ADD 0x004E
+#define VC_KP_ENTER 0x0E1C
+#define VC_KP_SEPARATOR 0x0053
+
+#define VC_KP_1 0x004F
+#define VC_KP_2 0x0050
+#define VC_KP_3 0x0051
+#define VC_KP_4 0x004B
+#define VC_KP_5 0x004C
+#define VC_KP_6 0x004D
+#define VC_KP_7 0x0047
+#define VC_KP_8 0x0048
+#define VC_KP_9 0x0049
+#define VC_KP_0 0x0052
+
+#define VC_KP_END 0xEE00 | VC_KP_1
+#define VC_KP_DOWN 0xEE00 | VC_KP_2
+#define VC_KP_PAGE_DOWN 0xEE00 | VC_KP_3
+#define VC_KP_LEFT 0xEE00 | VC_KP_4
+#define VC_KP_CLEAR 0xEE00 | VC_KP_5
+#define VC_KP_RIGHT 0xEE00 | VC_KP_6
+#define VC_KP_HOME 0xEE00 | VC_KP_7
+#define VC_KP_UP 0xEE00 | VC_KP_8
+#define VC_KP_PAGE_UP 0xEE00 | VC_KP_9
+#define VC_KP_INSERT 0xEE00 | VC_KP_0
+#define VC_KP_DELETE 0xEE00 | VC_KP_SEPARATOR
+// End Numeric Zone
+
+
+// Begin Modifier and Control Keys
+#define VC_SHIFT_L 0x002A
+#define VC_SHIFT_R 0x0036
+#define VC_CONTROL_L 0x001D
+#define VC_CONTROL_R 0x0E1D
+#define VC_ALT_L 0x0038 // Option or Alt Key
+#define VC_ALT_R 0x0E38 // Option or Alt Key
+#define VC_META_L 0x0E5B // Windows or Command Key
+#define VC_META_R 0x0E5C // Windows or Command Key
+#define VC_CONTEXT_MENU 0x0E5D
+// End Modifier and Control Keys
+
+
+// Begin Media Control Keys
+#define VC_POWER 0xE05E
+#define VC_SLEEP 0xE05F
+#define VC_WAKE 0xE063
+
+#define VC_MEDIA_PLAY 0xE022
+#define VC_MEDIA_STOP 0xE024
+#define VC_MEDIA_PREVIOUS 0xE010
+#define VC_MEDIA_NEXT 0xE019
+#define VC_MEDIA_SELECT 0xE06D
+#define VC_MEDIA_EJECT 0xE02C
+
+#define VC_VOLUME_MUTE 0xE020
+#define VC_VOLUME_UP 0xE030
+#define VC_VOLUME_DOWN 0xE02E
+
+#define VC_APP_MAIL 0xE06C
+#define VC_APP_CALCULATOR 0xE021
+#define VC_APP_MUSIC 0xE03C
+#define VC_APP_PICTURES 0xE064
+
+#define VC_BROWSER_SEARCH 0xE065
+#define VC_BROWSER_HOME 0xE032
+#define VC_BROWSER_BACK 0xE06A
+#define VC_BROWSER_FORWARD 0xE069
+#define VC_BROWSER_STOP 0xE068
+#define VC_BROWSER_REFRESH 0xE067
+#define VC_BROWSER_FAVORITES 0xE066
+// End Media Control Keys
+
+// Begin Japanese Language Keys
+#define VC_KATAKANA 0x0070
+#define VC_UNDERSCORE 0x0073
+#define VC_FURIGANA 0x0077
+#define VC_KANJI 0x0079
+#define VC_HIRAGANA 0x007B
+#define VC_YEN 0x007D
+#define VC_KP_COMMA 0x007E
+// End Japanese Language Keys
+
+// Begin Sun keyboards
+#define VC_SUN_HELP 0xFF75
+
+#define VC_SUN_STOP 0xFF78
+#define VC_SUN_PROPS 0xFF76
+#define VC_SUN_FRONT 0xFF77
+#define VC_SUN_OPEN 0xFF74
+#define VC_SUN_FIND 0xFF7E
+#define VC_SUN_AGAIN 0xFF79
+#define VC_SUN_UNDO 0xFF7A
+#define VC_SUN_COPY 0xFF7C
+#define VC_SUN_INSERT 0xFF7D
+#define VC_SUN_CUT 0xFF7B
+// End Sun keyboards
+
+#define VC_UNDEFINED 0x0000 // KeyCode Unknown
+
+#define CHAR_UNDEFINED 0xFFFF // CharCode Unknown
+/* End Virtual Key Codes */
+
+
+/* Begin Virtual Modifier Masks */
+#define MASK_SHIFT_L 1 << 0
+#define MASK_CTRL_L 1 << 1
+#define MASK_META_L 1 << 2
+#define MASK_ALT_L 1 << 3
+
+#define MASK_SHIFT_R 1 << 4
+#define MASK_CTRL_R 1 << 5
+#define MASK_META_R 1 << 6
+#define MASK_ALT_R 1 << 7
+
+#define MASK_SHIFT MASK_SHIFT_L | MASK_SHIFT_R
+#define MASK_CTRL MASK_CTRL_L | MASK_CTRL_R
+#define MASK_META MASK_META_L | MASK_META_R
+#define MASK_ALT MASK_ALT_L | MASK_ALT_R
+
+#define MASK_BUTTON1 1 << 8
+#define MASK_BUTTON2 1 << 9
+#define MASK_BUTTON3 1 << 10
+#define MASK_BUTTON4 1 << 11
+#define MASK_BUTTON5 1 << 12
+
+#define MASK_NUM_LOCK 1 << 13
+#define MASK_CAPS_LOCK 1 << 14
+#define MASK_SCROLL_LOCK 1 << 15
+/* End Virtual Modifier Masks */
+
+
+/* Begin Virtual Mouse Buttons */
+#define MOUSE_NOBUTTON 0 // Any Button
+#define MOUSE_BUTTON1 1 // Left Button
+#define MOUSE_BUTTON2 2 // Right Button
+#define MOUSE_BUTTON3 3 // Middle Button
+#define MOUSE_BUTTON4 4 // Extra Mouse Button
+#define MOUSE_BUTTON5 5 // Extra Mouse Button
+
+#define WHEEL_UNIT_SCROLL 1
+#define WHEEL_BLOCK_SCROLL 2
+
+#define WHEEL_VERTICAL_DIRECTION 3
+#define WHEEL_HORIZONTAL_DIRECTION 4
+/* End Virtual Mouse Buttons */
+
+
+#ifdef _WIN32
+#define UIOHOOK_API __declspec(dllexport)
+#else
+#define UIOHOOK_API
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ // Set the logger callback functions.
+ UIOHOOK_API void hook_set_logger_proc(logger_t logger_proc);
+
+ // Send a virtual event back to the system.
+ UIOHOOK_API void hook_post_event(uiohook_event * const event);
+
+ // Set the event callback function.
+ UIOHOOK_API void hook_set_dispatch_proc(dispatcher_t dispatch_proc);
+
+ // Insert the event hook.
+ UIOHOOK_API int hook_run();
+
+ // Withdraw the event hook.
+ UIOHOOK_API int hook_stop();
+
+ // Retrieves an array of screen data for each available monitor.
+ UIOHOOK_API screen_data* hook_create_screen_info(unsigned char *count);
+
+ // Retrieves the keyboard auto repeat rate.
+ UIOHOOK_API long int hook_get_auto_repeat_rate();
+
+ // Retrieves the keyboard auto repeat delay.
+ UIOHOOK_API long int hook_get_auto_repeat_delay();
+
+ // Retrieves the mouse acceleration multiplier.
+ UIOHOOK_API long int hook_get_pointer_acceleration_multiplier();
+
+ // Retrieves the mouse acceleration threshold.
+ UIOHOOK_API long int hook_get_pointer_acceleration_threshold();
+
+ // Retrieves the mouse sensitivity.
+ UIOHOOK_API long int hook_get_pointer_sensitivity();
+
+ // Retrieves the double/triple click interval.
+ UIOHOOK_API long int hook_get_multi_click_time();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/index.d.ts b/index.d.ts
new file mode 100644
index 0000000..c37a131
--- /dev/null
+++ b/index.d.ts
@@ -0,0 +1,15 @@
+declare module "deps-uiohook-raub" {
+ /**
+ * Path to binaries
+ *
+ * Platform binary directory absolute path
+ */
+ export const bin: string;
+
+ /**
+ * Path to includes
+ *
+ * Include directory for this module
+ */
+ export const include: string;
+}
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..b8e2c3c
--- /dev/null
+++ b/index.js
@@ -0,0 +1,3 @@
+'use strict';
+
+module.exports = require('addon-tools-raub').getPaths(__dirname);
diff --git a/install.js b/install.js
new file mode 100644
index 0000000..ead7566
--- /dev/null
+++ b/install.js
@@ -0,0 +1,8 @@
+'use strict';
+
+const { install } = require('addon-tools-raub');
+
+const prefix = 'https://github.com/node-3d/deps-uiohook-raub/releases/download';
+const tag = '0.0.1';
+
+install(`${prefix}/${tag}`);
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000..dcb36d6
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,1334 @@
+{
+ "name": "deps-uiohook-raub",
+ "version": "0.0.1",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "deps-uiohook-raub",
+ "version": "0.0.1",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "addon-tools-raub": "^7.3.0"
+ },
+ "devDependencies": {
+ "eslint": "^8.51.0",
+ "eslint-plugin-node": "^11.1.0",
+ "node-addon-api": "^7.0.0",
+ "typescript": "^5.2.2"
+ },
+ "engines": {
+ "node": ">=18.16.0",
+ "npm": ">=9.5.1"
+ }
+ },
+ "node_modules/@aashutoshrathi/word-wrap": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
+ "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
+ "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
+ "dev": true,
+ "dependencies": {
+ "eslint-visitor-keys": "^3.3.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz",
+ "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==",
+ "dev": true,
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz",
+ "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==",
+ "dev": true,
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^9.6.0",
+ "globals": "^13.19.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "8.54.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.54.0.tgz",
+ "integrity": "sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@humanwhocodes/config-array": {
+ "version": "0.11.13",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz",
+ "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==",
+ "dev": true,
+ "dependencies": {
+ "@humanwhocodes/object-schema": "^2.0.1",
+ "debug": "^4.1.1",
+ "minimatch": "^3.0.5"
+ },
+ "engines": {
+ "node": ">=10.10.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/object-schema": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz",
+ "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==",
+ "dev": true
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
+ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==",
+ "dev": true
+ },
+ "node_modules/acorn": {
+ "version": "8.11.2",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
+ "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
+ "dev": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/addon-tools-raub": {
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/addon-tools-raub/-/addon-tools-raub-7.4.0.tgz",
+ "integrity": "sha512-KOYJFeeI/EntAcho4/h7dDWNd1jV1atod6xEwcfmArifKga6tR2Nd9eEBCx3E6Ju6sTEpoaMNg3WBB9AFJPhxg==",
+ "engines": {
+ "node": ">=18.16.0",
+ "npm": ">=9.5.1"
+ },
+ "peerDependencies": {
+ "node-addon-api": "^7.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-addon-api": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "dev": true,
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true
+ },
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "8.54.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.54.0.tgz",
+ "integrity": "sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.3",
+ "@eslint/js": "8.54.0",
+ "@humanwhocodes/config-array": "^0.11.13",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@nodelib/fs.walk": "^1.2.8",
+ "@ungap/structured-clone": "^1.2.0",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.2",
+ "debug": "^4.3.2",
+ "doctrine": "^3.0.0",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.3",
+ "espree": "^9.6.1",
+ "esquery": "^1.4.2",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^6.0.1",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "globals": "^13.19.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "is-path-inside": "^3.0.3",
+ "js-yaml": "^4.1.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.4.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3",
+ "strip-ansi": "^6.0.1",
+ "text-table": "^0.2.0"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-plugin-es": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz",
+ "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==",
+ "dev": true,
+ "dependencies": {
+ "eslint-utils": "^2.0.0",
+ "regexpp": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/mysticatea"
+ },
+ "peerDependencies": {
+ "eslint": ">=4.19.1"
+ }
+ },
+ "node_modules/eslint-plugin-node": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz",
+ "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==",
+ "dev": true,
+ "dependencies": {
+ "eslint-plugin-es": "^3.0.0",
+ "eslint-utils": "^2.0.0",
+ "ignore": "^5.1.1",
+ "minimatch": "^3.0.4",
+ "resolve": "^1.10.1",
+ "semver": "^6.1.0"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ },
+ "peerDependencies": {
+ "eslint": ">=5.16.0"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
+ "dev": true,
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-utils": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz",
+ "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==",
+ "dev": true,
+ "dependencies": {
+ "eslint-visitor-keys": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/mysticatea"
+ }
+ },
+ "node_modules/eslint-utils/node_modules/eslint-visitor-keys": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree": {
+ "version": "9.6.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
+ "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
+ "dev": true,
+ "dependencies": {
+ "acorn": "^8.9.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^3.4.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
+ "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true
+ },
+ "node_modules/fastq": {
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
+ "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==",
+ "dev": true,
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/file-entry-cache": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
+ "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
+ "dev": true,
+ "dependencies": {
+ "flat-cache": "^3.0.4"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
+ "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
+ "dev": true,
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.3",
+ "rimraf": "^3.0.2"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.2.9",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz",
+ "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==",
+ "dev": true
+ },
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
+ "dev": true
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/globals": {
+ "version": "13.23.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz",
+ "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
+ "dev": true
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
+ "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
+ "dev": true,
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
+ "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "dev": true,
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "dev": true,
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "dev": true
+ },
+ "node_modules/is-core-module": {
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
+ "dev": true,
+ "dependencies": {
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-path-inside": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
+ "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dev": true,
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true
+ },
+ "node_modules/node-addon-api": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.0.0.tgz",
+ "integrity": "sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==",
+ "devOptional": true
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dev": true,
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.3",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
+ "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
+ "dev": true,
+ "dependencies": {
+ "@aashutoshrathi/word-wrap": "^1.2.3",
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "dev": true
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/regexpp": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
+ "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/mysticatea"
+ }
+ },
+ "node_modules/resolve": {
+ "version": "1.22.8",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
+ "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
+ "dev": true,
+ "dependencies": {
+ "is-core-module": "^2.13.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "dev": true,
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dev": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/text-table": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
+ "dev": true
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz",
+ "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==",
+ "dev": true,
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "dev": true
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..162124b
--- /dev/null
+++ b/package.json
@@ -0,0 +1,54 @@
+{
+ "author": "Luis Blanco ",
+ "name": "deps-uiohook-raub",
+ "version": "0.0.1",
+ "description": "Binaries and headers for libUIOHook-dependent compilation",
+ "license": "MIT",
+ "main": "index.js",
+ "keywords": [
+ "dependency",
+ "libuiohook",
+ "uiohook",
+ "binary",
+ "library",
+ "headers",
+ "lib",
+ "c++",
+ "addon",
+ "bindings",
+ "native",
+ "gyp"
+ ],
+ "files": [
+ "include",
+ "index.js",
+ "install.d.ts",
+ "install.js",
+ "LIBUIOHOOK_LGPL.md",
+ "LICENSE",
+ "package.json",
+ "README.md"
+ ],
+ "scripts": {
+ "postinstall": "node install",
+ "eslint": "eslint .",
+ "test": "node --test"
+ },
+ "engines": {
+ "node": ">=18.16.0",
+ "npm": ">=9.5.1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/node-3d/deps-uiohook-raub.git"
+ },
+ "dependencies": {
+ "addon-tools-raub": "^7.3.0"
+ },
+ "devDependencies": {
+ "eslint-plugin-node": "^11.1.0",
+ "eslint": "^8.51.0",
+ "node-addon-api": "^7.0.0",
+ "typescript": "^5.2.2"
+ }
+}
diff --git a/src/aarch64.sh b/src/aarch64.sh
new file mode 100644
index 0000000..42cd200
--- /dev/null
+++ b/src/aarch64.sh
@@ -0,0 +1 @@
+chmod +x src/linux-common.sh && src/linux-common.sh
diff --git a/src/build-post.js b/src/build-post.js
new file mode 100644
index 0000000..62b8773
--- /dev/null
+++ b/src/build-post.js
@@ -0,0 +1,28 @@
+'use strict';
+
+const path = require('node:path');
+
+const {
+ getBin, ensuredir, copyall,
+} = require('addon-tools-raub');
+
+
+const bin = getBin();
+const binPath = path.resolve(bin);
+
+
+const fail = (error) => {
+ console.error(error);
+ process.exit(-1);
+};
+
+
+(async () => {
+ try {
+ await ensuredir(binPath);
+
+ await copyall(path.resolve('src/build'), binPath);
+ } catch (error) {
+ fail(error);
+ }
+})();
diff --git a/src/build-unix.js b/src/build-unix.js
new file mode 100644
index 0000000..f11d762
--- /dev/null
+++ b/src/build-unix.js
@@ -0,0 +1,66 @@
+'use strict';
+
+const util = require('node:util');
+const exec = util.promisify(require('node:child_process').exec);
+
+const {
+ getPlatform,
+} = require('addon-tools-raub');
+
+
+const platform = getPlatform();
+
+const getScriptForLib = () => `src/${platform}.sh`;
+
+
+const fail = (error) => {
+ console.error(error);
+ process.exit(-1);
+};
+
+
+const updateSystem = async () => {
+ try {
+ if (!['linux', 'aarch64'].includes(platform)) {
+ return;
+ }
+
+ console.log('Updating System');
+ const { stderr } = await exec(`sh src/update-${platform}.sh`);
+ if (stderr) {
+ console.error(stderr);
+ }
+ console.log('-------------------');
+ } catch (error) {
+ fail(error);
+ }
+};
+
+
+const buildLib = async () => {
+ try {
+ console.log('Bullet Build Started');
+ const { stderr, stdout } = await exec(`sh ${getScriptForLib()}`);
+ if (stdout) {
+ console.error(stdout);
+ }
+ if (stderr) {
+ console.error(stderr);
+ }
+ console.log('Bullet Build Finished');
+ console.log('-------------------');
+ } catch (error) {
+ fail(error);
+ }
+};
+
+
+(async () => {
+ try {
+ await updateSystem();
+
+ await buildLib();
+ } catch (error) {
+ fail(error);
+ }
+})();
diff --git a/src/extract.sh b/src/extract.sh
new file mode 100644
index 0000000..db63c60
--- /dev/null
+++ b/src/extract.sh
@@ -0,0 +1,12 @@
+(
+ cd src
+
+ rm -rf build
+ mkdir -p build
+
+ rm -rf libuiohook
+ git clone --depth 1 -b 1.2.2 https://github.com/kwhat/libuiohook.git
+
+ mkdir -p libuiohook/installed
+ mkdir -p libuiohook/build
+)
diff --git a/src/linux-common.sh b/src/linux-common.sh
new file mode 100644
index 0000000..8ab4e7e
--- /dev/null
+++ b/src/linux-common.sh
@@ -0,0 +1,16 @@
+(
+ cd src/libuiohook/build
+
+ cmake -A x64 \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DBUILD_DEMO=OFF \
+ -DCMAKE_INSTALL_PREFIX=../installed \
+ -S ..
+
+ cmake --build . --config Release
+
+ # Use install to fetch INCLUDES
+ cmake --install . --config Release
+)
+
+cp src/libuiohook/installed/lib/uiohook.a src/build/uiohook.a
diff --git a/src/linux.sh b/src/linux.sh
new file mode 100644
index 0000000..42cd200
--- /dev/null
+++ b/src/linux.sh
@@ -0,0 +1 @@
+chmod +x src/linux-common.sh && src/linux-common.sh
diff --git a/src/osx.sh b/src/osx.sh
new file mode 100644
index 0000000..8ab4e7e
--- /dev/null
+++ b/src/osx.sh
@@ -0,0 +1,16 @@
+(
+ cd src/libuiohook/build
+
+ cmake -A x64 \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DBUILD_DEMO=OFF \
+ -DCMAKE_INSTALL_PREFIX=../installed \
+ -S ..
+
+ cmake --build . --config Release
+
+ # Use install to fetch INCLUDES
+ cmake --install . --config Release
+)
+
+cp src/libuiohook/installed/lib/uiohook.a src/build/uiohook.a
diff --git a/src/update-aarch64.sh b/src/update-aarch64.sh
new file mode 100644
index 0000000..c4cf12b
--- /dev/null
+++ b/src/update-aarch64.sh
@@ -0,0 +1,2 @@
+sudo yum -y update
+sudo yum -y install cmake
diff --git a/src/update-linux.sh b/src/update-linux.sh
new file mode 100644
index 0000000..cda0ba0
--- /dev/null
+++ b/src/update-linux.sh
@@ -0,0 +1 @@
+sudo apt-get update -qq
\ No newline at end of file
diff --git a/src/windows.sh b/src/windows.sh
new file mode 100644
index 0000000..be4fa1b
--- /dev/null
+++ b/src/windows.sh
@@ -0,0 +1,16 @@
+(
+ cd src/libuiohook/build
+
+ cmake -A x64 \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DBUILD_DEMO=OFF \
+ -DCMAKE_INSTALL_PREFIX=../installed \
+ -S ..
+
+ cmake --build . --config Release
+
+ # Use install to fetch INCLUDES
+ cmake --install . --config Release
+)
+
+cp src/libuiohook/installed/lib/uiohook.lib src/build/uiohook.lib
diff --git a/test/index.test.js b/test/index.test.js
new file mode 100644
index 0000000..e16901a
--- /dev/null
+++ b/test/index.test.js
@@ -0,0 +1,21 @@
+'use strict';
+
+const assert = require('node:assert').strict;
+const { describe, it } = require('node:test');
+
+const deps = require('..');
+
+
+describe('Paths', () => {
+ it('exports an object', () => {
+ assert.strictEqual(typeof deps, 'object');
+ });
+
+ it('exports "bin" string', () => {
+ assert.strictEqual(typeof deps.bin, 'string');
+ });
+
+ it('exports "include" string', () => {
+ assert.strictEqual(typeof deps.include, 'string');
+ });
+});