@skmtc/core 0.0.475 → 0.0.476
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/esm/context/CoreContext.d.ts +1 -1
- package/esm/context/CoreContext.js +1 -1
- package/esm/context/GenerateContext.d.ts +1 -1
- package/esm/context/ParseContext.d.ts +1 -1
- package/esm/context/RenderContext.d.ts +1 -1
- package/esm/context/ResultsHandler.d.ts +4 -4
- package/esm/context/ResultsHandler.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/exists.d.ts +36 -16
- package/esm/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/exists.js +36 -16
- package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.d.ts +2 -2
- package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.js +2 -2
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.js +1 -0
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/log/0.224.7 → esm/deps/jsr.io/@std/log/0.224.8}/logger.d.ts +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.8/logger.d.ts.map +1 -0
- package/{script/deps/jsr.io/@std/log/0.224.7 → esm/deps/jsr.io/@std/log/0.224.8}/mod.d.ts +5 -5
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/mod.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/mod.js +5 -5
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.8/warn.d.ts +51 -0
- package/esm/deps/jsr.io/@std/log/0.224.8/warn.d.ts.map +1 -0
- package/package.json +1 -1
- package/script/context/CoreContext.d.ts +1 -1
- package/script/context/CoreContext.js +1 -1
- package/script/context/GenerateContext.d.ts +1 -1
- package/script/context/ParseContext.d.ts +1 -1
- package/script/context/RenderContext.d.ts +1 -1
- package/script/context/ResultsHandler.d.ts +4 -4
- package/script/context/ResultsHandler.js +2 -2
- package/script/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/exists.d.ts +36 -16
- package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/exists.js +36 -16
- package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.d.ts +2 -2
- package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.js +2 -2
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.js +1 -0
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.js +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/log/0.224.7 → script/deps/jsr.io/@std/log/0.224.8}/logger.d.ts +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/logger.d.ts.map +1 -0
- package/{esm/deps/jsr.io/@std/log/0.224.7 → script/deps/jsr.io/@std/log/0.224.8}/mod.d.ts +5 -5
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/mod.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/mod.js +5 -5
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.js +1 -1
- package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/0.224.8/warn.d.ts +51 -0
- package/script/deps/jsr.io/@std/log/0.224.8/warn.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.7/logger.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.7/warn.d.ts +0 -5
- package/esm/deps/jsr.io/@std/log/0.224.7/warn.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.3/exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.7/logger.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.7/warn.d.ts +0 -5
- package/script/deps/jsr.io/@std/log/0.224.7/warn.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/logger.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.js +0 -0
- /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/warn.js +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/logger.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.d.ts +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.js +0 -0
- /package/script/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/warn.js +0 -0
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* `log.formatters.jsonFormatter` or write your own function that takes a
|
|
25
25
|
* {@linkcode LogRecord} and returns a JSON.stringify'd object.
|
|
26
26
|
* If you want the log to go to stdout then use {@linkcode ConsoleHandler} with
|
|
27
|
-
* the configuration `useColors: false` to turn off the ANSI terminal
|
|
27
|
+
* the configuration `useColors: false` to turn off the ANSI terminal colors.
|
|
28
28
|
*
|
|
29
29
|
* ```ts
|
|
30
30
|
* import * as log from "@std/log";
|
|
@@ -81,12 +81,12 @@
|
|
|
81
81
|
* return getLogger("my-awesome-module");
|
|
82
82
|
* }
|
|
83
83
|
*
|
|
84
|
-
*
|
|
84
|
+
* function sum(a: number, b: number) {
|
|
85
85
|
* logger().debug(`running ${a} + ${b}`);
|
|
86
86
|
* return a + b;
|
|
87
87
|
* }
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
* function mult(a: number, b: number) {
|
|
90
90
|
* logger().debug(`running ${a} * ${b}`);
|
|
91
91
|
* return a * b;
|
|
92
92
|
* }
|
|
@@ -122,14 +122,14 @@
|
|
|
122
122
|
*
|
|
123
123
|
* const logger = getLogger("my-awesome-module");
|
|
124
124
|
*
|
|
125
|
-
*
|
|
125
|
+
* function sum(a: number, b: number) {
|
|
126
126
|
* logger.debug(`running ${a} + ${b}`); // no message will be logged, because getLogger() was called before log.setup()
|
|
127
127
|
* return a + b;
|
|
128
128
|
* }
|
|
129
129
|
* ```
|
|
130
130
|
*
|
|
131
131
|
* @example
|
|
132
|
-
* ```ts
|
|
132
|
+
* ```ts ignore
|
|
133
133
|
* import * as log from "@std/log";
|
|
134
134
|
*
|
|
135
135
|
* // Simple default logger out of the box. You can customize it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rotating_file_handler.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"rotating_file_handler.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AASzE,UAAU,0BAA2B,SAAQ,kBAAkB;IAC7D,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;;gBAKtC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,0BAA0B;IAM5D,KAAK;IAyCL,GAAG,CAAC,GAAG,EAAE,MAAM;IAaxB,cAAc;CAkBf"}
|
|
@@ -12,7 +12,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
12
12
|
var _RotatingFileHandler_maxBytes, _RotatingFileHandler_maxBackupCount, _RotatingFileHandler_currentFileSize;
|
|
13
13
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
14
14
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
15
|
-
import { existsSync } from "../../fs/1.0.
|
|
15
|
+
import { existsSync } from "../../fs/1.0.4/exists.js";
|
|
16
16
|
import { FileHandler } from "./file_handler.js";
|
|
17
17
|
import { encoderSymbol, filenameSymbol, fileSymbol, modeSymbol, openOptionsSymbol, } from "./_file_handler_symbols.js";
|
|
18
18
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/setup.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAU,MAAM,aAAa,CAAC;AAGrD,2BAA2B;AAC3B,wBAAgB,KAAK,CAAC,MAAM,EAAE,SAAS,QAwCtC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { GenericFunction } from "./logger.js";
|
|
2
|
+
export type { GenericFunction };
|
|
3
|
+
/**
|
|
4
|
+
* Log at the warning level.
|
|
5
|
+
*
|
|
6
|
+
* This function is a pass-through to the default logger's `warn` method. By
|
|
7
|
+
* default, the default logger is configured to use {@linkcode console.log}.
|
|
8
|
+
*
|
|
9
|
+
* @template T The type of the message to log.
|
|
10
|
+
* @param msg The message to log.
|
|
11
|
+
* @param args Arguments to be formatted into the message.
|
|
12
|
+
* @returns The message that was logged.
|
|
13
|
+
*
|
|
14
|
+
* @example Usage
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { warn } from "@std/log/warn";
|
|
17
|
+
* import { assertEquals } from "@std/assert/equals";
|
|
18
|
+
*
|
|
19
|
+
* assertEquals(warn("This is a warning message."), "This is a warning message.");
|
|
20
|
+
* // Prints: "WARN This is a warning message."
|
|
21
|
+
*
|
|
22
|
+
* assertEquals(warn(() => "This is a warning message."), "This is a warning message.");
|
|
23
|
+
* // Prints: "WARN This is a warning message."
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function warn<T>(msg: () => T, ...args: unknown[]): T | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Log at the warning level.
|
|
29
|
+
*
|
|
30
|
+
* This function is a pass-through to the default logger's `warn` method. By
|
|
31
|
+
* default, the default logger is configured to use {@linkcode console.log}.
|
|
32
|
+
*
|
|
33
|
+
* @template T The type of the message to log.
|
|
34
|
+
* @param msg The message to log.
|
|
35
|
+
* @param args Arguments to be formatted into the message.
|
|
36
|
+
* @returns The message that was logged.
|
|
37
|
+
*
|
|
38
|
+
* @example Usage
|
|
39
|
+
* ```ts
|
|
40
|
+
* import { warn } from "@std/log/warn";
|
|
41
|
+
* import { assertEquals } from "@std/assert/equals";
|
|
42
|
+
*
|
|
43
|
+
* assertEquals(warn("This is a warning message."), "This is a warning message.");
|
|
44
|
+
* // Prints: "WARN This is a warning message."
|
|
45
|
+
*
|
|
46
|
+
* assertEquals(warn(() => "This is a warning message."), "This is a warning message.");
|
|
47
|
+
* // Prints: "WARN This is a warning message."
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function warn<T>(msg: T extends GenericFunction ? never : T, ...args: unknown[]): T;
|
|
51
|
+
//# sourceMappingURL=warn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"warn.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/warn.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;AACzE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,IAAI,CAAC,CAAC,EACpB,GAAG,EAAE,CAAC,SAAS,eAAe,GAAG,KAAK,GAAG,CAAC,EAC1C,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ import type { ClientSettings } from '../types/Settings.js';
|
|
|
7
7
|
import type { OperationGateway, OperationInsertable } from '../dsl/operation/OperationInsertable.js';
|
|
8
8
|
import type { ModelInsertable } from '../dsl/model/ModelInsertable.js';
|
|
9
9
|
import type { ResultType } from '../types/Results.js';
|
|
10
|
-
import * as log from '../deps/jsr.io/@std/log/0.224.
|
|
10
|
+
import * as log from '../deps/jsr.io/@std/log/0.224.8/mod.js';
|
|
11
11
|
import type { GeneratorKey } from '../types/GeneratorKeys.js';
|
|
12
12
|
import type { GeneratedValue } from '../types/GeneratedValue.js';
|
|
13
13
|
export type ParsePhase = {
|
|
@@ -40,7 +40,7 @@ exports.skmtcFormatter = skmtcFormatter;
|
|
|
40
40
|
const GenerateContext_js_1 = require("./GenerateContext.js");
|
|
41
41
|
const RenderContext_js_1 = require("./RenderContext.js");
|
|
42
42
|
const ParseContext_js_1 = require("./ParseContext.js");
|
|
43
|
-
const log = __importStar(require("../deps/jsr.io/@std/log/0.224.
|
|
43
|
+
const log = __importStar(require("../deps/jsr.io/@std/log/0.224.8/mod.js"));
|
|
44
44
|
const ResultsHandler_js_1 = require("./ResultsHandler.js");
|
|
45
45
|
const StackTrail_js_1 = require("./StackTrail.js");
|
|
46
46
|
const tracer_js_1 = require("../helpers/tracer.js");
|
|
@@ -11,7 +11,7 @@ import type { ModelInsertable } from '../dsl/model/ModelInsertable.js';
|
|
|
11
11
|
import type { GenerationType, GeneratedValue } from '../types/GeneratedValue.js';
|
|
12
12
|
import { ContentSettings } from '../dsl/ContentSettings.js';
|
|
13
13
|
import type { RefName } from '../types/RefName.js';
|
|
14
|
-
import type * as log from '../deps/jsr.io/@std/log/0.224.
|
|
14
|
+
import type * as log from '../deps/jsr.io/@std/log/0.224.8/mod.js';
|
|
15
15
|
import type { GeneratorKey } from '../types/GeneratorKeys.js';
|
|
16
16
|
import type { ResultType } from '../types/Results.js';
|
|
17
17
|
import type { StackTrail } from './StackTrail.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
2
|
import { OasDocument } from '../oas/document/Document.js';
|
|
3
|
-
import type * as log from '../deps/jsr.io/@std/log/0.224.
|
|
3
|
+
import type * as log from '../deps/jsr.io/@std/log/0.224.8/mod.js';
|
|
4
4
|
import type { StackTrail } from './StackTrail.js';
|
|
5
5
|
type ConstructorArgs = {
|
|
6
6
|
schema: string;
|
|
@@ -4,7 +4,7 @@ import type { Definition } from '../dsl/Definition.js';
|
|
|
4
4
|
import type { PickArgs } from './GenerateContext.js';
|
|
5
5
|
import type { ResultType } from '../types/Results.js';
|
|
6
6
|
import type { StackTrail } from './StackTrail.js';
|
|
7
|
-
import type * as log from '../deps/jsr.io/@std/log/0.224.
|
|
7
|
+
import type * as log from '../deps/jsr.io/@std/log/0.224.8/mod.js';
|
|
8
8
|
import type { File } from '../dsl/File.js';
|
|
9
9
|
type ConstructorArgs = {
|
|
10
10
|
files: Map<string, File>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type LevelName } from '../deps/jsr.io/@std/log/0.224.
|
|
2
|
-
import type { LogRecord } from '../deps/jsr.io/@std/log/0.224.
|
|
3
|
-
import { BaseHandler } from '../deps/jsr.io/@std/log/0.224.
|
|
4
|
-
import type { BaseHandlerOptions } from '../deps/jsr.io/@std/log/0.224.
|
|
1
|
+
import { type LevelName } from '../deps/jsr.io/@std/log/0.224.8/levels.js';
|
|
2
|
+
import type { LogRecord } from '../deps/jsr.io/@std/log/0.224.8/logger.js';
|
|
3
|
+
import { BaseHandler } from '../deps/jsr.io/@std/log/0.224.8/base_handler.js';
|
|
4
|
+
import type { BaseHandlerOptions } from '../deps/jsr.io/@std/log/0.224.8/base_handler.js';
|
|
5
5
|
import type { CoreContext } from './CoreContext.js';
|
|
6
6
|
export interface ResultsHandlerOptions extends BaseHandlerOptions {
|
|
7
7
|
context: CoreContext;
|
|
@@ -7,8 +7,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
7
7
|
var _ResultsHandler_instances, _ResultsHandler_unloadCallback, _ResultsHandler_resetBuffer;
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.ResultsHandler = void 0;
|
|
10
|
-
const levels_js_1 = require("../deps/jsr.io/@std/log/0.224.
|
|
11
|
-
const base_handler_js_1 = require("../deps/jsr.io/@std/log/0.224.
|
|
10
|
+
const levels_js_1 = require("../deps/jsr.io/@std/log/0.224.8/levels.js");
|
|
11
|
+
const base_handler_js_1 = require("../deps/jsr.io/@std/log/0.224.8/base_handler.js");
|
|
12
12
|
const ts_pattern_1 = require("ts-pattern");
|
|
13
13
|
class ResultsHandler extends base_handler_js_1.BaseHandler {
|
|
14
14
|
constructor(levelName, options) {
|
|
@@ -32,7 +32,8 @@ export interface ExistsOptions {
|
|
|
32
32
|
* @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
|
|
33
33
|
* more information on the time-of-check to time-of-use bug.
|
|
34
34
|
*
|
|
35
|
-
* Requires `--allow-read` and `--allow-sys`
|
|
35
|
+
* Requires `--allow-read` permissions, and in some cases, `--allow-sys`
|
|
36
|
+
* permissions if `options.isReadable` is `true`.
|
|
36
37
|
*
|
|
37
38
|
* @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
|
|
38
39
|
* for more information on Deno's permissions system.
|
|
@@ -44,7 +45,7 @@ export interface ExistsOptions {
|
|
|
44
45
|
* otherwise.
|
|
45
46
|
*
|
|
46
47
|
* @example Recommended method
|
|
47
|
-
* ```ts
|
|
48
|
+
* ```ts ignore
|
|
48
49
|
* // Notice no use of exists
|
|
49
50
|
* try {
|
|
50
51
|
* await Deno.remove("./foo", { recursive: true });
|
|
@@ -60,7 +61,7 @@ export interface ExistsOptions {
|
|
|
60
61
|
* possible race condition. See the above note for details.
|
|
61
62
|
*
|
|
62
63
|
* @example Basic usage
|
|
63
|
-
* ```ts
|
|
64
|
+
* ```ts ignore
|
|
64
65
|
* import { exists } from "@std/fs/exists";
|
|
65
66
|
*
|
|
66
67
|
* await exists("./exists"); // true
|
|
@@ -68,7 +69,10 @@ export interface ExistsOptions {
|
|
|
68
69
|
* ```
|
|
69
70
|
*
|
|
70
71
|
* @example Check if a path is readable
|
|
71
|
-
*
|
|
72
|
+
*
|
|
73
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
74
|
+
*
|
|
75
|
+
* ```ts ignore
|
|
72
76
|
* import { exists } from "@std/fs/exists";
|
|
73
77
|
*
|
|
74
78
|
* await exists("./readable", { isReadable: true }); // true
|
|
@@ -76,7 +80,7 @@ export interface ExistsOptions {
|
|
|
76
80
|
* ```
|
|
77
81
|
*
|
|
78
82
|
* @example Check if a path is a directory
|
|
79
|
-
* ```ts
|
|
83
|
+
* ```ts ignore
|
|
80
84
|
* import { exists } from "@std/fs/exists";
|
|
81
85
|
*
|
|
82
86
|
* await exists("./directory", { isDirectory: true }); // true
|
|
@@ -84,7 +88,7 @@ export interface ExistsOptions {
|
|
|
84
88
|
* ```
|
|
85
89
|
*
|
|
86
90
|
* @example Check if a path is a file
|
|
87
|
-
* ```ts
|
|
91
|
+
* ```ts ignore
|
|
88
92
|
* import { exists } from "@std/fs/exists";
|
|
89
93
|
*
|
|
90
94
|
* await exists("./file", { isFile: true }); // true
|
|
@@ -92,7 +96,10 @@ export interface ExistsOptions {
|
|
|
92
96
|
* ```
|
|
93
97
|
*
|
|
94
98
|
* @example Check if a path is a readable directory
|
|
95
|
-
*
|
|
99
|
+
*
|
|
100
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
101
|
+
*
|
|
102
|
+
* ```ts ignore
|
|
96
103
|
* import { exists } from "@std/fs/exists";
|
|
97
104
|
*
|
|
98
105
|
* await exists("./readable_directory", { isReadable: true, isDirectory: true }); // true
|
|
@@ -100,7 +107,10 @@ export interface ExistsOptions {
|
|
|
100
107
|
* ```
|
|
101
108
|
*
|
|
102
109
|
* @example Check if a path is a readable file
|
|
103
|
-
*
|
|
110
|
+
*
|
|
111
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
112
|
+
*
|
|
113
|
+
* ```ts ignore
|
|
104
114
|
* import { exists } from "@std/fs/exists";
|
|
105
115
|
*
|
|
106
116
|
* await exists("./readable_file", { isReadable: true, isFile: true }); // true
|
|
@@ -120,7 +130,8 @@ export declare function exists(path: string | URL, options?: ExistsOptions): Pro
|
|
|
120
130
|
* @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
|
|
121
131
|
* more information on the time-of-check to time-of-use bug.
|
|
122
132
|
*
|
|
123
|
-
* Requires `--allow-read` and `--allow-sys`
|
|
133
|
+
* Requires `--allow-read` permissions, and in some cases, `--allow-sys`
|
|
134
|
+
* permissions if `options.isReadable` is `true`.
|
|
124
135
|
*
|
|
125
136
|
* @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
|
|
126
137
|
* for more information on Deno's permissions system.
|
|
@@ -131,7 +142,7 @@ export declare function exists(path: string | URL, options?: ExistsOptions): Pro
|
|
|
131
142
|
* @returns `true` if the path exists, `false` otherwise.
|
|
132
143
|
*
|
|
133
144
|
* @example Recommended method
|
|
134
|
-
* ```ts
|
|
145
|
+
* ```ts ignore
|
|
135
146
|
* // Notice no use of exists
|
|
136
147
|
* try {
|
|
137
148
|
* Deno.removeSync("./foo", { recursive: true });
|
|
@@ -147,7 +158,7 @@ export declare function exists(path: string | URL, options?: ExistsOptions): Pro
|
|
|
147
158
|
* a possible race condition. See the above note for details.
|
|
148
159
|
*
|
|
149
160
|
* @example Basic usage
|
|
150
|
-
* ```ts
|
|
161
|
+
* ```ts ignore
|
|
151
162
|
* import { existsSync } from "@std/fs/exists";
|
|
152
163
|
*
|
|
153
164
|
* existsSync("./exists"); // true
|
|
@@ -155,7 +166,10 @@ export declare function exists(path: string | URL, options?: ExistsOptions): Pro
|
|
|
155
166
|
* ```
|
|
156
167
|
*
|
|
157
168
|
* @example Check if a path is readable
|
|
158
|
-
*
|
|
169
|
+
*
|
|
170
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
171
|
+
*
|
|
172
|
+
* ```ts ignore
|
|
159
173
|
* import { existsSync } from "@std/fs/exists";
|
|
160
174
|
*
|
|
161
175
|
* existsSync("./readable", { isReadable: true }); // true
|
|
@@ -163,7 +177,7 @@ export declare function exists(path: string | URL, options?: ExistsOptions): Pro
|
|
|
163
177
|
* ```
|
|
164
178
|
*
|
|
165
179
|
* @example Check if a path is a directory
|
|
166
|
-
* ```ts
|
|
180
|
+
* ```ts ignore
|
|
167
181
|
* import { existsSync } from "@std/fs/exists";
|
|
168
182
|
*
|
|
169
183
|
* existsSync("./directory", { isDirectory: true }); // true
|
|
@@ -171,7 +185,7 @@ export declare function exists(path: string | URL, options?: ExistsOptions): Pro
|
|
|
171
185
|
* ```
|
|
172
186
|
*
|
|
173
187
|
* @example Check if a path is a file
|
|
174
|
-
* ```ts
|
|
188
|
+
* ```ts ignore
|
|
175
189
|
* import { existsSync } from "@std/fs/exists";
|
|
176
190
|
*
|
|
177
191
|
* existsSync("./file", { isFile: true }); // true
|
|
@@ -179,7 +193,10 @@ export declare function exists(path: string | URL, options?: ExistsOptions): Pro
|
|
|
179
193
|
* ```
|
|
180
194
|
*
|
|
181
195
|
* @example Check if a path is a readable directory
|
|
182
|
-
*
|
|
196
|
+
*
|
|
197
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
198
|
+
*
|
|
199
|
+
* ```ts ignore
|
|
183
200
|
* import { existsSync } from "@std/fs/exists";
|
|
184
201
|
*
|
|
185
202
|
* existsSync("./readable_directory", { isReadable: true, isDirectory: true }); // true
|
|
@@ -187,7 +204,10 @@ export declare function exists(path: string | URL, options?: ExistsOptions): Pro
|
|
|
187
204
|
* ```
|
|
188
205
|
*
|
|
189
206
|
* @example Check if a path is a readable file
|
|
190
|
-
*
|
|
207
|
+
*
|
|
208
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
209
|
+
*
|
|
210
|
+
* ```ts ignore
|
|
191
211
|
* import { existsSync } from "@std/fs/exists";
|
|
192
212
|
*
|
|
193
213
|
* existsSync("./readable_file", { isReadable: true, isFile: true }); // true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exists.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/fs/1.0.4/exists.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,wBAAsB,MAAM,CAC1B,IAAI,EAAE,MAAM,GAAG,GAAG,EAClB,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,OAAO,CAAC,CAsClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,GAAG,GAAG,EAClB,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAqCT"}
|
|
@@ -40,7 +40,8 @@ const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
|
40
40
|
* @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
|
|
41
41
|
* more information on the time-of-check to time-of-use bug.
|
|
42
42
|
*
|
|
43
|
-
* Requires `--allow-read` and `--allow-sys`
|
|
43
|
+
* Requires `--allow-read` permissions, and in some cases, `--allow-sys`
|
|
44
|
+
* permissions if `options.isReadable` is `true`.
|
|
44
45
|
*
|
|
45
46
|
* @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
|
|
46
47
|
* for more information on Deno's permissions system.
|
|
@@ -52,7 +53,7 @@ const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
|
52
53
|
* otherwise.
|
|
53
54
|
*
|
|
54
55
|
* @example Recommended method
|
|
55
|
-
* ```ts
|
|
56
|
+
* ```ts ignore
|
|
56
57
|
* // Notice no use of exists
|
|
57
58
|
* try {
|
|
58
59
|
* await Deno.remove("./foo", { recursive: true });
|
|
@@ -68,7 +69,7 @@ const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
|
68
69
|
* possible race condition. See the above note for details.
|
|
69
70
|
*
|
|
70
71
|
* @example Basic usage
|
|
71
|
-
* ```ts
|
|
72
|
+
* ```ts ignore
|
|
72
73
|
* import { exists } from "@std/fs/exists";
|
|
73
74
|
*
|
|
74
75
|
* await exists("./exists"); // true
|
|
@@ -76,7 +77,10 @@ const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
|
76
77
|
* ```
|
|
77
78
|
*
|
|
78
79
|
* @example Check if a path is readable
|
|
79
|
-
*
|
|
80
|
+
*
|
|
81
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
82
|
+
*
|
|
83
|
+
* ```ts ignore
|
|
80
84
|
* import { exists } from "@std/fs/exists";
|
|
81
85
|
*
|
|
82
86
|
* await exists("./readable", { isReadable: true }); // true
|
|
@@ -84,7 +88,7 @@ const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
|
84
88
|
* ```
|
|
85
89
|
*
|
|
86
90
|
* @example Check if a path is a directory
|
|
87
|
-
* ```ts
|
|
91
|
+
* ```ts ignore
|
|
88
92
|
* import { exists } from "@std/fs/exists";
|
|
89
93
|
*
|
|
90
94
|
* await exists("./directory", { isDirectory: true }); // true
|
|
@@ -92,7 +96,7 @@ const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
|
92
96
|
* ```
|
|
93
97
|
*
|
|
94
98
|
* @example Check if a path is a file
|
|
95
|
-
* ```ts
|
|
99
|
+
* ```ts ignore
|
|
96
100
|
* import { exists } from "@std/fs/exists";
|
|
97
101
|
*
|
|
98
102
|
* await exists("./file", { isFile: true }); // true
|
|
@@ -100,7 +104,10 @@ const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
|
100
104
|
* ```
|
|
101
105
|
*
|
|
102
106
|
* @example Check if a path is a readable directory
|
|
103
|
-
*
|
|
107
|
+
*
|
|
108
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
109
|
+
*
|
|
110
|
+
* ```ts ignore
|
|
104
111
|
* import { exists } from "@std/fs/exists";
|
|
105
112
|
*
|
|
106
113
|
* await exists("./readable_directory", { isReadable: true, isDirectory: true }); // true
|
|
@@ -108,7 +115,10 @@ const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
|
108
115
|
* ```
|
|
109
116
|
*
|
|
110
117
|
* @example Check if a path is a readable file
|
|
111
|
-
*
|
|
118
|
+
*
|
|
119
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
120
|
+
*
|
|
121
|
+
* ```ts ignore
|
|
112
122
|
* import { exists } from "@std/fs/exists";
|
|
113
123
|
*
|
|
114
124
|
* await exists("./readable_file", { isReadable: true, isFile: true }); // true
|
|
@@ -159,7 +169,8 @@ async function exists(path, options) {
|
|
|
159
169
|
* @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
|
|
160
170
|
* more information on the time-of-check to time-of-use bug.
|
|
161
171
|
*
|
|
162
|
-
* Requires `--allow-read` and `--allow-sys`
|
|
172
|
+
* Requires `--allow-read` permissions, and in some cases, `--allow-sys`
|
|
173
|
+
* permissions if `options.isReadable` is `true`.
|
|
163
174
|
*
|
|
164
175
|
* @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
|
|
165
176
|
* for more information on Deno's permissions system.
|
|
@@ -170,7 +181,7 @@ async function exists(path, options) {
|
|
|
170
181
|
* @returns `true` if the path exists, `false` otherwise.
|
|
171
182
|
*
|
|
172
183
|
* @example Recommended method
|
|
173
|
-
* ```ts
|
|
184
|
+
* ```ts ignore
|
|
174
185
|
* // Notice no use of exists
|
|
175
186
|
* try {
|
|
176
187
|
* Deno.removeSync("./foo", { recursive: true });
|
|
@@ -186,7 +197,7 @@ async function exists(path, options) {
|
|
|
186
197
|
* a possible race condition. See the above note for details.
|
|
187
198
|
*
|
|
188
199
|
* @example Basic usage
|
|
189
|
-
* ```ts
|
|
200
|
+
* ```ts ignore
|
|
190
201
|
* import { existsSync } from "@std/fs/exists";
|
|
191
202
|
*
|
|
192
203
|
* existsSync("./exists"); // true
|
|
@@ -194,7 +205,10 @@ async function exists(path, options) {
|
|
|
194
205
|
* ```
|
|
195
206
|
*
|
|
196
207
|
* @example Check if a path is readable
|
|
197
|
-
*
|
|
208
|
+
*
|
|
209
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
210
|
+
*
|
|
211
|
+
* ```ts ignore
|
|
198
212
|
* import { existsSync } from "@std/fs/exists";
|
|
199
213
|
*
|
|
200
214
|
* existsSync("./readable", { isReadable: true }); // true
|
|
@@ -202,7 +216,7 @@ async function exists(path, options) {
|
|
|
202
216
|
* ```
|
|
203
217
|
*
|
|
204
218
|
* @example Check if a path is a directory
|
|
205
|
-
* ```ts
|
|
219
|
+
* ```ts ignore
|
|
206
220
|
* import { existsSync } from "@std/fs/exists";
|
|
207
221
|
*
|
|
208
222
|
* existsSync("./directory", { isDirectory: true }); // true
|
|
@@ -210,7 +224,7 @@ async function exists(path, options) {
|
|
|
210
224
|
* ```
|
|
211
225
|
*
|
|
212
226
|
* @example Check if a path is a file
|
|
213
|
-
* ```ts
|
|
227
|
+
* ```ts ignore
|
|
214
228
|
* import { existsSync } from "@std/fs/exists";
|
|
215
229
|
*
|
|
216
230
|
* existsSync("./file", { isFile: true }); // true
|
|
@@ -218,7 +232,10 @@ async function exists(path, options) {
|
|
|
218
232
|
* ```
|
|
219
233
|
*
|
|
220
234
|
* @example Check if a path is a readable directory
|
|
221
|
-
*
|
|
235
|
+
*
|
|
236
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
237
|
+
*
|
|
238
|
+
* ```ts ignore
|
|
222
239
|
* import { existsSync } from "@std/fs/exists";
|
|
223
240
|
*
|
|
224
241
|
* existsSync("./readable_directory", { isReadable: true, isDirectory: true }); // true
|
|
@@ -226,7 +243,10 @@ async function exists(path, options) {
|
|
|
226
243
|
* ```
|
|
227
244
|
*
|
|
228
245
|
* @example Check if a path is a readable file
|
|
229
|
-
*
|
|
246
|
+
*
|
|
247
|
+
* Requires `--allow-sys` permissions in some cases.
|
|
248
|
+
*
|
|
249
|
+
* ```ts ignore
|
|
230
250
|
* import { existsSync } from "@std/fs/exists";
|
|
231
251
|
*
|
|
232
252
|
* existsSync("./readable_file", { isReadable: true, isFile: true }); // true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.224.
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.224.9/types.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,IAAI,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC7C;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,QAAQ,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;CACxC;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACvC;AACD;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;OAQG;IACH,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB,gEAAgE;IAChE,KAAK,IAAI,IAAI,CAAC;CACf;AAED;;;GAGG;AACH,oBAAY,QAAQ;IAElB,KAAK,IAAI;IAET,OAAO,IAAI;IAEX,GAAG,IAAI;CACR;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAClE;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC7D"}
|
|
@@ -11,7 +11,7 @@ import type { Writer, WriterSync } from "./types.js";
|
|
|
11
11
|
* ```
|
|
12
12
|
*
|
|
13
13
|
* @example Writing to file
|
|
14
|
-
* ```ts
|
|
14
|
+
* ```ts ignore no-assert
|
|
15
15
|
* import { writeAll } from "@std/io/write-all";
|
|
16
16
|
*
|
|
17
17
|
* const contentBytes = new TextEncoder().encode("Hello World");
|
|
@@ -36,7 +36,7 @@ export declare function writeAll(writer: Writer, data: Uint8Array): Promise<void
|
|
|
36
36
|
* ```
|
|
37
37
|
*
|
|
38
38
|
* @example Writing to file
|
|
39
|
-
* ```ts
|
|
39
|
+
* ```ts ignore no-assert
|
|
40
40
|
* import { writeAllSync } from "@std/io/write-all";
|
|
41
41
|
*
|
|
42
42
|
* const contentBytes = new TextEncoder().encode("Hello World");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write_all.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.224.
|
|
1
|
+
{"version":3,"file":"write_all.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.224.9/write_all.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,iBAK9D;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,QAKhE"}
|
|
@@ -16,7 +16,7 @@ exports.writeAllSync = writeAllSync;
|
|
|
16
16
|
* ```
|
|
17
17
|
*
|
|
18
18
|
* @example Writing to file
|
|
19
|
-
* ```ts
|
|
19
|
+
* ```ts ignore no-assert
|
|
20
20
|
* import { writeAll } from "@std/io/write-all";
|
|
21
21
|
*
|
|
22
22
|
* const contentBytes = new TextEncoder().encode("Hello World");
|
|
@@ -46,7 +46,7 @@ async function writeAll(writer, data) {
|
|
|
46
46
|
* ```
|
|
47
47
|
*
|
|
48
48
|
* @example Writing to file
|
|
49
|
-
* ```ts
|
|
49
|
+
* ```ts ignore no-assert
|
|
50
50
|
* import { writeAllSync } from "@std/io/write-all";
|
|
51
51
|
*
|
|
52
52
|
* const contentBytes = new TextEncoder().encode("Hello World");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_config.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"_config.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/_config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,aAAa,SAAS,CAAC;AAEpC,eAAO,MAAM,cAAc,EAAE,SAW5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_file_handler_symbols.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"_file_handler_symbols.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU,eAAiB,CAAC;AACzC,eAAO,MAAM,SAAS,eAAgB,CAAC;AACvC,eAAO,MAAM,aAAa,eAAoB,CAAC;AAC/C,eAAO,MAAM,cAAc,eAAqB,CAAC;AACjD,eAAO,MAAM,UAAU,eAAiB,CAAC;AACzC,eAAO,MAAM,iBAAiB,eAAwB,CAAC;AACvD,eAAO,MAAM,aAAa,eAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_state.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"_state.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/_state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,KAAK;;;;CAIjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base_handler.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"base_handler.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/base_handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,QAAQ,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,SAAS,KAAK,MAAM,CAAC;AAIjE,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC/B;AAED,8BAAsB,WAAW;;IAG/B,SAAS,EAAE,iBAAiB,CAAC;gBAG3B,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,kBAAkB;IAQ9B,IAAI,KAAK,IAAI,QAAQ,CAEpB;IAED,IAAI,KAAK,CAAC,KAAK,EAAE,QAAQ,EAGxB;IAED,IAAI,SAAS,IAAI,SAAS,CAEzB;IACD,IAAI,SAAS,CAAC,SAAS,EAAE,SAAS,EAGjC;IAED,MAAM,CAAC,SAAS,EAAE,SAAS;IAO3B,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM;IAIpC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAC/B,KAAK;IACL,OAAO;IAEP,CAAC,MAAM,CAAC,OAAO,CAAC;CAGjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console_handler.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"console_handler.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/console_handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEzE,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,WAAW;;gBAGjC,SAAS,EAAE,SAAS,EAAE,OAAO,GAAE,qBAA0B;IAK5D,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM;IAU7C,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;IAqB/C,GAAG,CAAC,GAAG,EAAE,MAAM;CAIhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"critical.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"critical.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/critical.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,qDAAqD;AACrD,wBAAgB,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;AAC7E,wBAAgB,QAAQ,CAAC,CAAC,EACxB,GAAG,EAAE,CAAC,SAAS,eAAe,GAAG,KAAK,GAAG,CAAC,EAC1C,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/debug.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,kDAAkD;AAClD,wBAAgB,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;AAC1E,wBAAgB,KAAK,CAAC,CAAC,EACrB,GAAG,EAAE,CAAC,SAAS,eAAe,GAAG,KAAK,GAAG,CAAC,EAC1C,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/log/0.224.8/error.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,kDAAkD;AAClD,wBAAgB,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;AAC1E,wBAAgB,KAAK,CAAC,CAAC,EACrB,GAAG,EAAE,CAAC,SAAS,eAAe,GAAG,KAAK,GAAG,CAAC,EAC1C,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,CAAC,CAAC"}
|