essentials
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -5,4 +5,12 @@ # Changelog | ||
## [1.2.0](https://github.com/medikoo/essentials/compare/v1.1.1...v1.2.0) (2021-12-17) | ||
### Features | ||
- Prevent doubled load of the module (otherwise unhandled rejections are silent) ([b8c5536](https://github.com/medikoo/essentials/commit/b8c553613671d35f0d6eab2a504408eb2ba63ee9)) | ||
### [1.1.1](https://github.com/medikoo/essentials/compare/v1.1.0...v1.1.1) (2019-11-08) | ||
_Maintanance update_ | ||
## [1.1.0](https://github.com/medikoo/essentials/compare/v1.0.0...v1.1.0) (2019-11-08) | ||
@@ -9,0 +17,0 @@ |
"use strict"; | ||
var uniGlobal = require("uni-global")("medikoo/essentials/202112"); | ||
if (uniGlobal.isSetup) { | ||
// Doubled load of essentials, abort | ||
return; | ||
} | ||
uniGlobal.isSetup = true; | ||
// 1. Expose every stack frame in error stack trace | ||
@@ -4,0 +13,0 @@ Error.stackTraceLimit = Infinity; |
{ | ||
"name": "essentials", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Essential initialization for every JavaScript process", | ||
@@ -17,9 +17,13 @@ "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)", | ||
}, | ||
"dependencies": { | ||
"uni-global": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^6.6.0", | ||
"eslint-config-medikoo": "^2.7.0", | ||
"eslint": "^8.4.1", | ||
"eslint-config-medikoo": "^4.1.1", | ||
"git-list-updated": "^1.2.1", | ||
"husky": "^3.0.9", | ||
"lint-staged": "^9.4.2", | ||
"prettier-elastic": "^1.18.2" | ||
"github-release-from-cc-changelog": "^2.2.0", | ||
"husky": "^4.3.8", | ||
"lint-staged": "^12.1.2", | ||
"prettier-elastic": "^2.2.1" | ||
}, | ||
@@ -53,3 +57,4 @@ "husky": { | ||
"files": [ | ||
"*.md" | ||
"*.md", | ||
"*.yml" | ||
], | ||
@@ -56,0 +61,0 @@ "options": { |
Sorry, the diff of this file is not supported yet
5218
25
1
7
5
+ Addeduni-global@^1.0.0
+ Addedtype@2.7.2(transitive)
+ Addeduni-global@1.0.0(transitive)