windmill-cli 1.510.0 → 1.511.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 +3 -3
- package/esm/wasm/{python → py}/windmill_parser_wasm.js +19 -0
- package/esm/wasm/{python → py}/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/regex/windmill_parser_wasm.js +38 -0
- package/esm/wasm/regex/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/ts/windmill_parser_wasm.js +22 -4
- package/esm/wasm/ts/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 +8 -0
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/main.d.ts +1 -1
- package/types/wasm/{python → py}/windmill_parser_wasm.d.ts +5 -0
- package/types/wasm/py/windmill_parser_wasm.d.ts.map +1 -0
- package/types/wasm/regex/windmill_parser_wasm.d.ts +10 -0
- package/types/wasm/regex/windmill_parser_wasm.d.ts.map +1 -1
- package/types/wasm/ts/windmill_parser_wasm.d.ts +6 -2
- package/types/wasm/ts/windmill_parser_wasm.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/types/wasm/python/windmill_parser_wasm.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.511.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
|
@@ -318,7 +318,7 @@ export async function updateFlow(workspace, flow_value, remotePath, rawDeps) {
|
|
|
318
318
|
export async function inferSchema(language, content, currentSchema, path) {
|
|
319
319
|
let inferedSchema;
|
|
320
320
|
if (language === "python3") {
|
|
321
|
-
const { parse_python } = await import("./wasm/
|
|
321
|
+
const { parse_python } = await import("./wasm/py/windmill_parser_wasm.js");
|
|
322
322
|
inferedSchema = JSON.parse(parse_python(content));
|
|
323
323
|
}
|
|
324
324
|
else if (language === "nativets") {
|
|
@@ -386,8 +386,8 @@ export async function inferSchema(language, content, currentSchema, path) {
|
|
|
386
386
|
];
|
|
387
387
|
}
|
|
388
388
|
else if (language === "duckdb") {
|
|
389
|
-
const {
|
|
390
|
-
inferedSchema = JSON.parse(
|
|
389
|
+
const { parse_duckdb } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
390
|
+
inferedSchema = JSON.parse(parse_duckdb(content));
|
|
391
391
|
}
|
|
392
392
|
else if (language === "graphql") {
|
|
393
393
|
const { parse_graphql } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
@@ -76,6 +76,25 @@ export function parse_python(code, main_override) {
|
|
|
76
76
|
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* @param {string} code
|
|
81
|
+
* @returns {string}
|
|
82
|
+
*/
|
|
83
|
+
export function parse_assets_py(code) {
|
|
84
|
+
let deferred2_0;
|
|
85
|
+
let deferred2_1;
|
|
86
|
+
try {
|
|
87
|
+
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
88
|
+
const len0 = WASM_VECTOR_LEN;
|
|
89
|
+
const ret = wasm.parse_assets_py(ptr0, len0);
|
|
90
|
+
deferred2_0 = ret[0];
|
|
91
|
+
deferred2_1 = ret[1];
|
|
92
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
93
|
+
}
|
|
94
|
+
finally {
|
|
95
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
79
98
|
const imports = {
|
|
80
99
|
__wbindgen_placeholder__: {
|
|
81
100
|
__wbindgen_init_externref_table: function () {
|
|
Binary file
|
|
@@ -146,6 +146,25 @@ export function parse_oracledb(code) {
|
|
|
146
146
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* @param {string} code
|
|
151
|
+
* @returns {string}
|
|
152
|
+
*/
|
|
153
|
+
export function parse_duckdb(code) {
|
|
154
|
+
let deferred2_0;
|
|
155
|
+
let deferred2_1;
|
|
156
|
+
try {
|
|
157
|
+
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
158
|
+
const len0 = WASM_VECTOR_LEN;
|
|
159
|
+
const ret = wasm.parse_duckdb(ptr0, len0);
|
|
160
|
+
deferred2_0 = ret[0];
|
|
161
|
+
deferred2_1 = ret[1];
|
|
162
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
163
|
+
}
|
|
164
|
+
finally {
|
|
165
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
149
168
|
/**
|
|
150
169
|
* @param {string} code
|
|
151
170
|
* @returns {string}
|
|
@@ -237,6 +256,25 @@ export function parse_graphql(code) {
|
|
|
237
256
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
238
257
|
}
|
|
239
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* @param {string} code
|
|
261
|
+
* @returns {string}
|
|
262
|
+
*/
|
|
263
|
+
export function parse_assets_sql(code) {
|
|
264
|
+
let deferred2_0;
|
|
265
|
+
let deferred2_1;
|
|
266
|
+
try {
|
|
267
|
+
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
268
|
+
const len0 = WASM_VECTOR_LEN;
|
|
269
|
+
const ret = wasm.parse_assets_sql(ptr0, len0);
|
|
270
|
+
deferred2_0 = ret[0];
|
|
271
|
+
deferred2_1 = ret[1];
|
|
272
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
273
|
+
}
|
|
274
|
+
finally {
|
|
275
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
240
278
|
const imports = {
|
|
241
279
|
__wbindgen_placeholder__: {
|
|
242
280
|
__wbindgen_init_externref_table: function () {
|
|
Binary file
|
|
@@ -146,10 +146,9 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
146
146
|
/**
|
|
147
147
|
* @param {string} code
|
|
148
148
|
* @param {string | null} [main_override]
|
|
149
|
-
* @param {boolean | null} [skip_params]
|
|
150
149
|
* @returns {string}
|
|
151
150
|
*/
|
|
152
|
-
export function parse_deno(code, main_override
|
|
151
|
+
export function parse_deno(code, main_override) {
|
|
153
152
|
let deferred3_0;
|
|
154
153
|
let deferred3_1;
|
|
155
154
|
try {
|
|
@@ -157,7 +156,7 @@ export function parse_deno(code, main_override, skip_params) {
|
|
|
157
156
|
const len0 = WASM_VECTOR_LEN;
|
|
158
157
|
var ptr1 = isLikeNone(main_override) ? 0 : passStringToWasm0(main_override, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
159
158
|
var len1 = WASM_VECTOR_LEN;
|
|
160
|
-
const ret = wasm.parse_deno(ptr0, len0, ptr1, len1
|
|
159
|
+
const ret = wasm.parse_deno(ptr0, len0, ptr1, len1);
|
|
161
160
|
deferred3_0 = ret[0];
|
|
162
161
|
deferred3_1 = ret[1];
|
|
163
162
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -204,6 +203,25 @@ export function parse_ts_imports(code) {
|
|
|
204
203
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
205
204
|
}
|
|
206
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* @param {string} code
|
|
208
|
+
* @returns {string}
|
|
209
|
+
*/
|
|
210
|
+
export function parse_assets_ts(code) {
|
|
211
|
+
let deferred2_0;
|
|
212
|
+
let deferred2_1;
|
|
213
|
+
try {
|
|
214
|
+
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
215
|
+
const len0 = WASM_VECTOR_LEN;
|
|
216
|
+
const ret = wasm.parse_assets_ts(ptr0, len0);
|
|
217
|
+
deferred2_0 = ret[0];
|
|
218
|
+
deferred2_1 = ret[1];
|
|
219
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
220
|
+
}
|
|
221
|
+
finally {
|
|
222
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
207
225
|
const imports = {
|
|
208
226
|
__wbindgen_placeholder__: {
|
|
209
227
|
__wbg_buffer_609cc3eee51ed158: function (arg0) {
|
|
@@ -224,7 +242,7 @@ const imports = {
|
|
|
224
242
|
const ret = Object.entries(arg0);
|
|
225
243
|
return ret;
|
|
226
244
|
},
|
|
227
|
-
|
|
245
|
+
__wbg_eval_b297c6e75720318e: function (arg0, arg1) {
|
|
228
246
|
const ret = eval(getStringFromWasm0(arg0, arg1));
|
|
229
247
|
return ret;
|
|
230
248
|
},
|
|
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,E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E,KAAK,EAAE,EAAE;QAC9D,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,OAAO,CAAC;QACf,OAAO,EAAE,OAAO,CAAC;QACjB,KAAK,EAAE,OAAO,CAAC;KAChB,GAAG,MAAM,GAAG,IAAI;IAqEjB,SAAS,CAAC,KAAK,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.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C,UAAU,EAAE,MAAM,GAAG,OAAO;IAoJ5C,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO;IAqMjE,eAAe,IAAI,OAAO;IAmG1B,kBAAkB,IAAI,OAAO;IAyB7B,SAAS,IAAI,OAAO;IA6BpB,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_type/map.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CASxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.9/_type/merge.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,CAKzC,CAAC"}
|