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 3.6.0 to 3.6.1

12

index.js

@@ -40,3 +40,4 @@ var StateState = require('./state-state')

function destroyStateName(stateName) {
activeEmitters[stateName]('destroy')
activeEmitters[stateName].emit('destroy')
activeEmitters[stateName].removeAllListeners()
delete activeEmitters[stateName]

@@ -50,3 +51,3 @@ delete activeStateResolveContent[stateName]

function resetStateName(stateName) {
activeEmitters[stateName]('destroy')
activeEmitters[stateName].emit('destroy')
delete activeEmitters[stateName]

@@ -174,3 +175,4 @@ delete activeStateResolveContent[stateName]

return stateNames.map(prototypalStateHolder.get).forEach(function(state) {
var context = new EventEmitter()
var emitter = new EventEmitter()
var context = Object.create(emitter)
extend(context, {

@@ -182,5 +184,3 @@ domApi: activeDomApis[state.name],

})
activeEmitters[state.name] = function emit() {
context.emit.apply(context, arguments)
}
activeEmitters[state.name] = emitter

@@ -187,0 +187,0 @@ try {

{
"name": "abstract-state-router",
"version": "3.6.0",
"version": "3.6.1",
"description": "The basics of a client-side state router ala the AngularJS ui-router, but without any DOM interactions",

@@ -5,0 +5,0 @@ "main": "index.js",

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