configuration
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -31,3 +31,6 @@ "use strict"; | ||
super.writeSync(data, true); | ||
this.storage.setItem(this.id, this.dataRaw); | ||
try { | ||
this.storage.setItem(this.id, this.dataRaw); | ||
} | ||
catch (_a) { } | ||
} | ||
@@ -34,0 +37,0 @@ } |
@@ -55,3 +55,3 @@ import { WriteOptions } from 'atomically/dist/types'; | ||
declare type ProviderFileOptions = ProviderAbstractOptions & { | ||
path: string; | ||
path?: string; | ||
watch?: boolean; | ||
@@ -58,0 +58,0 @@ writeOptions?: WriteOptions; |
{ | ||
"name": "configuration", | ||
"description": "Performant and feature rich library for managing configurations/settings.", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
@@ -48,4 +48,8 @@ | ||
this.storage.setItem ( this.id, this.dataRaw ); | ||
try { | ||
this.storage.setItem ( this.id, this.dataRaw ); | ||
} catch {} | ||
} | ||
@@ -52,0 +56,0 @@ |
@@ -75,3 +75,3 @@ | ||
type ProviderFileOptions = ProviderAbstractOptions & { | ||
path: string, | ||
path?: string, | ||
watch?: boolean, | ||
@@ -78,0 +78,0 @@ writeOptions?: WriteOptions, |
104901
2757