Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@lumino/keyboard

Package Overview
Dependencies
Maintainers
7
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lumino/keyboard - npm Package Compare versions

Comparing version 2.0.0-alpha.7 to 2.0.0-beta.0

2

dist/index.js

@@ -280,5 +280,3 @@ (function (global, factory) {

Object.defineProperty(exports, '__esModule', { value: true });
}));
//# sourceMappingURL=index.js.map

2

dist/index.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).lumino_keyboard={})}(this,(function(e){"use strict";class t{constructor(e,o,n=[]){this.name=e,this._codes=o,this._keys=t.extractKeys(o),this._modifierKeys=t.convertToKeySet(n)}keys(){return Object.keys(this._keys)}isValidKey(e){return e in this._keys}isModifierKey(e){return e in this._modifierKeys}keyForKeydownEvent(e){return this._codes[e.keyCode]||""}}!function(e){e.extractKeys=function(e){let t=Object.create(null);for(let o in e)t[e[o]]=!0;return t},e.convertToKeySet=function(e){let t=Object(null);for(let o=0,n=e.length;o<n;++o)t[e[o]]=!0;return t}}(t||(t={}));const o=new t("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);var n;!function(e){e.keyboardLayout=o}(n||(n={})),e.EN_US=o,e.KeycodeLayout=t,e.getKeyboardLayout=function(){return n.keyboardLayout},e.setKeyboardLayout=function(e){n.keyboardLayout=e},Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).lumino_keyboard={})}(this,(function(e){"use strict";class t{constructor(e,o,n=[]){this.name=e,this._codes=o,this._keys=t.extractKeys(o),this._modifierKeys=t.convertToKeySet(n)}keys(){return Object.keys(this._keys)}isValidKey(e){return e in this._keys}isModifierKey(e){return e in this._modifierKeys}keyForKeydownEvent(e){return this._codes[e.keyCode]||""}}!function(e){e.extractKeys=function(e){let t=Object.create(null);for(let o in e)t[e[o]]=!0;return t},e.convertToKeySet=function(e){let t=Object(null);for(let o=0,n=e.length;o<n;++o)t[e[o]]=!0;return t}}(t||(t={}));const o=new t("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);var n;!function(e){e.keyboardLayout=o}(n||(n={})),e.EN_US=o,e.KeycodeLayout=t,e.getKeyboardLayout=function(){return n.keyboardLayout},e.setKeyboardLayout=function(e){n.keyboardLayout=e}}));
//# sourceMappingURL=index.min.js.map
{
"name": "@lumino/keyboard",
"version": "2.0.0-alpha.7",
"version": "2.0.0-beta.0",
"description": "Lumino Keyboard",

@@ -48,4 +48,4 @@ "homepage": "https://github.com/jupyterlab/lumino",

"@microsoft/api-extractor": "^7.6.0",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/chai": "^3.4.35",

@@ -61,6 +61,6 @@ "@types/mocha": "^2.2.39",

"mocha": "^9.0.3",
"playwright": "^1.26.0",
"playwright": "^1.29.0",
"postcss": "^8.4.14",
"rimraf": "^3.0.2",
"rollup": "^2.77.3",
"rollup": "^3.9.1",
"rollup-plugin-postcss": "^4.0.2",

@@ -71,3 +71,3 @@ "rollup-plugin-sourcemaps": "^0.6.3",

"typedoc": "~0.23.9",
"typescript": "~4.7.3"
"typescript": "~4.9.4"
},

@@ -74,0 +74,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc