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

fable

Package Overview
Dependencies
Maintainers
2
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fable - npm Package Compare versions

Comparing version 3.0.123 to 3.0.124

2

package.json
{
"name": "fable",
"version": "3.0.123",
"version": "3.0.124",
"description": "Anentity behavior management and API bundling library.",

@@ -5,0 +5,0 @@ "main": "source/Fable.js",

@@ -118,3 +118,3 @@ /**

// TODO: Check if any services are running?
this.log.warn(`Adding a service type [${pServiceType}] that already exists.`);
this.log.warn(`Adding a service type [${pServiceType}] that already exists. This will change the default class prototype for this service.`);
}

@@ -142,4 +142,18 @@ else

}
return this.serviceClasses[pServiceType];
}
addServiceTypeIfNotExists(pServiceType, pServiceClass)
{
if (!this.servicesMap.hasOwnProperty(pServiceType))
{
return this.addServiceType(pServiceType, pServiceClass);
}
else
{
return this.serviceClasses[pServiceType];
}
}
// This is for the services that are meant to run mostly single-instance so need a default at initialization

@@ -192,2 +206,14 @@ addAndInstantiateServiceType(pServiceType, pServiceClass)

instantiateServiceProviderIfNotExists(pServiceType, pOptions, pCustomServiceHash)
{
if (this.services.hasOwnProperty(pServiceType))
{
return this.services[pServiceType];
}
else
{
return this.instantiateServiceProvider(pServiceType, pOptions, pCustomServiceHash);
}
}
// Create a service provider but don't register it to live forever in fable.services

@@ -194,0 +220,0 @@ instantiateServiceProviderWithoutRegistration(pServiceType, pOptions, pCustomServiceHash)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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