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 14.0.0-nightly.3 to 14.0.0-nightly.4

12

CHANGELOG.md

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

# [14.0.0-nightly.4](https://github.com/xing/hops/compare/v14.0.0-nightly.3...v14.0.0-nightly.4) (2020-12-07)
### Bug Fixes
* **bootstrap:** do not try to resolve ESM packages for presets ([e00c047](https://github.com/xing/hops/commit/e00c047c21eec896a4e00b7b2383771271b6cd63))
* update dependency supports-color to v8 ([910aba9](https://github.com/xing/hops/commit/910aba9e16ebefab136db29c9eb242a59f548cbf))
# [14.0.0-nightly.3](https://github.com/xing/hops/compare/v14.0.0-nightly.2...v14.0.0-nightly.3) (2020-11-20)

@@ -8,0 +20,0 @@

9

lib/loader.js

@@ -9,3 +9,8 @@ 'use strict';

const { merge: mergeFactory, getMixinSortOrder } = require('./utils');
const { resolve, resolvePreset, isResolveError } = require('./resolver');
const {
resolve,
resolvePreset,
isResolveError,
isESMExportsError,
} = require('./resolver');

@@ -34,3 +39,3 @@ class Loader {

} catch (error) {
if (!isResolveError(error)) throw error;
if (!(isResolveError(error) || isESMExportsError(error))) throw error;
throw new Error(`Can't find preset '${preset}' in '${context}'`);

@@ -37,0 +42,0 @@ }

@@ -45,1 +45,6 @@ 'use strict';

exports.isResolveError = (error) => compatibleMessage(error, /^Can't resolve/);
exports.isESMExportsError = (error) =>
compatibleMessage(
error,
/^Package path .\/package\.json is not exported from package/
);
{
"name": "hops-bootstrap",
"version": "14.0.0-nightly.3",
"version": "14.0.0-nightly.4",
"description": "Hops bootstrap",

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

"mixinable": "^5.0.1",
"supports-color": "^7.1.0"
"supports-color": "^8.0.0"
},

@@ -33,3 +33,3 @@ "engines": {

},
"gitHead": "23a49d771b31a4a901749f82740f3eb3253f8893"
"gitHead": "92be19e7a93f99b437ed2c33f0637881632d9728"
}
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