fix(core): update
This commit is contained in:
		| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@push.rocks/smartfile', | ||||
|   version: '10.0.36', | ||||
|   version: '10.0.37', | ||||
|   description: 'offers smart ways to work with files in nodejs' | ||||
| } | ||||
|   | ||||
| @@ -155,7 +155,7 @@ export class Smartfile extends plugins.smartjson.Smartjson { | ||||
|    * @param contentString | ||||
|    */ | ||||
|   public setContentsFromString(contentString: string, encodingArg: 'utf8' | 'binary' = 'utf8') { | ||||
|     this.contents = new Buffer(contentString, encodingArg); | ||||
|     this.contents = Buffer.from(contentString, encodingArg); | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user