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

@pluralsight/react-utils

Package Overview
Dependencies
Maintainers
1
Versions
1213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluralsight/react-utils - npm Package Compare versions

Comparing version 0.0.0-alpha-967294 to 0.0.0-alpha-a14740

build/hooks/useEscToClose.d.ts

1

build/index.d.ts

@@ -0,1 +1,2 @@

export { useEscToClose } from './hooks/useEscToClose';
export { useFocusTrap } from './hooks/useFocusTrap';

4

build/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useFocusTrap = void 0;
exports.useFocusTrap = exports.useEscToClose = void 0;
var useEscToClose_1 = require("./hooks/useEscToClose");
Object.defineProperty(exports, "useEscToClose", { enumerable: true, get: function () { return useEscToClose_1.useEscToClose; } });
var useFocusTrap_1 = require("./hooks/useFocusTrap");
Object.defineProperty(exports, "useFocusTrap", { enumerable: true, get: function () { return useFocusTrap_1.useFocusTrap; } });

@@ -0,1 +1,2 @@

export { useEscToClose } from './hooks/useEscToClose'
export { useFocusTrap } from './hooks/useFocusTrap'
{
"name": "@pluralsight/react-utils",
"version": "0.0.0-alpha-967294",
"version": "0.0.0-alpha-a14740",
"description": "A set of React custom hooks for Pluralsight.",

@@ -10,6 +10,5 @@ "main": "build/index.js",

".": {
"import": "build/wrapper.js",
"require": "build/index.js"
},
"./types": "build/types.d.ts"
"import": "./build/wrapper.js",
"require": "./build/index.js"
}
},

@@ -30,2 +29,3 @@ "files": [

"rename:wrapper": "renamer --path-element ext src/wrapper.ts --find '.ts' --replace '.js'",
"lint:ts": "tsc --project tsconfig.json --noEmit",
"test": "echo \"'yarn test' should be run from root directory.\" && exit 1"

@@ -37,3 +37,6 @@ },

"devDependencies": {
"@testing-library/dom": "^8.16.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.3.0",
"@types/copyfiles": "^2",

@@ -43,2 +46,3 @@ "@types/jest": "^28.1.6",

"@types/react-dom": "^18",
"@types/testing-library__jest-dom": "^5",
"copyfiles": "^2.4.1",

@@ -45,0 +49,0 @@ "identity-obj-proxy": "^3.0.0",

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