mirror of
https://github.com/appy-one/acebase-server.git
synced 2026-05-25 06:02:16 -06:00
[PR #28] [CLOSED] Fix: ESM rootpath issue #35
Labels
No labels
bug
enhancement
feature request
pull-request
types
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-server#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase-server/pull/28
Author: @appy-one
Created: 9/6/2022
Status: ❌ Closed
Base:
master← Head:fix/windows-rootpath📝 Commits (2)
b4c90f0Fix ESM rootpath on windows issue463a31fchore: build📊 Changes
6 files changed (+22 additions, -3 deletions)
View changed files
📝
create-package-files(+14 -1)📝
dist/cjs/shared/rootpath.js(+2 -0)📝
dist/cjs/shared/rootpath.js.map(+1 -1)📝
dist/esm/shared/rootpath.js(+2 -0)📝
dist/esm/shared/rootpath.js.map(+1 -1)📝
src/shared/rootpath.ts(+2 -0)📄 Description
tsc-esm-fixdoes not unescape urls gotten fromimport.meta.url, so "non-url-friendly characters" such as spaces are left in there as%20. This causes databases in paths with special characters not being able to be created/opened. AddingdecodeURIfixes this for now.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.