fix(core): update
This commit is contained in:
parent
7de647daa1
commit
e4e48dc9db
@ -42,7 +42,7 @@
|
|||||||
"@push.rocks/smarthash": "^3.0.4",
|
"@push.rocks/smarthash": "^3.0.4",
|
||||||
"@push.rocks/smartjson": "^5.0.16",
|
"@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.13",
|
||||||
"@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.34",
|
"@push.rocks/smartstream": "^3.0.34",
|
||||||
|
22
pnpm-lock.yaml
generated
22
pnpm-lock.yaml
generated
@ -24,8 +24,8 @@ dependencies:
|
|||||||
specifier: ^1.0.5
|
specifier: ^1.0.5
|
||||||
version: 1.0.6
|
version: 1.0.6
|
||||||
'@push.rocks/smartpath':
|
'@push.rocks/smartpath':
|
||||||
specifier: ^5.0.11
|
specifier: ^5.0.13
|
||||||
version: 5.0.11
|
version: 5.0.13
|
||||||
'@push.rocks/smartpromise':
|
'@push.rocks/smartpromise':
|
||||||
specifier: ^4.0.2
|
specifier: ^4.0.2
|
||||||
version: 4.0.3
|
version: 4.0.3
|
||||||
@ -108,7 +108,7 @@ packages:
|
|||||||
'@push.rocks/smartmanifest': 2.0.2
|
'@push.rocks/smartmanifest': 2.0.2
|
||||||
'@push.rocks/smartmime': 1.0.6
|
'@push.rocks/smartmime': 1.0.6
|
||||||
'@push.rocks/smartopen': 2.0.0
|
'@push.rocks/smartopen': 2.0.0
|
||||||
'@push.rocks/smartpath': 5.0.11
|
'@push.rocks/smartpath': 5.0.13
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartrequest': 2.0.21
|
'@push.rocks/smartrequest': 2.0.21
|
||||||
'@push.rocks/smartrx': 3.0.7
|
'@push.rocks/smartrx': 3.0.7
|
||||||
@ -406,7 +406,7 @@ packages:
|
|||||||
'@push.rocks/smartdelay': 3.0.5
|
'@push.rocks/smartdelay': 3.0.5
|
||||||
'@push.rocks/smartfile': 11.0.11
|
'@push.rocks/smartfile': 11.0.11
|
||||||
'@push.rocks/smartlog': 3.0.3
|
'@push.rocks/smartlog': 3.0.3
|
||||||
'@push.rocks/smartpath': 5.0.11
|
'@push.rocks/smartpath': 5.0.13
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
typescript: 5.3.3
|
typescript: 5.3.3
|
||||||
dev: true
|
dev: true
|
||||||
@ -421,7 +421,7 @@ packages:
|
|||||||
'@push.rocks/smartfile': 11.0.11
|
'@push.rocks/smartfile': 11.0.11
|
||||||
'@push.rocks/smartlog': 3.0.3
|
'@push.rocks/smartlog': 3.0.3
|
||||||
'@push.rocks/smartlog-destination-local': 9.0.1
|
'@push.rocks/smartlog-destination-local': 9.0.1
|
||||||
'@push.rocks/smartpath': 5.0.11
|
'@push.rocks/smartpath': 5.0.13
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartspawn': 3.0.2
|
'@push.rocks/smartspawn': 3.0.2
|
||||||
'@types/html-minifier': 4.0.5
|
'@types/html-minifier': 4.0.5
|
||||||
@ -714,7 +714,7 @@ packages:
|
|||||||
'@push.rocks/smarthash': 3.0.4
|
'@push.rocks/smarthash': 3.0.4
|
||||||
'@push.rocks/smartjson': 5.0.16
|
'@push.rocks/smartjson': 5.0.16
|
||||||
'@push.rocks/smartmime': 1.0.6
|
'@push.rocks/smartmime': 1.0.6
|
||||||
'@push.rocks/smartpath': 5.0.11
|
'@push.rocks/smartpath': 5.0.13
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartrequest': 2.0.21
|
'@push.rocks/smartrequest': 2.0.21
|
||||||
'@push.rocks/smartstream': 2.0.8
|
'@push.rocks/smartstream': 2.0.8
|
||||||
@ -735,7 +735,7 @@ packages:
|
|||||||
'@push.rocks/smarthash': 3.0.4
|
'@push.rocks/smarthash': 3.0.4
|
||||||
'@push.rocks/smartjson': 5.0.16
|
'@push.rocks/smartjson': 5.0.16
|
||||||
'@push.rocks/smartmime': 1.0.6
|
'@push.rocks/smartmime': 1.0.6
|
||||||
'@push.rocks/smartpath': 5.0.11
|
'@push.rocks/smartpath': 5.0.13
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartrequest': 2.0.21
|
'@push.rocks/smartrequest': 2.0.21
|
||||||
'@push.rocks/smartstream': 2.0.8
|
'@push.rocks/smartstream': 2.0.8
|
||||||
@ -756,7 +756,7 @@ packages:
|
|||||||
'@push.rocks/smarthash': 3.0.4
|
'@push.rocks/smarthash': 3.0.4
|
||||||
'@push.rocks/smartjson': 5.0.16
|
'@push.rocks/smartjson': 5.0.16
|
||||||
'@push.rocks/smartmime': 1.0.6
|
'@push.rocks/smartmime': 1.0.6
|
||||||
'@push.rocks/smartpath': 5.0.11
|
'@push.rocks/smartpath': 5.0.13
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartrequest': 2.0.21
|
'@push.rocks/smartrequest': 2.0.21
|
||||||
'@push.rocks/smartstream': 3.0.34
|
'@push.rocks/smartstream': 3.0.34
|
||||||
@ -853,8 +853,8 @@ packages:
|
|||||||
minimatch: 9.0.4
|
minimatch: 9.0.4
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@push.rocks/smartpath@5.0.11:
|
/@push.rocks/smartpath@5.0.13:
|
||||||
resolution: {integrity: sha512-dqdd7KTby0AdaWYC9gVoHDTUIixFhEvo+mmdaTdNshZsfHNkm/EDV25dA+9gJ8/yoyuCYmrwmByNYy9a+xFUeQ==}
|
resolution: {integrity: sha512-MTcZ2kVQDtyNSmcyadIMcSsGeTX2EcNvw2HFHRWNmMq/CHpEM8rluad11zJm5ULTydsAl176rEwESzn4YD5e8A==}
|
||||||
|
|
||||||
/@push.rocks/smartpdf@3.0.17:
|
/@push.rocks/smartpdf@3.0.17:
|
||||||
resolution: {integrity: sha512-oymxajeDnwMzg20Ru7GkpYHM4KtNyTrvxt+AwXD3EjzOaJnFtevszDpCdcCruBik8BcG2XiKJIyY5PprPALvaA==}
|
resolution: {integrity: sha512-oymxajeDnwMzg20Ru7GkpYHM4KtNyTrvxt+AwXD3EjzOaJnFtevszDpCdcCruBik8BcG2XiKJIyY5PprPALvaA==}
|
||||||
@ -862,7 +862,7 @@ packages:
|
|||||||
'@push.rocks/smartdelay': 3.0.5
|
'@push.rocks/smartdelay': 3.0.5
|
||||||
'@push.rocks/smartfile': 10.0.41
|
'@push.rocks/smartfile': 10.0.41
|
||||||
'@push.rocks/smartnetwork': 3.0.2
|
'@push.rocks/smartnetwork': 3.0.2
|
||||||
'@push.rocks/smartpath': 5.0.11
|
'@push.rocks/smartpath': 5.0.13
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartpuppeteer': 2.0.2
|
'@push.rocks/smartpuppeteer': 2.0.2
|
||||||
'@push.rocks/smartunique': 3.0.8
|
'@push.rocks/smartunique': 3.0.8
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartfile',
|
name: '@push.rocks/smartfile',
|
||||||
version: '11.0.12',
|
version: '11.0.13',
|
||||||
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.'
|
||||||
}
|
}
|
||||||
|
@ -170,6 +170,7 @@ export class SmartFile extends plugins.smartjson.Smartjson {
|
|||||||
*/
|
*/
|
||||||
public async write() {
|
public async write() {
|
||||||
let writePath = plugins.smartpath.transform.makeAbsolute(this.path, this.base);
|
let writePath = plugins.smartpath.transform.makeAbsolute(this.path, this.base);
|
||||||
|
console.log(`writing to ${writePath}`);
|
||||||
await memory.toFs(this.contentBuffer, writePath);
|
await memory.toFs(this.contentBuffer, writePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user