@xylabs/url 3.1.12 → 3.2.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/dist/neutral/Url.d.cts +9 -0
- package/dist/neutral/Url.d.cts.map +1 -0
- package/dist/neutral/Url.d.mts +9 -0
- package/dist/neutral/Url.d.mts.map +1 -0
- package/dist/neutral/Url.d.ts +9 -0
- package/dist/neutral/Url.d.ts.map +1 -0
- package/dist/neutral/index.cjs +29 -0
- package/dist/neutral/index.cjs.map +1 -0
- package/dist/neutral/index.d.cts +2 -0
- package/dist/neutral/index.d.cts.map +1 -0
- package/dist/neutral/index.d.mts +2 -0
- package/dist/neutral/index.d.mts.map +1 -0
- package/dist/neutral/index.d.ts +2 -0
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.js +6 -0
- package/dist/neutral/index.js.map +1 -0
- package/package.json +26 -14
- package/src/neutral/Url.ts +2 -0
- package/src/neutral/index.ts +1 -0
- package/xy.config.ts +3 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const NeutralUrl: {
|
|
2
|
+
new (url: string | URL, base?: string | URL | undefined): URL;
|
|
3
|
+
prototype: URL;
|
|
4
|
+
canParse(url: string | URL, base?: string | undefined): boolean;
|
|
5
|
+
createObjectURL(obj: Blob | MediaSource): string;
|
|
6
|
+
revokeObjectURL(url: string): void;
|
|
7
|
+
};
|
|
8
|
+
export { NeutralUrl as URL };
|
|
9
|
+
//# sourceMappingURL=Url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../src/neutral/Url.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;;;;CAAM,CAAA;AACtB,OAAO,EAAE,UAAU,IAAI,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const NeutralUrl: {
|
|
2
|
+
new (url: string | URL, base?: string | URL | undefined): URL;
|
|
3
|
+
prototype: URL;
|
|
4
|
+
canParse(url: string | URL, base?: string | undefined): boolean;
|
|
5
|
+
createObjectURL(obj: Blob | MediaSource): string;
|
|
6
|
+
revokeObjectURL(url: string): void;
|
|
7
|
+
};
|
|
8
|
+
export { NeutralUrl as URL };
|
|
9
|
+
//# sourceMappingURL=Url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../src/neutral/Url.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;;;;CAAM,CAAA;AACtB,OAAO,EAAE,UAAU,IAAI,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const NeutralUrl: {
|
|
2
|
+
new (url: string | URL, base?: string | URL | undefined): URL;
|
|
3
|
+
prototype: URL;
|
|
4
|
+
canParse(url: string | URL, base?: string | undefined): boolean;
|
|
5
|
+
createObjectURL(obj: Blob | MediaSource): string;
|
|
6
|
+
revokeObjectURL(url: string): void;
|
|
7
|
+
};
|
|
8
|
+
export { NeutralUrl as URL };
|
|
9
|
+
//# sourceMappingURL=Url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../src/neutral/Url.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;;;;CAAM,CAAA;AACtB,OAAO,EAAE,UAAU,IAAI,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/neutral/index.ts
|
|
21
|
+
var neutral_exports = {};
|
|
22
|
+
__export(neutral_exports, {
|
|
23
|
+
URL: () => NeutralUrl
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(neutral_exports);
|
|
26
|
+
|
|
27
|
+
// src/neutral/Url.ts
|
|
28
|
+
var NeutralUrl = URL;
|
|
29
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/neutral/index.ts","../../src/neutral/Url.ts"],"sourcesContent":["export * from './Url'\n","const NeutralUrl = URL\nexport { NeutralUrl as URL }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAM,aAAa;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/neutral/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/neutral/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/neutral/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/neutral/Url.ts"],"sourcesContent":["const NeutralUrl = URL\nexport { NeutralUrl as URL }\n"],"mappings":";AAAA,IAAM,aAAa;","names":[]}
|
package/package.json
CHANGED
|
@@ -23,20 +23,32 @@
|
|
|
23
23
|
"default": "./dist/browser/index.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
26
|
+
"neutral": {
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/neutral/index.d.cts",
|
|
29
|
+
"default": "./dist/neutral/index.cjs"
|
|
30
|
+
},
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/neutral/index.d.mts",
|
|
33
|
+
"default": "./dist/neutral/index.js"
|
|
34
|
+
}
|
|
29
35
|
},
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
36
|
+
"node": {
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/node/index.d.cts",
|
|
39
|
+
"default": "./dist/node/index.cjs"
|
|
40
|
+
},
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/node/index.d.mts",
|
|
43
|
+
"default": "./dist/node/index.js"
|
|
44
|
+
}
|
|
33
45
|
}
|
|
34
46
|
},
|
|
35
47
|
"./package.json": "./package.json"
|
|
36
48
|
},
|
|
37
|
-
"main": "./dist/
|
|
38
|
-
"types": "./dist/
|
|
39
|
-
"module": "./dist/
|
|
49
|
+
"main": "./dist/neutral/index.cjs",
|
|
50
|
+
"types": "./dist/neutral/index.d.ts",
|
|
51
|
+
"module": "./dist/neutral/index.js",
|
|
40
52
|
"homepage": "https://xylabs.com",
|
|
41
53
|
"keywords": [
|
|
42
54
|
"url",
|
|
@@ -49,10 +61,10 @@
|
|
|
49
61
|
"buffer": "^6.0.3"
|
|
50
62
|
},
|
|
51
63
|
"devDependencies": {
|
|
52
|
-
"@types/node": "^20.12.
|
|
53
|
-
"@xylabs/ts-scripts-yarn3": "^3.
|
|
54
|
-
"@xylabs/tsconfig": "^3.
|
|
55
|
-
"@xylabs/tsconfig-dom": "^3.
|
|
64
|
+
"@types/node": "^20.12.8",
|
|
65
|
+
"@xylabs/ts-scripts-yarn3": "^3.10.0",
|
|
66
|
+
"@xylabs/tsconfig": "^3.10.0",
|
|
67
|
+
"@xylabs/tsconfig-dom": "^3.10.0",
|
|
56
68
|
"typescript": "^5.4.5"
|
|
57
69
|
},
|
|
58
70
|
"publishConfig": {
|
|
@@ -66,6 +78,6 @@
|
|
|
66
78
|
"url": "https://github.com/xylabs/sdk-js.git"
|
|
67
79
|
},
|
|
68
80
|
"sideEffects": false,
|
|
69
|
-
"version": "3.
|
|
81
|
+
"version": "3.2.0",
|
|
70
82
|
"type": "module"
|
|
71
83
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Url'
|