nightingale-levels 12.1.0 → 12.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [12.1.4](https://github.com/christophehurpeau/nightingale/compare/v12.1.3...v12.1.4) (2022-02-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* cjs build ([2e24ac5](https://github.com/christophehurpeau/nightingale/commit/2e24ac5753ee386c5be9ca56796194ee598f10ff))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [12.1.3](https://github.com/christophehurpeau/nightingale/compare/v12.1.2...v12.1.3) (2022-01-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package nightingale-levels
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [12.1.2](https://github.com/christophehurpeau/nightingale/compare/v12.1.1...v12.1.2) (2022-01-02)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* main esm for jest which supports esm but not exports ([98789fa](https://github.com/christophehurpeau/nightingale/commit/98789fa490e723840fccc443584189b6905d871b))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [12.1.1](https://github.com/christophehurpeau/nightingale/compare/v12.1.0...v12.1.1) (2022-01-01)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* properly configure package type ([2e0cbf5](https://github.com/christophehurpeau/nightingale/commit/2e0cbf555bd3b9fa3c3851025452937f64408aa8))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [12.1.0](https://github.com/christophehurpeau/nightingale/compare/v12.0.1...v12.1.0) (2021-12-15)
|
|
7
48
|
|
|
8
49
|
**Note:** Version bump only for package nightingale-levels
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-node14.cjs","sources":["../src/index.ts"],"sourcesContent":["/**\n * @enum {number} List of Levels\n *\n * <ul>\n * <li>ALL: Log everything. Not a level.</li>\n * <li>TRACE: Trace information</li>\n * <li>DEBUG: Detailed debug information</li>\n * <li>INFO: Normal but significant events</li>\n * <li>WARN: Exceptional occurrences that are not errors (Use of deprecated APIs)</li>\n * <li>WARNING: Alias for WARN</li>\n * <li>ERROR: Runtime errors that do not require immediate action but should be logged and monitored</li>\n * <li>CRITICAL: Critical conditions. Example: Application component unavailable, unexpected exception</li>\n * <li>FATAL: Action must be taken immediately. Example: Entire website down, database unavailable, etc\n * This should trigger the SMS alerts and wake you up</li>\n * <li>ALERT: Alias for FATAL</li>\n * <li>EMERGENCY: Emergency: system is unusable</li>\n * </ul>\n *\n */\nexport enum Level {\n /** Log everything. Not a level. */\n ALL = 0,\n\n /** Trace information */\n TRACE = 10,\n /** Detailed debug information */\n DEBUG = 100,\n /** Interesting events */\n INFO = 200,\n /** Normal but significant events */\n NOTICE = 250,\n /** Exceptional occurrences that are not errors (Use of deprecated APIs) */\n WARN = 300,\n /** Alias for WARN */\n WARNING = 300,\n /** Runtime errors that do not require immediate action but should be logged and monitored */\n ERROR = 400,\n /** Critical conditions. Example: Application component unavailable, unexpected exception */\n CRITICAL = 500,\n /** Action must be taken immediately. Example: Entire website down, database unavailable, etc\n * This should trigger the SMS alerts and wake you up */\n FATAL = 550,\n /** Alias for FATAL */\n ALERT = 550,\n /** Emergency: system is unusable */\n EMERGENCY = 600,\n}\n\nexport default Level;\n"],"names":["Level"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACYA;;WAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;GAAAA,kBAAAA;;AA6BZ,cAAeA,aAAf;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nightingale-levels",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.4",
|
|
4
4
|
"description": "Nightingale levels",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"logger"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"directory": "packages/nightingale-levels"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/christophehurpeau/nightingale",
|
|
16
|
-
"type": "
|
|
16
|
+
"type": "module",
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": "^14.13.1 || >=16.0.0"
|
|
19
19
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"not safari < 10",
|
|
25
25
|
"not ios_saf < 10"
|
|
26
26
|
],
|
|
27
|
-
"main": "./dist/index-node14.
|
|
27
|
+
"main": "./dist/index-node14.mjs",
|
|
28
28
|
"types": "./dist/index.d.ts",
|
|
29
29
|
"module": "./dist/index-browser.es.js",
|
|
30
30
|
"browser": "./dist/index-browser.es.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
".": {
|
|
34
34
|
"node": {
|
|
35
35
|
"import": "./dist/index-node14.mjs",
|
|
36
|
-
"require": "./dist/index-node14.cjs
|
|
36
|
+
"require": "./dist/index-node14.cjs"
|
|
37
37
|
},
|
|
38
38
|
"browser": {
|
|
39
39
|
"browser:modern": {
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
]
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@babel/core": "7.
|
|
94
|
-
"@babel/preset-env": "7.16.
|
|
93
|
+
"@babel/core": "7.17.0",
|
|
94
|
+
"@babel/preset-env": "7.16.11",
|
|
95
95
|
"babel-preset-modern-browsers": "15.0.2",
|
|
96
|
-
"pob-babel": "
|
|
97
|
-
"typescript": "4.5.
|
|
96
|
+
"pob-babel": "30.0.1",
|
|
97
|
+
"typescript": "4.5.5"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "3754d4575d948b5bb8c5227d3c3f4ca25e801db5"
|
|
100
100
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node14.cjs.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * @enum {number} List of Levels\n *\n * <ul>\n * <li>ALL: Log everything. Not a level.</li>\n * <li>TRACE: Trace information</li>\n * <li>DEBUG: Detailed debug information</li>\n * <li>INFO: Normal but significant events</li>\n * <li>WARN: Exceptional occurrences that are not errors (Use of deprecated APIs)</li>\n * <li>WARNING: Alias for WARN</li>\n * <li>ERROR: Runtime errors that do not require immediate action but should be logged and monitored</li>\n * <li>CRITICAL: Critical conditions. Example: Application component unavailable, unexpected exception</li>\n * <li>FATAL: Action must be taken immediately. Example: Entire website down, database unavailable, etc\n * This should trigger the SMS alerts and wake you up</li>\n * <li>ALERT: Alias for FATAL</li>\n * <li>EMERGENCY: Emergency: system is unusable</li>\n * </ul>\n *\n */\nexport enum Level {\n /** Log everything. Not a level. */\n ALL = 0,\n\n /** Trace information */\n TRACE = 10,\n /** Detailed debug information */\n DEBUG = 100,\n /** Interesting events */\n INFO = 200,\n /** Normal but significant events */\n NOTICE = 250,\n /** Exceptional occurrences that are not errors (Use of deprecated APIs) */\n WARN = 300,\n /** Alias for WARN */\n WARNING = 300,\n /** Runtime errors that do not require immediate action but should be logged and monitored */\n ERROR = 400,\n /** Critical conditions. Example: Application component unavailable, unexpected exception */\n CRITICAL = 500,\n /** Action must be taken immediately. Example: Entire website down, database unavailable, etc\n * This should trigger the SMS alerts and wake you up */\n FATAL = 550,\n /** Alias for FATAL */\n ALERT = 550,\n /** Emergency: system is unusable */\n EMERGENCY = 600,\n}\n\nexport default Level;\n"],"names":["Level"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACYA;;WAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;AAAAA,EAAAA,MAAAA;GAAAA,kBAAAA;;AA6BZ,cAAeA,aAAf;;;;"}
|