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

arrow-key-navigation

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrow-key-navigation - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

dist-umd/index.js

2

dist-node/index.js

@@ -13,3 +13,3 @@ 'use strict';

// https://github.com/edenspiekermann/a11y-dialog/blob/cf4ed81/a11y-dialog.js#L6-L18
var focusablesQuery = 'a[href], area[href], input, select, textarea, ' + 'button, iframe, object, embed, [contenteditable], [tabindex], video[controls], audio[controls]'; // TODO: email/number types are a special type, in that they return selectionStart/selectionEnd as null
var focusablesQuery = 'a[href], area[href], input, select, textarea, ' + 'button, iframe, object, embed, [contenteditable], [tabindex], ' + 'video[controls], audio[controls], summary'; // TODO: email/number types are a special type, in that they return selectionStart/selectionEnd as null
// As far as I can tell, there is no way to actually get the caret position from these inputs. So we

@@ -16,0 +16,0 @@ // don't do the proper caret handling for those inputs, unfortunately.

@@ -9,3 +9,4 @@ /**

var focusablesQuery = 'a[href], area[href], input, select, textarea, ' +
'button, iframe, object, embed, [contenteditable], [tabindex], video[controls], audio[controls]';
'button, iframe, object, embed, [contenteditable], [tabindex], ' +
'video[controls], audio[controls], summary';
// TODO: email/number types are a special type, in that they return selectionStart/selectionEnd as null

@@ -12,0 +13,0 @@ // As far as I can tell, there is no way to actually get the caret position from these inputs. So we

@@ -9,3 +9,4 @@ /**

var focusablesQuery = 'a[href], area[href], input, select, textarea, ' +
'button, iframe, object, embed, [contenteditable], [tabindex], video[controls], audio[controls]';
'button, iframe, object, embed, [contenteditable], [tabindex], ' +
'video[controls], audio[controls], summary';
// TODO: email/number types are a special type, in that they return selectionStart/selectionEnd as null

@@ -12,0 +13,0 @@ // As far as I can tell, there is no way to actually get the caret position from these inputs. So we

{
"name": "arrow-key-navigation",
"description": "Add left/right key navigation to a KaiOS app or web app",
"version": "1.0.2",
"version": "1.1.0",
"license": "Apache-2.0",

@@ -35,2 +35,3 @@ "files": [

"@pika/plugin-build-node": "^0.7.1",
"@pika/plugin-build-umd": "^0.7.1",
"@pika/plugin-build-web": "^0.7.1",

@@ -50,3 +51,4 @@ "@pika/plugin-ts-standard-pkg": "^0.7.1",

"main": "dist-node/index.js",
"module": "dist-web/index.js"
"module": "dist-web/index.js",
"umd:main": "dist-umd/index.js"
}

@@ -20,2 +20,4 @@ arrow-key-navigation [![Build Status](https://travis-ci.org/nolanlawson/arrow-key-navigation.svg)](https://travis-ci.org/nolanlawson/arrow-key-navigation)

Or [browse unpkg.com](https://unpkg.com/browse/arrow-key-navigation/) for a list of build files.
## Usage

@@ -75,1 +77,7 @@

npm test
### Manual KaiOS app test
The `index.html` and `manifest.webapp` files are designed for a quick-and-dirty KaiOS app test.
Run `npm run build` and then install the root directory as a packaged KaiOS app to test it.

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