@woosh/meep-engine 2.33.19 → 2.33.20

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.
@@ -68,8 +68,8 @@ export function convertPathToURL(path) {
68
68
  */
69
69
 
70
70
  if (pathname.endsWith('/')) {
71
- //path is to a directory
72
- directoryPath = pathname;
71
+ //path is to a directory, strip last slash
72
+ directoryPath = pathname.substring(0, pathname.length - 1);
73
73
  } else {
74
74
  //path is to a file
75
75
  const i = pathname.lastIndexOf('/');
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "productName": "Meep",
5
5
  "description": "production-ready JavaScript game engine based on Entity Component System Architecture",
6
6
  "author": "Alexander Goldring",
7
- "version": "2.33.19",
7
+ "version": "2.33.20",
8
8
  "dependencies": {
9
9
  "fast-levenshtein": "2.0.6",
10
10
  "opentype.js": "1.3.3",