scrapfly-sdk 0.6.4 → 0.6.5
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/README.md +1 -1
- package/esm/client.d.ts +4 -1
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js +37 -0
- package/esm/deps/jsr.io/@std/path/1.0.1/_common/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/_common/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/posix/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/posix/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/posix/to_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/posix/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/to_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/windows/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/windows/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/windows/to_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.1/windows/to_file_url.d.ts.map +1 -1
- package/esm/polyfill.d.ts +0 -1
- package/esm/polyfill.d.ts.map +1 -1
- package/esm/result.d.ts +0 -1
- package/esm/result.d.ts.map +1 -1
- package/esm/result.js +9 -5
- package/esm/utils.d.ts +2 -1
- package/esm/utils.d.ts.map +1 -1
- package/esm/utils.js +14 -0
- package/package.json +1 -1
- package/script/client.d.ts +4 -1
- package/script/client.d.ts.map +1 -1
- package/script/client.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.1/_common/assert_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/basename.js +3 -4
- package/script/deps/jsr.io/@std/path/1.0.1/_common/common.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/format.js +2 -3
- package/script/deps/jsr.io/@std/path/1.0.1/_common/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.0.1/_common/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.0.1/_common/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/glob_to_reg_exp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/normalize_string.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/strip_trailing_separators.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/_common/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/common.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.0.1/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.0.1/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/is_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/_util.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.0.1/posix/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.0.1/posix/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/to_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.0.1/posix/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.0.1/posix/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/posix/to_namespaced_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/to_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.0.1/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.0.1/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/to_namespaced_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/_util.js +3 -4
- package/script/deps/jsr.io/@std/path/1.0.1/windows/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.0.1/windows/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.0.1/windows/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/to_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.0.1/windows/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.0.1/windows/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.1/windows/to_namespaced_path.js +1 -2
- package/script/polyfill.d.ts +0 -1
- package/script/polyfill.d.ts.map +1 -1
- package/script/polyfill.js +3 -3
- package/script/result.d.ts +0 -1
- package/script/result.d.ts.map +1 -1
- package/script/result.js +9 -5
- package/script/utils.d.ts +2 -1
- package/script/utils.d.ts.map +1 -1
- package/script/utils.js +17 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.common =
|
|
5
|
+
exports.common = common;
|
|
6
6
|
const common_js_1 = require("./_common/common.js");
|
|
7
7
|
const constants_js_1 = require("./constants.js");
|
|
8
8
|
/**
|
|
@@ -34,4 +34,3 @@ const constants_js_1 = require("./constants.js");
|
|
|
34
34
|
function common(paths) {
|
|
35
35
|
return (0, common_js_1.common)(paths, constants_js_1.SEPARATOR);
|
|
36
36
|
}
|
|
37
|
-
exports.common = common;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.dirname =
|
|
5
|
+
exports.dirname = dirname;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const dirname_js_1 = require("./posix/dirname.js");
|
|
8
8
|
const dirname_js_2 = require("./windows/dirname.js");
|
|
@@ -27,4 +27,3 @@ const dirname_js_2 = require("./windows/dirname.js");
|
|
|
27
27
|
function dirname(path) {
|
|
28
28
|
return _os_js_1.isWindows ? (0, dirname_js_2.dirname)(path) : (0, dirname_js_1.dirname)(path);
|
|
29
29
|
}
|
|
30
|
-
exports.dirname = dirname;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.extname =
|
|
5
|
+
exports.extname = extname;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const extname_js_1 = require("./posix/extname.js");
|
|
8
8
|
const extname_js_2 = require("./windows/extname.js");
|
|
@@ -27,4 +27,3 @@ const extname_js_2 = require("./windows/extname.js");
|
|
|
27
27
|
function extname(path) {
|
|
28
28
|
return _os_js_1.isWindows ? (0, extname_js_2.extname)(path) : (0, extname_js_1.extname)(path);
|
|
29
29
|
}
|
|
30
|
-
exports.extname = extname;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.format =
|
|
5
|
+
exports.format = format;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const format_js_1 = require("./posix/format.js");
|
|
8
8
|
const format_js_2 = require("./windows/format.js");
|
|
@@ -28,4 +28,3 @@ const format_js_2 = require("./windows/format.js");
|
|
|
28
28
|
function format(pathObject) {
|
|
29
29
|
return _os_js_1.isWindows ? (0, format_js_2.format)(pathObject) : (0, format_js_1.format)(pathObject);
|
|
30
30
|
}
|
|
31
|
-
exports.format = format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"from_file_url.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.0.1/from_file_url.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"from_file_url.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.0.1/from_file_url.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAErD"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.fromFileUrl =
|
|
5
|
+
exports.fromFileUrl = fromFileUrl;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const from_file_url_js_1 = require("./posix/from_file_url.js");
|
|
8
8
|
const from_file_url_js_2 = require("./windows/from_file_url.js");
|
|
@@ -29,4 +29,3 @@ const from_file_url_js_2 = require("./windows/from_file_url.js");
|
|
|
29
29
|
function fromFileUrl(url) {
|
|
30
30
|
return _os_js_1.isWindows ? (0, from_file_url_js_2.fromFileUrl)(url) : (0, from_file_url_js_1.fromFileUrl)(url);
|
|
31
31
|
}
|
|
32
|
-
exports.fromFileUrl = fromFileUrl;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.globToRegExp =
|
|
5
|
+
exports.globToRegExp = globToRegExp;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const glob_to_regexp_js_1 = require("./posix/glob_to_regexp.js");
|
|
8
8
|
const glob_to_regexp_js_2 = require("./windows/glob_to_regexp.js");
|
|
@@ -84,4 +84,3 @@ function globToRegExp(glob, options = {}) {
|
|
|
84
84
|
? (0, glob_to_regexp_js_2.globToRegExp)(glob, options)
|
|
85
85
|
: (0, glob_to_regexp_js_1.globToRegExp)(glob, options);
|
|
86
86
|
}
|
|
87
|
-
exports.globToRegExp = globToRegExp;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.isAbsolute =
|
|
5
|
+
exports.isAbsolute = isAbsolute;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const is_absolute_js_1 = require("./posix/is_absolute.js");
|
|
8
8
|
const is_absolute_js_2 = require("./windows/is_absolute.js");
|
|
@@ -29,4 +29,3 @@ const is_absolute_js_2 = require("./windows/is_absolute.js");
|
|
|
29
29
|
function isAbsolute(path) {
|
|
30
30
|
return _os_js_1.isWindows ? (0, is_absolute_js_2.isAbsolute)(path) : (0, is_absolute_js_1.isAbsolute)(path);
|
|
31
31
|
}
|
|
32
|
-
exports.isAbsolute = isAbsolute;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.isGlob =
|
|
5
|
+
exports.isGlob = isGlob;
|
|
6
6
|
/**
|
|
7
7
|
* Test whether the given string is a glob.
|
|
8
8
|
*
|
|
@@ -43,4 +43,3 @@ function isGlob(str) {
|
|
|
43
43
|
}
|
|
44
44
|
return false;
|
|
45
45
|
}
|
|
46
|
-
exports.isGlob = isGlob;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.join =
|
|
5
|
+
exports.join = join;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const join_js_1 = require("./posix/join.js");
|
|
8
8
|
const join_js_2 = require("./windows/join.js");
|
|
@@ -27,4 +27,3 @@ const join_js_2 = require("./windows/join.js");
|
|
|
27
27
|
function join(...paths) {
|
|
28
28
|
return _os_js_1.isWindows ? (0, join_js_2.join)(...paths) : (0, join_js_1.join)(...paths);
|
|
29
29
|
}
|
|
30
|
-
exports.join = join;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.joinGlobs =
|
|
5
|
+
exports.joinGlobs = joinGlobs;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const join_globs_js_1 = require("./posix/join_globs.js");
|
|
8
8
|
const join_globs_js_2 = require("./windows/join_globs.js");
|
|
@@ -35,4 +35,3 @@ function joinGlobs(globs, options = {}) {
|
|
|
35
35
|
? (0, join_globs_js_2.joinGlobs)(globs, options)
|
|
36
36
|
: (0, join_globs_js_1.joinGlobs)(globs, options);
|
|
37
37
|
}
|
|
38
|
-
exports.joinGlobs = joinGlobs;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.normalize =
|
|
5
|
+
exports.normalize = normalize;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const normalize_js_1 = require("./posix/normalize.js");
|
|
8
8
|
const normalize_js_2 = require("./windows/normalize.js");
|
|
@@ -31,4 +31,3 @@ const normalize_js_2 = require("./windows/normalize.js");
|
|
|
31
31
|
function normalize(path) {
|
|
32
32
|
return _os_js_1.isWindows ? (0, normalize_js_2.normalize)(path) : (0, normalize_js_1.normalize)(path);
|
|
33
33
|
}
|
|
34
|
-
exports.normalize = normalize;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.normalizeGlob =
|
|
5
|
+
exports.normalizeGlob = normalizeGlob;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const normalize_glob_js_1 = require("./posix/normalize_glob.js");
|
|
8
8
|
const normalize_glob_js_2 = require("./windows/normalize_glob.js");
|
|
@@ -36,4 +36,3 @@ function normalizeGlob(glob, options = {}) {
|
|
|
36
36
|
? (0, normalize_glob_js_2.normalizeGlob)(glob, options)
|
|
37
37
|
: (0, normalize_glob_js_1.normalizeGlob)(glob, options);
|
|
38
38
|
}
|
|
39
|
-
exports.normalizeGlob = normalizeGlob;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.parse =
|
|
5
|
+
exports.parse = parse;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const parse_js_1 = require("./posix/parse.js");
|
|
8
8
|
const parse_js_2 = require("./windows/parse.js");
|
|
@@ -40,4 +40,3 @@ const parse_js_2 = require("./windows/parse.js");
|
|
|
40
40
|
function parse(path) {
|
|
41
41
|
return _os_js_1.isWindows ? (0, parse_js_2.parse)(path) : (0, parse_js_1.parse)(path);
|
|
42
42
|
}
|
|
43
|
-
exports.parse = parse;
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
// Ported from https://github.com/browserify/path-browserify/
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.isPosixPathSeparator =
|
|
7
|
+
exports.isPosixPathSeparator = isPosixPathSeparator;
|
|
8
8
|
const constants_js_1 = require("../_common/constants.js");
|
|
9
9
|
function isPosixPathSeparator(code) {
|
|
10
10
|
return code === constants_js_1.CHAR_FORWARD_SLASH;
|
|
11
11
|
}
|
|
12
|
-
exports.isPosixPathSeparator = isPosixPathSeparator;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.basename =
|
|
5
|
+
exports.basename = basename;
|
|
6
6
|
const basename_js_1 = require("../_common/basename.js");
|
|
7
7
|
const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
|
|
8
8
|
const _util_js_1 = require("./_util.js");
|
|
@@ -30,4 +30,3 @@ function basename(path, suffix = "") {
|
|
|
30
30
|
const strippedSegment = (0, strip_trailing_separators_js_1.stripTrailingSeparators)(lastSegment, _util_js_1.isPosixPathSeparator);
|
|
31
31
|
return suffix ? (0, basename_js_1.stripSuffix)(strippedSegment, suffix) : strippedSegment;
|
|
32
32
|
}
|
|
33
|
-
exports.basename = basename;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.dirname =
|
|
5
|
+
exports.dirname = dirname;
|
|
6
6
|
const dirname_js_1 = require("../_common/dirname.js");
|
|
7
7
|
const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
|
|
8
8
|
const _util_js_1 = require("./_util.js");
|
|
@@ -48,4 +48,3 @@ function dirname(path) {
|
|
|
48
48
|
}
|
|
49
49
|
return (0, strip_trailing_separators_js_1.stripTrailingSeparators)(path.slice(0, end), _util_js_1.isPosixPathSeparator);
|
|
50
50
|
}
|
|
51
|
-
exports.dirname = dirname;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.extname =
|
|
5
|
+
exports.extname = extname;
|
|
6
6
|
const constants_js_1 = require("../_common/constants.js");
|
|
7
7
|
const assert_path_js_1 = require("../_common/assert_path.js");
|
|
8
8
|
const _util_js_1 = require("./_util.js");
|
|
@@ -71,4 +71,3 @@ function extname(path) {
|
|
|
71
71
|
}
|
|
72
72
|
return path.slice(startDot, end);
|
|
73
73
|
}
|
|
74
|
-
exports.extname = extname;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.format =
|
|
5
|
+
exports.format = format;
|
|
6
6
|
const format_js_1 = require("../_common/format.js");
|
|
7
7
|
/**
|
|
8
8
|
* Generate a path from `ParsedPath` object.
|
|
@@ -29,4 +29,3 @@ function format(pathObject) {
|
|
|
29
29
|
(0, format_js_1.assertArg)(pathObject);
|
|
30
30
|
return (0, format_js_1._format)("/", pathObject);
|
|
31
31
|
}
|
|
32
|
-
exports.format = format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"from_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.1/posix/from_file_url.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"from_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.1/posix/from_file_url.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,MAAM,CAKrD"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.fromFileUrl =
|
|
5
|
+
exports.fromFileUrl = fromFileUrl;
|
|
6
6
|
const from_file_url_js_1 = require("../_common/from_file_url.js");
|
|
7
7
|
/**
|
|
8
8
|
* Converts a file URL to a path string.
|
|
@@ -22,4 +22,3 @@ function fromFileUrl(url) {
|
|
|
22
22
|
url = (0, from_file_url_js_1.assertArg)(url);
|
|
23
23
|
return decodeURIComponent(url.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
|
|
24
24
|
}
|
|
25
|
-
exports.fromFileUrl = fromFileUrl;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.globToRegExp =
|
|
5
|
+
exports.globToRegExp = globToRegExp;
|
|
6
6
|
const glob_to_reg_exp_js_1 = require("../_common/glob_to_reg_exp.js");
|
|
7
7
|
const constants = {
|
|
8
8
|
sep: "/+",
|
|
@@ -83,4 +83,3 @@ const constants = {
|
|
|
83
83
|
function globToRegExp(glob, options = {}) {
|
|
84
84
|
return (0, glob_to_reg_exp_js_1._globToRegExp)(constants, glob, options);
|
|
85
85
|
}
|
|
86
|
-
exports.globToRegExp = globToRegExp;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.isAbsolute =
|
|
5
|
+
exports.isAbsolute = isAbsolute;
|
|
6
6
|
const assert_path_js_1 = require("../_common/assert_path.js");
|
|
7
7
|
const _util_js_1 = require("./_util.js");
|
|
8
8
|
/**
|
|
@@ -24,4 +24,3 @@ function isAbsolute(path) {
|
|
|
24
24
|
(0, assert_path_js_1.assertPath)(path);
|
|
25
25
|
return path.length > 0 && (0, _util_js_1.isPosixPathSeparator)(path.charCodeAt(0));
|
|
26
26
|
}
|
|
27
|
-
exports.isAbsolute = isAbsolute;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.join =
|
|
5
|
+
exports.join = join;
|
|
6
6
|
const assert_path_js_1 = require("../_common/assert_path.js");
|
|
7
7
|
const normalize_js_1 = require("./normalize.js");
|
|
8
8
|
/**
|
|
@@ -27,4 +27,3 @@ function join(...paths) {
|
|
|
27
27
|
const joined = paths.filter((path) => path.length > 0).join("/");
|
|
28
28
|
return joined === "" ? "." : (0, normalize_js_1.normalize)(joined);
|
|
29
29
|
}
|
|
30
|
-
exports.join = join;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.joinGlobs =
|
|
5
|
+
exports.joinGlobs = joinGlobs;
|
|
6
6
|
const join_js_1 = require("./join.js");
|
|
7
7
|
const constants_js_1 = require("./constants.js");
|
|
8
8
|
const normalize_glob_js_1 = require("./normalize_glob.js");
|
|
@@ -40,4 +40,3 @@ function joinGlobs(globs, { extended = true, globstar = false } = {}) {
|
|
|
40
40
|
return ".";
|
|
41
41
|
return (0, normalize_glob_js_1.normalizeGlob)(joined, { extended, globstar });
|
|
42
42
|
}
|
|
43
|
-
exports.joinGlobs = joinGlobs;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.normalize =
|
|
5
|
+
exports.normalize = normalize;
|
|
6
6
|
const normalize_js_1 = require("../_common/normalize.js");
|
|
7
7
|
const normalize_string_js_1 = require("../_common/normalize_string.js");
|
|
8
8
|
const _util_js_1 = require("./_util.js");
|
|
@@ -37,4 +37,3 @@ function normalize(path) {
|
|
|
37
37
|
return `/${path}`;
|
|
38
38
|
return path;
|
|
39
39
|
}
|
|
40
|
-
exports.normalize = normalize;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.normalizeGlob =
|
|
5
|
+
exports.normalizeGlob = normalizeGlob;
|
|
6
6
|
const normalize_js_1 = require("./normalize.js");
|
|
7
7
|
const constants_js_1 = require("./constants.js");
|
|
8
8
|
/**
|
|
@@ -32,4 +32,3 @@ function normalizeGlob(glob, { globstar = false } = {}) {
|
|
|
32
32
|
const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
|
|
33
33
|
return (0, normalize_js_1.normalize)(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
|
|
34
34
|
}
|
|
35
|
-
exports.normalizeGlob = normalizeGlob;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.parse =
|
|
5
|
+
exports.parse = parse;
|
|
6
6
|
const constants_js_1 = require("../_common/constants.js");
|
|
7
7
|
const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
|
|
8
8
|
const assert_path_js_1 = require("../_common/assert_path.js");
|
|
@@ -116,4 +116,3 @@ function parse(path) {
|
|
|
116
116
|
ret.dir = "/";
|
|
117
117
|
return ret;
|
|
118
118
|
}
|
|
119
|
-
exports.parse = parse;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.relative =
|
|
5
|
+
exports.relative = relative;
|
|
6
6
|
const _util_js_1 = require("./_util.js");
|
|
7
7
|
const resolve_js_1 = require("./resolve.js");
|
|
8
8
|
const relative_js_1 = require("../_common/relative.js");
|
|
@@ -107,4 +107,3 @@ function relative(from, to) {
|
|
|
107
107
|
return to.slice(toStart);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
exports.relative = relative;
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.resolve =
|
|
26
|
+
exports.resolve = resolve;
|
|
27
27
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
28
28
|
// This module is browser compatible.
|
|
29
29
|
const dntShim = __importStar(require("../../../../../../_dnt.shims.js"));
|
|
@@ -83,4 +83,3 @@ function resolve(...pathSegments) {
|
|
|
83
83
|
else
|
|
84
84
|
return ".";
|
|
85
85
|
}
|
|
86
|
-
exports.resolve = resolve;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.1/posix/to_file_url.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"to_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.1/posix/to_file_url.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAU3C"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.toFileUrl =
|
|
5
|
+
exports.toFileUrl = toFileUrl;
|
|
6
6
|
const to_file_url_js_1 = require("../_common/to_file_url.js");
|
|
7
7
|
const is_absolute_js_1 = require("./is_absolute.js");
|
|
8
8
|
/**
|
|
@@ -28,4 +28,3 @@ function toFileUrl(path) {
|
|
|
28
28
|
url.pathname = (0, to_file_url_js_1.encodeWhitespace)(path.replace(/%/g, "%25").replace(/\\/g, "%5C"));
|
|
29
29
|
return url;
|
|
30
30
|
}
|
|
31
|
-
exports.toFileUrl = toFileUrl;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.toNamespacedPath =
|
|
5
|
+
exports.toNamespacedPath = toNamespacedPath;
|
|
6
6
|
/**
|
|
7
7
|
* Converts a path to a namespaced path. This function returns the path as is on posix.
|
|
8
8
|
*
|
|
@@ -21,4 +21,3 @@ function toNamespacedPath(path) {
|
|
|
21
21
|
// Non-op on posix systems
|
|
22
22
|
return path;
|
|
23
23
|
}
|
|
24
|
-
exports.toNamespacedPath = toNamespacedPath;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.relative =
|
|
5
|
+
exports.relative = relative;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const relative_js_1 = require("./posix/relative.js");
|
|
8
8
|
const relative_js_2 = require("./windows/relative.js");
|
|
@@ -31,4 +31,3 @@ const relative_js_2 = require("./windows/relative.js");
|
|
|
31
31
|
function relative(from, to) {
|
|
32
32
|
return _os_js_1.isWindows ? (0, relative_js_2.relative)(from, to) : (0, relative_js_1.relative)(from, to);
|
|
33
33
|
}
|
|
34
|
-
exports.relative = relative;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.resolve =
|
|
5
|
+
exports.resolve = resolve;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const resolve_js_1 = require("./posix/resolve.js");
|
|
8
8
|
const resolve_js_2 = require("./windows/resolve.js");
|
|
@@ -31,4 +31,3 @@ function resolve(...pathSegments) {
|
|
|
31
31
|
? (0, resolve_js_2.resolve)(...pathSegments)
|
|
32
32
|
: (0, resolve_js_1.resolve)(...pathSegments);
|
|
33
33
|
}
|
|
34
|
-
exports.resolve = resolve;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to_file_url.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.0.1/to_file_url.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"to_file_url.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.0.1/to_file_url.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAE3C"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.toFileUrl =
|
|
5
|
+
exports.toFileUrl = toFileUrl;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const to_file_url_js_1 = require("./posix/to_file_url.js");
|
|
8
8
|
const to_file_url_js_2 = require("./windows/to_file_url.js");
|
|
@@ -29,4 +29,3 @@ const to_file_url_js_2 = require("./windows/to_file_url.js");
|
|
|
29
29
|
function toFileUrl(path) {
|
|
30
30
|
return _os_js_1.isWindows ? (0, to_file_url_js_2.toFileUrl)(path) : (0, to_file_url_js_1.toFileUrl)(path);
|
|
31
31
|
}
|
|
32
|
-
exports.toFileUrl = toFileUrl;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.toNamespacedPath =
|
|
5
|
+
exports.toNamespacedPath = toNamespacedPath;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const to_namespaced_path_js_1 = require("./posix/to_namespaced_path.js");
|
|
8
8
|
const to_namespaced_path_js_2 = require("./windows/to_namespaced_path.js");
|
|
@@ -30,4 +30,3 @@ function toNamespacedPath(path) {
|
|
|
30
30
|
? (0, to_namespaced_path_js_2.toNamespacedPath)(path)
|
|
31
31
|
: (0, to_namespaced_path_js_1.toNamespacedPath)(path);
|
|
32
32
|
}
|
|
33
|
-
exports.toNamespacedPath = toNamespacedPath;
|
|
@@ -4,18 +4,17 @@
|
|
|
4
4
|
// Ported from https://github.com/browserify/path-browserify/
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.isPosixPathSeparator = isPosixPathSeparator;
|
|
8
|
+
exports.isPathSeparator = isPathSeparator;
|
|
9
|
+
exports.isWindowsDeviceRoot = isWindowsDeviceRoot;
|
|
8
10
|
const constants_js_1 = require("../_common/constants.js");
|
|
9
11
|
function isPosixPathSeparator(code) {
|
|
10
12
|
return code === constants_js_1.CHAR_FORWARD_SLASH;
|
|
11
13
|
}
|
|
12
|
-
exports.isPosixPathSeparator = isPosixPathSeparator;
|
|
13
14
|
function isPathSeparator(code) {
|
|
14
15
|
return code === constants_js_1.CHAR_FORWARD_SLASH || code === constants_js_1.CHAR_BACKWARD_SLASH;
|
|
15
16
|
}
|
|
16
|
-
exports.isPathSeparator = isPathSeparator;
|
|
17
17
|
function isWindowsDeviceRoot(code) {
|
|
18
18
|
return ((code >= constants_js_1.CHAR_LOWERCASE_A && code <= constants_js_1.CHAR_LOWERCASE_Z) ||
|
|
19
19
|
(code >= constants_js_1.CHAR_UPPERCASE_A && code <= constants_js_1.CHAR_UPPERCASE_Z));
|
|
20
20
|
}
|
|
21
|
-
exports.isWindowsDeviceRoot = isWindowsDeviceRoot;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.basename =
|
|
5
|
+
exports.basename = basename;
|
|
6
6
|
const basename_js_1 = require("../_common/basename.js");
|
|
7
7
|
const constants_js_1 = require("../_common/constants.js");
|
|
8
8
|
const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
|
|
@@ -42,4 +42,3 @@ function basename(path, suffix = "") {
|
|
|
42
42
|
const strippedSegment = (0, strip_trailing_separators_js_1.stripTrailingSeparators)(lastSegment, _util_js_1.isPathSeparator);
|
|
43
43
|
return suffix ? (0, basename_js_1.stripSuffix)(strippedSegment, suffix) : strippedSegment;
|
|
44
44
|
}
|
|
45
|
-
exports.basename = basename;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.dirname =
|
|
5
|
+
exports.dirname = dirname;
|
|
6
6
|
const dirname_js_1 = require("../_common/dirname.js");
|
|
7
7
|
const constants_js_1 = require("../_common/constants.js");
|
|
8
8
|
const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
|
|
@@ -110,4 +110,3 @@ function dirname(path) {
|
|
|
110
110
|
}
|
|
111
111
|
return (0, strip_trailing_separators_js_1.stripTrailingSeparators)(path.slice(0, end), _util_js_1.isPosixPathSeparator);
|
|
112
112
|
}
|
|
113
|
-
exports.dirname = dirname;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.extname =
|
|
5
|
+
exports.extname = extname;
|
|
6
6
|
const constants_js_1 = require("../_common/constants.js");
|
|
7
7
|
const assert_path_js_1 = require("../_common/assert_path.js");
|
|
8
8
|
const _util_js_1 = require("./_util.js");
|
|
@@ -79,4 +79,3 @@ function extname(path) {
|
|
|
79
79
|
}
|
|
80
80
|
return path.slice(startDot, end);
|
|
81
81
|
}
|
|
82
|
-
exports.extname = extname;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.format =
|
|
5
|
+
exports.format = format;
|
|
6
6
|
const format_js_1 = require("../_common/format.js");
|
|
7
7
|
/**
|
|
8
8
|
* Generate a path from `ParsedPath` object.
|
|
@@ -29,4 +29,3 @@ function format(pathObject) {
|
|
|
29
29
|
(0, format_js_1.assertArg)(pathObject);
|
|
30
30
|
return (0, format_js_1._format)("\\", pathObject);
|
|
31
31
|
}
|
|
32
|
-
exports.format = format;
|