@wordpress/url 4.36.1-next.738bb1424.0 → 4.36.1-next.76cff8c98.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/LICENSE.md +1 -1
- package/build/clean-for-slug.cjs +1 -1
- package/build-module/{add-query-args.js → add-query-args.mjs} +4 -4
- package/build-module/{build-query-string.js → build-query-string.mjs} +1 -1
- package/build-module/{clean-for-slug.js → clean-for-slug.mjs} +1 -1
- package/build-module/{filter-url-for-display.js → filter-url-for-display.mjs} +1 -1
- package/build-module/{get-authority.js → get-authority.mjs} +1 -1
- package/build-module/{get-filename.js → get-filename.mjs} +1 -1
- package/build-module/{get-fragment.js → get-fragment.mjs} +1 -1
- package/build-module/{get-path-and-query-string.js → get-path-and-query-string.mjs} +2 -2
- package/build-module/{get-path.js → get-path.mjs} +1 -1
- package/build-module/{get-protocol.js → get-protocol.mjs} +1 -1
- package/build-module/{get-query-arg.js → get-query-arg.mjs} +2 -2
- package/build-module/{get-query-args.js → get-query-args.mjs} +3 -3
- package/build-module/{get-query-string.js → get-query-string.mjs} +1 -1
- package/build-module/{has-query-arg.js → has-query-arg.mjs} +2 -2
- package/build-module/index.mjs +60 -0
- package/build-module/{is-email.js → is-email.mjs} +1 -1
- package/build-module/{is-phone-number.js → is-phone-number.mjs} +1 -1
- package/build-module/{is-url.js → is-url.mjs} +1 -1
- package/build-module/{is-valid-authority.js → is-valid-authority.mjs} +1 -1
- package/build-module/{is-valid-fragment.js → is-valid-fragment.mjs} +1 -1
- package/build-module/{is-valid-path.js → is-valid-path.mjs} +1 -1
- package/build-module/{is-valid-protocol.js → is-valid-protocol.mjs} +1 -1
- package/build-module/{is-valid-query-string.js → is-valid-query-string.mjs} +1 -1
- package/build-module/{normalize-path.js → normalize-path.mjs} +1 -1
- package/build-module/{prepend-http.js → prepend-http.mjs} +2 -2
- package/build-module/{prepend-https.js → prepend-https.mjs} +2 -2
- package/build-module/{remove-query-args.js → remove-query-args.mjs} +3 -3
- package/build-module/{safe-decode-uri-component.js → safe-decode-uri-component.mjs} +1 -1
- package/build-module/{safe-decode-uri.js → safe-decode-uri.mjs} +1 -1
- package/package.json +4 -5
- package/src/test/index.js +8 -8
- package/build-module/index.js +0 -60
- /package/build-module/{add-query-args.js.map → add-query-args.mjs.map} +0 -0
- /package/build-module/{build-query-string.js.map → build-query-string.mjs.map} +0 -0
- /package/build-module/{clean-for-slug.js.map → clean-for-slug.mjs.map} +0 -0
- /package/build-module/{filter-url-for-display.js.map → filter-url-for-display.mjs.map} +0 -0
- /package/build-module/{get-authority.js.map → get-authority.mjs.map} +0 -0
- /package/build-module/{get-filename.js.map → get-filename.mjs.map} +0 -0
- /package/build-module/{get-fragment.js.map → get-fragment.mjs.map} +0 -0
- /package/build-module/{get-path-and-query-string.js.map → get-path-and-query-string.mjs.map} +0 -0
- /package/build-module/{get-path.js.map → get-path.mjs.map} +0 -0
- /package/build-module/{get-protocol.js.map → get-protocol.mjs.map} +0 -0
- /package/build-module/{get-query-arg.js.map → get-query-arg.mjs.map} +0 -0
- /package/build-module/{get-query-args.js.map → get-query-args.mjs.map} +0 -0
- /package/build-module/{get-query-string.js.map → get-query-string.mjs.map} +0 -0
- /package/build-module/{has-query-arg.js.map → has-query-arg.mjs.map} +0 -0
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{is-email.js.map → is-email.mjs.map} +0 -0
- /package/build-module/{is-phone-number.js.map → is-phone-number.mjs.map} +0 -0
- /package/build-module/{is-url.js.map → is-url.mjs.map} +0 -0
- /package/build-module/{is-valid-authority.js.map → is-valid-authority.mjs.map} +0 -0
- /package/build-module/{is-valid-fragment.js.map → is-valid-fragment.mjs.map} +0 -0
- /package/build-module/{is-valid-path.js.map → is-valid-path.mjs.map} +0 -0
- /package/build-module/{is-valid-protocol.js.map → is-valid-protocol.mjs.map} +0 -0
- /package/build-module/{is-valid-query-string.js.map → is-valid-query-string.mjs.map} +0 -0
- /package/build-module/{normalize-path.js.map → normalize-path.mjs.map} +0 -0
- /package/build-module/{prepend-http.js.map → prepend-http.mjs.map} +0 -0
- /package/build-module/{prepend-https.js.map → prepend-https.mjs.map} +0 -0
- /package/build-module/{remove-query-args.js.map → remove-query-args.mjs.map} +0 -0
- /package/build-module/{safe-decode-uri-component.js.map → safe-decode-uri-component.mjs.map} +0 -0
- /package/build-module/{safe-decode-uri.js.map → safe-decode-uri.mjs.map} +0 -0
package/LICENSE.md
CHANGED
package/build/clean-for-slug.cjs
CHANGED
|
@@ -33,7 +33,7 @@ __export(clean_for_slug_exports, {
|
|
|
33
33
|
cleanForSlug: () => cleanForSlug
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(clean_for_slug_exports);
|
|
36
|
-
var import_remove_accents = __toESM(require("remove-accents")
|
|
36
|
+
var import_remove_accents = __toESM(require("remove-accents"));
|
|
37
37
|
function cleanForSlug(string) {
|
|
38
38
|
if (!string) {
|
|
39
39
|
return "";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// packages/url/src/add-query-args.ts
|
|
2
|
-
import { getQueryArgs } from "./get-query-args.
|
|
3
|
-
import { buildQueryString } from "./build-query-string.
|
|
4
|
-
import { getFragment } from "./get-fragment.
|
|
2
|
+
import { getQueryArgs } from "./get-query-args.mjs";
|
|
3
|
+
import { buildQueryString } from "./build-query-string.mjs";
|
|
4
|
+
import { getFragment } from "./get-fragment.mjs";
|
|
5
5
|
function addQueryArgs(url = "", args) {
|
|
6
6
|
if (!args || !Object.keys(args).length) {
|
|
7
7
|
return url;
|
|
@@ -18,4 +18,4 @@ function addQueryArgs(url = "", args) {
|
|
|
18
18
|
export {
|
|
19
19
|
addQueryArgs
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=add-query-args.
|
|
21
|
+
//# sourceMappingURL=add-query-args.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// packages/url/src/get-path-and-query-string.ts
|
|
2
|
-
import { getPath, getQueryString } from "./index.
|
|
2
|
+
import { getPath, getQueryString } from "./index.mjs";
|
|
3
3
|
function getPathAndQueryString(url) {
|
|
4
4
|
const path = getPath(url);
|
|
5
5
|
const queryString = getQueryString(url);
|
|
@@ -15,4 +15,4 @@ function getPathAndQueryString(url) {
|
|
|
15
15
|
export {
|
|
16
16
|
getPathAndQueryString
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=get-path-and-query-string.
|
|
18
|
+
//# sourceMappingURL=get-path-and-query-string.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// packages/url/src/get-query-arg.ts
|
|
2
|
-
import { getQueryArgs } from "./get-query-args.
|
|
2
|
+
import { getQueryArgs } from "./get-query-args.mjs";
|
|
3
3
|
function getQueryArg(url, arg) {
|
|
4
4
|
return getQueryArgs(url)[arg];
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
7
|
getQueryArg
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=get-query-arg.
|
|
9
|
+
//# sourceMappingURL=get-query-arg.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// packages/url/src/get-query-args.ts
|
|
2
|
-
import { safeDecodeURIComponent } from "./safe-decode-uri-component.
|
|
3
|
-
import { getQueryString } from "./get-query-string.
|
|
2
|
+
import { safeDecodeURIComponent } from "./safe-decode-uri-component.mjs";
|
|
3
|
+
import { getQueryString } from "./get-query-string.mjs";
|
|
4
4
|
function setPath(object, path, value) {
|
|
5
5
|
const length = path.length;
|
|
6
6
|
const lastIndex = length - 1;
|
|
@@ -38,4 +38,4 @@ function getQueryArgs(url) {
|
|
|
38
38
|
export {
|
|
39
39
|
getQueryArgs
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=get-query-args.
|
|
41
|
+
//# sourceMappingURL=get-query-args.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// packages/url/src/has-query-arg.ts
|
|
2
|
-
import { getQueryArg } from "./get-query-arg.
|
|
2
|
+
import { getQueryArg } from "./get-query-arg.mjs";
|
|
3
3
|
function hasQueryArg(url, arg) {
|
|
4
4
|
return getQueryArg(url, arg) !== void 0;
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
7
|
hasQueryArg
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=has-query-arg.
|
|
9
|
+
//# sourceMappingURL=has-query-arg.mjs.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// packages/url/src/index.ts
|
|
2
|
+
import { isURL } from "./is-url.mjs";
|
|
3
|
+
import { isEmail } from "./is-email.mjs";
|
|
4
|
+
import { isPhoneNumber } from "./is-phone-number.mjs";
|
|
5
|
+
import { getProtocol } from "./get-protocol.mjs";
|
|
6
|
+
import { isValidProtocol } from "./is-valid-protocol.mjs";
|
|
7
|
+
import { getAuthority } from "./get-authority.mjs";
|
|
8
|
+
import { isValidAuthority } from "./is-valid-authority.mjs";
|
|
9
|
+
import { getPath } from "./get-path.mjs";
|
|
10
|
+
import { isValidPath } from "./is-valid-path.mjs";
|
|
11
|
+
import { getQueryString } from "./get-query-string.mjs";
|
|
12
|
+
import { buildQueryString } from "./build-query-string.mjs";
|
|
13
|
+
import { isValidQueryString } from "./is-valid-query-string.mjs";
|
|
14
|
+
import { getPathAndQueryString } from "./get-path-and-query-string.mjs";
|
|
15
|
+
import { getFragment } from "./get-fragment.mjs";
|
|
16
|
+
import { isValidFragment } from "./is-valid-fragment.mjs";
|
|
17
|
+
import { addQueryArgs } from "./add-query-args.mjs";
|
|
18
|
+
import { getQueryArg } from "./get-query-arg.mjs";
|
|
19
|
+
import { getQueryArgs } from "./get-query-args.mjs";
|
|
20
|
+
import { hasQueryArg } from "./has-query-arg.mjs";
|
|
21
|
+
import { removeQueryArgs } from "./remove-query-args.mjs";
|
|
22
|
+
import { prependHTTP } from "./prepend-http.mjs";
|
|
23
|
+
import { safeDecodeURI } from "./safe-decode-uri.mjs";
|
|
24
|
+
import { safeDecodeURIComponent } from "./safe-decode-uri-component.mjs";
|
|
25
|
+
import { filterURLForDisplay } from "./filter-url-for-display.mjs";
|
|
26
|
+
import { cleanForSlug } from "./clean-for-slug.mjs";
|
|
27
|
+
import { getFilename } from "./get-filename.mjs";
|
|
28
|
+
import { normalizePath } from "./normalize-path.mjs";
|
|
29
|
+
import { prependHTTPS } from "./prepend-https.mjs";
|
|
30
|
+
export {
|
|
31
|
+
addQueryArgs,
|
|
32
|
+
buildQueryString,
|
|
33
|
+
cleanForSlug,
|
|
34
|
+
filterURLForDisplay,
|
|
35
|
+
getAuthority,
|
|
36
|
+
getFilename,
|
|
37
|
+
getFragment,
|
|
38
|
+
getPath,
|
|
39
|
+
getPathAndQueryString,
|
|
40
|
+
getProtocol,
|
|
41
|
+
getQueryArg,
|
|
42
|
+
getQueryArgs,
|
|
43
|
+
getQueryString,
|
|
44
|
+
hasQueryArg,
|
|
45
|
+
isEmail,
|
|
46
|
+
isPhoneNumber,
|
|
47
|
+
isURL,
|
|
48
|
+
isValidAuthority,
|
|
49
|
+
isValidFragment,
|
|
50
|
+
isValidPath,
|
|
51
|
+
isValidProtocol,
|
|
52
|
+
isValidQueryString,
|
|
53
|
+
normalizePath,
|
|
54
|
+
prependHTTP,
|
|
55
|
+
prependHTTPS,
|
|
56
|
+
removeQueryArgs,
|
|
57
|
+
safeDecodeURI,
|
|
58
|
+
safeDecodeURIComponent
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// packages/url/src/prepend-http.ts
|
|
2
|
-
import { isEmail } from "./is-email.
|
|
2
|
+
import { isEmail } from "./is-email.mjs";
|
|
3
3
|
var USABLE_HREF_REGEXP = /^(?:[a-z]+:|#|\?|\.|\/)/i;
|
|
4
4
|
function prependHTTP(url) {
|
|
5
5
|
if (!url) {
|
|
@@ -14,4 +14,4 @@ function prependHTTP(url) {
|
|
|
14
14
|
export {
|
|
15
15
|
prependHTTP
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=prepend-http.
|
|
17
|
+
//# sourceMappingURL=prepend-http.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// packages/url/src/prepend-https.ts
|
|
2
|
-
import { prependHTTP } from "./prepend-http.
|
|
2
|
+
import { prependHTTP } from "./prepend-http.mjs";
|
|
3
3
|
function prependHTTPS(url) {
|
|
4
4
|
if (!url) {
|
|
5
5
|
return url;
|
|
@@ -13,4 +13,4 @@ function prependHTTPS(url) {
|
|
|
13
13
|
export {
|
|
14
14
|
prependHTTPS
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=prepend-https.
|
|
16
|
+
//# sourceMappingURL=prepend-https.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// packages/url/src/remove-query-args.ts
|
|
2
|
-
import { getQueryArgs } from "./get-query-args.
|
|
3
|
-
import { buildQueryString } from "./build-query-string.
|
|
2
|
+
import { getQueryArgs } from "./get-query-args.mjs";
|
|
3
|
+
import { buildQueryString } from "./build-query-string.mjs";
|
|
4
4
|
function removeQueryArgs(url, ...args) {
|
|
5
5
|
const fragment = url.replace(/^[^#]*/, "");
|
|
6
6
|
url = url.replace(/#.*/, "");
|
|
@@ -18,4 +18,4 @@ function removeQueryArgs(url, ...args) {
|
|
|
18
18
|
export {
|
|
19
19
|
removeQueryArgs
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=remove-query-args.
|
|
21
|
+
//# sourceMappingURL=remove-query-args.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/url",
|
|
3
|
-
"version": "4.36.1-next.
|
|
3
|
+
"version": "4.36.1-next.76cff8c98.0",
|
|
4
4
|
"description": "WordPress URL utilities.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -29,13 +29,12 @@
|
|
|
29
29
|
"build-types",
|
|
30
30
|
"*.md"
|
|
31
31
|
],
|
|
32
|
-
"type": "module",
|
|
33
32
|
"main": "build/index.cjs",
|
|
34
|
-
"module": "build-module/index.
|
|
33
|
+
"module": "build-module/index.mjs",
|
|
35
34
|
"exports": {
|
|
36
35
|
".": {
|
|
37
36
|
"types": "./build-types/index.d.ts",
|
|
38
|
-
"import": "./build-module/index.
|
|
37
|
+
"import": "./build-module/index.mjs",
|
|
39
38
|
"require": "./build/index.cjs"
|
|
40
39
|
},
|
|
41
40
|
"./package.json": "./package.json"
|
|
@@ -50,5 +49,5 @@
|
|
|
50
49
|
"publishConfig": {
|
|
51
50
|
"access": "public"
|
|
52
51
|
},
|
|
53
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "368727f14b858e75179e140967c2d9ec965c8790"
|
|
54
53
|
}
|
package/src/test/index.js
CHANGED
|
@@ -144,7 +144,7 @@ describe( 'getProtocol', () => {
|
|
|
144
144
|
it( 'returns undefined when the provided value does not contain a URL protocol', () => {
|
|
145
145
|
expect( getProtocol( '' ) ).toBeUndefined();
|
|
146
146
|
expect( getProtocol( 'https' ) ).toBeUndefined();
|
|
147
|
-
expect( getProtocol( '
|
|
147
|
+
expect( getProtocol( 'example.com' ) ).toBeUndefined();
|
|
148
148
|
expect( getProtocol( ' https:// ' ) ).toBeUndefined();
|
|
149
149
|
} );
|
|
150
150
|
} );
|
|
@@ -206,7 +206,7 @@ describe( 'getAuthority', () => {
|
|
|
206
206
|
expect( getAuthority( 'https:///' ) ).toBeUndefined();
|
|
207
207
|
expect( getAuthority( 'https://#' ) ).toBeUndefined();
|
|
208
208
|
expect( getAuthority( 'https://?' ) ).toBeUndefined();
|
|
209
|
-
expect( getAuthority( '
|
|
209
|
+
expect( getAuthority( 'example.com' ) ).toBeUndefined();
|
|
210
210
|
expect( getAuthority( 'https://#?hello' ) ).toBeUndefined();
|
|
211
211
|
} );
|
|
212
212
|
} );
|
|
@@ -274,7 +274,7 @@ describe( 'getPath', () => {
|
|
|
274
274
|
expect( getPath( 'https:///test' ) ).toBeUndefined();
|
|
275
275
|
expect( getPath( 'https://#' ) ).toBeUndefined();
|
|
276
276
|
expect( getPath( 'https://?' ) ).toBeUndefined();
|
|
277
|
-
expect( getPath( '
|
|
277
|
+
expect( getPath( 'example.com' ) ).toBeUndefined();
|
|
278
278
|
expect( getPath( 'https://#?hello' ) ).toBeUndefined();
|
|
279
279
|
expect( getPath( 'https' ) ).toBeUndefined();
|
|
280
280
|
} );
|
|
@@ -365,11 +365,11 @@ describe( 'getQueryString', () => {
|
|
|
365
365
|
'https://andalouses.example/beach?foo[]=bar&foo[]=baz'
|
|
366
366
|
)
|
|
367
367
|
).toBe( 'foo[]=bar&foo[]=baz' );
|
|
368
|
-
expect( getQueryString( 'https://test.com?foo[]=bar&foo[]=baz' ) ).toBe(
|
|
369
|
-
'foo[]=bar&foo[]=baz'
|
|
370
|
-
);
|
|
371
368
|
expect(
|
|
372
|
-
getQueryString( 'https://
|
|
369
|
+
getQueryString( 'https://example.com?foo[]=bar&foo[]=baz' )
|
|
370
|
+
).toBe( 'foo[]=bar&foo[]=baz' );
|
|
371
|
+
expect(
|
|
372
|
+
getQueryString( 'https://example.com?foo=bar&foo=baz?test' )
|
|
373
373
|
).toBe( 'foo=bar&foo=baz?test' );
|
|
374
374
|
} );
|
|
375
375
|
|
|
@@ -564,7 +564,7 @@ describe( 'getFragment', () => {
|
|
|
564
564
|
expect( getFragment( 'https://' ) ).toBeUndefined();
|
|
565
565
|
expect( getFragment( 'https:///test' ) ).toBeUndefined();
|
|
566
566
|
expect( getFragment( 'https://?' ) ).toBeUndefined();
|
|
567
|
-
expect( getFragment( '
|
|
567
|
+
expect( getFragment( 'example.com' ) ).toBeUndefined();
|
|
568
568
|
} );
|
|
569
569
|
} );
|
|
570
570
|
|
package/build-module/index.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// packages/url/src/index.ts
|
|
2
|
-
import { isURL } from "./is-url.js";
|
|
3
|
-
import { isEmail } from "./is-email.js";
|
|
4
|
-
import { isPhoneNumber } from "./is-phone-number.js";
|
|
5
|
-
import { getProtocol } from "./get-protocol.js";
|
|
6
|
-
import { isValidProtocol } from "./is-valid-protocol.js";
|
|
7
|
-
import { getAuthority } from "./get-authority.js";
|
|
8
|
-
import { isValidAuthority } from "./is-valid-authority.js";
|
|
9
|
-
import { getPath } from "./get-path.js";
|
|
10
|
-
import { isValidPath } from "./is-valid-path.js";
|
|
11
|
-
import { getQueryString } from "./get-query-string.js";
|
|
12
|
-
import { buildQueryString } from "./build-query-string.js";
|
|
13
|
-
import { isValidQueryString } from "./is-valid-query-string.js";
|
|
14
|
-
import { getPathAndQueryString } from "./get-path-and-query-string.js";
|
|
15
|
-
import { getFragment } from "./get-fragment.js";
|
|
16
|
-
import { isValidFragment } from "./is-valid-fragment.js";
|
|
17
|
-
import { addQueryArgs } from "./add-query-args.js";
|
|
18
|
-
import { getQueryArg } from "./get-query-arg.js";
|
|
19
|
-
import { getQueryArgs } from "./get-query-args.js";
|
|
20
|
-
import { hasQueryArg } from "./has-query-arg.js";
|
|
21
|
-
import { removeQueryArgs } from "./remove-query-args.js";
|
|
22
|
-
import { prependHTTP } from "./prepend-http.js";
|
|
23
|
-
import { safeDecodeURI } from "./safe-decode-uri.js";
|
|
24
|
-
import { safeDecodeURIComponent } from "./safe-decode-uri-component.js";
|
|
25
|
-
import { filterURLForDisplay } from "./filter-url-for-display.js";
|
|
26
|
-
import { cleanForSlug } from "./clean-for-slug.js";
|
|
27
|
-
import { getFilename } from "./get-filename.js";
|
|
28
|
-
import { normalizePath } from "./normalize-path.js";
|
|
29
|
-
import { prependHTTPS } from "./prepend-https.js";
|
|
30
|
-
export {
|
|
31
|
-
addQueryArgs,
|
|
32
|
-
buildQueryString,
|
|
33
|
-
cleanForSlug,
|
|
34
|
-
filterURLForDisplay,
|
|
35
|
-
getAuthority,
|
|
36
|
-
getFilename,
|
|
37
|
-
getFragment,
|
|
38
|
-
getPath,
|
|
39
|
-
getPathAndQueryString,
|
|
40
|
-
getProtocol,
|
|
41
|
-
getQueryArg,
|
|
42
|
-
getQueryArgs,
|
|
43
|
-
getQueryString,
|
|
44
|
-
hasQueryArg,
|
|
45
|
-
isEmail,
|
|
46
|
-
isPhoneNumber,
|
|
47
|
-
isURL,
|
|
48
|
-
isValidAuthority,
|
|
49
|
-
isValidFragment,
|
|
50
|
-
isValidPath,
|
|
51
|
-
isValidProtocol,
|
|
52
|
-
isValidQueryString,
|
|
53
|
-
normalizePath,
|
|
54
|
-
prependHTTP,
|
|
55
|
-
prependHTTPS,
|
|
56
|
-
removeQueryArgs,
|
|
57
|
-
safeDecodeURI,
|
|
58
|
-
safeDecodeURIComponent
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=index.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build-module/{get-path-and-query-string.js.map → get-path-and-query-string.mjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build-module/{safe-decode-uri-component.js.map → safe-decode-uri-component.mjs.map}
RENAMED
|
File without changes
|
|
File without changes
|