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

@lumino/keyboard

Package Overview
Dependencies
Maintainers
4
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 1.5.0 to 1.5.1

2

dist/index.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.lumino_keyboard = {}));
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.lumino_keyboard = {}));
}(this, (function (exports) { 'use strict';

@@ -6,0 +6,0 @@

@@ -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=e||self).lumino_keyboard={})}(this,(function(e){"use strict";e.KeycodeLayout=function(){function e(t,o){this.name=t,this._codes=o,this._keys=e.extractKeys(o)}return e.prototype.keys=function(){return Object.keys(this._keys)},e.prototype.isValidKey=function(e){return e in this._keys},e.prototype.keyForKeydownEvent=function(e){return this._codes[e.keyCode]||""},e}(),(e.KeycodeLayout||(e.KeycodeLayout={})).extractKeys=function(e){var t=Object.create(null);for(var o in e)t[e[o]]=!0;return t};var t,o=new e.KeycodeLayout("en-us",{8:"Backspace",9:"Tab",13:"Enter",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",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:"'"});!function(e){e.keyboardLayout=o}(t||(t={})),e.EN_US=o,e.getKeyboardLayout=function(){return t.keyboardLayout},e.setKeyboardLayout=function(e){t.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";e.KeycodeLayout=function(){function e(t,o){this.name=t,this._codes=o,this._keys=e.extractKeys(o)}return e.prototype.keys=function(){return Object.keys(this._keys)},e.prototype.isValidKey=function(e){return e in this._keys},e.prototype.keyForKeydownEvent=function(e){return this._codes[e.keyCode]||""},e}(),(e.KeycodeLayout||(e.KeycodeLayout={})).extractKeys=function(e){var t=Object.create(null);for(var o in e)t[e[o]]=!0;return t};var t,o=new e.KeycodeLayout("en-us",{8:"Backspace",9:"Tab",13:"Enter",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",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:"'"});!function(e){e.keyboardLayout=o}(t||(t={})),e.EN_US=o,e.getKeyboardLayout=function(){return t.keyboardLayout},e.setKeyboardLayout=function(e){t.keyboardLayout=e},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=index.min.js.map
{
"name": "@lumino/keyboard",
"version": "1.5.0",
"version": "1.5.1",
"description": "Lumino Keyboard",

@@ -21,2 +21,7 @@ "homepage": "https://github.com/jupyterlab/lumino",

],
"main": "dist/index.js",
"jsdelivr": "dist/index.min.js",
"unpkg": "dist/index.min.js",
"module": "dist/index.es6",
"types": "types/index.d.ts",
"files": [

@@ -27,6 +32,2 @@ "dist/*",

],
"main": "dist/index.js",
"unpkg": "dist/index.min.js",
"module": "dist/index.es6",
"types": "types/index.d.ts",
"scripts": {

@@ -51,18 +52,18 @@ "api": "api-extractor run --local --verbose",

"@types/mocha": "^2.2.39",
"chai": "^3.5.0",
"karma": "^4.4.1",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.0",
"chai": "^4.3.4",
"karma": "^6.3.4",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.1",
"karma-ie-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.2",
"mocha": "^6.2.2",
"rimraf": "^2.5.2",
"rollup": "^2.22.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^9.0.3",
"rimraf": "^3.0.2",
"rollup": "^2.56.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-sourcemaps": "^0.5.0",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"simulate-event": "^1.4.0",
"terser": "^4.6.2",
"tslib": "1.10.0",
"terser": "^5.7.1",
"tslib": "^2.3.0",
"typedoc": "~0.15.0",

@@ -75,5 +76,3 @@ "typescript": "~3.6.0",

"access": "public"
},
"jsdelivr": "dist/index.min.js",
"gitHead": "cbb8cfd804b647ff7a150799353b27c2dc17f373"
}
}

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