@vscodium/native-keymap 3.3.7-258424 → 3.3.9-260952

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,82 +1,20 @@
1
- # OS key mapping node module
2
- Returns what characters are produced by pressing keys with different modifiers on the current system keyboard layout.
1
+ [@vscodium/native-keymap](https://github.com/VSCodium/native-keymap)
2
+ ======================================================================
3
3
 
4
- ## Installing
4
+ [![Version](https://img.shields.io/npm/v/@vscodium/native-keymap.svg)](https://npmjs.org/package/@vscodium/native-keymap)
5
5
 
6
- * On Debian-based Linux: `sudo apt-get install libx11-dev libxkbfile-dev`
7
- * On Red Hat-based Linux: `sudo yum install libx11-devel.x86_64 libxkbfile-devel.x86_64 # or .i686`
8
- * On SUSE-based Linux: `sudo zypper install libX11-devel libxkbfile-devel`
9
- * On FreeBSD: `sudo pkg install libX11 libxkbfile`
6
+ ## <a id="fork"></a>Why fork from microsoft/node-native-keymap
10
7
 
11
- ```sh
12
- npm install @vscodium/native-keymap
13
- ```
8
+ The purpose of the fork is to provide prebuilt binaries for all the architectures supported by VSCodium.
9
+ The source code hasn't been changed.
14
10
 
15
- ## Using
11
+ ## <a id="usage"></a>Usage
16
12
 
17
- ```javascript
13
+ ```js
18
14
  var keymap = require('@vscodium/native-keymap');
19
15
  console.log(keymap.getKeyMap());
20
16
  ```
21
17
 
22
- Example output when using standard US keyboard layout (on Windows):
23
- ```
24
- [
25
- ...
26
- Space: { vkey: 'VK_SPACE', value: ' ', withShift: ' ', withAltGr: '', withShiftAltGr: '' },
27
- Minus: { vkey: 'VK_OEM_MINUS', value: '-', withShift: '_', withAltGr: '', withShiftAltGr: '' },
28
- Equal: { vkey: 'VK_OEM_PLUS', value: '=', withShift: '+', withAltGr: '', withShiftAltGr: '' },
29
- BracketLeft: { vkey: 'VK_OEM_4', value: '[', withShift: '{', withAltGr: '', withShiftAltGr: '' },
30
- BracketRight: { vkey: 'VK_OEM_6', value: ']', withShift: '}', withAltGr: '', withShiftAltGr: '' },
31
- Backslash: { vkey: 'VK_OEM_5', value: '\\', withShift: '|', withAltGr: '', withShiftAltGr: '' },
32
- Semicolon: { vkey: 'VK_OEM_1', value: ';', withShift: ':', withAltGr: '', withShiftAltGr: '' },
33
- Quote: { vkey: 'VK_OEM_7', value: '\'', withShift: '"', withAltGr: '', withShiftAltGr: '' },
34
- Backquote: { vkey: 'VK_OEM_3', value: '`', withShift: '~', withAltGr: '', withShiftAltGr: '' },
35
- Comma: { vkey: 'VK_OEM_COMMA', value: ',', withShift: '<', withAltGr: '', withShiftAltGr: '' },
36
- Period: { vkey: 'VK_OEM_PERIOD', value: '.', withShift: '>', withAltGr: '', withShiftAltGr: '' },
37
- Slash: { vkey: 'VK_OEM_2', value: '/', withShift: '?', withAltGr: '', withShiftAltGr: '' },
38
- ...
39
- ]
40
- ```
41
-
42
- Example output when using German (Swiss) keyboard layout (on Windows):
43
- ```
44
- [
45
- ...
46
- Space: { vkey: 'VK_SPACE', value: ' ', withShift: ' ', withAltGr: '', withShiftAltGr: '' },
47
- Minus: { vkey: 'VK_OEM_4', value: '\'', withShift: '?', withAltGr: '´', withShiftAltGr: '' },
48
- Equal: { vkey: 'VK_OEM_6', value: '^', withShift: '`', withAltGr: '~', withShiftAltGr: '' },
49
- BracketLeft: { vkey: 'VK_OEM_1', value: 'ü', withShift: 'è', withAltGr: '[', withShiftAltGr: '' },
50
- BracketRight: { vkey: 'VK_OEM_3', value: '¨', withShift: '!', withAltGr: ']', withShiftAltGr: '' },
51
- Backslash: { vkey: 'VK_OEM_8', value: '$', withShift: '£', withAltGr: '}', withShiftAltGr: '' },
52
- Semicolon: { vkey: 'VK_OEM_7', value: 'ö', withShift: 'é', withAltGr: '', withShiftAltGr: '' },
53
- Quote: { vkey: 'VK_OEM_5', value: 'ä', withShift: 'à', withAltGr: '{', withShiftAltGr: '' },
54
- Backquote: { vkey: 'VK_OEM_2', value: '§', withShift: '°', withAltGr: '', withShiftAltGr: '' },
55
- Comma: { vkey: 'VK_OEM_COMMA', value: ',', withShift: ';', withAltGr: '', withShiftAltGr: '' },
56
- Period: { vkey: 'VK_OEM_PERIOD', value: '.', withShift: ':', withAltGr: '', withShiftAltGr: '' },
57
- Slash: { vkey: 'VK_OEM_MINUS', value: '-', withShift: '_', withAltGr: '', withShiftAltGr: '' },
58
- ...
59
- ]
60
- ```
61
-
62
- ## Supported OSes
63
-
64
- - linux (X11)
65
- - windows
66
- - mac
67
- - freebsd
68
-
69
- ## Known issues
70
-
71
- - only tested from the Electron Main process
72
-
73
- ## Developing
74
-
75
- - `npm install -g node-gyp`
76
- - `node-gyp configure` (for debugging use `node-gyp configure -d`)
77
- - `node-gyp build`
78
- - `npm test` (for debugging change `index.js` to load the node module from the `Debug` folder and press `F5`)
79
-
80
- ## License
18
+ ## <a id="license"></a>License
81
19
 
82
20
  [MIT](https://github.com/VSCodium/native-keymap/blob/master/LICENSE)
package/binding.gyp CHANGED
@@ -7,7 +7,7 @@
7
7
  "src/keymapping.cc"
8
8
  ],
9
9
  'cflags': [
10
- '-O2', '-D_FORTIFY_SOURCE=2'
10
+ '-O2', '-fstack-protector-strong'
11
11
  ],
12
12
  'msvs_configuration_attributes': {
13
13
  'SpectreMitigation': 'Spectre'
@@ -18,8 +18,9 @@
18
18
  '/guard:cf',
19
19
  '/sdl',
20
20
  '/W3',
21
- '/w34244',
22
- '/w34267',
21
+ '/we4146',
22
+ '/we4244',
23
+ '/we4267',
23
24
  '/ZH:SHA_256'
24
25
  ]
25
26
  },
package/checksum.txt CHANGED
@@ -1,22 +1,22 @@
1
- 4870baafce609bd3f723cf1612a98aa42c6c3fe1e4552eabba41307c0a380516 native-keymap-3.3.7-258424-darwin-arm64.tar.gz
2
- 6141338c2c8299dde658e308af67d2662c730298fce80ffd630835266d6dd5ab native-keymap-3.3.7-258424-darwin-x64.tar.gz
3
- 8b71d0e9276e40548d59bd2c3e1c41dd8d8820155f7506c7a3e7413e50986fdc native-keymap-3.3.7-258424-linux-arm64.tar.gz
4
- aceac6b0cd274121c540de86c2722bc4dfd0c1f587f1837ac10c84f08b0a0b90 native-keymap-3.3.7-258424-linux-armhf.tar.gz
5
- a4ff394ff8ed08209d8ab884a10fe68c9c370257abf43563c1a61675e4a3e704 native-keymap-3.3.7-258424-linux-loong64.tar.gz
6
- ca4a4bd104148bec0828171555dbdd4013bc9274b6f2bf922e56748726a9beab native-keymap-3.3.7-258424-linux-ppc64le.tar.gz
7
- 5c3b2b42523813a001603933e00d6e95abd0dbf2bc46600a09de33a1a96e3554 native-keymap-3.3.7-258424-linux-riscv64.tar.gz
8
- 4e14a0e35b75b62139d4fa07640c07c71968ecd07d78a72ec9b0c6cbd792e96d native-keymap-3.3.7-258424-linux-s390x.tar.gz
9
- ef876465c98f81b443b6eb85d90444401e65ec975a575288015f0bf1a84f12e5 native-keymap-3.3.7-258424-linux-x64.tar.gz
10
- 973c330cfc988726e0c392af39be872de0495c1341598e04dae0e387c993ad75 *native-keymap-3.3.7-258424-win32-arm64.tar.gz
11
- 72e2d173f49e096773b16b9e53c97d6f39598d9fee4072e87dd62f396f4b4697 *native-keymap-3.3.7-258424-win32-x64.tar.gz
12
- 4870baafce609bd3f723cf1612a98aa42c6c3fe1e4552eabba41307c0a380516 native-keymap-3.3.7-258424-darwin-arm64.tar.gz
13
- 6141338c2c8299dde658e308af67d2662c730298fce80ffd630835266d6dd5ab native-keymap-3.3.7-258424-darwin-x64.tar.gz
14
- 8b71d0e9276e40548d59bd2c3e1c41dd8d8820155f7506c7a3e7413e50986fdc native-keymap-3.3.7-258424-linux-arm64.tar.gz
15
- aceac6b0cd274121c540de86c2722bc4dfd0c1f587f1837ac10c84f08b0a0b90 native-keymap-3.3.7-258424-linux-armhf.tar.gz
16
- a4ff394ff8ed08209d8ab884a10fe68c9c370257abf43563c1a61675e4a3e704 native-keymap-3.3.7-258424-linux-loong64.tar.gz
17
- ca4a4bd104148bec0828171555dbdd4013bc9274b6f2bf922e56748726a9beab native-keymap-3.3.7-258424-linux-ppc64le.tar.gz
18
- 5c3b2b42523813a001603933e00d6e95abd0dbf2bc46600a09de33a1a96e3554 native-keymap-3.3.7-258424-linux-riscv64.tar.gz
19
- 4e14a0e35b75b62139d4fa07640c07c71968ecd07d78a72ec9b0c6cbd792e96d native-keymap-3.3.7-258424-linux-s390x.tar.gz
20
- ef876465c98f81b443b6eb85d90444401e65ec975a575288015f0bf1a84f12e5 native-keymap-3.3.7-258424-linux-x64.tar.gz
21
- 973c330cfc988726e0c392af39be872de0495c1341598e04dae0e387c993ad75 *native-keymap-3.3.7-258424-win32-arm64.tar.gz
22
- 72e2d173f49e096773b16b9e53c97d6f39598d9fee4072e87dd62f396f4b4697 *native-keymap-3.3.7-258424-win32-x64.tar.gz
1
+ a54aed1ff10d7a295316a541f98e6215dc666dd688f5dd3495b5da187881abc5 native-keymap-3.3.9-260952-darwin-arm64.tar.gz
2
+ 27ee94e3e1e88392e8246e5524e02c658860d0d64014f2c2140a3222ded234e6 native-keymap-3.3.9-260952-darwin-x64.tar.gz
3
+ 8d9e5276c82388deb7a715e027ceac398591ed8e4a40213fe17b33fd1f7e8283 native-keymap-3.3.9-260952-linux-arm64.tar.gz
4
+ 66326aef37a829bf6d4048fbef9993a588018a63d850d30ce7f10086d598fabc native-keymap-3.3.9-260952-linux-armhf.tar.gz
5
+ 5662c84a845de403dd292a742d1b1de0f1da4e93069c80cb5035401c93b0f66b native-keymap-3.3.9-260952-linux-loong64.tar.gz
6
+ e2c0399418c14e09b296b30de397abab7986f39dd9e014d2354933ba04243418 native-keymap-3.3.9-260952-linux-ppc64le.tar.gz
7
+ 3d7b9ea9b56acfb604bec95a45c4c8778be8fbf8e37d00cc71cee3919d89a615 native-keymap-3.3.9-260952-linux-riscv64.tar.gz
8
+ d90c2e4561324306db5d2eba183687a990840a24682486584f22c0d17515c188 native-keymap-3.3.9-260952-linux-s390x.tar.gz
9
+ 3b79f4838a0a7bc070a9778c940afee02103c18a71a769e47a0e30c0d87a7f8e native-keymap-3.3.9-260952-linux-x64.tar.gz
10
+ 8d626c6f371020a269fa059b5bbef3b8e8adc4b26892997df657082939f1385c *native-keymap-3.3.9-260952-win32-arm64.tar.gz
11
+ a62d1b5708a48a9f48b851456dadfee7689538097cece30d63e1334166e39965 *native-keymap-3.3.9-260952-win32-x64.tar.gz
12
+ a54aed1ff10d7a295316a541f98e6215dc666dd688f5dd3495b5da187881abc5 native-keymap-3.3.9-260952-darwin-arm64.tar.gz
13
+ 27ee94e3e1e88392e8246e5524e02c658860d0d64014f2c2140a3222ded234e6 native-keymap-3.3.9-260952-darwin-x64.tar.gz
14
+ 8d9e5276c82388deb7a715e027ceac398591ed8e4a40213fe17b33fd1f7e8283 native-keymap-3.3.9-260952-linux-arm64.tar.gz
15
+ 66326aef37a829bf6d4048fbef9993a588018a63d850d30ce7f10086d598fabc native-keymap-3.3.9-260952-linux-armhf.tar.gz
16
+ 5662c84a845de403dd292a742d1b1de0f1da4e93069c80cb5035401c93b0f66b native-keymap-3.3.9-260952-linux-loong64.tar.gz
17
+ e2c0399418c14e09b296b30de397abab7986f39dd9e014d2354933ba04243418 native-keymap-3.3.9-260952-linux-ppc64le.tar.gz
18
+ 3d7b9ea9b56acfb604bec95a45c4c8778be8fbf8e37d00cc71cee3919d89a615 native-keymap-3.3.9-260952-linux-riscv64.tar.gz
19
+ d90c2e4561324306db5d2eba183687a990840a24682486584f22c0d17515c188 native-keymap-3.3.9-260952-linux-s390x.tar.gz
20
+ 3b79f4838a0a7bc070a9778c940afee02103c18a71a769e47a0e30c0d87a7f8e native-keymap-3.3.9-260952-linux-x64.tar.gz
21
+ 8d626c6f371020a269fa059b5bbef3b8e8adc4b26892997df657082939f1385c *native-keymap-3.3.9-260952-win32-arm64.tar.gz
22
+ a62d1b5708a48a9f48b851456dadfee7689538097cece30d63e1334166e39965 *native-keymap-3.3.9-260952-win32-x64.tar.gz
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "@vscodium/native-keymap",
3
- "version": "3.3.7-258424",
3
+ "version": "3.3.9-260952",
4
4
  "description": "Get OS key mapping",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
7
7
  "scripts": {
8
+ "ci:lint": "zizmor .",
9
+ "ci:lint:fix": "zizmor . --fix=all",
10
+ "ci:update": "pinact run -min-age 7 -update",
8
11
  "install": "node install.js",
9
12
  "release": "release-it --no-increment",
10
13
  "test": "node test/test.js"
11
14
  },
15
+ "homepage": "https://github.com/VSCodium/native-keymap",
12
16
  "repository": {
13
17
  "type": "git",
14
- "url": "git+https://github.com/vscodium/native-keymap.git"
18
+ "url": "git+https://github.com/VSCodium/native-keymap.git"
15
19
  },
16
20
  "author": "Microsoft Corporation",
17
21
  "license": "MIT",