ancient-funicular
Advanced tools
Comparing version 4.1.0 to 4.1.1
{ | ||
"name": "ancient-funicular", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Abstract hierarchical life cycle of the mount.", | ||
@@ -17,19 +17,20 @@ "bugs": "https://github.com/AncientSouls/Funicular/issues", | ||
"dependencies": { | ||
"lodash": "^4.17.5", | ||
"ancient-mixins": "^0.0.11", | ||
"ancient-cursor": "^0.2.7" | ||
"ancient-cursor": "^0.2.10", | ||
"ancient-mixins": "^0.0.13", | ||
"lodash": "^4.17.10" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^2.2.48", | ||
"@types/node": "^9.4.6", | ||
"@types/mocha": "^5.2.0", | ||
"@types/node": "^10.0.2", | ||
"async": "^2.6.0", | ||
"chai": "^4.1.2", | ||
"mocha": "^5.0.1", | ||
"mocha": "^5.1.1", | ||
"np": "^2.20.1", | ||
"source-map-support": "^0.5.3", | ||
"source-map-support": "^0.5.5", | ||
"ts-node": "^6.0.2", | ||
"tslint": "^5.9.1", | ||
"tslint-config-airbnb": "^5.7.0", | ||
"tslint-config-airbnb": "^5.8.0", | ||
"tslint-eslint-rules": "^5.1.0", | ||
"typescript": "^2.7.2" | ||
"typescript": "^2.8.3" | ||
} | ||
} |
@@ -17,3 +17,2 @@ "use strict"; | ||
const cursor_1 = require("ancient-cursor/lib/cursor"); | ||
const childs_cursors_manager_1 = require("ancient-cursor/lib/childs-cursors-manager"); | ||
const funicular_1 = require("../lib/funicular"); | ||
@@ -28,4 +27,4 @@ const funiculars_manager_1 = require("../lib/funiculars-manager"); | ||
const base = new cursor_1.Cursor(); | ||
const ccm = new childs_cursors_manager_1.ChildsCursorsManager(); | ||
base.on('changed', ccm.maintain('')); | ||
const sprayed = new manager_1.Manager(); | ||
base.on('changed', cursor_1.spray('', sprayed)); | ||
const all = new ExecutableFunicularsManager(); | ||
@@ -60,3 +59,3 @@ class TestFunicular extends ExecutableFunicular { | ||
newChild.on('mounted', () => callback(newChild)); | ||
newChild.mount(ccm.list.nodes[newChild.id]); | ||
newChild.mount(sprayed.list.nodes[newChild.id]); | ||
} | ||
@@ -137,3 +136,3 @@ } | ||
f.on('emit', ({ eventName }) => emits.push(eventName)); | ||
yield f.mount(ccm.list.nodes[f.id]); | ||
yield f.mount(sprayed.list.nodes[f.id]); | ||
chai_1.assert.deepEqual(emits, [ | ||
@@ -140,0 +139,0 @@ 'mounting', |
@@ -15,3 +15,3 @@ "use strict"; | ||
const cursor_1 = require("ancient-cursor/lib/cursor"); | ||
const childs_cursors_manager_1 = require("ancient-cursor/lib/childs-cursors-manager"); | ||
const manager_1 = require("ancient-mixins/lib/manager"); | ||
const funicular_1 = require("../lib/funicular"); | ||
@@ -24,4 +24,4 @@ const funiculars_manager_1 = require("../lib/funiculars-manager"); | ||
const base = new cursor_1.Cursor(); | ||
const ccm = new childs_cursors_manager_1.ChildsCursorsManager(); | ||
base.on('changed', ccm.maintain('')); | ||
const sprayed = new manager_1.Manager(); | ||
base.on('changed', cursor_1.spray('', sprayed)); | ||
const all = new funiculars_manager_1.FunicularsManager(); | ||
@@ -56,3 +56,3 @@ class TestFunicular extends funicular_1.Funicular { | ||
newChild.on('mounted', () => callback(newChild)); | ||
newChild.mount(ccm.list.nodes[newChild.id]); | ||
newChild.mount(sprayed.list.nodes[newChild.id]); | ||
} | ||
@@ -99,3 +99,3 @@ } | ||
f.on('emit', ({ eventName }) => emits.push(eventName)); | ||
yield f.mount(ccm.list.nodes[f.id]); | ||
yield f.mount(sprayed.list.nodes[f.id]); | ||
chai_1.assert.deepEqual(emits, [ | ||
@@ -102,0 +102,0 @@ 'mounting', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
47900
26
698
12
- Removedancient-mixins@0.0.11(transitive)
Updatedancient-cursor@^0.2.10
Updatedancient-mixins@^0.0.13
Updatedlodash@^4.17.10