New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hops-bootstrap

Package Overview
Dependencies
Maintainers
4
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hops-bootstrap - npm Package Compare versions

Comparing version 13.0.0-rc.0 to 13.0.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [13.0.0](https://github.com/xing/hops/compare/v13.0.0-rc.0...v13.0.0) (2020-09-28)
### Bug Fixes
* update dependency enhanced-resolve to v5 ([4842d30](https://github.com/xing/hops/commit/4842d307931699b3d5aef656a8b0900e038be768))
# [13.0.0-rc.0](https://github.com/xing/hops/compare/v13.0.0-alpha.2...v13.0.0-rc.0) (2020-09-07)

@@ -8,0 +19,0 @@

6

lib/config.js

@@ -20,3 +20,3 @@ 'use strict';

exports.getConfig = ({ untoolNamespace = 'hops', ...overrides } = {}) => {
exports.getConfig = (overrides = {}) => {
const pkgFile = findUp('package.json');

@@ -46,3 +46,3 @@ const pkgData = require(pkgFile);

};
const settings = loadConfig(untoolNamespace, pkgData, rootDir);
const settings = loadConfig(pkgData, rootDir);

@@ -59,3 +59,3 @@ const merge = mergeFactory(getMixinSortOrder(settings, overrides));

_workspace: lockFile ? dirname(lockFile) : rootDir,
_overrides: { untoolNamespace, ...overrides },
_overrides: overrides,
};

@@ -62,0 +62,0 @@ debug(config);

@@ -12,8 +12,7 @@ 'use strict';

class Loader {
constructor(namespace, pkgData) {
this.namespace = namespace;
constructor(pkgData) {
this.pkgData = pkgData;
}
load(context, module) {
const { load } = cosmiconfig(this.namespace);
const { load } = cosmiconfig('hops');
const presetJsFilePath = resolvePreset(context, module);

@@ -24,3 +23,3 @@ const loadedPreset = load(presetJsFilePath);

search(stopDir) {
const { search } = cosmiconfig(this.namespace, { stopDir });
const { search } = cosmiconfig('hops', { stopDir });
return search(stopDir);

@@ -82,4 +81,4 @@ }

exports.loadConfig = (namespace, pkgData, rootDir) => {
const loader = new Loader(namespace, pkgData);
exports.loadConfig = (pkgData, rootDir) => {
const loader = new Loader(pkgData);

@@ -86,0 +85,0 @@ const settings = loader.loadSettings(rootDir);

{
"name": "hops-bootstrap",
"version": "13.0.0-rc.0",
"version": "13.0.0",
"description": "Hops bootstrap",

@@ -20,3 +20,3 @@ "repository": {

"dotenv": "^8.1.0",
"enhanced-resolve": "^4.1.1",
"enhanced-resolve": "^5.0.0",
"escape-string-regexp": "^4.0.0",

@@ -33,3 +33,3 @@ "find-up": "^5.0.0",

},
"gitHead": "92230c1e4886e49ab13c10547beb0f26fcd440c5"
"gitHead": "ea2d2b03a2c3583cf2aa4e49d1fa5f2a44cb9ee6"
}
# `hops-bootstrap`
`hops-bootstrap` is the functional foundation every other `hops` component is built upon. It contains a comprehensive configuration engine and a mixin base class.
`hops-bootstrap` is the functional foundation every other `hops` component is built upon. It contains a comprehensive configuration engine and takes care of loading mixins and presets.

@@ -35,3 +35,3 @@ ### Installation

```bash
$ PORT=12345 un start
$ PORT=12345 hops start
```

@@ -234,2 +234,2 @@

You will only ever have to call it if you want to use `hops-bootstrap` programmatically. You can pass it an `configOverrides` object that will be merged into the main config object, and and options object mixins might use instead of CLI arguments.
You will only ever have to call it if you want to use `hops-bootstrap` programmatically. You can pass it an `configOverrides` object that will be merged into the main config object, and an options object mixins might use instead of CLI arguments.
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