Modify the version tag of the url module

https://gitee.com/openharmony/interface_sdk-js/issues/I63WQS

Signed-off-by: jiangkai43 <jiangkai43@huawei.com>
This commit is contained in:
jiangkai43 2022-11-30 14:51:56 +08:00
parent 6c4e5a957e
commit 22fd829b07
6 changed files with 14 additions and 18 deletions

View File

@ -17,7 +17,6 @@
* The convertxml module provides utilities for converting XML text to Javascript object.
* @since 8
* @syscap SystemCapability.Utils.Lang
* @import import convertXml from '@ohos.convertxml';
* @permission N/A
*/
declare namespace xml {

View File

@ -18,7 +18,6 @@
* the working directory of the process, exit and close the process.
* @since 7
* @syscap SystemCapability.Utils.Lang
* @import import url from '@ohos.process';
*/
declare namespace process {

1
api/@ohos.uri.d.ts vendored
View File

@ -17,7 +17,6 @@
* The uri module provides utilities for URI resolution and parsing.
* @since 8
* @syscap SystemCapability.Utils.Lang
* @import import uri from '@ohos.uri';
* @permission N/A
*/
declare namespace uri {

27
api/@ohos.url.d.ts vendored
View File

@ -17,7 +17,6 @@
* The url module provides utilities for URL resolution and parsing.
* @since 7
* @syscap SystemCapability.Utils.Lang
* @import import url from '@ohos.url';
* @permission N/A
*/
declare namespace url {
@ -42,7 +41,7 @@ declare namespace url {
*/
constructor(init?: string[][] | Record<string, string> | string | URLSearchParams);
/**
/**
* Appends a specified key/value pair as a new search parameter.
* @since 7
* @deprecated since 9
@ -53,7 +52,7 @@ declare namespace url {
*/
append(name: string, value: string): void;
/**
/**
* Deletes the given search parameter and its associated value,from the list of all search parameters.
* @since 7
* @deprecated since 9
@ -63,7 +62,7 @@ declare namespace url {
*/
delete(name: string): void;
/**
/**
* Returns all key-value pairs associated with a given search parameter as an array.
* @since 7
* @deprecated since 9
@ -85,7 +84,7 @@ declare namespace url {
*/
entries(): IterableIterator<[string, string]>;
/**
/**
* Callback functions are used to traverse key-value pairs on the URLSearchParams instance object.
* @since 7
* @deprecated since 9
@ -206,7 +205,7 @@ declare namespace url {
*/
constructor(init?: string[][] | Record<string, string> | string | URLSearchParams);
/**
/**
* Appends a specified key/value pair as a new search parameter.
* @since 9
* @syscap SystemCapability.Utils.Lang
@ -216,7 +215,7 @@ declare namespace url {
*/
append(name: string, value: string): void;
/**
/**
* Deletes the given search parameter and its associated value,from the list of all search parameters.
* @since 9
* @syscap SystemCapability.Utils.Lang
@ -225,7 +224,7 @@ declare namespace url {
*/
delete(name: string): void;
/**
/**
* Returns all key-value pairs associated with a given search parameter as an array.
* @since 9
* @syscap SystemCapability.Utils.Lang
@ -244,7 +243,7 @@ declare namespace url {
*/
entries(): IterableIterator<[string, string]>;
/**
/**
* Callback functions are used to traverse key-value pairs on the URLSearchParams instance object.
* @since 9
* @syscap SystemCapability.Utils.Lang
@ -357,9 +356,11 @@ declare namespace url {
/**
* Check the validity of parameters
* url: Absolute or relative input URL to resolve. Base is required if input is relative.
* @since 9
* @syscap SystemCapability.Utils.Lang
* @param url Absolute or relative input URL to resolve. Base is required if input is relative.
* If input is an absolute value, base ignores the value.
* base: Base URL to parse if input is not absolute.
* @param base Base URL to parse if input is not absolute.
* @throws {BusinessError} 401 - if the input parameters are invalid.
* @throws {BusinessError} 10200002 - Invalid url string.
*/
@ -381,14 +382,14 @@ declare namespace url {
*/
toJSON(): string;
/**
/**
* Gets and sets the fragment portion of the URL.
* @since 7
* @syscap SystemCapability.Utils.Lang
*/
hash: string;
/**
/**
* Gets and sets the host portion of the URL.
* @since 7
* @syscap SystemCapability.Utils.Lang

1
api/@ohos.util.d.ts vendored
View File

@ -17,7 +17,6 @@
* stream of code points as input and emits a stream of UTF-8 bytes, and system help function.
* @since 7
* @syscap SystemCapability.Utils.Lang
* @import import util from '@ohos.util';
* @permission N/A
*/
declare namespace util {

1
api/@ohos.xml.d.ts vendored
View File

@ -17,7 +17,6 @@
* The xml module provides utilities for converting XML text to Javascript object, XML generation and parsing.
* @since 8
* @syscap SystemCapability.Utils.Lang
* @import import xml from '@ohos.xml';
* @permission N/A
*/
declare namespace xml {