@eik/node-client
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,8 @@ | ||
## [1.2.1](https://github.com/eik-lib/node-client/compare/v1.2.0...v1.2.1) (2024-10-16) | ||
### Bug Fixes | ||
* slugify image type ([#207](https://github.com/eik-lib/node-client/issues/207)) ([c0ed5e7](https://github.com/eik-lib/node-client/commit/c0ed5e787119657fa83647256a5f6179ccd24389)) | ||
# [1.2.0](https://github.com/eik-lib/node-client/compare/v1.1.64...v1.2.0) (2024-10-15) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@eik/node-client", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Utilities for working with assets and import maps on an Eik server", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -189,3 +189,8 @@ import { helpers } from "@eik/common"; | ||
if (this.#config.type && this.#config.name && this.#config.version) | ||
return join("/", this.type, this.name, this.version).replace(/\\/g, "/"); | ||
return join( | ||
"/", | ||
helpers.typeSlug(this.type), | ||
this.name, | ||
this.version, | ||
).replace(/\\/g, "/"); | ||
throw new Error("Eik config was not loaded before calling .pathname"); | ||
@@ -192,0 +197,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62892
972