hops-bootstrap
Advanced tools
Comparing version 13.0.0-alpha.2 to 13.0.0-rc.0
@@ -6,2 +6,14 @@ # Change Log | ||
# [13.0.0-rc.0](https://github.com/xing/hops/compare/v13.0.0-alpha.2...v13.0.0-rc.0) (2020-09-07) | ||
### Bug Fixes | ||
* update dependency cosmiconfig to v7 ([44e0f84](https://github.com/xing/hops/commit/44e0f84dfb464e2e9df776f4636185fbaf126c04)) | ||
* update dependency find-up to v5 ([ce11652](https://github.com/xing/hops/commit/ce1165227b2a0782f6e945e0a1c8de8adb1a4ea9)) | ||
# [13.0.0-alpha.2](https://github.com/xing/hops/compare/v13.0.0-alpha.1...v13.0.0-alpha.2) (2020-08-17) | ||
@@ -8,0 +20,0 @@ |
'use strict'; | ||
const debug = require('debug')('hops:bootstrap'); | ||
const isPlainObject = require('is-plain-obj'); | ||
const { define } = require('mixinable'); | ||
@@ -9,10 +8,2 @@ | ||
exports.Mixin = class Mixin { | ||
constructor(config, ...args) { | ||
const options = args[args.length - 1]; | ||
this.config = config; | ||
this.options = isPlainObject(options) ? options : {}; | ||
} | ||
}; | ||
exports.initialize = function initialize(overrides = {}, ...args) { | ||
@@ -19,0 +10,0 @@ const config = getConfig(overrides); |
{ | ||
"name": "hops-bootstrap", | ||
"version": "13.0.0-alpha.2", | ||
"version": "13.0.0-rc.0", | ||
"description": "Hops bootstrap", | ||
@@ -17,3 +17,3 @@ "repository": { | ||
"check-error": "^1.0.2", | ||
"cosmiconfig": "^6.0.0", | ||
"cosmiconfig": "^7.0.0", | ||
"debug": "^4.1.1", | ||
@@ -23,3 +23,3 @@ "dotenv": "^8.1.0", | ||
"escape-string-regexp": "^4.0.0", | ||
"find-up": "^4.1.0", | ||
"find-up": "^5.0.0", | ||
"flat": "^5.0.0", | ||
@@ -34,3 +34,3 @@ "is-plain-obj": "^2.0.0", | ||
}, | ||
"gitHead": "6707bff34bf59a7bd33d30152f1393e35296b3d4" | ||
"gitHead": "92230c1e4886e49ab13c10547beb0f26fcd440c5" | ||
} |
@@ -190,3 +190,3 @@ # `hops-bootstrap` | ||
```javascript | ||
import { Mixin } from 'hops-bootstrap'; | ||
import { Mixin } from 'hops-mixin'; | ||
@@ -206,3 +206,3 @@ class MyMixin extends Mixin { | ||
import { override } from 'mixinable'; | ||
import { Mixin } from 'hops-bootstrap'; | ||
import { Mixin } from 'hops-mixin'; | ||
@@ -209,0 +209,0 @@ class MyMixin extends Mixin { |
33193
668
+ Addedcosmiconfig@7.1.0(transitive)
+ Addedfind-up@5.0.0(transitive)
+ Addedlocate-path@6.0.0(transitive)
+ Addedp-limit@3.1.0(transitive)
+ Addedp-locate@5.0.0(transitive)
+ Addedyocto-queue@0.1.0(transitive)
- Removedcosmiconfig@6.0.0(transitive)
- Removedfind-up@4.1.0(transitive)
- Removedlocate-path@5.0.0(transitive)
- Removedp-limit@2.3.0(transitive)
- Removedp-locate@4.1.0(transitive)
- Removedp-try@2.2.0(transitive)
Updatedcosmiconfig@^7.0.0
Updatedfind-up@^5.0.0