abstract-state-router
Advanced tools
Comparing version 5.6.0 to 5.7.0
17
index.js
var StateState = require('./lib/state-state') | ||
var extend = require('extend') | ||
var StateComparison = require('./lib/state-comparison') | ||
var CurrentState = require('./lib/current-state') | ||
var stateChangeLogic = require('./lib/state-change-logic') | ||
var parse = require('./lib/state-string-parser') | ||
var StateTransitionManager = require('./lib/state-transition-manager') | ||
var series = require('./lib/promise-map-series') | ||
var denodeify = require('./lib/denodeify') | ||
var EventEmitter = require('events').EventEmitter | ||
var extend = require('extend') | ||
var newHashBrownRouter = require('hash-brown-router') | ||
var EventEmitter = require('events').EventEmitter | ||
var Promise = require('native-promise-only/npo') | ||
var series = require('promise-map-series') | ||
var parse = require('./lib/state-string-parser') | ||
var combine = require('combine-arrays') | ||
var buildPath = require('page-path-builder') | ||
var StateTransitionManager = require('./lib/state-transition-manager') | ||
var debug = require('debug')('abstract-state-router') | ||
var denodeify = require('./lib/denodeify') | ||
@@ -45,3 +46,3 @@ module.exports = function StateProvider(makeRenderer, rootElement, stateRouterOptions) { | ||
stateProviderEmitter.emit(event, err) | ||
debug(event + ' - ' + err.message) | ||
console.error(event + ' - ' + err.message) | ||
if (stateRouterOptions.throwOnError) { | ||
@@ -48,0 +49,0 @@ throw err |
@@ -0,1 +1,3 @@ | ||
// Pulled from https://github.com/then/promise/blob/master/src/node-extensions.js | ||
module.exports = function (fn) { | ||
@@ -2,0 +4,0 @@ return function() { |
{ | ||
"name": "abstract-state-router", | ||
"version": "5.6.0", | ||
"version": "5.7.0", | ||
"description": "The basics of a client-side state router ala the AngularJS ui-router, but without any DOM interactions", | ||
@@ -30,3 +30,2 @@ "main": "index.js", | ||
"combine-arrays": "~1.0.2", | ||
"debug": "~2.2.0", | ||
"extend": "~2.0.1", | ||
@@ -36,4 +35,3 @@ "hash-brown-router": "~1.5.0", | ||
"page-path-builder": "~1.0.2", | ||
"path-to-regexp-with-reversible-keys": "~1.0.3", | ||
"promise-map-series": "~0.2.1" | ||
"path-to-regexp-with-reversible-keys": "~1.0.3" | ||
}, | ||
@@ -40,0 +38,0 @@ "devDependencies": { |
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
102111
6
35
2644
- Removeddebug@~2.2.0
- Removedpromise-map-series@~0.2.1
- Removeddebug@2.2.0(transitive)
- Removedms@0.7.1(transitive)
- Removedpromise-map-series@0.2.3(transitive)
- Removedrsvp@3.6.2(transitive)