New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.7.1-next-2d2789 to 0.7.1-next-2d27b4

build/legacy/_tsup-dts-rollup.d.cts

89

package.json
{
"name": "@pluralsight/react-utils",
"version": "0.7.1-next-2d2789",
"version": "0.7.1-next-2d27b4",
"description": "A set of React custom hooks for Pando.",
"main": "npm/node/index.js",
"module": "npm/browser/index.js",
"exports": {
".": {
"import": "./npm/browser/index.js",
"require": "./npm/node/index.js",
"types": "./npm/types/src/index.d.ts"
},
"./types": {
"types": "./npm/types/src/types.d.ts"
}
"browserslist": "> 0.25%, not dead",
"sideEffects": false,
"type": "module",
"main": "build/legacy/index.cjs",
"module": "build/legacy/index.js",
"publishConfig": {
"access": "public"
},
"typesVersions": {
"*": {
"types": [
"npm/types/src/types.d.ts"
]
}
},
"sideEffects": false,
"browserslist": "> 0.25%, not dead",
"files": [
"build/**/*",
"src/**/*"
],
"dependencies": {

@@ -32,7 +23,3 @@ "tslib": "latest"

"@babel/runtime": "^7.20.13",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-replace": "^5.0.0",
"@microsoft/api-extractor": "^7.38.3",
"@types/react": "latest",

@@ -45,4 +32,4 @@ "@types/react-dom": "latest",

"react-dom": "18.2.0",
"rollup": "^3.2.2",
"rollup-plugin-node-externals": "^6.0.1"
"tsup": "^8.0.1",
"@pando/configs": "0.0.0"
},

@@ -64,8 +51,2 @@ "peerDependencies": {

],
"publishConfig": {
"access": "public"
},
"files": [
"npm/**/*"
],
"author": "Design System Team",

@@ -82,21 +63,31 @@ "bugs": {

"license": "Apache 2.0",
"packageManager": "pnpm@8.6.11",
"packageManager": "pnpm@8.15.1",
"scripts": {
"build": "bun run clean && bun run compile:types && bun run bundle && bun run clean:allUnused",
"bundle": "rollup --config rollup.config.mjs",
"clean": "bun run clean:bundles && bun run clean:types",
"clean:bundles": "rm -rf ./npm/browser && rm -rf ./npm/node",
"clean:types": "rm -rf ./npm/types",
"clean:allUnused": "bun run clean:unusedFiles && bun run clean:unusedDirs",
"clean:unusedFiles": "rm -rf npm/types/index.js",
"clean:unusedDirs": "bun run clean:unusedDirs:ru && bun run clean:unusedDirs:shared",
"clean:unusedDirs:ru": "rm -rf npm/types/react-utils",
"clean:unusedDirs:shared": "rm -rf npm/types/shared",
"compile:types": "tsc --project tsconfig.build.json",
"fix:js": "eslint --fix \"./**/*.@(ts|tsx)\"",
"build": "tsup --experimental-dts",
"clean": "rm -rf ./build",
"lint:js": "eslint --max-warnings 0 \"./**/*.@(ts|tsx)\"",
"lint:ts": "tsc --project tsconfig.json --noEmit",
"lint:ts": "tsc --project tsconfig.lint.json --noEmit",
"test": "jest --passWithNoTests"
},
"types": "npm/types/src/index.d.ts"
"types": "build/legacy/index.d.ts",
"exports": {
".": {
"import": {
"types": "./build/modern/index.d.ts",
"default": "./build/modern/index.js"
},
"require": {
"types": "./build/modern/index.d.cts",
"default": "./build/modern/index.cjs"
}
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
".": [
"npm/types/src/types.d.ts"
]
}
}
}

@@ -30,3 +30,3 @@ # React utils

This project uses pnPm so there are no setup commands needed. If you get any errors, you may need to run an initial `pnpm install` or ensure you are using Node >= 18.
This project uses bun so there are no setup commands needed. If you get any errors, you may need to run an initial `bun install` or ensure you are using Node >= 18.

@@ -40,3 +40,3 @@ ## Development

```bash
pnpm start:sandbox
bun run start:sandbox
```

@@ -49,3 +49,3 @@

```bash
pnpm test
bun test packages/react-utils/tests
```

@@ -52,0 +52,0 @@

@@ -1,23 +0,9 @@

export { getCachedTheme, setCachedTheme } from './helpers/themeHelpers.ts'
export { getCachedTheme, setCachedTheme } from './helpers/themeHelpers'
// hooks
export { useAutoFormatDate } from './hooks/useAutoFormatDate.ts'
export { useEscToClose } from './hooks/useEscToClose.ts'
export { useFocusTrap } from './hooks/useFocusTrap.ts'
export { useIsIndeterminate } from './hooks/useIsIndeterminate.ts'
export { useMenuInteraction } from './hooks/menu/useMenuInteraction.ts'
export { usePreloadedImg } from './hooks/usePreloadedImg.ts'
export { useRovingTabIndex } from './hooks/useRovingTabIndex.ts'
export { useSubmenuInteraction } from './hooks/menu/useSubmenuInteraction.ts'
export { useTheme } from './hooks/useTheme.ts'
// Tabs
export { TabsProvider } from './hooks/useTabs/context.tsx'
export {
useTabList,
useTab,
usePanelList,
usePanel,
} from './hooks/useTabs/hooks.ts'
export { useAutoFormatDate } from './hooks/useAutoFormatDate'
export { useEscToClose } from './hooks/useEscToClose'
export { useFocusTrap } from './hooks/useFocusTrap'
export { useIsIndeterminate } from './hooks/useIsIndeterminate'
export { usePreloadedImg } from './hooks/usePreloadedImg'
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