state-tree
Advanced tools
Comparing version 0.1.18 to 0.2.1
{ | ||
"name": "state-tree", | ||
"version": "0.1.18", | ||
"version": "0.2.1", | ||
"description": "A state tree that handles reference updates and lets you flush a description of changes", | ||
"main": "src/index.js", | ||
"main": "index.js", | ||
"directories": { | ||
@@ -10,7 +10,10 @@ "test": "tests" | ||
"scripts": { | ||
"test": "nodeunit tests" | ||
"pretest": "npm run build", | ||
"test": "nodeunit tests", | ||
"build": "tsc", | ||
"prepublish": "npm run build" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/christianalfoni/state-tree.git" | ||
"url": "git+https://github.com/cerebral/state-tree.git" | ||
}, | ||
@@ -21,11 +24,15 @@ "keywords": [ | ||
], | ||
"author": "Christian Alfoni", | ||
"author": "Christian Alfoni <christianalfoni@gmail.com>", | ||
"contributors": [ | ||
"Aleksey Guryanov <gurianov@gmail.com>" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/christianalfoni/state-tree/issues" | ||
"url": "https://github.com/cerebral/state-tree/issues" | ||
}, | ||
"homepage": "https://github.com/christianalfoni/state-tree#readme", | ||
"homepage": "https://github.com/cerebral/state-tree#readme", | ||
"devDependencies": { | ||
"nodeunit": "^0.9.1" | ||
"nodeunit": "^0.9.1", | ||
"typescript": "^1.8.10" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -45,4 +45,4 @@ function log(obj) { | ||
test.deepEqual(lib.get('bar')['.referencePaths'], [['bar'], ['bar2']]); | ||
test.deepEqual(lib.get('foo2')['.referencePaths'], [['foo'], ['foo2']]); | ||
test.deepEqual(lib.get('bar2')['.referencePaths'], [['bar'], ['bar2']]); | ||
test.equal(lib.get('foo'), lib.get('foo2')); | ||
test.equal(lib.get('bar'), lib.get('bar2')); | ||
test.done(); | ||
@@ -53,3 +53,2 @@ }; | ||
var obj = {foo: 'bar'}; | ||
var array = []; | ||
var lib = Lib({ | ||
@@ -56,0 +55,0 @@ list: [{ |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -48,3 +48,3 @@ function log(obj) { | ||
exports['should show change on nested set'] = function (test) { | ||
exports['should show change on nested array set'] = function (test) { | ||
var obj = { foo: 'bar' }; | ||
@@ -51,0 +51,0 @@ var lib = Lib({ |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
@@ -1,2 +0,2 @@ | ||
var Lib = require('../src'); | ||
var Lib = require('../'); | ||
@@ -3,0 +3,0 @@ function log(obj) { |
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
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
39180
26
990
2