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

adonis-fold

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adonis-fold - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

22

CHANGELOG.md

@@ -0,1 +1,23 @@

<a name="3.0.2"></a>
## 3.0.2 (2016-06-26)
### Bug Fixes
* **Ioc:** do not transform output after calling hooks([8bc17ef](https://github.com/poppinss/adonis-fold/commit/8bc17ef))
### Features
* **ioc:** add support for makePlain property([33ab0bf](https://github.com/poppinss/adonis-fold/commit/33ab0bf))
* **ioc:** Ioc.extend to pass all args to manager extend method([082060c](https://github.com/poppinss/adonis-fold/commit/082060c))
* **package.json:** Added commitizen([8a8fd3c](https://github.com/poppinss/adonis-fold/commit/8a8fd3c))
### Performance Improvements
* **ioc,registerar:** triming namespaces and providers, improved var initialization for v8([c5e04ad](https://github.com/poppinss/adonis-fold/commit/c5e04ad))
<a name="3.0.1"></a>

@@ -2,0 +24,0 @@ ## 3.0.1 (2016-04-30)

6

package.json
{
"name": "adonis-fold",
"version": "3.0.1",
"version": "3.0.2",
"description": "Dependency manager and ioc container for your next NodeJs application",

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

"scripts": {
"test": "npm run standard && istanbul cover _mocha --report lcovonly -- -R spec test/unit && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"test": "npm run lint && istanbul cover _mocha --report lcovonly -- -R spec test/unit && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"coverage": "istanbul cover _mocha test/unit --bail",
"standard": "standard src/**/*.js test/**/*.spec.js"
"lint": "standard src/**/*.js test/**/*.spec.js"
},

@@ -15,0 +15,0 @@ "author": "adonisjs",

@@ -124,6 +124,7 @@ 'use strict'

_.each(extender, function (item) {
const closure = item.closure
const key = item.key
const defination = closure(Ioc)
manager.extend(key, defination)
const args = item.args
const closureOutput = item.closure(Ioc)
const methodArgs = [key, closureOutput].concat(args)
manager.extend.apply(manager, methodArgs)
})

@@ -301,5 +302,6 @@ providerExtenders[namespace] = []

}
const args = _.drop(_.toArray(arguments), 3)
log.verbose('extending %s', namespace)
providerExtenders[namespace] = providerExtenders[namespace] || []
providerExtenders[namespace].push({key, closure})
providerExtenders[namespace].push({key, closure, args})
}

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