windmill-cli 1.510.1 → 1.512.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/esm/auth.js +1 -1
- package/esm/deps/jsr.io/@std/fs/1.0.19/copy.js +1 -1
- package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.js +1 -1
- package/esm/deps/jsr.io/@std/fs/1.0.19/expand_glob.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/dirname.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/extname.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/join.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/join_globs.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/normalize.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/normalize_glob.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/parse.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/resolve.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_loader_state.js +19 -22
- package/esm/deps.js +2 -2
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/main.js +1 -1
- package/esm/metadata.js +44 -20
- package/esm/wasm/csharp/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/go/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/java/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/nu/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/php/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/py/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/regex/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/rust/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/ts/windmill_parser_wasm.js +1 -1
- package/esm/wasm/ts/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/yaml/windmill_parser_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/types/auth.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_chars.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_dumper_state.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_loader_state.d.ts +3 -3
- package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_schema.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/binary.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/bool.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/float.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/int.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/map.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/merge.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/nil.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/omap.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/pairs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/seq.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/set.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/str.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/timestamp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/undefined.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_utils.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/stringify.d.ts.map +1 -1
- package/types/deps.d.ts +2 -2
- package/types/gen/types.gen.d.ts +17 -6
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/main.d.ts +1 -1
- package/types/metadata.d.ts +25 -18
- package/types/metadata.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/1.0.9/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.9/os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.8/_loader_state.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/internal/{1.0.9 → 1.0.10}/_os.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.9 → 1.0.10}/os.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_chars.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_dumper_state.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_schema.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/binary.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/bool.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/float.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/int.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/map.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/merge.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/nil.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/omap.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/pairs.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/regexp.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/seq.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/set.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/str.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/timestamp.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/undefined.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_utils.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/parse.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/stringify.js +0 -0
- /package/types/deps/jsr.io/@std/internal/{1.0.9 → 1.0.10}/_os.d.ts +0 -0
- /package/types/deps/jsr.io/@std/internal/{1.0.9 → 1.0.10}/os.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_chars.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_dumper_state.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_schema.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/binary.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/bool.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/float.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/int.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/map.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/merge.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/nil.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/omap.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/pairs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/seq.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/str.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/timestamp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type/undefined.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/_utils.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.8 → 1.0.9}/stringify.d.ts +0 -0
package/esm/auth.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { log, setClient } from "./deps.js";
|
|
3
3
|
import * as wmill from "./gen/services.gen.js";
|
|
4
4
|
import { loginInteractive, tryGetLoginInfo } from "./login.js";
|
|
5
|
-
import { addWorkspace, removeWorkspace } from "./workspace.js";
|
|
6
5
|
/**
|
|
7
6
|
* Main authentication function - moved from context.ts to break circular dependencies
|
|
8
7
|
* This function maintains the original API signature from context.ts
|
|
@@ -31,6 +30,7 @@ export async function requireLogin(opts) {
|
|
|
31
30
|
throw new Error("Unauthorized: Could not authenticate with the provided credentials");
|
|
32
31
|
}
|
|
33
32
|
// Update workspace token
|
|
33
|
+
const { removeWorkspace, addWorkspace } = await import("./workspace.js");
|
|
34
34
|
removeWorkspace(workspace.name, false, opts);
|
|
35
35
|
workspace.token = newToken;
|
|
36
36
|
addWorkspace(workspace, opts);
|
|
@@ -7,7 +7,7 @@ import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
|
7
7
|
import { getFileInfoType } from "./_get_file_info_type.js";
|
|
8
8
|
import { toPathString } from "./_to_path_string.js";
|
|
9
9
|
import { isSubdir } from "./_is_subdir.js";
|
|
10
|
-
import { isWindows } from "../../internal/1.0.
|
|
10
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
11
11
|
function assertIsDate(date, name) {
|
|
12
12
|
if (date === null) {
|
|
13
13
|
throw new Error(`${name} is unavailable`);
|
|
@@ -5,7 +5,7 @@ import { resolve } from "../../path/1.1.1/resolve.js";
|
|
|
5
5
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
6
6
|
import { getFileInfoType } from "./_get_file_info_type.js";
|
|
7
7
|
import { toPathString } from "./_to_path_string.js";
|
|
8
|
-
import { isWindows } from "../../internal/1.0.
|
|
8
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
9
9
|
function resolveSymlinkTarget(target, linkName) {
|
|
10
10
|
if (typeof target !== "string")
|
|
11
11
|
return target; // URL is always absolute path
|
|
@@ -9,7 +9,7 @@ import { SEPARATOR_PATTERN } from "../../path/1.1.1/constants.js";
|
|
|
9
9
|
import { walk, walkSync } from "./walk.js";
|
|
10
10
|
import { toPathString } from "./_to_path_string.js";
|
|
11
11
|
import { createWalkEntry, createWalkEntrySync, } from "./_create_walk_entry.js";
|
|
12
|
-
import { isWindows } from "../../internal/1.0.
|
|
12
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
13
13
|
function split(path) {
|
|
14
14
|
const s = SEPARATOR_PATTERN.source;
|
|
15
15
|
const segments = path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { basename as posixBasename } from "./posix/basename.js";
|
|
5
5
|
import { basename as windowsBasename } from "./windows/basename.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
/**
|
|
5
5
|
* The character used to separate entries in the PATH environment variable.
|
|
6
6
|
* On Windows, this is `;`. On all other platforms, this is `:`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { dirname as posixDirname } from "./posix/dirname.js";
|
|
5
5
|
import { dirname as windowsDirname } from "./windows/dirname.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { extname as posixExtname } from "./posix/extname.js";
|
|
5
5
|
import { extname as windowsExtname } from "./windows/extname.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { format as posixFormat } from "./posix/format.js";
|
|
5
5
|
import { format as windowsFormat } from "./windows/format.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { fromFileUrl as posixFromFileUrl } from "./posix/from_file_url.js";
|
|
5
5
|
import { fromFileUrl as windowsFromFileUrl } from "./windows/from_file_url.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { globToRegExp as posixGlobToRegExp } from "./posix/glob_to_regexp.js";
|
|
5
5
|
import { globToRegExp as windowsGlobToRegExp, } from "./windows/glob_to_regexp.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { isAbsolute as posixIsAbsolute } from "./posix/is_absolute.js";
|
|
5
5
|
import { isAbsolute as windowsIsAbsolute } from "./windows/is_absolute.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { join as posixJoin } from "./posix/join.js";
|
|
5
5
|
import { join as windowsJoin } from "./windows/join.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { joinGlobs as posixJoinGlobs } from "./posix/join_globs.js";
|
|
5
5
|
import { joinGlobs as windowsJoinGlobs } from "./windows/join_globs.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { normalize as posixNormalize } from "./posix/normalize.js";
|
|
5
5
|
import { normalize as windowsNormalize } from "./windows/normalize.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { normalizeGlob as posixNormalizeGlob } from "./posix/normalize_glob.js";
|
|
5
5
|
import { normalizeGlob as windowsNormalizeGlob, } from "./windows/normalize_glob.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { parse as posixParse } from "./posix/parse.js";
|
|
5
5
|
import { parse as windowsParse } from "./windows/parse.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { relative as posixRelative } from "./posix/relative.js";
|
|
5
5
|
import { relative as windowsRelative } from "./windows/relative.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { resolve as posixResolve } from "./posix/resolve.js";
|
|
5
5
|
import { resolve as windowsResolve } from "./windows/resolve.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { toFileUrl as posixToFileUrl } from "./posix/to_file_url.js";
|
|
5
5
|
import { toFileUrl as windowsToFileUrl } from "./windows/to_file_url.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "../../internal/1.0.
|
|
3
|
+
import { isWindows } from "../../internal/1.0.10/os.js";
|
|
4
4
|
import { toNamespacedPath as posixToNamespacedPath } from "./posix/to_namespaced_path.js";
|
|
5
5
|
import { toNamespacedPath as windowsToNamespacedPath } from "./windows/to_namespaced_path.js";
|
|
6
6
|
/**
|
|
@@ -186,12 +186,6 @@ export class LoaderState {
|
|
|
186
186
|
writable: true,
|
|
187
187
|
value: void 0
|
|
188
188
|
});
|
|
189
|
-
Object.defineProperty(this, "version", {
|
|
190
|
-
enumerable: true,
|
|
191
|
-
configurable: true,
|
|
192
|
-
writable: true,
|
|
193
|
-
value: void 0
|
|
194
|
-
});
|
|
195
189
|
Object.defineProperty(this, "checkLineBreaks", {
|
|
196
190
|
enumerable: true,
|
|
197
191
|
configurable: true,
|
|
@@ -240,7 +234,6 @@ export class LoaderState {
|
|
|
240
234
|
this.implicitTypes = schema.implicitTypes;
|
|
241
235
|
this.typeMap = schema.typeMap;
|
|
242
236
|
this.length = input.length;
|
|
243
|
-
this.version = null;
|
|
244
237
|
this.readIndent();
|
|
245
238
|
}
|
|
246
239
|
skipWhitespaces() {
|
|
@@ -276,10 +269,7 @@ export class LoaderState {
|
|
|
276
269
|
const error = __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, message);
|
|
277
270
|
this.onWarning?.(error);
|
|
278
271
|
}
|
|
279
|
-
yamlDirectiveHandler(
|
|
280
|
-
if (this.version !== null) {
|
|
281
|
-
throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle YAML directive: duplication of %YAML directive");
|
|
282
|
-
}
|
|
272
|
+
yamlDirectiveHandler(args) {
|
|
283
273
|
if (args.length !== 1) {
|
|
284
274
|
throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle YAML directive: YAML directive accepts exactly one argument");
|
|
285
275
|
}
|
|
@@ -292,13 +282,13 @@ export class LoaderState {
|
|
|
292
282
|
if (major !== 1) {
|
|
293
283
|
throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle YAML directive: unacceptable YAML version");
|
|
294
284
|
}
|
|
295
|
-
this.version = args[0] ?? null;
|
|
296
285
|
this.checkLineBreaks = minor < 2;
|
|
297
286
|
if (minor !== 1 && minor !== 2) {
|
|
298
|
-
|
|
287
|
+
this.dispatchWarning("Cannot handle YAML directive: unsupported YAML version");
|
|
299
288
|
}
|
|
289
|
+
return args[0] ?? null;
|
|
300
290
|
}
|
|
301
|
-
tagDirectiveHandler(
|
|
291
|
+
tagDirectiveHandler(args) {
|
|
302
292
|
if (args.length !== 2) {
|
|
303
293
|
throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot handle tag directive: directive accepts exactly two arguments, received ${args.length}`);
|
|
304
294
|
}
|
|
@@ -1333,13 +1323,9 @@ export class LoaderState {
|
|
|
1333
1323
|
}
|
|
1334
1324
|
return this.tag !== null || this.anchor !== null || hasContent;
|
|
1335
1325
|
}
|
|
1336
|
-
|
|
1337
|
-
const documentStart = this.position;
|
|
1326
|
+
readDirectives() {
|
|
1338
1327
|
let hasDirectives = false;
|
|
1339
|
-
|
|
1340
|
-
this.checkLineBreaks = false;
|
|
1341
|
-
this.tagMap = new Map();
|
|
1342
|
-
this.anchorMap = new Map();
|
|
1328
|
+
let version = null;
|
|
1343
1329
|
let ch = this.peek();
|
|
1344
1330
|
while (ch !== 0) {
|
|
1345
1331
|
this.skipSeparationSpace(true, -1);
|
|
@@ -1374,10 +1360,13 @@ export class LoaderState {
|
|
|
1374
1360
|
this.readLineBreak();
|
|
1375
1361
|
switch (directiveName) {
|
|
1376
1362
|
case "YAML":
|
|
1377
|
-
|
|
1363
|
+
if (version !== null) {
|
|
1364
|
+
throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle YAML directive: duplication of %YAML directive");
|
|
1365
|
+
}
|
|
1366
|
+
version = this.yamlDirectiveHandler(directiveArgs);
|
|
1378
1367
|
break;
|
|
1379
1368
|
case "TAG":
|
|
1380
|
-
this.tagDirectiveHandler(
|
|
1369
|
+
this.tagDirectiveHandler(directiveArgs);
|
|
1381
1370
|
break;
|
|
1382
1371
|
default:
|
|
1383
1372
|
this.dispatchWarning(`unknown document directive "${directiveName}"`);
|
|
@@ -1385,6 +1374,14 @@ export class LoaderState {
|
|
|
1385
1374
|
}
|
|
1386
1375
|
ch = this.peek();
|
|
1387
1376
|
}
|
|
1377
|
+
return hasDirectives;
|
|
1378
|
+
}
|
|
1379
|
+
readDocument() {
|
|
1380
|
+
const documentStart = this.position;
|
|
1381
|
+
this.checkLineBreaks = false;
|
|
1382
|
+
this.tagMap = new Map();
|
|
1383
|
+
this.anchorMap = new Map();
|
|
1384
|
+
const hasDirectives = this.readDirectives();
|
|
1388
1385
|
this.skipSeparationSpace(true, -1);
|
|
1389
1386
|
if (this.lineIndent === 0 &&
|
|
1390
1387
|
this.peek() === MINUS &&
|
package/esm/deps.js
CHANGED
|
@@ -20,8 +20,8 @@ export { writeAllSync } from "./deps/jsr.io/@std/io/0.225.2/write_all.js";
|
|
|
20
20
|
export { copy } from "./deps/jsr.io/@std/io/0.225.2/copy.js";
|
|
21
21
|
export { readAll } from "./deps/jsr.io/@std/io/0.225.2/read_all.js";
|
|
22
22
|
export * as log from "./deps/jsr.io/@std/log/0.224.14/mod.js";
|
|
23
|
-
export { stringify as yamlStringify } from "./deps/jsr.io/@std/yaml/1.0.
|
|
24
|
-
import { parse as yamlParse } from "./deps/jsr.io/@std/yaml/1.0.
|
|
23
|
+
export { stringify as yamlStringify } from "./deps/jsr.io/@std/yaml/1.0.9/mod.js";
|
|
24
|
+
import { parse as yamlParse } from "./deps/jsr.io/@std/yaml/1.0.9/mod.js";
|
|
25
25
|
export async function yamlParseFile(path, options = {}) {
|
|
26
26
|
try {
|
|
27
27
|
return yamlParse(await dntShim.Deno.readTextFile(path), options);
|
package/esm/gen/core/OpenAPI.js
CHANGED
package/esm/main.js
CHANGED
|
@@ -36,7 +36,7 @@ export { flow, app, script, workspace, resource, user, variable, hub, folder, sc
|
|
|
36
36
|
// console.error(JSON.stringify(event.error, null, 4));
|
|
37
37
|
// }
|
|
38
38
|
// });
|
|
39
|
-
export const VERSION = "1.
|
|
39
|
+
export const VERSION = "1.512.0";
|
|
40
40
|
const command = new Command()
|
|
41
41
|
.name("wmill")
|
|
42
42
|
.action(() => log.info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`))
|
package/esm/metadata.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as dntShim from "./_dnt.shims.js";
|
|
3
3
|
import { SEP, colors, log, path, yamlParseFile, yamlStringify, } from "./deps.js";
|
|
4
4
|
import { defaultScriptMetadata, } from "./bootstrap/script_bootstrap.js";
|
|
5
|
-
import { languagesWithRawReqsSupport } from "./script_common.js";
|
|
5
|
+
import { languagesWithRawReqsSupport, } from "./script_common.js";
|
|
6
6
|
import { inferContentTypeFromFilePath } from "./script_common.js";
|
|
7
7
|
import { exts, findGlobalDeps } from "./script.js";
|
|
8
8
|
import { FSFSElement, extractInlineScriptsForFlows, findCodebase, newPathAssigner, yamlOptions, } from "./sync.js";
|
|
@@ -40,10 +40,11 @@ async function generateFlowHash(rawReqs, folder, defaultTs) {
|
|
|
40
40
|
// Get language name from path
|
|
41
41
|
const lang = inferContentTypeFromFilePath(f.path, defaultTs);
|
|
42
42
|
// Get lock for that language
|
|
43
|
-
[, reqs] =
|
|
43
|
+
[, reqs] =
|
|
44
|
+
Object.entries(rawReqs).find(([lang2, _]) => lang == lang2) ?? [];
|
|
44
45
|
}
|
|
45
46
|
// Embed lock into hash
|
|
46
|
-
hashes[f.path] = await generateHash(await f.getContentText() + (reqs ?? ""));
|
|
47
|
+
hashes[f.path] = await generateHash((await f.getContentText()) + (reqs ?? ""));
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
return { ...hashes, [TOP_HASH]: await generateHash(JSON.stringify(hashes)) };
|
|
@@ -86,7 +87,9 @@ export async function generateFlowLockInternal(folder, dryRun, workspace, opts,
|
|
|
86
87
|
}
|
|
87
88
|
if (useRawReqs) {
|
|
88
89
|
log.warn("If using local lockfiles, following redeployments from Web App will inevitably override generated lockfiles by CLI. To maintain your script's lockfiles you will need to redeploy only from CLI. (Behavior is subject to change)");
|
|
89
|
-
log.info((await blueColor())(`Found raw requirements (${languagesWithRawReqsSupport
|
|
90
|
+
log.info((await blueColor())(`Found raw requirements (${languagesWithRawReqsSupport
|
|
91
|
+
.map((l) => l.rrFilename)
|
|
92
|
+
.join("/")}) for ${folder}, using it`));
|
|
90
93
|
}
|
|
91
94
|
const flowValue = (await yamlParseFile(folder + SEP + "flow.yaml"));
|
|
92
95
|
if (!justUpdateMetadataLock) {
|
|
@@ -534,9 +537,12 @@ export function argSigToJsonSchemaType(t, oldS) {
|
|
|
534
537
|
}
|
|
535
538
|
else if (typeof t !== "string" && `object` in t) {
|
|
536
539
|
newS.type = "object";
|
|
537
|
-
if (t.object) {
|
|
540
|
+
if (t.object.name) {
|
|
541
|
+
newS.format = `resource-${t.object.name}`;
|
|
542
|
+
}
|
|
543
|
+
if (t.object.props) {
|
|
538
544
|
const properties = {};
|
|
539
|
-
for (const prop of t.object) {
|
|
545
|
+
for (const prop of t.object.props) {
|
|
540
546
|
if (oldS.properties && prop.key in oldS.properties) {
|
|
541
547
|
properties[prop.key] = oldS.properties[prop.key];
|
|
542
548
|
}
|
|
@@ -575,15 +581,23 @@ export function argSigToJsonSchemaType(t, oldS) {
|
|
|
575
581
|
newS.type = "array";
|
|
576
582
|
if (t.list === "int" || t.list === "float") {
|
|
577
583
|
newS.items = { type: "number" };
|
|
584
|
+
newS.originalType = "number[]";
|
|
578
585
|
}
|
|
579
586
|
else if (t.list === "bytes") {
|
|
580
587
|
newS.items = { type: "string", contentEncoding: "base64" };
|
|
588
|
+
newS.originalType = "bytes[]";
|
|
581
589
|
}
|
|
582
|
-
else if (t.list
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
590
|
+
else if (t.list &&
|
|
591
|
+
typeof t.list == "object" &&
|
|
592
|
+
"str" in t.list &&
|
|
593
|
+
t.list.str) {
|
|
586
594
|
newS.items = { type: "string", enum: t.list.str };
|
|
595
|
+
newS.originalType = "enum[]";
|
|
596
|
+
}
|
|
597
|
+
else if (t.list == "string" ||
|
|
598
|
+
(t.list && typeof t.list == "object" && "str" in t.list)) {
|
|
599
|
+
newS.items = { type: "string", enum: oldS.items?.enum };
|
|
600
|
+
newS.originalType = "string[]";
|
|
587
601
|
}
|
|
588
602
|
else if (t.list &&
|
|
589
603
|
typeof t.list == "object" &&
|
|
@@ -593,21 +607,31 @@ export function argSigToJsonSchemaType(t, oldS) {
|
|
|
593
607
|
type: "resource",
|
|
594
608
|
resourceType: t.list.resource,
|
|
595
609
|
};
|
|
610
|
+
newS.originalType = "resource[]";
|
|
596
611
|
}
|
|
597
612
|
else if (t.list &&
|
|
598
613
|
typeof t.list == "object" &&
|
|
599
614
|
"object" in t.list &&
|
|
600
|
-
t.list.object
|
|
601
|
-
t.list.object.
|
|
602
|
-
|
|
603
|
-
for (const prop of t.list.object) {
|
|
604
|
-
properties[prop.key] = { description: "", type: "" };
|
|
605
|
-
argSigToJsonSchemaType(prop.typ, properties[prop.key]);
|
|
615
|
+
t.list.object) {
|
|
616
|
+
if (t.list.object.name) {
|
|
617
|
+
newS.format = `resource-${t.list.object.name}`;
|
|
606
618
|
}
|
|
607
|
-
|
|
619
|
+
if (t.list.object.props && t.list.object.props.length > 0) {
|
|
620
|
+
const properties = {};
|
|
621
|
+
for (const prop of t.list.object.props) {
|
|
622
|
+
properties[prop.key] = { description: "", type: "" };
|
|
623
|
+
argSigToJsonSchemaType(prop.typ, properties[prop.key]);
|
|
624
|
+
}
|
|
625
|
+
newS.items = { type: "object", properties: properties };
|
|
626
|
+
}
|
|
627
|
+
else {
|
|
628
|
+
newS.items = { type: "object" };
|
|
629
|
+
}
|
|
630
|
+
newS.originalType = "record[]";
|
|
608
631
|
}
|
|
609
632
|
else {
|
|
610
633
|
newS.items = { type: "object" };
|
|
634
|
+
newS.originalType = "object[]";
|
|
611
635
|
}
|
|
612
636
|
}
|
|
613
637
|
else {
|
|
@@ -655,14 +679,14 @@ export function argSigToJsonSchemaType(t, oldS) {
|
|
|
655
679
|
else if (oldS.items?.type != newS.items?.type) {
|
|
656
680
|
delete oldS.items;
|
|
657
681
|
}
|
|
682
|
+
if (oldS.format && !newS.format) {
|
|
683
|
+
oldS.format = undefined;
|
|
684
|
+
}
|
|
658
685
|
Object.assign(oldS, newS);
|
|
659
686
|
// if (sameItems && savedItems != undefined && savedItems.enum != undefined) {
|
|
660
687
|
// sendUserToast(JSON.stringify(savedItems))
|
|
661
688
|
// oldS.items = savedItems
|
|
662
689
|
// }
|
|
663
|
-
if (oldS.format?.startsWith("resource-") && newS.type != "object") {
|
|
664
|
-
oldS.format = undefined;
|
|
665
|
-
}
|
|
666
690
|
}
|
|
667
691
|
////////////////////////////////////////////////////////////////////////////////////////////
|
|
668
692
|
// end of refactoring TODO //
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -242,7 +242,7 @@ const imports = {
|
|
|
242
242
|
const ret = Object.entries(arg0);
|
|
243
243
|
return ret;
|
|
244
244
|
},
|
|
245
|
-
|
|
245
|
+
__wbg_eval_5e26645562cd9430: function (arg0, arg1) {
|
|
246
246
|
const ret = eval(getStringFromWasm0(arg0, arg1));
|
|
247
247
|
return ret;
|
|
248
248
|
},
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/types/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C;;;GAGG;AACH,wBAAsB,YAAY,CAChC,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,cAAc,CAAC,CA0CzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_os.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/_os.ts"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,IAAI,OAAO,CAUtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"os.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/os.ts"],"names":[],"mappings":"AAKA,8CAA8C;AAC9C,eAAO,MAAM,SAAS,EAAE,OAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_chars.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"_chars.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_chars.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,GAAG,QAAS,CAAC;AAC1B,eAAO,MAAM,GAAG,IAAO,CAAC;AACxB,eAAO,MAAM,SAAS,KAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,KAAO,CAAC;AACpC,eAAO,MAAM,KAAK,KAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,KAAO,CAAC;AAChC,eAAO,MAAM,YAAY,KAAO,CAAC;AACjC,eAAO,MAAM,KAAK,KAAO,CAAC;AAC1B,eAAO,MAAM,OAAO,KAAO,CAAC;AAC5B,eAAO,MAAM,SAAS,KAAO,CAAC;AAC9B,eAAO,MAAM,YAAY,KAAO,CAAC;AACjC,eAAO,MAAM,QAAQ,KAAO,CAAC;AAC7B,eAAO,MAAM,IAAI,KAAO,CAAC;AACzB,eAAO,MAAM,KAAK,KAAO,CAAC;AAC1B,eAAO,MAAM,KAAK,KAAO,CAAC;AAC1B,eAAO,MAAM,GAAG,KAAO,CAAC;AACxB,eAAO,MAAM,KAAK,KAAO,CAAC;AAC1B,eAAO,MAAM,YAAY,KAAO,CAAC;AACjC,eAAO,MAAM,YAAY,KAAO,CAAC;AACjC,eAAO,MAAM,QAAQ,KAAO,CAAC;AAC7B,eAAO,MAAM,aAAa,KAAO,CAAC;AAClC,eAAO,MAAM,mBAAmB,KAAO,CAAC;AACxC,eAAO,MAAM,SAAS,KAAO,CAAC;AAC9B,eAAO,MAAM,oBAAoB,KAAO,CAAC;AACzC,eAAO,MAAM,YAAY,KAAO,CAAC;AACjC,eAAO,MAAM,kBAAkB,MAAO,CAAC;AACvC,eAAO,MAAM,aAAa,MAAO,CAAC;AAClC,eAAO,MAAM,mBAAmB,MAAO,CAAC;AAExC,wBAAgB,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAExC;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAE/C;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAQlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_dumper_state.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"_dumper_state.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAkB,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAoX/D,MAAM,WAAW,kBAAkB;IACjC,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACtC,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,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K,EAAE,OAAO,GAAG,MAAM;CAoBlC"}
|
|
@@ -20,7 +20,6 @@ export declare class LoaderState {
|
|
|
20
20
|
allowDuplicateKeys: boolean;
|
|
21
21
|
implicitTypes: Type<"scalar">[];
|
|
22
22
|
typeMap: TypeMap;
|
|
23
|
-
version: string | null;
|
|
24
23
|
checkLineBreaks: boolean;
|
|
25
24
|
tagMap: Map<any, any>;
|
|
26
25
|
anchorMap: Map<any, any>;
|
|
@@ -35,8 +34,8 @@ export declare class LoaderState {
|
|
|
35
34
|
peek(offset?: number): number;
|
|
36
35
|
next(): number;
|
|
37
36
|
dispatchWarning(message: string): void;
|
|
38
|
-
yamlDirectiveHandler(
|
|
39
|
-
tagDirectiveHandler(
|
|
37
|
+
yamlDirectiveHandler(args: string[]): string | null;
|
|
38
|
+
tagDirectiveHandler(args: string[]): void;
|
|
40
39
|
captureSegment(start: number, end: number, checkJson: boolean): void;
|
|
41
40
|
readBlockSequence(nodeIndent: number): boolean;
|
|
42
41
|
mergeMappings(destination: Record<string, unknown>, source: Record<string, unknown>, overridableKeys: Set<string>): void;
|
|
@@ -60,6 +59,7 @@ export declare class LoaderState {
|
|
|
60
59
|
allowToSeek: boolean;
|
|
61
60
|
allowCompact: boolean;
|
|
62
61
|
}): boolean;
|
|
62
|
+
readDirectives(): boolean;
|
|
63
63
|
readDocument(): string | Record<string, unknown> | unknown[] | null;
|
|
64
64
|
readDocuments(): Generator<string | Record<string, unknown> | unknown[] | null, void, unknown>;
|
|
65
65
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_loader_state.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_loader_state.ts"],"names":[],"mappings":"AAsCA,OAAO,EAAkB,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAY,IAAI,EAAE,MAAM,YAAY,CAAC;AAqBjD,MAAM,WAAW,kBAAkB;IACjC,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A6BpB,WAAW,CACT,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE;QACxD,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,OAAO,CAAC;QACrB,YAAY,EAAE,OAAO,CAAC;KACvB,GACA,OAAO;IA8JV,cAAc;IAuEd,YAAY;IAwDX,aAAa;CAKf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_schema.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"_schema.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_schema.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAiBjD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAE/E,KAAK,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;AACnC,KAAK,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;AAEnC,MAAM,MAAM,OAAO,GAAG,MAAM,CAC1B,QAAQ,GAAG,UAAU,EACrB,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAC1B,CAAC;AAqBF,MAAM,WAAW,MAAM;IACrB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB;AA2CD;;GAEG;AACH,eAAO,MAAM,cAAc,QAIzB,CAAC;AA2BH,eAAO,MAAM,UAAU,yBAMrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binary.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"binary.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_type/binary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAmHxC,eAAO,MAAM,MAAM,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,CAO7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bool.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"bool.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_type/bool.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAMxC,eAAO,MAAM,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,CAyBxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"float.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"float.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_type/float.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAgB,IAAI,EAAE,MAAM,aAAa,CAAC;AAkGtD,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAQxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"int.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"int.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_type/int.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAqIxC,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAmCtC,CAAC"}
|