Socket
Socket
Sign inDemoInstall

react-error-boundary

Package Overview
Dependencies
Maintainers
2
Versions
47
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 4.0.7 to 4.0.8

dist/declarations/src/ErrorBoundary.d.ts

44

package.json
{
"name": "react-error-boundary",
"version": "4.0.7",
"version": "4.0.8",
"description": "Simple reusable React error boundary component",

@@ -11,6 +11,17 @@ "author": "Brian Vaughn <brian.david.vaughn@gmail.com>",

},
"source": "src/index.ts",
"main": "dist/react-error-boundary.js",
"module": "dist/react-error-boundary.module.js",
"types": "dist/react-error-boundary.d.ts",
"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"
},
"module": "./dist/react-error-boundary.esm.js",
"import": "./dist/react-error-boundary.cjs.mjs",
"default": "./dist/react-error-boundary.cjs.js"
},
"./package.json": "./package.json"
},
"types": "dist/react-error-boundary.cjs.d.ts",
"files": [

@@ -21,7 +32,6 @@ "dist"

"scripts": {
"clear": "npm run clear:parcel-cache & npm run clear:builds & npm run clear:node_modules",
"clear": "npm run clear:builds & npm run clear:node_modules",
"clear:builds": "rm -rf ./dist",
"clear:parcel-cache": "rm -rf ./.parcel-cache",
"clear:node_modules": "rm -rf ./node_modules",
"prerelease": "rm -rf ./.parcel-cache && parcel build",
"prerelease": "preconstruct build",
"prettier": "prettier --write \"**/*.{css,html,js,json,jsx,ts,tsx}\"",

@@ -38,9 +48,4 @@ "prettier:ci": "prettier --check \"**/*.{css,html,js,json,jsx,ts,tsx}\"",

"devDependencies": {
"@parcel/config-default": "^2.9.0",
"@parcel/core": "^2.9.0",
"@parcel/packager-ts": "^2.9.0",
"@parcel/plugin": "^2.9.0",
"@parcel/source-map": "^2.1.1",
"@parcel/transformer-typescript-types": "^2.9.0",
"@parcel/utils": "^2.9.0",
"@babel/preset-typescript": "^7.21.5",
"@preconstruct/cli": "^2.7.0",
"@types/jest": "^26.0.15",

@@ -51,3 +56,2 @@ "@types/react": "^18",

"jest-environment-jsdom": "^29.4.3",
"parcel": "^2.9.0",
"prettier": "^2.8.6",

@@ -69,3 +73,11 @@ "react": "^18",

}
},
"preconstruct": {
"exports": {
"importConditionDefaultExport": "default"
},
"___experimentalFlags_WILL_CHANGE_IN_PATCH": {
"importsConditions": true
}
}
}
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