micro-observables
Advanced tools
Comparing version 1.5.0-rc3 to 1.5.0-rc4
{ | ||
"name": "micro-observables", | ||
"version": "1.5.0-rc3", | ||
"version": "1.5.0-rc4", | ||
"description": "A simple Observable library that can be used for easy state management in React applications.", | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"module": "dist/micro-observables.esm.js", | ||
"scripts": { | ||
"build": "rimraf lib && tsc -p tsconfig.build.json", | ||
"test": "jest", | ||
"prepublishOnly": "npm run test && npm run build" | ||
"start": "tsdx watch", | ||
"build": "tsdx build", | ||
"test": "tsdx test", | ||
"lint": "tsdx lint", | ||
"prepare": "tsdx build" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"repository": { | ||
@@ -22,2 +28,12 @@ "type": "git", | ||
"homepage": "https://github.com/BeTomorrow/micro-observables#readme", | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "tsdx lint" | ||
} | ||
}, | ||
"prettier": { | ||
"useTabs": true, | ||
"printWidth": 120, | ||
"trailingComma": "es5" | ||
}, | ||
"peerDependencies": { | ||
@@ -27,8 +43,6 @@ "react": "^16.8.0" | ||
"devDependencies": { | ||
"@types/jest": "^24.0.24", | ||
"@types/react": "^16.9.9", | ||
"jest": "^24.9.0", | ||
"prettier": "^1.19.1", | ||
"rimraf": "^3.0.0", | ||
"ts-jest": "^24.2.0", | ||
"@types/react": "^16.9.41", | ||
"husky": "^4.2.5", | ||
"tsdx": "^0.13.2", | ||
"tslib": "^2.0.0", | ||
"typescript": "^3.9.5" | ||
@@ -38,3 +52,4 @@ }, | ||
"files": [ | ||
"lib/", | ||
"dist", | ||
"src", | ||
"batching*" | ||
@@ -41,0 +56,0 @@ ], |
@@ -9,3 +9,3 @@ # Micro-observables | ||
- **⚛️ React support:** Out-of-the-box React support based on React Hooks | ||
- **🐥 Lightweight:** The whole source code is made of less than 400 lines of code | ||
- **🐥 Lightweight:** The whole source code is made of less than 400 lines of code, resulting in **6kb** production bundle | ||
- **🔥 Peformant:** Observables are evaluated only when needed. Micro-observables also supports [React and React Native batching](#react-batching), minimizing the amount of re-renders | ||
@@ -12,0 +12,0 @@ - **🔮 Debuggable:** Micro-observables does not rely on ES6 proxies, making it easy to identify lines of code that trigger renders. Code execution is easy to follow, making debugging straightforward |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133709
5
22
1326
2
1
1