@boost/internal
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -6,2 +6,14 @@ # Change Log | ||
### 2.2.1 - 2021-02-08 | ||
#### 📦 Dependencies | ||
- **[packemon]** Update to v0.11. ([20a54dc](https://github.com/milesj/boost/commit/20a54dc)) | ||
**Note:** Version bump only for package @boost/internal | ||
## 2.2.0 - 2021-01-16 | ||
@@ -8,0 +20,0 @@ |
@@ -1,2 +0,2 @@ | ||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } | ||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } | ||
@@ -15,3 +15,7 @@ function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); } | ||
// Generated with Packemon: https://packemon.dev | ||
// Platform: browser, Support: stable, Format: esm | ||
import debug from 'debug'; | ||
/* eslint-disable no-magic-numbers, sort-keys */ | ||
// https://github.com/chalk/ansi-styles/blob/master/index.js#L75 | ||
@@ -25,5 +29,7 @@ function createColor(open) { | ||
var color = { | ||
// States | ||
fail: createColor(31), | ||
mute: createColor(90), | ||
pass: createColor(32), | ||
// Types | ||
filePath: createColor(36), | ||
@@ -76,3 +82,3 @@ moduleName: createColor(33), | ||
return _temp = function (_Error) { | ||
return _temp = /*#__PURE__*/function (_Error) { | ||
_inheritsLoose(InternalError, _Error); | ||
@@ -87,3 +93,3 @@ | ||
_this.code = code; | ||
_this.name = name; | ||
_this.name = name; // If a message was not loaded, we are throwing an unknown error | ||
@@ -99,3 +105,3 @@ if (!_this.message) { | ||
return InternalError; | ||
}(_wrapNativeSuper(Error)), _temp; | ||
}( /*#__PURE__*/_wrapNativeSuper(Error)), _temp; | ||
} | ||
@@ -108,2 +114,3 @@ | ||
} else if (typeof global.window !== 'undefined') { | ||
// @ts-expect-error | ||
envVars = window; | ||
@@ -110,0 +117,0 @@ } |
{ | ||
"name": "@boost/internal", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"release": "1594765247526", | ||
@@ -10,7 +10,8 @@ "description": "Boost internals.", | ||
], | ||
"main": "./lib/index.js", | ||
"main": "./lib/node/index.js", | ||
"module": "./esm/index.js", | ||
"types": "./dts/index.d.ts", | ||
"engines": { | ||
"node": ">=10.3.0" | ||
"node": ">=10.3.0", | ||
"npm": ">=6.1.0" | ||
}, | ||
@@ -40,3 +41,3 @@ "repository": { | ||
}, | ||
"gitHead": "e2c452ee0c15aa7db91d1945e23ac6951028e672" | ||
"gitHead": "3aa9bda270786e931a90e927375c33dddffed14d" | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
30776
19
346
6