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

seemly

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seemly - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

1

es/dom/happens-in.d.ts
export declare function happensIn(e: {
currentTarget: EventTarget | null;
target: EventTarget | null;
}, dataSetPropName: string): boolean;

2

es/dom/happens-in.js
export function happensIn(e, dataSetPropName) {
let target = e.currentTarget || e.target;
let { target } = e;
while (target) {

@@ -4,0 +4,0 @@ if (target.dataset) {

export declare function happensIn(e: {
currentTarget: EventTarget | null;
target: EventTarget | null;
}, dataSetPropName: string): boolean;

@@ -5,3 +5,3 @@ "use strict";

function happensIn(e, dataSetPropName) {
let target = e.currentTarget || e.target;
let { target } = e;
while (target) {

@@ -8,0 +8,0 @@ if (target.dataset) {

{
"name": "seemly",
"version": "0.3.7",
"version": "0.3.8",
"description": "Utils for user interface.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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