Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cheap-di-react

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cheap-di-react - npm Package Compare versions

Comparing version 4.1.3-dev.1 to 4.1.3-dev.2

cjs/DiContext.js

50

package.json
{
"name": "cheap-di-react",
"version": "4.1.3-dev.1",
"version": "4.1.3-dev.2",
"description": "Dependency injection based on cheap-di for using in React components with React Context",
"type": "module",
"scripts": {
"compile": "tsc --build tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"prepare-package-json": "cross-env NODE_OPTIONS=\"--loader ts-node/esm --disable-warning ExperimentalWarning\" ts-node scripts/prepare-package-json.ts",
"build:clean": "rimraf -rf ./dist",
"build": "npm-run-all build:clean compile prepare-package-json"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18.2.38",
"cheap-di": "4.1.2-dev.1",
"cross-env": "^7.0.3",
"npm-run-all": "^4",
"react": "^18.2.0",
"rimraf": "^5",
"ts-node": "^10",
"typescript": "^5"
},
"peerDependencies": {

@@ -42,19 +25,14 @@ "cheap-di": ">= 4.1.2",

],
"main": "./src/index.ts",
"types": "./src/index.ts",
"build-instructions": {
"name": "cheap-di-react",
"files": [
"cjs/**/*",
"esm/**/*",
"types/**/*",
"package.json",
"CHANGELOG.md",
"README.md",
"LICENSE"
],
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./types/index.d.ts"
}
}
"main": "./cjs/index.js",
"types": "./types/index.d.ts",
"files": [
"cjs/**/*",
"esm/**/*",
"types/**/*",
"package.json",
"CHANGELOG.md",
"README.md",
"LICENSE"
],
"module": "./esm/index.js"
}
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