@eik/node-client 1.1.62 → 1.1.64
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/CHANGELOG.md +14 -0
- package/dist/index.cjs +1 -1
- package/package.json +4 -2
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.1.64](https://github.com/eik-lib/node-client/compare/v1.1.63...v1.1.64) (2024-08-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @eik/common to v4 ([6cf5860](https://github.com/eik-lib/node-client/commit/6cf586087b9222676fa05131664d0034b16f0c9d))
|
|
7
|
+
|
|
8
|
+
## [1.1.63](https://github.com/eik-lib/node-client/compare/v1.1.62...v1.1.63) (2024-08-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* generate valid URL pathname on windows hosts ([#197](https://github.com/eik-lib/node-client/issues/197)) ([08312a0](https://github.com/eik-lib/node-client/commit/08312a092fb3ad760abbf4b64e769161dd17acf0))
|
|
14
|
+
|
|
1
15
|
## [1.1.62](https://github.com/eik-lib/node-client/compare/v1.1.61...v1.1.62) (2024-08-07)
|
|
2
16
|
|
|
3
17
|
|
package/dist/index.cjs
CHANGED
|
@@ -238,7 +238,7 @@ class Eik {
|
|
|
238
238
|
*/
|
|
239
239
|
get pathname() {
|
|
240
240
|
if (this.#config.type && this.#config.name && this.#config.version)
|
|
241
|
-
return path.join("/", this.type, this.name, this.version);
|
|
241
|
+
return path.join("/", this.type, this.name, this.version).replace(/\\/g, "/");
|
|
242
242
|
throw new Error("Eik config was not loaded before calling .pathname");
|
|
243
243
|
}
|
|
244
244
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eik/node-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.64",
|
|
4
4
|
"description": "Utilities for working with assets and import maps on an Eik server",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "rollup -c",
|
|
23
|
+
"clean": "rimraf .tap dist node_modules types",
|
|
23
24
|
"lint": "eslint .",
|
|
24
25
|
"lint:fix": "eslint --fix .",
|
|
25
26
|
"test": "tap --disable-coverage --allow-empty-coverage",
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
},
|
|
43
44
|
"homepage": "https://github.com/eik-lib/node-client#readme",
|
|
44
45
|
"dependencies": {
|
|
45
|
-
"@eik/common": "
|
|
46
|
+
"@eik/common": "4.1.1",
|
|
46
47
|
"abslog": "2.4.4",
|
|
47
48
|
"undici": "5.28.4"
|
|
48
49
|
},
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
"eslint": "9.8.0",
|
|
55
56
|
"npm-run-all": "4.1.5",
|
|
56
57
|
"prettier": "3.3.3",
|
|
58
|
+
"rimraf": "6.0.1",
|
|
57
59
|
"rollup": "4.20.0",
|
|
58
60
|
"semantic-release": "24.0.0",
|
|
59
61
|
"tap": "21.0.0",
|
package/src/index.js
CHANGED
|
@@ -186,7 +186,7 @@ export default class Eik {
|
|
|
186
186
|
*/
|
|
187
187
|
get pathname() {
|
|
188
188
|
if (this.#config.type && this.#config.name && this.#config.version)
|
|
189
|
-
return join("/", this.type, this.name, this.version);
|
|
189
|
+
return join("/", this.type, this.name, this.version).replace(/\\/g, "/");
|
|
190
190
|
throw new Error("Eik config was not loaded before calling .pathname");
|
|
191
191
|
}
|
|
192
192
|
|