Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abstract-state-router

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-state-router - npm Package Compare versions

Comparing version 5.6.0 to 5.7.0

lib/promise-map-series.js

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": {

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