New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aboutbits/react-toolbox

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aboutbits/react-toolbox - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

dist/jest-setup.d.ts

2

dist/esm/async-data/AsyncView.d.ts

@@ -12,3 +12,3 @@ import { ReactElement, ReactNode } from 'react';

};
declare const AsyncView: <Data, Error_1>(props: Props<Data, Error_1>) => ReactElement<any, any> | null;
declare const AsyncView: <Data, Error>(props: Props<Data, Error>) => ReactElement<any, any> | null;
export { AsyncView };
import React from 'react';
import { isFunction } from '../util';
var AsyncView = function (props
// The `ReactElement<any, any> | null` type is for React 17 compatibility (see type FunctionComponent). With React 18 it can be a ReactNode and we can remove the Fragment wrappers.
) {
var AsyncView = function (props) {
var data = props.data, error = props.error, _a = props.renderLoading, renderLoading = _a === void 0 ? null : _a, renderSuccess = props.renderSuccess, _b = props.renderError, renderError = _b === void 0 ? null : _b;

@@ -7,0 +5,0 @@ if (error !== null && error !== undefined) {

{
"name": "@aboutbits/react-toolbox",
"version": "0.2.3",
"version": "0.2.4",
"description": "Tools for React",
"author": "About Bits",
"license": "MIT",
"homepage": "https://github.com/aboutbits/react-toolbox",
"repository": {
"type": "git",
"url": "git+https://github.com/aboutbits/react-toolbox"
},
"bugs": {
"url": "https://github.com/aboutbits/react-toolbox/issues"
},
"keywords": [
"react",
"toolbox",
"tooling",
"tools"
],
"private": false,
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/esm/index.js",
"sideEffects": false,
"files": [
"readme.md",
"dist/**/*"
],
"engines": {

@@ -25,48 +49,24 @@ "npm": ">=8",

},
"repository": {
"type": "git",
"url": "git+https://github.com/aboutbits/react-toolbox"
},
"private": false,
"keywords": [
"react",
"toolbox",
"tooling",
"tools"
],
"author": "About Bits",
"license": "MIT",
"bugs": {
"url": "https://github.com/aboutbits/react-toolbox/issues"
},
"homepage": "https://github.com/aboutbits/react-toolbox#readme",
"files": [
"readme.md",
"dist/**/*"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.4.0",
"@types/css-mediaquery": "^0.1.1",
"@types/jest": "^28.1.3",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@types/css-mediaquery": "^0.1.4",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.69",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"css-mediaquery": "^0.1.2",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-prettier": "^4.1.0",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"prettier": "^2.7.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3"
},

@@ -73,0 +73,0 @@ "peerDependencies": {

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