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

fable-serviceproviderbase

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fable-serviceproviderbase - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

4

package.json
{
"name": "fable-serviceproviderbase",
"version": "3.0.6",
"version": "3.0.7",
"description": "Simple base classes for fable services.",

@@ -45,3 +45,3 @@ "main": "source/Fable-ServiceProviderBase.js",

"chai": "4.3.7",
"fable": "^3.0.46",
"fable": "^3.0.64",
"mocha": "10.2.0",

@@ -48,0 +48,0 @@ "nyc": "^15.1.0"

@@ -18,12 +18,12 @@ /**

this.serviceType = 'Unknown';
this.serviceType = 'Unknown';
// The hash will be a non-standard UUID ... the UUID service uses this base class!
this.UUID = `CORESVC-${Math.floor((Math.random() * (99999 - 10000)) + 10000)}`;
this.UUID = `CORESVC-${Math.floor((Math.random() * (99999 - 10000)) + 10000)}`;
this.Hash = (typeof(pServiceHash) === 'string') ? pServiceHash : `${this.UUID}`;
this.Hash = (typeof(pServiceHash) === 'string') ? pServiceHash : `${this.UUID}`;
}
static isFableService = true;
static isFableService = true;

@@ -30,0 +30,0 @@ // After fable is initialized, it would be expected to be wired in as a normal service.

@@ -108,3 +108,3 @@ /**

Expect(testFable.serviceManager.services['SimpleService']['SimpleService-123']).to.be.an('object');
Expect(testFable.serviceManager.serviceMap['SimpleService']['SimpleService-123']).to.be.an('object');
}

@@ -121,3 +121,3 @@ );

Expect(testFable.serviceManager.services['SimpleService']['SimpleService-123']).to.be.an('object');
Expect(testFable.serviceManager.serviceMap['SimpleService']['SimpleService-123']).to.be.an('object');

@@ -127,3 +127,3 @@ // The passed-in magic stuff should work too.

Expect(testFable.serviceManager.services['SimpleService']).to.be.an('object');
Expect(testFable.serviceManager.serviceMap['SimpleService']).to.be.an('object');

@@ -146,5 +146,5 @@ testFable.serviceManager.services.SimpleService.doSomething();

testFable.serviceManager.services['SimpleService']['SimpleService-13'].doSomething();
testFable.serviceManager.serviceMap['SimpleService']['SimpleService-13'].doSomething();
Expect(testFable.serviceManager.services['SimpleService']['SimpleService-13']).to.be.an('object');
Expect(testFable.serviceManager.serviceMap['SimpleService']['SimpleService-13']).to.be.an('object');
}

@@ -151,0 +151,0 @@ );

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