nightingale-levels 16.0.0 → 17.0.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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
+ ## [17.0.0](https://github.com/christophehurpeau/nightingale/compare/v16.2.0...v17.0.0) (2025-10-20)
7
+
8
+ ### Features
9
+
10
+ * add export for react-native ([4098304](https://github.com/christophehurpeau/nightingale/commit/4098304ff9b6665930b7316fe05e0baf0b2e3fe5))
11
+
6
12
  ## [16.0.0](https://github.com/christophehurpeau/nightingale/compare/v15.0.0...v16.0.0) (2025-03-30)
7
13
 
8
14
  ### ⚠ BREAKING CHANGES
@@ -1,52 +1,18 @@
1
- /* eslint-disable @typescript-eslint/no-duplicate-enum-values */
2
-
3
- /**
4
- * @enum {number} List of Levels
5
- *
6
- * <ul>
7
- * <li>ALL: Log everything. Not a level.</li>
8
- * <li>TRACE: Trace information</li>
9
- * <li>DEBUG: Detailed debug information</li>
10
- * <li>INFO: Normal but significant events</li>
11
- * <li>WARN: Exceptional occurrences that are not errors (Use of deprecated APIs)</li>
12
- * <li>WARNING: Alias for WARN</li>
13
- * <li>ERROR: Runtime errors that do not require immediate action but should be logged and monitored</li>
14
- * <li>CRITICAL: Critical conditions. Example: Application component unavailable, unexpected exception</li>
15
- * <li>FATAL: Action must be taken immediately. Example: Entire website down, database unavailable, etc
16
- * This should trigger the SMS alerts and wake you up</li>
17
- * <li>ALERT: Alias for FATAL</li>
18
- * <li>EMERGENCY: Emergency: system is unusable</li>
19
- * </ul>
20
- *
21
- */
22
- let Level = /*#__PURE__*/function (Level) {
23
- /** Log everything. Not a level. */
24
- Level[Level["ALL"] = 0] = "ALL";
25
- /** Trace information */
26
- Level[Level["TRACE"] = 10] = "TRACE";
27
- /** Detailed debug information */
28
- Level[Level["DEBUG"] = 100] = "DEBUG";
29
- /** Interesting events */
30
- Level[Level["INFO"] = 200] = "INFO";
31
- /** Normal but significant events */
32
- Level[Level["NOTICE"] = 250] = "NOTICE";
33
- /** Exceptional occurrences that are not errors (Use of deprecated APIs) */
34
- Level[Level["WARN"] = 300] = "WARN";
35
- /** Alias for WARN */
36
- Level[Level["WARNING"] = 300] = "WARNING";
37
- /** Runtime errors that do not require immediate action but should be logged and monitored */
38
- Level[Level["ERROR"] = 400] = "ERROR";
39
- /** Critical conditions. Example: Application component unavailable, unexpected exception */
40
- Level[Level["CRITICAL"] = 500] = "CRITICAL";
41
- /** Action must be taken immediately. Example: Entire website down, database unavailable, etc
42
- * This should trigger the SMS alerts and wake you up */
43
- Level[Level["FATAL"] = 550] = "FATAL";
44
- /** Alias for FATAL */
45
- Level[Level["ALERT"] = 550] = "ALERT";
46
- /** Emergency: system is unusable */
47
- Level[Level["EMERGENCY"] = 600] = "EMERGENCY";
48
- return Level;
49
- }({});
1
+ var Level = /* @__PURE__ */ ((Level2) => {
2
+ Level2[Level2["ALL"] = 0] = "ALL";
3
+ Level2[Level2["TRACE"] = 10] = "TRACE";
4
+ Level2[Level2["DEBUG"] = 100] = "DEBUG";
5
+ Level2[Level2["INFO"] = 200] = "INFO";
6
+ Level2[Level2["NOTICE"] = 250] = "NOTICE";
7
+ Level2[Level2["WARN"] = 300] = "WARN";
8
+ Level2[Level2["WARNING"] = 300] = "WARNING";
9
+ Level2[Level2["ERROR"] = 400] = "ERROR";
10
+ Level2[Level2["CRITICAL"] = 500] = "CRITICAL";
11
+ Level2[Level2["FATAL"] = 550] = "FATAL";
12
+ Level2[Level2["ALERT"] = 550] = "ALERT";
13
+ Level2[Level2["EMERGENCY"] = 600] = "EMERGENCY";
14
+ return Level2;
15
+ })(Level || {});
50
16
 
51
17
  export { Level };
52
18
  //# sourceMappingURL=index-browser.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-browser.es.js","sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-duplicate-enum-values */\n\n/**\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"],"names":["Level"],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACYA,IAAAA,KAAK,0BAALA,KAAK,EAAA;AACf;AADUA,EAAAA,KAAK,CAALA,KAAK,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,GAAA,KAAA;AAIf;AAJUA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA;AAMf;AANUA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,GAAA,CAAA,GAAA,OAAA;AAQf;AARUA,EAAAA,KAAK,CAALA,KAAK,CAAA,MAAA,CAAA,GAAA,GAAA,CAAA,GAAA,MAAA;AAUf;AAVUA,EAAAA,KAAK,CAALA,KAAK,CAAA,QAAA,CAAA,GAAA,GAAA,CAAA,GAAA,QAAA;AAYf;AAZUA,EAAAA,KAAK,CAALA,KAAK,CAAA,MAAA,CAAA,GAAA,GAAA,CAAA,GAAA,MAAA;AAcf;AAdUA,EAAAA,KAAK,CAALA,KAAK,CAAA,SAAA,CAAA,GAAA,GAAA,CAAA,GAAA,SAAA;AAgBf;AAhBUA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,GAAA,CAAA,GAAA,OAAA;AAkBf;AAlBUA,EAAAA,KAAK,CAALA,KAAK,CAAA,UAAA,CAAA,GAAA,GAAA,CAAA,GAAA,UAAA;AAoBf;AACF;AArBYA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,GAAA,CAAA,GAAA,OAAA;AAuBf;AAvBUA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,GAAA,CAAA,GAAA,OAAA;AAyBf;AAzBUA,EAAAA,KAAK,CAALA,KAAK,CAAA,WAAA,CAAA,GAAA,GAAA,CAAA,GAAA,WAAA;AAAA,EAAA,OAALA,KAAK;AAAA,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"index-browser.es.js","sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-duplicate-enum-values */\n\n/**\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"],"names":["Level"],"mappings":"AAqBO,IAAK,KAAA,qBAAAA,MAAAA,KAAL;AAEL,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,SAAM,CAAA,CAAA,GAAN,KAAA;AAGA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,EAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,UAAO,GAAA,CAAA,GAAP,MAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,YAAS,GAAA,CAAA,GAAT,QAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,UAAO,GAAA,CAAA,GAAP,MAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,aAAU,GAAA,CAAA,GAAV,SAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,cAAW,GAAA,CAAA,GAAX,UAAA;AAGA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,eAAY,GAAA,CAAA,GAAZ,WAAA;AA1BU,EAAA,OAAAA,MAAAA;AAAA,CAAA,EAAA,KAAA,IAAA,EAAA;;;;"}
@@ -1,52 +1,18 @@
1
- /* eslint-disable @typescript-eslint/no-duplicate-enum-values */
2
-
3
- /**
4
- * @enum {number} List of Levels
5
- *
6
- * <ul>
7
- * <li>ALL: Log everything. Not a level.</li>
8
- * <li>TRACE: Trace information</li>
9
- * <li>DEBUG: Detailed debug information</li>
10
- * <li>INFO: Normal but significant events</li>
11
- * <li>WARN: Exceptional occurrences that are not errors (Use of deprecated APIs)</li>
12
- * <li>WARNING: Alias for WARN</li>
13
- * <li>ERROR: Runtime errors that do not require immediate action but should be logged and monitored</li>
14
- * <li>CRITICAL: Critical conditions. Example: Application component unavailable, unexpected exception</li>
15
- * <li>FATAL: Action must be taken immediately. Example: Entire website down, database unavailable, etc
16
- * This should trigger the SMS alerts and wake you up</li>
17
- * <li>ALERT: Alias for FATAL</li>
18
- * <li>EMERGENCY: Emergency: system is unusable</li>
19
- * </ul>
20
- *
21
- */
22
- let Level = /*#__PURE__*/function (Level) {
23
- /** Log everything. Not a level. */
24
- Level[Level["ALL"] = 0] = "ALL";
25
- /** Trace information */
26
- Level[Level["TRACE"] = 10] = "TRACE";
27
- /** Detailed debug information */
28
- Level[Level["DEBUG"] = 100] = "DEBUG";
29
- /** Interesting events */
30
- Level[Level["INFO"] = 200] = "INFO";
31
- /** Normal but significant events */
32
- Level[Level["NOTICE"] = 250] = "NOTICE";
33
- /** Exceptional occurrences that are not errors (Use of deprecated APIs) */
34
- Level[Level["WARN"] = 300] = "WARN";
35
- /** Alias for WARN */
36
- Level[Level["WARNING"] = 300] = "WARNING";
37
- /** Runtime errors that do not require immediate action but should be logged and monitored */
38
- Level[Level["ERROR"] = 400] = "ERROR";
39
- /** Critical conditions. Example: Application component unavailable, unexpected exception */
40
- Level[Level["CRITICAL"] = 500] = "CRITICAL";
41
- /** Action must be taken immediately. Example: Entire website down, database unavailable, etc
42
- * This should trigger the SMS alerts and wake you up */
43
- Level[Level["FATAL"] = 550] = "FATAL";
44
- /** Alias for FATAL */
45
- Level[Level["ALERT"] = 550] = "ALERT";
46
- /** Emergency: system is unusable */
47
- Level[Level["EMERGENCY"] = 600] = "EMERGENCY";
48
- return Level;
49
- }({});
1
+ var Level = /* @__PURE__ */ ((Level2) => {
2
+ Level2[Level2["ALL"] = 0] = "ALL";
3
+ Level2[Level2["TRACE"] = 10] = "TRACE";
4
+ Level2[Level2["DEBUG"] = 100] = "DEBUG";
5
+ Level2[Level2["INFO"] = 200] = "INFO";
6
+ Level2[Level2["NOTICE"] = 250] = "NOTICE";
7
+ Level2[Level2["WARN"] = 300] = "WARN";
8
+ Level2[Level2["WARNING"] = 300] = "WARNING";
9
+ Level2[Level2["ERROR"] = 400] = "ERROR";
10
+ Level2[Level2["CRITICAL"] = 500] = "CRITICAL";
11
+ Level2[Level2["FATAL"] = 550] = "FATAL";
12
+ Level2[Level2["ALERT"] = 550] = "ALERT";
13
+ Level2[Level2["EMERGENCY"] = 600] = "EMERGENCY";
14
+ return Level2;
15
+ })(Level || {});
50
16
 
51
17
  export { Level };
52
18
  //# sourceMappingURL=index-node20.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-node20.mjs","sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-duplicate-enum-values */\n\n/**\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"],"names":["Level"],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACYA,IAAAA,KAAK,0BAALA,KAAK,EAAA;AACf;AADUA,EAAAA,KAAK,CAALA,KAAK,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,GAAA,KAAA;AAIf;AAJUA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA;AAMf;AANUA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,GAAA,CAAA,GAAA,OAAA;AAQf;AARUA,EAAAA,KAAK,CAALA,KAAK,CAAA,MAAA,CAAA,GAAA,GAAA,CAAA,GAAA,MAAA;AAUf;AAVUA,EAAAA,KAAK,CAALA,KAAK,CAAA,QAAA,CAAA,GAAA,GAAA,CAAA,GAAA,QAAA;AAYf;AAZUA,EAAAA,KAAK,CAALA,KAAK,CAAA,MAAA,CAAA,GAAA,GAAA,CAAA,GAAA,MAAA;AAcf;AAdUA,EAAAA,KAAK,CAALA,KAAK,CAAA,SAAA,CAAA,GAAA,GAAA,CAAA,GAAA,SAAA;AAgBf;AAhBUA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,GAAA,CAAA,GAAA,OAAA;AAkBf;AAlBUA,EAAAA,KAAK,CAALA,KAAK,CAAA,UAAA,CAAA,GAAA,GAAA,CAAA,GAAA,UAAA;AAoBf;AACF;AArBYA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,GAAA,CAAA,GAAA,OAAA;AAuBf;AAvBUA,EAAAA,KAAK,CAALA,KAAK,CAAA,OAAA,CAAA,GAAA,GAAA,CAAA,GAAA,OAAA;AAyBf;AAzBUA,EAAAA,KAAK,CAALA,KAAK,CAAA,WAAA,CAAA,GAAA,GAAA,CAAA,GAAA,WAAA;AAAA,EAAA,OAALA,KAAK;AAAA,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"index-node20.mjs","sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-duplicate-enum-values */\n\n/**\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"],"names":["Level"],"mappings":"AAqBO,IAAK,KAAA,qBAAAA,MAAAA,KAAL;AAEL,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,SAAM,CAAA,CAAA,GAAN,KAAA;AAGA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,EAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,UAAO,GAAA,CAAA,GAAP,MAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,YAAS,GAAA,CAAA,GAAT,QAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,UAAO,GAAA,CAAA,GAAP,MAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,aAAU,GAAA,CAAA,GAAV,SAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,cAAW,GAAA,CAAA,GAAX,UAAA;AAGA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,WAAQ,GAAA,CAAA,GAAR,OAAA;AAEA,EAAAA,MAAAA,CAAAA,MAAAA,CAAA,eAAY,GAAA,CAAA,GAAZ,WAAA;AA1BU,EAAA,OAAAA,MAAAA;AAAA,CAAA,EAAA,KAAA,IAAA,EAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nightingale-levels",
3
- "version": "16.0.0",
3
+ "version": "17.0.0",
4
4
  "description": "Nightingale levels",
5
5
  "keywords": [
6
6
  "logger"
@@ -15,7 +15,7 @@
15
15
  "homepage": "https://github.com/christophehurpeau/nightingale",
16
16
  "type": "module",
17
17
  "engines": {
18
- "node": ">=20.9.0"
18
+ "node": ">=20.11.0"
19
19
  },
20
20
  "sideEffects": false,
21
21
  "main": "./dist/index-node20.mjs",
@@ -29,6 +29,9 @@
29
29
  "node": {
30
30
  "import": "./dist/index-node20.mjs"
31
31
  },
32
+ "react-native": {
33
+ "import": "./dist/index-browser.es.js"
34
+ },
32
35
  "browser": {
33
36
  "import": "./dist/index-browser.es.js"
34
37
  }
@@ -42,7 +45,7 @@
42
45
  "build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
43
46
  "build:definitions": "tsc -p tsconfig.json",
44
47
  "clean": "yarn clean:build",
45
- "clean:build": "pob-babel-clean-out dist",
48
+ "clean:build": "pob-esbuild-clean-out dist",
46
49
  "lint": "yarn run lint:eslint",
47
50
  "lint:eslint": "yarn ../.. run eslint --quiet packages/nightingale-levels",
48
51
  "watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
@@ -57,7 +60,7 @@
57
60
  ]
58
61
  },
59
62
  "pob": {
60
- "bundler": "rollup-babel",
63
+ "bundler": "rollup-esbuild",
61
64
  "entries": [
62
65
  "index"
63
66
  ],
@@ -69,13 +72,12 @@
69
72
  {
70
73
  "target": "browser"
71
74
  }
72
- ]
75
+ ],
76
+ "typescript": true
73
77
  },
74
78
  "prettier": "@pob/root/prettier-config",
75
79
  "devDependencies": {
76
- "@babel/core": "7.26.10",
77
- "@babel/preset-env": "7.26.9",
78
- "pob-babel": "43.4.0",
79
- "typescript": "5.8.2"
80
+ "@pob/rollup-esbuild": "6.7.0",
81
+ "typescript": "5.9.2"
80
82
  }
81
83
  }