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

@pluralsight/ps-design-system-util

Package Overview
Dependencies
Maintainers
3
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluralsight/ps-design-system-util - npm Package Compare versions

Comparing version 10.1.1 to 10.1.2

3

dist/cjs/types/index.d.ts
import React from 'react';
/**
* @deprecated
*/
export declare type RefFor<K extends keyof HTMLElementTagNameMap> = React.RefObject<HTMLElementTagNameMap[K]>;
export declare type RefForwardingComponent<P = Record<string, unknown>, E = Element, S = Record<string, unknown>> = React.ForwardRefExoticComponent<P & React.RefAttributes<E>> & S;
export declare type ValueOf<T> = T[keyof T];

2

dist/cjs/use-close-on-document-events.js

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

var handleClickOutsideMenu = function (evt) {
if (evt.target instanceof HTMLElement) {
if (evt.target instanceof HTMLElement || evt.target instanceof SVGElement) {
if (el.contains(evt.target))

@@ -104,0 +104,0 @@ return;

import React from 'react';
/**
* @deprecated
*/
export declare type RefFor<K extends keyof HTMLElementTagNameMap> = React.RefObject<HTMLElementTagNameMap[K]>;
export declare type RefForwardingComponent<P = Record<string, unknown>, E = Element, S = Record<string, unknown>> = React.ForwardRefExoticComponent<P & React.RefAttributes<E>> & S;
export declare type ValueOf<T> = T[keyof T];

@@ -95,3 +95,3 @@ import React from 'react';

var handleClickOutsideMenu = function (evt) {
if (evt.target instanceof HTMLElement) {
if (evt.target instanceof HTMLElement || evt.target instanceof SVGElement) {
if (el.contains(evt.target))

@@ -98,0 +98,0 @@ return;

{
"name": "@pluralsight/ps-design-system-util",
"version": "10.1.1",
"version": "10.1.2",
"description": "Runtime dependencies for utilitarian tasks. Analogous to a lodash.",

@@ -40,3 +40,3 @@ "license": "Apache-2.0",

},
"gitHead": "07e4768296b994bb9a518a2514a31be02768ae74"
"gitHead": "08e74398e9c8543d98610380cb209fdbaa1f862a"
}
import React from 'react'
/**
* @deprecated
*/
export type RefFor<K extends keyof HTMLElementTagNameMap> = React.RefObject<

@@ -4,0 +7,0 @@ HTMLElementTagNameMap[K]

@@ -113,3 +113,3 @@ import React from 'react'

const handleClickOutsideMenu = (evt: MouseEvent) => {
if (evt.target instanceof HTMLElement) {
if (evt.target instanceof HTMLElement || evt.target instanceof SVGElement) {
if (el.contains(evt.target)) return

@@ -116,0 +116,0 @@ callback(evt)

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