@xylabs/url 2.10.13 → 2.10.15
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/package.json +4 -4
- package/src/node/Url.ts +1 -1
- package/dist/index.d.mts +0 -11
- package/dist/index.d.ts +0 -11
- package/dist/index.js +0 -40
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -11
- package/dist/index.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"buffer": "^6.0.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@xylabs/ts-scripts-yarn3": "^2.19.
|
|
55
|
-
"@xylabs/tsconfig": "^2.19.
|
|
56
|
-
"@xylabs/tsconfig-dom": "^2.19.
|
|
54
|
+
"@xylabs/ts-scripts-yarn3": "^2.19.9",
|
|
55
|
+
"@xylabs/tsconfig": "^2.19.9",
|
|
56
|
+
"@xylabs/tsconfig-dom": "^2.19.9",
|
|
57
57
|
"publint": "^0.2.2",
|
|
58
58
|
"tsup": "^7.2.0"
|
|
59
59
|
},
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"package-recompile": "tsup && publint"
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
|
-
"version": "2.10.
|
|
72
|
+
"version": "2.10.15"
|
|
73
73
|
}
|
package/src/node/Url.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { URL } from '
|
|
1
|
+
import { URL } from 'url'
|
|
2
2
|
export { URL as NodeUrl }
|
package/dist/index.d.mts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { URL as NodeUrl, URL } from 'node:url';
|
|
2
|
-
|
|
3
|
-
declare const BrowserUrl: {
|
|
4
|
-
new (url: string | URL, base?: string | URL | undefined): URL;
|
|
5
|
-
prototype: URL;
|
|
6
|
-
canParse(url: string | URL, base?: string | undefined): boolean;
|
|
7
|
-
createObjectURL(obj: Blob | MediaSource): string;
|
|
8
|
-
revokeObjectURL(url: string): void;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { BrowserUrl };
|
package/dist/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { URL as NodeUrl, URL } from 'node:url';
|
|
2
|
-
|
|
3
|
-
declare const BrowserUrl: {
|
|
4
|
-
new (url: string | URL, base?: string | URL | undefined): URL;
|
|
5
|
-
prototype: URL;
|
|
6
|
-
canParse(url: string | URL, base?: string | undefined): boolean;
|
|
7
|
-
createObjectURL(obj: Blob | MediaSource): string;
|
|
8
|
-
revokeObjectURL(url: string): void;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { BrowserUrl };
|
package/dist/index.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
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/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
BrowserUrl: () => BrowserUrl,
|
|
24
|
-
NodeUrl: () => import_node_url.URL,
|
|
25
|
-
URL: () => import_node_url.URL
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(src_exports);
|
|
28
|
-
|
|
29
|
-
// src/browser/Url.ts
|
|
30
|
-
var BrowserUrl = URL;
|
|
31
|
-
|
|
32
|
-
// src/node/Url.ts
|
|
33
|
-
var import_node_url = require("url");
|
|
34
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
-
0 && (module.exports = {
|
|
36
|
-
BrowserUrl,
|
|
37
|
-
NodeUrl,
|
|
38
|
-
URL
|
|
39
|
-
});
|
|
40
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/browser/Url.ts","../src/node/Url.ts"],"sourcesContent":["export * from './browser'\nexport { NodeUrl as URL } from './node'\nexport * from './node'\n","const BrowserUrl = URL\nexport { BrowserUrl }\n","import { URL } from 'node:url'\nexport { URL as NodeUrl }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAM,aAAa;;;ACAnB,sBAAoB;","names":[]}
|
package/dist/index.mjs
DELETED
package/dist/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/browser/Url.ts","../src/node/Url.ts"],"sourcesContent":["const BrowserUrl = URL\nexport { BrowserUrl }\n","import { URL } from 'node:url'\nexport { URL as NodeUrl }\n"],"mappings":";AAAA,IAAM,aAAa;;;ACAnB,SAAS,OAAAA,YAAW;","names":["URL"]}
|