New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@solid-primitives/active-element

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/active-element - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

dist/index.d.ts

@@ -0,3 +1,3 @@

import { JSX, Accessor } from 'solid-js';
import { MaybeAccessor, Directive } from '@solid-primitives/utils';
import { JSX, Accessor } from 'solid-js';

@@ -4,0 +4,0 @@ declare module "solid-js" {

@@ -0,9 +1,5 @@

import { createSignal } from 'solid-js';
import { makeEventListener, createEventListener } from '@solid-primitives/event-listener';
import { createSignal } from 'solid-js';
// src/index.ts
console.log("0");
console.log("1");
console.log("2");
console.log("3");
var getActiveElement = () => document.activeElement === document.body ? null : document.activeElement;

@@ -10,0 +6,0 @@ function makeActiveElementListener(callback) {

@@ -0,9 +1,5 @@

import 'solid-js';
import '@solid-primitives/event-listener';
import 'solid-js';
// src/index.ts
console.log("0");
console.log("1");
console.log("2");
console.log("3");
function makeActiveElementListener(callback) {

@@ -10,0 +6,0 @@ {

{
"name": "@solid-primitives/active-element",
"version": "2.0.3",
"version": "2.0.4",
"description": "A reactive document.activeElement. Check which element is currently focused.",

@@ -61,3 +61,3 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>",

"devDependencies": {
"solid-js": "^1.5.0",
"solid-js": "^1.6.0",
"solid-testing-library": "^0.3.0"

@@ -70,3 +70,3 @@ },

"peerDependencies": {
"solid-js": "^1.5.0"
"solid-js": "^1.6.0"
},

@@ -73,0 +73,0 @@ "scripts": {

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