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.7.1-next-f6fa3a to 0.7.1-next-f70b12

2

build/legacy/helpers/createResource.js

@@ -19,5 +19,5 @@ // src/helpers/createResource.ts

switch (status) {
case "pending":
case "error":
throw result;
case "pending":
case "success":

@@ -24,0 +24,0 @@ return result;

@@ -19,5 +19,5 @@ // src/helpers/createResource.ts

switch (status) {
case "pending":
case "error":
throw result;
case "pending":
case "success":

@@ -24,0 +24,0 @@ return result;

{
"name": "@pluralsight/react-utils",
"version": "0.7.1-next-f6fa3a",
"version": "0.7.1-next-f70b12",
"description": "A set of React custom hooks for Pando.",

@@ -60,3 +60,3 @@ "browserslist": "> 0.25%, not dead",

"license": "Apache 2.0",
"packageManager": "bun@1.0.14",
"packageManager": "pnpm@8.15.1",
"scripts": {

@@ -63,0 +63,0 @@ "build": "tsup --experimental-dts",

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

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.
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.
## Development
There is no development sandbox for this specific project, but most of the time, we import the hooks into the [Headless Styles sandbox](https://github.com/pluralsight/pando/tree/main/packages/headless-styles/sandbox) which is [just as easy](https://github.com/pluralsight/pando/blob/main/packages/headless-styles/sandbox/src/components/Tabs.jsx#L2-L8).
There is no development sandbox for this specific project, but most of the time, we import the hooks into the [Headless Styles sandbox](https://github.com/ps-dev/pando/tree/main/packages/headless-styles/sandbox) which is [just as easy](https://github.com/ps-dev/pando/blob/main/packages/headless-styles/sandbox/src/components/Tabs.jsx#L2-L8).

@@ -40,3 +40,3 @@ From the **root directory of the project**, run:

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

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

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

@@ -55,2 +55,2 @@

If you plan on contributing to this project, please take time to read our [CONTRIBUTING.md](https://github.com/pluralsight/pando/blob/main/CONTRIBUTING.md). Pull requests that do not adhere to the requirements in this doc will automatically be flagged and closed.
If you plan on contributing to this project, please take time to read our [CONTRIBUTING.md](https://github.com/ps-dev/pando/blob/main/CONTRIBUTING.md). Pull requests that do not adhere to the requirements in this doc will automatically be flagged and closed.

@@ -24,6 +24,6 @@ import { loadImage, preloadImgResource } from './loaders'

switch (status) {
case 'pending':
case 'error':
throw result
case 'pending':
case 'success':

@@ -30,0 +30,0 @@ return result

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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