knifecycle
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -43,3 +43,3 @@ 'use strict'; | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* | ||
@@ -59,3 +59,3 @@ * const $ = new Knifecycle(); | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* | ||
@@ -77,3 +77,3 @@ * const $ = Knifecycle.getInstance(); | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* | ||
@@ -100,3 +100,3 @@ * const $ = new Knifecycle(); | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* import fs from 'fs'; | ||
@@ -146,3 +146,3 @@ * | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* import fs from 'fs'; | ||
@@ -149,0 +149,0 @@ * |
{ | ||
"name": "knifecycle", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Manage your NodeJS processes's lifecycle.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -252,3 +252,3 @@ # knifecycle | ||
## Functions | ||
## API | ||
@@ -274,3 +274,3 @@ <dl> | ||
</dd> | ||
<dt><a href="#_getServiceDescriptor">_getServiceDescriptor(siloContext, serviceName, serviceProvider)</a> ⇒ <code>Promise</code></dt> | ||
<dt><a href="#_getServiceDescriptor">_getServiceDescriptor(siloContext, injectOnly, serviceName, serviceProvider)</a> ⇒ <code>Promise</code></dt> | ||
<dd><p>Initialize or return a service descriptor</p> | ||
@@ -281,3 +281,3 @@ </dd> | ||
</dd> | ||
<dt><a href="#_initializeDependencies">_initializeDependencies(siloContext, serviceName, servicesNames)</a> ⇒ <code>Promise</code></dt> | ||
<dt><a href="#_initializeDependencies">_initializeDependencies(siloContext, serviceName, servicesNames, injectOnly)</a> ⇒ <code>Promise</code></dt> | ||
<dd><p>Initialize a service dependencies</p> | ||
@@ -296,3 +296,3 @@ </dd> | ||
```js | ||
import Knifecycle from 'sf-knifecycle' | ||
import Knifecycle from 'knifecycle' | ||
@@ -316,3 +316,3 @@ const $ = Knifecycle.getInstance(); | ||
```js | ||
import Knifecycle from 'sf-knifecycle' | ||
import Knifecycle from 'knifecycle' | ||
@@ -339,3 +339,3 @@ const $ = new Knifecycle(); | ||
```js | ||
import Knifecycle from 'sf-knifecycle' | ||
import Knifecycle from 'knifecycle' | ||
import fs from 'fs'; | ||
@@ -378,3 +378,3 @@ | ||
```js | ||
import Knifecycle from 'sf-knifecycle' | ||
import Knifecycle from 'knifecycle' | ||
import fs from 'fs'; | ||
@@ -457,3 +457,3 @@ | ||
## _getServiceDescriptor(siloContext, serviceName, serviceProvider) ⇒ <code>Promise</code> | ||
## _getServiceDescriptor(siloContext, injectOnly, serviceName, serviceProvider) ⇒ <code>Promise</code> | ||
Initialize or return a service descriptor | ||
@@ -467,2 +467,3 @@ | ||
| siloContext | <code>Object</code> | Current execution silo context | | ||
| injectOnly | <code>Boolean</code> | Flag indicating if existing services only should be used | | ||
| serviceName | <code>String</code> | Service name. | | ||
@@ -487,3 +488,3 @@ | serviceProvider | <code>String</code> | Service provider. | | ||
## _initializeDependencies(siloContext, serviceName, servicesNames) ⇒ <code>Promise</code> | ||
## _initializeDependencies(siloContext, serviceName, servicesNames, injectOnly) ⇒ <code>Promise</code> | ||
Initialize a service dependencies | ||
@@ -494,6 +495,7 @@ | ||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| siloContext | <code>Object</code> | Current execution silo siloContext | | ||
| serviceName | <code>String</code> | Service name. | | ||
| servicesNames | <code>String</code> | Dependencies names. | | ||
| Param | Type | Default | Description | | ||
| --- | --- | --- | --- | | ||
| siloContext | <code>Object</code> | | Current execution silo siloContext | | ||
| serviceName | <code>String</code> | | Service name. | | ||
| servicesNames | <code>String</code> | | Dependencies names. | | ||
| injectOnly | <code>Boolean</code> | <code>false</code> | Flag indicating if existing services only should be used | |
@@ -25,3 +25,3 @@ import YError from 'yerror'; | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* | ||
@@ -39,3 +39,3 @@ * const $ = new Knifecycle(); | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* | ||
@@ -57,3 +57,3 @@ * const $ = Knifecycle.getInstance(); | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* | ||
@@ -80,3 +80,3 @@ * const $ = new Knifecycle(); | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* import fs from 'fs'; | ||
@@ -125,3 +125,3 @@ * | ||
* | ||
* import Knifecycle from 'sf-knifecycle' | ||
* import Knifecycle from 'knifecycle' | ||
* import fs from 'fs'; | ||
@@ -128,0 +128,0 @@ * |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80836
491
102
2
2
4