@xylabs/url 2.10.14 → 2.10.16

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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { URL as NodeUrl, URL } from 'node:url';
1
+ export { URL as NodeUrl, URL } from 'url';
2
2
 
3
3
  declare const BrowserUrl: {
4
4
  new (url: string | URL, base?: string | URL | undefined): URL;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { URL as NodeUrl, URL } from 'node:url';
1
+ export { URL as NodeUrl, URL } from 'url';
2
2
 
3
3
  declare const BrowserUrl: {
4
4
  new (url: string | URL, base?: string | URL | undefined): URL;
package/dist/index.js CHANGED
@@ -21,8 +21,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
23
  BrowserUrl: () => BrowserUrl,
24
- NodeUrl: () => import_node_url.URL,
25
- URL: () => import_node_url.URL
24
+ NodeUrl: () => import_url.URL,
25
+ URL: () => import_url.URL
26
26
  });
27
27
  module.exports = __toCommonJS(src_exports);
28
28
 
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(src_exports);
30
30
  var BrowserUrl = URL;
31
31
 
32
32
  // src/node/Url.ts
33
- var import_node_url = require("url");
33
+ var import_url = require("url");
34
34
  // Annotate the CommonJS export names for ESM import in node:
35
35
  0 && (module.exports = {
36
36
  BrowserUrl,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
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":[]}
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 'url'\nexport { URL as NodeUrl }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAM,aAAa;;;ACAnB,iBAAoB;","names":[]}
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  var BrowserUrl = URL;
3
3
 
4
4
  // src/node/Url.ts
5
- import { URL as URL2 } from "node:url";
5
+ import { URL as URL2 } from "url";
6
6
  export {
7
7
  BrowserUrl,
8
8
  URL2 as NodeUrl,
@@ -1 +1 @@
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"]}
1
+ {"version":3,"sources":["../src/browser/Url.ts","../src/node/Url.ts"],"sourcesContent":["const BrowserUrl = URL\nexport { BrowserUrl }\n","import { URL } from 'url'\nexport { URL as NodeUrl }\n"],"mappings":";AAAA,IAAM,aAAa;;;ACAnB,SAAS,OAAAA,YAAW;","names":["URL"]}
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.5",
55
- "@xylabs/tsconfig": "^2.19.5",
56
- "@xylabs/tsconfig-dom": "^2.19.5",
54
+ "@xylabs/ts-scripts-yarn3": "^2.19.11",
55
+ "@xylabs/tsconfig": "^2.19.11",
56
+ "@xylabs/tsconfig-dom": "^2.19.11",
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.14"
72
+ "version": "2.10.16"
73
73
  }
package/src/node/Url.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { URL } from 'node:url'
1
+ import { URL } from 'url'
2
2
  export { URL as NodeUrl }