Socket
Socket
Sign inDemoInstall

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 1.0.5 to 1.0.6

6

CHANGELOG.md

@@ -1,3 +0,7 @@

# 1.0.4
# 1.0.6
Fix incompatibility issue with systemjs bundler
# 1.0.4/5
* `map.size` is now a property instead of a function

@@ -4,0 +8,0 @@ * `map()` now accepts an array as entries to construct the new map

4

lib/core.js

@@ -39,3 +39,3 @@ /**

case ValueType.ComplexFunction:
throw new Error("[mobservable.observable] To be able to make a function reactive it shoul dnot have arguments. If you need an observable reference to a function, use `observable(asReference(f))`");
throw new Error("[mobservable.observable] To be able to make a function reactive it should not have arguments. If you need an observable reference to a function, use `observable(asReference(f))`");
case ValueType.ViewFunction: {

@@ -213,2 +213,4 @@ var context = {

}
if (isObservable(source) && source.$mobservable instanceof observablevalue_1.ObservableValue)
return source();
return source;

@@ -215,0 +217,0 @@ }

{
"name": "mobservable",
"version": "1.0.5",
"version": "1.0.6",
"description": "Observable data. Reactive functions. Simple code.",
"main": "index.js",
"main": "lib/index.js",
"typings": "lib/index.d.ts",

@@ -10,4 +10,5 @@ "scripts": {

"test-browser": "npm run buildtest && ( browserify test/*.js | tape-run )",
"test-travis": "npm run clean && npm run test-browser && istanbul cover tape test/*.js",
"coverage": "npm run buildtest && istanbul cover tape test/*.js && cat ./coverage/lcov.info|coveralls",
"perf": "npm run build && time nodeunit test/perf/*.js",
"perf": "npm run build && time tape test/perf/*.js",
"prepublish": "npm run clean && npm run build-dist",

@@ -34,3 +35,2 @@ "clean": "rm -rf lib/ dist/",

"babel": "^5.8.23",
"babelify": "^6.4.0",
"browserify": "^12.0.1",

@@ -37,0 +37,0 @@ "coveralls": "^2.11.4",

Sorry, the diff of this file is not supported yet

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