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

micro-observables

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micro-observables - npm Package Compare versions

Comparing version 1.5.0-rc3 to 1.5.0-rc4

dist/baseObservable.d.ts

41

package.json
{
"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

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