svelte-local-storage-store
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -29,3 +29,3 @@ "use strict"; | ||
function writable(key, initialValue, options) { | ||
const browser = typeof localStorage != "undefined"; | ||
const browser = typeof localStorage != "undefined" && typeof window != "undefined"; | ||
const serializer = (options == null ? void 0 : options.serializer) || JSON; | ||
@@ -32,0 +32,0 @@ function updateStorage(key2, value) { |
{ | ||
"name": "svelte-local-storage-store", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13149