localforage-sessionstoragewrapper
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "localforage-sessionstoragewrapper", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"main": [ | ||
@@ -5,0 +5,0 @@ "src/localforage-sessionstoragewrapper.js" |
{ | ||
"name": "localForage-sessionStorageWrapper", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "then/promise": "5.0.0" |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"homepage": "https://github.com/thgreasi/localForage-sessionStorageWrapper", | ||
@@ -12,0 +12,0 @@ "repository": { |
@@ -71,3 +71,10 @@ (function() { | ||
var serializerPromise = new Promise(function(resolve/*, reject*/) { | ||
var serializerPromise = new Promise(function(resolve, reject) { | ||
// add support for localforage v1.3.x | ||
if (typeof self.getSerializer === 'function') { | ||
self.getSerializer().then(resolve, reject); | ||
return; | ||
} | ||
// We allow localForage to be declared as a module or as a | ||
@@ -74,0 +81,0 @@ // library available without AMD/require.js. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99773
2129