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-103a15 to 0.0.0-alpha-146018

build/hooks/useEscToClose.d.ts

4

build/index.d.ts

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

declare function helloWorld(): void;
export { helloWorld };
export { useEscToClose } from './hooks/useEscToClose';
export { useFocusTrap } from './hooks/useFocusTrap';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.helloWorld = void 0;
function helloWorld() {
console.log('Welcome to @pluralsight/react-utils! The official library is coming soon.');
}
exports.helloWorld = helloWorld;
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; } });

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

function helloWorld() {
console.log(
'Welcome to @pluralsight/react-utils! The official library is coming soon.'
)
}
export { helloWorld }
export { useEscToClose } from './hooks/useEscToClose'
export { useFocusTrap } from './hooks/useFocusTrap'
{
"name": "@pluralsight/react-utils",
"version": "0.0.0-alpha-103a15",
"version": "0.0.0-alpha-146018",
"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,8 +37,15 @@ },

"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",
"@types/jest": "^27.4.1",
"@types/jest": "^28.1.6",
"@types/react": "^17.0.40",
"@types/react-dom": "^18",
"@types/testing-library__jest-dom": "^5",
"copyfiles": "^2.4.1",
"identity-obj-proxy": "^3.0.0",
"react": "latest",
"react-dom": "latest",
"renamer": "^4.0.0",

@@ -45,0 +52,0 @@ "typescript": "4.4.4"

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