Comparing version 6.0.2 to 6.1.0
@@ -0,1 +1,10 @@ | ||
# [6.1.0](https://github.com/nfroidure/yerror/compare/v6.0.2...v6.1.0) (2022-05-27) | ||
### Features | ||
* **api:** export class as non-default for ESM compatibility ([355a929](https://github.com/nfroidure/yerror/commit/355a92922300e5e4730d30da6be35e84d8552585)) | ||
## [6.0.2](https://github.com/nfroidure/yerror/compare/v6.0.1...v6.0.2) (2022-05-25) | ||
@@ -2,0 +11,0 @@ |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports.default = exports.YError = void 0; | ||
@@ -104,2 +104,4 @@ var _os = _interopRequireDefault(require("os")); | ||
exports.YError = YError; | ||
YError.wrap = function yerrorWrap(err, errorCode, ...params) { | ||
@@ -106,0 +108,0 @@ let yError = null; |
{ | ||
"name": "yerror", | ||
"version": "6.0.2", | ||
"version": "6.1.0", | ||
"description": "It helps to know why you got an error.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
@@ -147,1 +147,2 @@ import os from 'os'; | ||
export default YError; | ||
export { YError }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98857
863