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

mobservable

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobservable - npm Package Compare versions

Comparing version 0.7.0 to 1.0.0-alpha.1

dist/typings/core.d.ts

16

CHANGELOG.md

@@ -0,4 +1,5 @@

# 0.7.0
* Introduced `strict` mode (see issues [#30](), [#31]())
* Introduced `strict` mode (see issues #30, #31)
* Renamed `sideEffect` to `observe`

@@ -8,13 +9,12 @@ * Renamed `when` to `observeUntil`

* Fixed issue where changing the `logLevel` was not picked up.
* Improved typings.
* Introduces `asStructure` (see [#8]()) and `asFlat`.
* Improved typings (will be distributed through DefinitelyTyped in the near future)
* Introduces `asStructure` (see #8) and `asFlat`.
* Assigning a plain object to a reactive structure no longer clones the object, instead, the original object is decorated. (Arrays are still cloned due to Javascript limitations to extend arrays).
* Reintroduced `expr(func)` as shorthand for `makeReactive(func)()`, which is useful to create temporarily views inside views
* Deprecated the options object that could be passed to `makeReactive`:
* A `thisArg` can be passed as second param.
* A name (for debugging) can be passed as second or third param
* The `as` modifier is no longer needed, use `asReference` (instead of `as:'reference'`) or `asFlat` (instead of `recurse:false`).
TODO:
* Deprecated the options object that could be passed to `makeReactive`.
# 0.6.10
* Fixed issue where @observable did not properly create a stand-alone view

@@ -21,0 +21,0 @@

{
"name": "mobservable",
"version": "0.7.0",
"description": "Keeps views automatically in sync with state. Unobtrusively.",
"main": "dist/mobservable.js",
"typings": "dist/mobservable",
"scripts": {
"test": "grunt cover",
"prepublish": "grunt builddist"
},
"repository": {
"type": "git",
"url": "https://github.com/mweststrate/mobservable.git"
},
"author": "Michel Weststrate",
"license": "MIT",
"bugs": {
"url": "https://github.com/mweststrate/mobservable/issues"
},
"homepage": "https://mweststrate.github.io/mobservable",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-nodeunit": "^0.4.1",
"grunt-contrib-uglify": "^0.9.1",
"grunt-coveralls": "^1.0.0",
"grunt-exec": "^0.4.6",
"mkdirp": "^0.5.1",
"nodeunit-browser-tap": "^0.1.0",
"typescript": "^1.6.2"
},
"keywords": [
"mobservable",
"observable",
"react-component",
"react",
"reactjs",
"reactive",
"model",
"frp",
"functional-reactive-programming"
]
}
"name": "mobservable",
"version": "1.0.0-alpha.1",
"description": "Keeps views automatically in sync with state. Unobtrusively.",
"main": "dist/mobservable.js",
"typings": "dist/typings/index",
"scripts": {
"test": "npm run build && npm run buildtest && ./node_modules/istanbul/lib/cli.js cover nodeunit test/*.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js ",
"start": "npm run build && npm run buildtest && ./node_modules/nodeunit/bin/nodeunit test/*.js",
"prepublish": "npm run build",
"build": "rm -rf dist && mkdir -p dist/typings && ./node_modules/typescript/bin/tsc && NODE_ENV=production ./node_modules/webpack/bin/webpack.js && cp -r .build/*.d.ts dist/typings",
"buildtest": "cd test && ../node_modules/typescript/bin/tsc && cd ..",
"perf": "npm run build && ./node_modules/nodeunit/bin/nodeunit test/perf/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/mweststrate/mobservable.git"
},
"author": "Michel Weststrate",
"license": "MIT",
"bugs": {
"url": "https://github.com/mweststrate/mobservable/issues"
},
"homepage": "https://mweststrate.github.io/mobservable",
"devDependencies": {
"coveralls": "^2.11.4",
"istanbul": "^0.3.21",
"nodeunit": "^0.9.1",
"nodeunit-browser-tap": "^0.1.0",
"typescript": "^1.6.2",
"webpack": "^1.12.2"
},
"keywords": [
"mobservable",
"observable",
"react-component",
"react",
"reactjs",
"reactive",
"model",
"frp",
"functional-reactive-programming"
]
}

@@ -158,2 +158,7 @@ # mobservable

* Write blog about inner workings
* Introduce options for asynchronous views and structurally compare view results
* Introduce options for asynchronous views and structurally compare view results
## Contributing
* Feel free to send pr requests.
* Use `npm start` to run the basic test suite, `npm test` for the test suite with coverage and `npm run perf` for the performance tests.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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