@oozcitak/url 0.0.7 → 1.0.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/README.md +14 -0
- package/lib/URLAlgorithm.d.ts +267 -321
- package/lib/URLAlgorithm.js +2217 -2184
- package/lib/URLAlgorithm.js.map +1 -1
- package/lib/URLImpl.d.ts +22 -14
- package/lib/URLImpl.js +24 -25
- package/lib/URLImpl.js.map +1 -1
- package/lib/URLSearchParamsImpl.d.ts +0 -2
- package/lib/URLSearchParamsImpl.js +4 -5
- package/lib/URLSearchParamsImpl.js.map +1 -1
- package/lib/index.d.ts +2 -4
- package/lib/index.js +4 -15
- package/lib/index.js.map +1 -1
- package/package.json +5 -5
- package/lib/IDNAMappingTable.d.ts +0 -41
- package/lib/IDNAMappingTable.js +0 -8688
- package/lib/IDNAMappingTable.js.map +0 -1
- package/lib/TreeMap.d.ts +0 -39
- package/lib/TreeMap.js +0 -105
- package/lib/TreeMap.js.map +0 -1
- package/lib/algorithm/URLAlgorithm.d.ts +0 -321
- package/lib/algorithm/URLAlgorithm.js +0 -2552
- package/lib/algorithm/URLAlgorithm.js.map +0 -1
- package/lib/algorithm/index.d.ts +0 -1
- package/lib/algorithm/index.js +0 -5
- package/lib/algorithm/index.js.map +0 -1
- package/lib/interfacesInternal.d.ts +0 -22
- package/lib/interfacesInternal.js +0 -3
- package/lib/interfacesInternal.js.map +0 -1
- package/lib/url/URLImpl.d.ts +0 -45
- package/lib/url/URLImpl.js +0 -329
- package/lib/url/URLImpl.js.map +0 -1
- package/lib/url/URLSearchParamsImpl.d.ts +0 -40
- package/lib/url/URLSearchParamsImpl.js +0 -184
- package/lib/url/URLSearchParamsImpl.js.map +0 -1
- package/lib/url/index.d.ts +0 -4
- package/lib/url/index.js +0 -16
- package/lib/url/index.js.map +0 -1
- package/lib/url/interfaces.d.ts +0 -195
- package/lib/url/interfaces.js +0 -31
- package/lib/url/interfaces.js.map +0 -1
- package/lib/util/StringWalker.d.ts +0 -48
- package/lib/util/StringWalker.js +0 -92
- package/lib/util/StringWalker.js.map +0 -1
- package/lib/util/index.d.ts +0 -59
- package/lib/util/index.js +0 -170
- package/lib/util/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oozcitak/url",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"url",
|
|
6
6
|
"whatwg"
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"main": "./lib/index",
|
|
21
21
|
"types": "lib/index.d.ts",
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": ">=
|
|
23
|
+
"node": ">=8.0"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"lib/**/*"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@oozcitak/
|
|
30
|
-
"@oozcitak/
|
|
29
|
+
"@oozcitak/util": "1.0.2",
|
|
30
|
+
"@oozcitak/infra": "1.0.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"typescript": "*",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
-
"compile": "tsc",
|
|
51
|
+
"compile": "rm -rf ./lib && tsc --version && tsc",
|
|
52
52
|
"test": "npm run compile && jest --coverage",
|
|
53
53
|
"publish-public": "npm run test && npm publish --access public"
|
|
54
54
|
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare enum Status {
|
|
2
|
-
Valid = 0,
|
|
3
|
-
Ignored = 1,
|
|
4
|
-
Mapped = 2,
|
|
5
|
-
Deviation = 3,
|
|
6
|
-
Disallowed = 4,
|
|
7
|
-
DisallowedSTD3Valid = 5,
|
|
8
|
-
DisallowedSTD3Mapped = 6
|
|
9
|
-
}
|
|
10
|
-
export declare enum IDNA2008Status {
|
|
11
|
-
NV8 = 0,
|
|
12
|
-
XV8 = 1,
|
|
13
|
-
None = 2
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Contains lookup values from the:
|
|
17
|
-
* http://www.unicode.org/reports/tr46
|
|
18
|
-
* Version: 12.1.0
|
|
19
|
-
* Date: 2019-04-01, 09:17:25 GMT
|
|
20
|
-
*/
|
|
21
|
-
export declare class IDNAMappingTable {
|
|
22
|
-
private static _instance;
|
|
23
|
-
private _table;
|
|
24
|
-
private _tableInit;
|
|
25
|
-
/**
|
|
26
|
-
* Initializes a new `IDNAMappingTable`.
|
|
27
|
-
*/
|
|
28
|
-
private constructor();
|
|
29
|
-
/**
|
|
30
|
-
* Gets the `IDNAMappingTable` instance.
|
|
31
|
-
*/
|
|
32
|
-
static readonly instance: IDNAMappingTable;
|
|
33
|
-
/**
|
|
34
|
-
* Gets a value from the lookup table.
|
|
35
|
-
*/
|
|
36
|
-
get(key: number): [Status, number[], IDNA2008Status];
|
|
37
|
-
/**
|
|
38
|
-
* Initializes the lookup table.
|
|
39
|
-
*/
|
|
40
|
-
private _init;
|
|
41
|
-
}
|