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

fount

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fount - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "fount",
"version": "0.0.2",
"version": "0.0.3",
"description": "A source from which dependencies flow",

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

@@ -108,3 +108,3 @@ # Fount

```javascript
fount.register( 'calculator', function() { function( x, y ) { return x + y; } } );
fount.register( 'calculator', function() { return function( x, y ) { return x + y; }; } );
```

@@ -145,6 +145,6 @@

// where 'a' and 'b' have been registered
fount.inject( [ 'a', 'b' ], function( a, b) { ... } );
fount.inject( [ 'a', 'b' ], function( a, b ) { ... } );
// within custom scope -- requires a and/or b to have been registered with 'scoped' lifecycle
fount.inject( [ 'a', 'b' ], function( a, b) { ... }, 'myScope' );
fount.inject( [ 'a', 'b' ], function( a, b ) { ... }, 'myScope' );

@@ -151,0 +151,0 @@ // using keys across multiple containers

@@ -205,5 +205,7 @@ var should = require( 'should' );

var result;
before( function() {
before( function( done ) {
fount.inject( [ 'eStatic' ], function( e ) {
result = e;
} ).then( function () {
done();
} );

@@ -210,0 +212,0 @@ } );

@@ -33,3 +33,3 @@ var _ = require( 'lodash' );

} );
promise = whenFn.apply( fn, args );
return whenFn.apply( fn, args );
}

@@ -36,0 +36,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