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

@adonisjs/ignitor

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/ignitor - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="2.0.5"></a>
## [2.0.5](https://github.com/adonisjs/adonis-ignitor/compare/v2.0.4...v2.0.5) (2018-02-08)
### Reverts
* **helpers:** remove the concept of sharing directories ([4b73862](https://github.com/adonisjs/adonis-ignitor/commit/4b73862))
<a name="2.0.4"></a>

@@ -2,0 +12,0 @@ ## [2.0.4](https://github.com/adonisjs/adonis-ignitor/compare/v2.0.3...v2.0.4) (2018-02-08)

2

package.json
{
"name": "@adonisjs/ignitor",
"version": "2.0.4",
"version": "2.0.5",
"description": "Fire the adonis-app (in good sense)",

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

@@ -30,19 +30,5 @@ 'use strict'

this._appRoot = appRoot
this.directories = {}
}
/**
* Set app directories
*
* @method appDirectories
*
* @param {Object} directories
*
* @return {void}
*/
appDirectories (directories) {
this.directories = Object.freeze(Object.assign({}, directories))
}
/**
* Returns path to the application root

@@ -49,0 +35,0 @@ *

@@ -219,8 +219,3 @@ 'use strict'

_registerHelpers () {
this._fold.ioc.singleton('Adonis/Src/Helpers', () => {
const helpers = new Helpers(this._appRoot)
helpers.appDirectories(DIRECTORIES)
return helpers
})
this._fold.ioc.singleton('Adonis/Src/Helpers', () => new Helpers(this._appRoot))
this._fold.ioc.alias('Adonis/Src/Helpers', 'Helpers')

@@ -227,0 +222,0 @@ debug('registered helpers')

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