ventojs 0.7.1 → 0.7.2
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/_dnt.shims.js +0 -1
- package/esm/deps/deno.land/std@0.201.0/assert/assert.d.ts +2 -0
- package/esm/deps/deno.land/std@0.201.0/assert/assert.js +8 -0
- package/esm/deps/deno.land/std@0.201.0/assert/assertion_error.d.ts +4 -0
- package/esm/deps/deno.land/std@0.201.0/assert/assertion_error.js +7 -0
- package/esm/deps/deno.land/std@0.201.0/path/_basename.d.ts +16 -0
- package/esm/deps/deno.land/std@0.201.0/path/_basename.js +78 -0
- package/esm/deps/deno.land/std@0.201.0/path/_dirname.d.ts +10 -0
- package/esm/deps/deno.land/std@0.201.0/path/_dirname.js +132 -0
- package/esm/deps/deno.land/std@0.201.0/path/_extname.d.ts +12 -0
- package/esm/deps/deno.land/std@0.201.0/path/_extname.js +121 -0
- package/esm/deps/deno.land/std@0.201.0/path/_format.d.ts +11 -0
- package/esm/deps/deno.land/std@0.201.0/path/_format.js +35 -0
- package/esm/deps/deno.land/std@0.201.0/path/_from_file_url.d.ts +25 -0
- package/esm/deps/deno.land/std@0.201.0/path/_from_file_url.js +46 -0
- package/esm/deps/deno.land/std@0.201.0/path/_is_absolute.d.ts +10 -0
- package/esm/deps/deno.land/std@0.201.0/path/_is_absolute.js +34 -0
- package/esm/deps/deno.land/std@0.201.0/path/_join.d.ts +10 -0
- package/esm/deps/deno.land/std@0.201.0/path/_join.js +93 -0
- package/esm/deps/deno.land/std@0.201.0/path/_normalize.d.ts +14 -0
- package/esm/deps/deno.land/std@0.201.0/path/_normalize.js +153 -0
- package/esm/deps/deno.land/std@0.201.0/path/_parse.d.ts +11 -0
- package/esm/deps/deno.land/std@0.201.0/path/_parse.js +250 -0
- package/esm/deps/deno.land/std@0.201.0/path/_relative.d.ts +19 -0
- package/esm/deps/deno.land/std@0.201.0/path/_relative.js +216 -0
- package/esm/deps/deno.land/std@0.201.0/path/_resolve.d.ts +10 -0
- package/esm/deps/deno.land/std@0.201.0/path/_resolve.js +183 -0
- package/esm/deps/deno.land/std@0.201.0/path/_to_file_url.d.ts +25 -0
- package/esm/deps/deno.land/std@0.201.0/path/_to_file_url.js +61 -0
- package/esm/deps/deno.land/std@0.201.0/path/_to_namespaced_path.d.ts +10 -0
- package/esm/deps/deno.land/std@0.201.0/path/_to_namespaced_path.js +46 -0
- package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/_util.d.ts +0 -5
- package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/_util.js +0 -54
- package/esm/deps/deno.land/std@0.201.0/path/basename.d.ts +8 -0
- package/esm/deps/deno.land/std@0.201.0/path/basename.js +16 -0
- package/esm/deps/deno.land/std@0.201.0/path/dirname.d.ts +5 -0
- package/esm/deps/deno.land/std@0.201.0/path/dirname.js +11 -0
- package/esm/deps/deno.land/std@0.201.0/path/extname.d.ts +6 -0
- package/esm/deps/deno.land/std@0.201.0/path/extname.js +12 -0
- package/esm/deps/deno.land/std@0.201.0/path/format.d.ts +6 -0
- package/esm/deps/deno.land/std@0.201.0/path/format.js +11 -0
- package/esm/deps/deno.land/std@0.201.0/path/from_file_url.d.ts +18 -0
- package/esm/deps/deno.land/std@0.201.0/path/from_file_url.js +23 -0
- package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/glob.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/glob.js +50 -50
- package/esm/deps/deno.land/std@0.201.0/path/is_absolute.d.ts +5 -0
- package/esm/deps/deno.land/std@0.201.0/path/is_absolute.js +11 -0
- package/esm/deps/deno.land/std@0.201.0/path/join.d.ts +5 -0
- package/esm/deps/deno.land/std@0.201.0/path/join.js +11 -0
- package/esm/deps/deno.land/std@0.201.0/path/mod.d.ts +22 -0
- package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/mod.js +17 -4
- package/esm/deps/deno.land/std@0.201.0/path/normalize.d.ts +7 -0
- package/esm/deps/deno.land/std@0.201.0/path/normalize.js +13 -0
- package/esm/deps/deno.land/std@0.201.0/path/parse.d.ts +6 -0
- package/esm/deps/deno.land/std@0.201.0/path/parse.js +11 -0
- package/esm/deps/deno.land/std@0.201.0/path/posix.d.ts +15 -0
- package/esm/deps/deno.land/std@0.201.0/path/posix.js +19 -0
- package/esm/deps/deno.land/std@0.201.0/path/relative.d.ts +12 -0
- package/esm/deps/deno.land/std@0.201.0/path/relative.js +18 -0
- package/esm/deps/deno.land/std@0.201.0/path/resolve.d.ts +5 -0
- package/esm/deps/deno.land/std@0.201.0/path/resolve.js +13 -0
- package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/separator.js +1 -1
- package/esm/deps/deno.land/std@0.201.0/path/to_file_url.d.ts +18 -0
- package/esm/deps/deno.land/std@0.201.0/path/to_file_url.js +23 -0
- package/esm/deps/deno.land/std@0.201.0/path/to_namespaced_path.d.ts +5 -0
- package/esm/deps/deno.land/std@0.201.0/path/to_namespaced_path.js +13 -0
- package/esm/deps/deno.land/std@0.201.0/path/win32.d.ts +15 -0
- package/esm/deps/deno.land/std@0.201.0/path/win32.js +19 -0
- package/esm/deps.d.ts +1 -1
- package/esm/deps.js +1 -1
- package/esm/src/environment.js +3 -1
- package/package.json +1 -1
- package/esm/_dnt.test_polyfills.d.ts +0 -11
- package/esm/_dnt.test_shims.d.ts +0 -5
- package/esm/deps/deno.land/std@0.178.0/_util/asserts.d.ts +0 -10
- package/esm/deps/deno.land/std@0.178.0/_util/asserts.js +0 -21
- package/esm/deps/deno.land/std@0.178.0/path/mod.d.ts +0 -9
- package/esm/deps/deno.land/std@0.178.0/path/posix.d.ts +0 -86
- package/esm/deps/deno.land/std@0.178.0/path/posix.js +0 -442
- package/esm/deps/deno.land/std@0.178.0/path/win32.d.ts +0 -91
- package/esm/deps/deno.land/std@0.178.0/path/win32.js +0 -909
- package/esm/deps/deno.land/std@0.190.0/_util/asserts.d.ts +0 -10
- package/esm/deps/deno.land/std@0.190.0/bytes/copy.d.ts +0 -27
- package/esm/deps/deno.land/std@0.190.0/fmt/colors.d.ts +0 -270
- package/esm/deps/deno.land/std@0.190.0/front_matter/mod.d.ts +0 -78
- package/esm/deps/deno.land/std@0.190.0/front_matter/yaml.d.ts +0 -4
- package/esm/deps/deno.land/std@0.190.0/io/buffer.d.ts +0 -81
- package/esm/deps/deno.land/std@0.190.0/testing/_diff.d.ts +0 -26
- package/esm/deps/deno.land/std@0.190.0/testing/_format.d.ts +0 -1
- package/esm/deps/deno.land/std@0.190.0/testing/asserts.d.ts +0 -284
- package/esm/deps/deno.land/std@0.190.0/yaml/_error.d.ts +0 -6
- package/esm/deps/deno.land/std@0.190.0/yaml/_loader/loader.d.ts +0 -4
- package/esm/deps/deno.land/std@0.190.0/yaml/_loader/loader_state.d.ts +0 -43
- package/esm/deps/deno.land/std@0.190.0/yaml/_mark.d.ts +0 -10
- package/esm/deps/deno.land/std@0.190.0/yaml/_state.d.ts +0 -5
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/binary.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/bool.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/float.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/function.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/int.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/map.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/merge.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/mod.d.ts +0 -16
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/nil.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/omap.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/pairs.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/regexp.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/seq.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/set.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/str.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/timestamp.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_type/undefined.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/_utils.d.ts +0 -19
- package/esm/deps/deno.land/std@0.190.0/yaml/parse.d.ts +0 -35
- package/esm/deps/deno.land/std@0.190.0/yaml/schema/core.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/schema/default.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/schema/extended.d.ts +0 -30
- package/esm/deps/deno.land/std@0.190.0/yaml/schema/failsafe.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/schema/json.d.ts +0 -2
- package/esm/deps/deno.land/std@0.190.0/yaml/schema/mod.d.ts +0 -5
- package/esm/deps/deno.land/std@0.190.0/yaml/schema.d.ts +0 -22
- package/esm/deps/deno.land/std@0.190.0/yaml/type.d.ts +0 -28
- package/esm/test/comment.test.d.ts +0 -1
- package/esm/test/escape.test.d.ts +0 -1
- package/esm/test/for.test.d.ts +0 -1
- package/esm/test/function.test.d.ts +0 -1
- package/esm/test/if.test.d.ts +0 -1
- package/esm/test/import.test.d.ts +0 -1
- package/esm/test/include.test.d.ts +0 -1
- package/esm/test/js.test.d.ts +0 -1
- package/esm/test/layout.test.d.ts +0 -1
- package/esm/test/print.test.d.ts +0 -1
- package/esm/test/raw.test.d.ts +0 -1
- package/esm/test/set.test.d.ts +0 -1
- package/esm/test/tokenizer.test.d.ts +0 -1
- package/esm/test/utils.d.ts +0 -24
- /package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.178.0/_util/os.d.ts → std@0.201.0/path/_os.d.ts} +0 -0
- /package/esm/deps/deno.land/{std@0.178.0/_util/os.js → std@0.201.0/path/_os.js} +0 -0
- /package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.178.0 → std@0.201.0}/path/separator.d.ts +0 -0
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type { FormatInputPathObject, ParsedPath } from "./_interface.js";
|
|
3
|
-
export declare const sep = "\\";
|
|
4
|
-
export declare const delimiter = ";";
|
|
5
|
-
/**
|
|
6
|
-
* Resolves path segments into a `path`
|
|
7
|
-
* @param pathSegments to process to path
|
|
8
|
-
*/
|
|
9
|
-
export declare function resolve(...pathSegments: string[]): string;
|
|
10
|
-
/**
|
|
11
|
-
* Normalizes a `path`
|
|
12
|
-
* @param path to normalize
|
|
13
|
-
*/
|
|
14
|
-
export declare function normalize(path: string): string;
|
|
15
|
-
/**
|
|
16
|
-
* Verifies whether path is absolute
|
|
17
|
-
* @param path to verify
|
|
18
|
-
*/
|
|
19
|
-
export declare function isAbsolute(path: string): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
|
22
|
-
* @param paths to be joined and normalized
|
|
23
|
-
*/
|
|
24
|
-
export declare function join(...paths: string[]): string;
|
|
25
|
-
/**
|
|
26
|
-
* It will solve the relative path from `from` to `to`, for instance:
|
|
27
|
-
* from = 'C:\\orandea\\test\\aaa'
|
|
28
|
-
* to = 'C:\\orandea\\impl\\bbb'
|
|
29
|
-
* The output of the function should be: '..\\..\\impl\\bbb'
|
|
30
|
-
* @param from relative path
|
|
31
|
-
* @param to relative path
|
|
32
|
-
*/
|
|
33
|
-
export declare function relative(from: string, to: string): string;
|
|
34
|
-
/**
|
|
35
|
-
* Resolves path to a namespace path
|
|
36
|
-
* @param path to resolve to namespace
|
|
37
|
-
*/
|
|
38
|
-
export declare function toNamespacedPath(path: string): string;
|
|
39
|
-
/**
|
|
40
|
-
* Return the directory path of a `path`.
|
|
41
|
-
* @param path - path to extract the directory from.
|
|
42
|
-
*/
|
|
43
|
-
export declare function dirname(path: string): string;
|
|
44
|
-
/**
|
|
45
|
-
* Return the last portion of a `path`.
|
|
46
|
-
* Trailing directory separators are ignored, and optional suffix is removed.
|
|
47
|
-
*
|
|
48
|
-
* @param path - path to extract name from.
|
|
49
|
-
* @param [suffix] - suffix to remove from extracted name.
|
|
50
|
-
*/
|
|
51
|
-
export declare function basename(path: string, suffix?: string): string;
|
|
52
|
-
/**
|
|
53
|
-
* Return the extension of the `path` with leading period.
|
|
54
|
-
* @param path with extension
|
|
55
|
-
* @returns extension (ex. for `file.ts` returns `.ts`)
|
|
56
|
-
*/
|
|
57
|
-
export declare function extname(path: string): string;
|
|
58
|
-
/**
|
|
59
|
-
* Generate a path from `FormatInputPathObject` object.
|
|
60
|
-
* @param pathObject with path
|
|
61
|
-
*/
|
|
62
|
-
export declare function format(pathObject: FormatInputPathObject): string;
|
|
63
|
-
/**
|
|
64
|
-
* Return a `ParsedPath` object of the `path`.
|
|
65
|
-
* @param path to process
|
|
66
|
-
*/
|
|
67
|
-
export declare function parse(path: string): ParsedPath;
|
|
68
|
-
/**
|
|
69
|
-
* Converts a file URL to a path string.
|
|
70
|
-
*
|
|
71
|
-
* ```ts
|
|
72
|
-
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/win32.ts";
|
|
73
|
-
* fromFileUrl("file:///home/foo"); // "\\home\\foo"
|
|
74
|
-
* fromFileUrl("file:///C:/Users/foo"); // "C:\\Users\\foo"
|
|
75
|
-
* fromFileUrl("file://localhost/home/foo"); // "\\\\localhost\\home\\foo"
|
|
76
|
-
* ```
|
|
77
|
-
* @param url of a file URL
|
|
78
|
-
*/
|
|
79
|
-
export declare function fromFileUrl(url: string | URL): string;
|
|
80
|
-
/**
|
|
81
|
-
* Converts a path string to a file URL.
|
|
82
|
-
*
|
|
83
|
-
* ```ts
|
|
84
|
-
* import { toFileUrl } from "https://deno.land/std@$STD_VERSION/path/win32.ts";
|
|
85
|
-
* toFileUrl("\\home\\foo"); // new URL("file:///home/foo")
|
|
86
|
-
* toFileUrl("C:\\Users\\foo"); // new URL("file:///C:/Users/foo")
|
|
87
|
-
* toFileUrl("\\\\127.0.0.1\\home\\foo"); // new URL("file://127.0.0.1/home/foo")
|
|
88
|
-
* ```
|
|
89
|
-
* @param path to convert to file URL
|
|
90
|
-
*/
|
|
91
|
-
export declare function toFileUrl(path: string): URL;
|