@pezkuwi/dev 0.85.8 → 0.85.10

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/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "sideEffects": false,
17
17
  "type": "module",
18
18
  "types": "./index.d.ts",
19
- "version": "0.85.8",
19
+ "version": "0.85.10",
20
20
  "main": "./cjs/index.js",
21
21
  "module": "./index.js",
22
22
  "bin": {
@@ -445,7 +445,10 @@ function buildDeno () {
445
445
  * @returns {string}
446
446
  */
447
447
  function relativePath (value) {
448
- return value && value.startsWith('.') ? value : `./${value}`;
448
+ if (!value || typeof value !== 'string') {
449
+ return '';
450
+ }
451
+ return value.startsWith('.') ? value : `./${value}`;
449
452
  }
450
453
 
451
454
  /**