@hoardodile/host 0.0.0 → 0.1.0

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.
@@ -153,10 +153,10 @@ function toFileUrl(path) {
153
153
  return pathToFileURL(path).href
154
154
  }
155
155
 
156
- const pluginDirPrefix = normalizePath(toFileUrl(pluginDir) + "/")
156
+ const pluginDirPrefix = normalizePath(`${toFileUrl(pluginDir)}/`)
157
157
  const assetVaultPrefix =
158
158
  typeof assetVaultDir === "string" && assetVaultDir.length > 0
159
- ? normalizePath(toFileUrl(assetVaultDir) + "/")
159
+ ? normalizePath(`${toFileUrl(assetVaultDir)}/`)
160
160
  : undefined
161
161
  const entryUrl = normalizePath(import.meta.url)
162
162
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoardodile/host",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "license": "MIT",
5
5
  "description": "hoardodile plugin runtime host: sandbox, hook strategy, ResourceAPI, containers and the test runner.",
6
6
  "keywords": [
@@ -67,7 +67,7 @@
67
67
  "file-type": "^22.0.2",
68
68
  "yauzl": "^3.4.0",
69
69
  "yazl": "^3.3.1",
70
- "@hoardodile/sdk-types": "0.0.0"
70
+ "@hoardodile/sdk-types": "0.1.0"
71
71
  },
72
72
  "optionalDependencies": {
73
73
  "@derhuerst/ffprobe-static": "^5.3.0",
@@ -153,10 +153,10 @@ function toFileUrl(path) {
153
153
  return pathToFileURL(path).href
154
154
  }
155
155
 
156
- const pluginDirPrefix = normalizePath(toFileUrl(pluginDir) + "/")
156
+ const pluginDirPrefix = normalizePath(`${toFileUrl(pluginDir)}/`)
157
157
  const assetVaultPrefix =
158
158
  typeof assetVaultDir === "string" && assetVaultDir.length > 0
159
- ? normalizePath(toFileUrl(assetVaultDir) + "/")
159
+ ? normalizePath(`${toFileUrl(assetVaultDir)}/`)
160
160
  : undefined
161
161
  const entryUrl = normalizePath(import.meta.url)
162
162