@xylabs/url 2.12.8 → 2.12.9

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.
@@ -0,0 +1,9 @@
1
+ declare const BrowserUrl: {
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 { BrowserUrl as URL };
9
+ //# sourceMappingURL=Url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../../src/browser/Url.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;;;;CAAM,CAAA;AACtB,OAAO,EAAE,UAAU,IAAI,GAAG,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Url';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/browser/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { URL } from 'node:url';
2
+ export { URL };
3
+ //# sourceMappingURL=Url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../../src/node/Url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,GAAG,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Url';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
@@ -0,0 +1,9 @@
1
+ declare const BrowserUrl: {
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 { BrowserUrl as URL };
9
+ //# sourceMappingURL=Url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../../src/browser/Url.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;;;;CAAM,CAAA;AACtB,OAAO,EAAE,UAAU,IAAI,GAAG,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Url';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/browser/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { URL } from 'node:url';
2
+ export { URL };
3
+ //# sourceMappingURL=Url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../../src/node/Url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,GAAG,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Url';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  ".": {
17
17
  "browser": {
18
18
  "require": {
19
- "types": "./dist/browser/browser/index.d.ts",
19
+ "types": "./dist/browser/browser/index.d.cts",
20
20
  "default": "./dist/browser/index.cjs"
21
21
  },
22
22
  "import": {
@@ -25,7 +25,7 @@
25
25
  }
26
26
  },
27
27
  "require": {
28
- "types": "./dist/node/node/index.d.ts",
28
+ "types": "./dist/node/node/index.d.cts",
29
29
  "default": "./dist/node/index.cjs"
30
30
  },
31
31
  "import": {
@@ -52,9 +52,9 @@
52
52
  "buffer": "^6.0.3"
53
53
  },
54
54
  "devDependencies": {
55
- "@xylabs/ts-scripts-yarn3": "^3.0.74",
56
- "@xylabs/tsconfig": "^3.0.74",
57
- "@xylabs/tsconfig-dom": "^3.0.74",
55
+ "@xylabs/ts-scripts-yarn3": "^3.0.75",
56
+ "@xylabs/tsconfig": "^3.0.75",
57
+ "@xylabs/tsconfig-dom": "^3.0.75",
58
58
  "typescript": "^5.2.2"
59
59
  },
60
60
  "publishConfig": {
@@ -65,7 +65,7 @@
65
65
  "url": "https://github.com/xylabs/sdk-js.git"
66
66
  },
67
67
  "sideEffects": false,
68
- "version": "2.12.8",
68
+ "version": "2.12.9",
69
69
  "xy": {
70
70
  "compile": {
71
71
  "browser": {