mobservable
Advanced tools
Comparing version 1.0.3 to 1.0.5
@@ -0,1 +1,8 @@ | ||
# 1.0.4 | ||
* `map.size` is now a property instead of a function | ||
* `map()` now accepts an array as entries to construct the new map | ||
* introduced `isObservableObject`, `isObservableArray` and `isObservableMap` | ||
* introduced `observe`, to observe observable arrays, objects and maps, similarly to Object.observe and Array.observe | ||
# 1.0.3 | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "mobservable", | ||
"version": "1.0.3", | ||
"version": "1.0.5", | ||
"description": "Observable data. Reactive functions. Simple code.", | ||
"main": "dist/mobservable.js", | ||
"typings": "dist/typings/index", | ||
"main": "index.js", | ||
"typings": "lib/index.d.ts", | ||
"scripts": { | ||
"test": "npm run build && npm run buildtest && istanbul cover nodeunit test/*.js && cat ./coverage/lcov.info | coveralls ", | ||
"start": "npm run build && npm run buildtest && nodeunit test/*.js", | ||
"prepublish": "npm run build", | ||
"build": "rm -rf dist && mkdir -p dist/typings && tsc && NODE_ENV=production webpack && cp -r .build/*.d.ts dist/typings", | ||
"buildtest": "npm run build-typescript-tests && npm run build-babel-tests", | ||
"build-typescript-tests": "tsc -m commonjs -t es5 --experimentalDecorators --outDir test test/typescript/typescript-test.ts", | ||
"build-babel-tests": "babel --stage 0 test/babel/babel-test.js -o test/babel-test.js", | ||
"perf": "npm run build && nodeunit test/perf/*.js" | ||
"test": "npm run buildtest && tape test/*.js", | ||
"test-browser": "npm run buildtest && ( browserify test/*.js | tape-run )", | ||
"coverage": "npm run buildtest && istanbul cover tape test/*.js && cat ./coverage/lcov.info|coveralls", | ||
"perf": "npm run build && time nodeunit test/perf/*.js", | ||
"prepublish": "npm run clean && npm run build-dist", | ||
"clean": "rm -rf lib/ dist/", | ||
"build": "tsc", | ||
"clean-build": "npm run clean && npm run build", | ||
"build-dist": "npm run build && webpack && uglifyjs --in-source-map dist/mobservable.js.map -s dist/mobservable.js --source-map dist/mobservable.min.js.map -o dist/mobservable.min.js", | ||
"buildtest": "npm run build && npm run build-typescript-tests && npm run build-babel-tests", | ||
"build-typescript-tests": "tsc -m commonjs -t es5 --experimentalDecorators --outDir test test/typescript-tests.ts", | ||
"build-babel-tests": "babel --stage 0 test/babel/babel-tests.js -o test/babel-tests.js" | ||
}, | ||
@@ -29,7 +33,10 @@ "repository": { | ||
"babel": "^5.8.23", | ||
"babelify": "^6.4.0", | ||
"browserify": "^12.0.1", | ||
"coveralls": "^2.11.4", | ||
"istanbul": "^0.3.21", | ||
"nodeunit": "^0.9.1", | ||
"nodeunit-browser-tap": "^0.1.0", | ||
"tape": "^4.2.2", | ||
"tape-run": "^2.1.0", | ||
"typescript": "^1.6.2", | ||
"uglify-js": "^2.5.0", | ||
"webpack": "^1.12.2" | ||
@@ -36,0 +43,0 @@ }, |
@@ -120,2 +120,2 @@ # mobservable | ||
* 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. | ||
* Use `npm test` to run the basic test suite, `npm run converage` for the test suite with coverage and `npm run perf` for the performance tests. |
Sorry, the diff of this file is not supported yet
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
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
164084
45
10
2019
1