@xylabs/url 4.0.2 → 4.0.4
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/browser/Url.d.ts +3 -0
- package/dist/browser/Url.d.ts.map +1 -0
- package/dist/browser/index.d.ts +2 -5
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/neutral/Url.d.ts +3 -0
- package/dist/neutral/Url.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +2 -5
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/node/Url.d.ts +2 -0
- package/dist/node/Url.d.ts.map +1 -0
- package/dist/node/index.d.ts +2 -1
- package/dist/node/index.d.ts.map +1 -0
- package/jest.config.cjs +2 -8
- package/package.json +30 -30
- package/xy.config.ts +3 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../src/browser/Url.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU,0BAAM,CAAA;AACtB,OAAO,EAAE,UAAU,IAAI,GAAG,EAAE,CAAA"}
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../src/neutral/Url.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU,0BAAM,CAAA;AACtB,OAAO,EAAE,UAAU,IAAI,GAAG,EAAE,CAAA"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/neutral/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -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"}
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './Url.ts';
|
|
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,UAAU,CAAA"}
|
package/jest.config.cjs
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
const generateJestConfig = ({ esModules }) => {
|
|
2
2
|
const esModuleslist = Array.isArray(esModules) ? esModules.join('|') : esModules
|
|
3
3
|
return {
|
|
4
|
-
globals: {
|
|
5
|
-
|
|
6
|
-
tsconfig: 'tsconfig.test.json',
|
|
7
|
-
},
|
|
8
|
-
},
|
|
9
|
-
moduleNameMapper: {
|
|
10
|
-
'^(\\.{1,2}/.*)\\.js$': '$1',
|
|
11
|
-
},
|
|
4
|
+
globals: { 'ts-jest': { tsconfig: 'tsconfig.test.json' } },
|
|
5
|
+
moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' },
|
|
12
6
|
preset: 'ts-jest/presets/default-esm',
|
|
13
7
|
testRegex: String.raw('(/__tests__/.*|(.|/)(test|spec)).tsx?$'),
|
|
14
8
|
transform: {
|
package/package.json
CHANGED
|
@@ -1,16 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"license": "LGPL-3.0-only",
|
|
3
2
|
"name": "@xylabs/url",
|
|
3
|
+
"version": "4.0.4",
|
|
4
|
+
"description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"url",
|
|
7
|
+
"xylabs",
|
|
8
|
+
"utility",
|
|
9
|
+
"typescript",
|
|
10
|
+
"esm"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://xylabs.com",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "git+https://github.com/xylabs/sdk-js/issues",
|
|
15
|
+
"email": "support@xylabs.com"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/xylabs/sdk-js.git"
|
|
20
|
+
},
|
|
21
|
+
"license": "LGPL-3.0-only",
|
|
4
22
|
"author": {
|
|
5
|
-
"email": "support@xylabs.com",
|
|
6
23
|
"name": "XY Labs Development Team",
|
|
7
|
-
"url": "https://xylabs.com"
|
|
8
|
-
},
|
|
9
|
-
"bugs": {
|
|
10
24
|
"email": "support@xylabs.com",
|
|
11
|
-
"url": "
|
|
25
|
+
"url": "https://xylabs.com"
|
|
12
26
|
},
|
|
13
|
-
"
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"type": "module",
|
|
14
29
|
"exports": {
|
|
15
30
|
".": {
|
|
16
31
|
"browser": {
|
|
@@ -28,34 +43,19 @@
|
|
|
28
43
|
},
|
|
29
44
|
"./package.json": "./package.json"
|
|
30
45
|
},
|
|
31
|
-
"types": "./dist/neutral/index.d.ts",
|
|
32
46
|
"module": "./dist/neutral/index.mjs",
|
|
33
|
-
"
|
|
34
|
-
"keywords": [
|
|
35
|
-
"url",
|
|
36
|
-
"xylabs",
|
|
37
|
-
"utility",
|
|
38
|
-
"typescript",
|
|
39
|
-
"esm"
|
|
40
|
-
],
|
|
47
|
+
"types": "./dist/neutral/index.d.ts",
|
|
41
48
|
"devDependencies": {
|
|
42
|
-
"@types/node": "^22.
|
|
43
|
-
"@xylabs/ts-scripts-yarn3": "^4.0.
|
|
44
|
-
"@xylabs/tsconfig": "^4.0.
|
|
45
|
-
"@xylabs/tsconfig-dom": "^4.0.
|
|
49
|
+
"@types/node": "^22.5.0",
|
|
50
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.7",
|
|
51
|
+
"@xylabs/tsconfig": "^4.0.7",
|
|
52
|
+
"@xylabs/tsconfig-dom": "^4.0.7",
|
|
46
53
|
"typescript": "^5.5.4"
|
|
47
54
|
},
|
|
48
|
-
"publishConfig": {
|
|
49
|
-
"access": "public"
|
|
50
|
-
},
|
|
51
55
|
"engines": {
|
|
52
56
|
"node": ">=18"
|
|
53
57
|
},
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
"sideEffects": false,
|
|
59
|
-
"version": "4.0.2",
|
|
60
|
-
"type": "module"
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public"
|
|
60
|
+
}
|
|
61
61
|
}
|
package/xy.config.ts
CHANGED
|
@@ -2,16 +2,10 @@ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
|
|
|
2
2
|
|
|
3
3
|
const config: XyTsupConfig = {
|
|
4
4
|
compile: {
|
|
5
|
-
browser: {
|
|
6
|
-
'src/browser': true,
|
|
7
|
-
},
|
|
5
|
+
browser: { 'src/browser': true },
|
|
8
6
|
mode: 'tsup',
|
|
9
|
-
neutral: {
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
node: {
|
|
13
|
-
'src/node': true,
|
|
14
|
-
},
|
|
7
|
+
neutral: { 'src/neutral': true },
|
|
8
|
+
node: { 'src/node': true },
|
|
15
9
|
},
|
|
16
10
|
}
|
|
17
11
|
|