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.16.1 to 5.16.2

4

changelog.md

@@ -0,1 +1,5 @@

# [5.16.2](https://github.com/TehShrike/abstract-state-router/releases/tag/v5.16.2)
- drop dependencies on the `process` and `events` polyfills and bump hash-brown-router dependency, saving about 25KB
# [5.16.1](https://github.com/TehShrike/abstract-state-router/releases/tag/v5.16.1)

@@ -2,0 +6,0 @@

7

index.js

@@ -12,3 +12,3 @@ var StateState = require('./lib/state-state')

var EventEmitter = require('events')
var EventEmitter = require('eventemitter3')
var extend = require('xtend')

@@ -18,2 +18,3 @@ var newHashBrownRouter = require('hash-brown-router')

var buildPath = require('page-path-builder')
var nextTick = require('iso-next-tick')

@@ -53,3 +54,3 @@ require('native-promise-only/npo')

function handleError(event, err) {
process.nextTick(function() {
nextTick(function() {
stateProviderEmitter.emit(event, err)

@@ -284,3 +285,3 @@ console.error(event + ' - ' + err.message)

} catch (e) {
process.nextTick(function() {
nextTick(function() {
throw e

@@ -287,0 +288,0 @@ })

{
"name": "abstract-state-router",
"version": "5.16.1",
"version": "5.16.2",
"description": "Like ui-router, but without all the Angular. The best way to structure a single-page webapp.",

@@ -30,3 +30,5 @@ "main": "index.js",

"combine-arrays": "~1.0.2",
"hash-brown-router": "~3.1.0",
"eventemitter3": "2.0.3",
"hash-brown-router": "~3.2.0",
"iso-next-tick": "1.0.0",
"native-promise-only": "0.8.1",

@@ -33,0 +35,0 @@ "page-path-builder": "~1.0.3",

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