fix(core): update

This commit is contained in:
Philipp Kunz 2024-04-12 14:51:23 +02:00
parent 954df5a0ee
commit 34bc92137b
4 changed files with 679 additions and 1607 deletions

View File

@ -36,29 +36,29 @@
}, },
"homepage": "https://gitlab.com/push.rocks/smartfile#readme", "homepage": "https://gitlab.com/push.rocks/smartfile#readme",
"dependencies": { "dependencies": {
"@push.rocks/lik": "^6.0.12", "@push.rocks/lik": "^6.0.14",
"@push.rocks/smartdelay": "^3.0.5", "@push.rocks/smartdelay": "^3.0.5",
"@push.rocks/smartfile-interfaces": "^1.0.7", "@push.rocks/smartfile-interfaces": "^1.0.7",
"@push.rocks/smarthash": "^3.0.4", "@push.rocks/smarthash": "^3.0.4",
"@push.rocks/smartjson": "^5.0.10", "@push.rocks/smartjson": "^5.0.16",
"@push.rocks/smartmime": "^1.0.5", "@push.rocks/smartmime": "^1.0.5",
"@push.rocks/smartpath": "^5.0.11", "@push.rocks/smartpath": "^5.0.11",
"@push.rocks/smartpromise": "^4.0.2", "@push.rocks/smartpromise": "^4.0.2",
"@push.rocks/smartrequest": "^2.0.21", "@push.rocks/smartrequest": "^2.0.21",
"@push.rocks/smartstream": "^3.0.30", "@push.rocks/smartstream": "^3.0.34",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0", "@types/glob": "^8.1.0",
"@types/js-yaml": "^4.0.9", "@types/js-yaml": "^4.0.9",
"fs-extra": "^11.1.1", "fs-extra": "^11.2.0",
"glob": "^10.3.10", "glob": "^10.3.12",
"js-yaml": "^4.1.0" "js-yaml": "^4.1.0"
}, },
"devDependencies": { "devDependencies": {
"@git.zone/tsbuild": "^2.1.70", "@git.zone/tsbuild": "^2.1.72",
"@git.zone/tsrun": "^1.2.46", "@git.zone/tsrun": "^1.2.46",
"@git.zone/tstest": "^1.0.84", "@git.zone/tstest": "^1.0.88",
"@push.rocks/tapbundle": "^5.0.15", "@push.rocks/tapbundle": "^5.0.22",
"@types/node": "^20.10.0" "@types/node": "^20.12.7"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartfile', name: '@push.rocks/smartfile',
version: '11.0.11', version: '11.0.12',
description: 'provides a robust suite of tools for managing files in Node.js using TypeScript.' description: 'provides a robust suite of tools for managing files in Node.js using TypeScript.'
} }

View File

@ -169,8 +169,7 @@ export class SmartFile extends plugins.smartjson.Smartjson {
* - no argument write to exactly where the file was picked up * - no argument write to exactly where the file was picked up
*/ */
public async write() { public async write() {
let writePath = plugins.path.join(this.base, this.path); let writePath = plugins.smartpath.transform.makeAbsolute(this.path, this.base);
plugins.smartpath.transform.toAbsolute(this.path, this.base);
await memory.toFs(this.contentBuffer, writePath); await memory.toFs(this.contentBuffer, writePath);
} }