🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-error-boundary

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-error-boundary - npm Package Compare versions

Comparing version

to
6.0.0

dist/react-error-boundary.d.ts

62

package.json
{
"name": "react-error-boundary",
"version": "5.0.0",
"version": "6.0.0",
"type": "module",
"description": "Simple reusable React error boundary component",

@@ -11,19 +12,7 @@ "author": "Brian Vaughn <brian.david.vaughn@gmail.com>",

},
"packageManager": "pnpm@9.6.0",
"main": "dist/react-error-boundary.cjs.js",
"module": "dist/react-error-boundary.esm.js",
"exports": {
".": {
"types": {
"import": "./dist/react-error-boundary.cjs.mjs",
"default": "./dist/react-error-boundary.cjs.js"
},
"development": {
"module": "./dist/react-error-boundary.development.esm.js",
"import": "./dist/react-error-boundary.development.cjs.mjs",
"default": "./dist/react-error-boundary.development.cjs.js"
},
"module": "./dist/react-error-boundary.esm.js",
"import": "./dist/react-error-boundary.cjs.mjs",
"default": "./dist/react-error-boundary.cjs.js"
"types": "./dist/react-error-boundary.js",
"development": "./dist/react-error-boundary.development.js",
"default": "./dist/react-error-boundary.js"
},

@@ -38,3 +27,3 @@ "./package.json": "./package.json"

},
"types": "dist/react-error-boundary.cjs.d.ts",
"types": "dist/react-error-boundary.d.ts",
"files": [

@@ -44,14 +33,2 @@ "dist"

"sideEffects": false,
"scripts": {
"clear": "pnpm clear:builds & pnpm clear:node_modules",
"clear:builds": "rimraf ./dist",
"clear:node_modules": "rimraf ./node_modules",
"prerelease": "preconstruct build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "jest",
"test:watch": "jest --watch",
"typescript": "tsc --noEmit",
"typescript:watch": "tsc --noEmit --watch"
},
"dependencies": {

@@ -63,5 +40,4 @@ "@babel/runtime": "^7.12.5"

"@babel/preset-typescript": "^7.21.5",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "^2.8.12",
"@types/assert": "^1.5.10",
"@types/jest": "^26.0.15",
"@types/react": "^18.3.17",

@@ -76,4 +52,2 @@ "@types/react-dom": "^18",

"globals": "^15.11.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"prettier": "^3.0.1",

@@ -83,4 +57,4 @@ "react": "^18",

"rimraf": "^6.0.1",
"ts-jest": "^29.0.5",
"typescript": "^5.1.6",
"vitest": "^3.1.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.18.0"

@@ -96,5 +70,19 @@ },

"___experimentalFlags_WILL_CHANGE_IN_PATCH": {
"importsConditions": true
"distInRoot": true,
"importsConditions": true,
"typeModule": true
}
},
"scripts": {
"clear": "pnpm clear:builds & pnpm clear:node_modules",
"clear:builds": "rimraf ./dist",
"clear:node_modules": "rimraf ./node_modules",
"prerelease": "preconstruct build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest --environment=jsdom --watch=false",
"test:watch": "vitest --environment=jsdom --watch",
"typescript": "tsc --noEmit",
"typescript:watch": "tsc --noEmit --watch"
}
}
}