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

fable

Package Overview
Dependencies
Maintainers
1
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 0.1.1 to 0.1.2

2

package.json
{
"name": "fable",
"version": "0.1.1",
"version": "0.1.2",
"description": "An entity behavior management and API bundling library.",

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

@@ -32,2 +32,3 @@ /**

{
addServices: addServices,
new: createNew

@@ -37,14 +38,2 @@ });

/**
* Settings
*
* @property settings
* @type Object
*/
Object.defineProperty(tmpNewFableObject, 'settings',
{
get: function() { return _Settings.settings; },
enumerable: false
});
/**
* Settings Management Library

@@ -61,15 +50,43 @@ *

/**
* Log Streams
*
* @property log
* @type Object
*/
Object.defineProperty(tmpNewFableObject, 'log',
{
get: function() { return _Log; },
enumerable: false
});
var addServices = function(pObject)
{
/**
* Fable Pass-through
*
* @property fable
*/
Object.defineProperty(pObject, 'fable',
{
get: function() { return tmpNewFableObject; },
enumerable: false
})
/**
* Settings
*
* @property settings
* @type Object
*/
Object.defineProperty(pObject, 'settings',
{
get: function() { return _Settings.settings; },
enumerable: false
});
/**
* Log Streams
*
* @property log
* @type Object
*/
Object.defineProperty(pObject, 'log',
{
get: function() { return _Log; },
enumerable: false
});
}
// Add services to ourself.
addServices(tmpNewFableObject);
return tmpNewFableObject;

@@ -76,0 +93,0 @@ }

@@ -44,2 +44,4 @@ /**

.that.is.a('object');
Expect(testFable).to.have.a.property('fable')
.that.is.a('object');
Expect(testFable.settings.Product)

@@ -46,0 +48,0 @@ .to.equal('Fable')

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