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

@solid-primitives/keyboard

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/keyboard - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

dist/index.d.ts
import { Accessor } from 'solid-js';
declare type ModifierKey = "Alt" | "Control" | "Meta" | "Shift";
declare type KbdKey = ModifierKey | (string & {});
type ModifierKey = "Alt" | "Control" | "Meta" | "Shift";
type KbdKey = ModifierKey | (string & {});
/**

@@ -6,0 +6,0 @@ * Provides a signal with the list of currently held keys, ordered from least recent to most recent.

{
"name": "@solid-primitives/keyboard",
"version": "1.0.5",
"version": "1.0.6",
"description": "A library of reactive promitives helping handling user's keyboard input.",

@@ -45,38 +45,52 @@ "author": "Damian Tarnwski <gthetarnav@gmail.com>",

"browser": {
"./dist/server.cjs": "./dist/index.cjs",
"./dist/server.js": "./dist/index.js"
"./dist/server.js": "./dist/index.js",
"./dist/server.cjs": "./dist/index.cjs"
},
"exports": {
"worker": {
"import": "./dist/server.js",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/server.js"
},
"require": "./dist/server.cjs"
},
"browser": {
"import": "./dist/index.js",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": "./dist/index.cjs"
},
"deno": {
"import": "./dist/server.js",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/server.js"
},
"require": "./dist/server.cjs"
},
"node": {
"import": "./dist/server.js",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/server.js"
},
"require": "./dist/server.cjs"
},
"import": "./dist/index.js",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": "./dist/index.cjs"
},
"dependencies": {
"@solid-primitives/event-listener": "^2.2.4",
"@solid-primitives/rootless": "^1.2.1",
"@solid-primitives/utils": "^4.0.0"
"@solid-primitives/event-listener": "^2.2.5",
"@solid-primitives/rootless": "^1.2.2",
"@solid-primitives/utils": "^4.0.1"
},
"devDependencies": {
"solid-js": "^1.6.0"
},
"peerDependencies": {
"solid-js": "^1.6.0"
},
"typesVersions": {},
"scripts": {
"dev": "vite serve dev",
"page": "vite build dev",
"build": "jiti ../../scripts/build.ts --ssr",

@@ -83,0 +97,0 @@ "test": "vitest -c ../../configs/vitest.config.ts",

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