Comparing version 0.15.3 to 0.15.4
@@ -1,2 +0,2 @@ | ||
/*! lowdb v0.15.3 */ | ||
/*! lowdb v0.15.4 */ | ||
var low = | ||
@@ -141,3 +141,3 @@ /******/ (function(modules) { // webpackBootstrap | ||
module.exports = undefined; | ||
module.exports = _; | ||
@@ -144,0 +144,0 @@ /***/ }), |
@@ -1,2 +0,2 @@ | ||
/*! lowdb v0.15.3 */ | ||
var low=function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var e={};return r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=5)}([function(t,r,e){"use strict";var n=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},o=e(4),i=e(3),u=e(2),a=function(t,r,e){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.storage,f=void 0===c?u:c,s=a.format,p=void 0===s?{}:s;return t.source=e,t.storage=n({},i,t.source&&f),t.read=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=t.storage.read(r,p.deserialize);return o(n)?n.then(t.plant):t.plant(n)},t.write=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments[1],i=n||t.getState(),u=t.storage.write(r,t.getState(),p.serialize);return o(u)?u.then(function(){return i}):i},t.plant=function(e){return t[r]=e,t},t.getState=function(){return t[r]},t.setState=function(r){return t.plant(r),t.write()},t.read()};t.exports={init:a}},function(t,r){t.exports=void 0},function(t,r,e){"use strict";t.exports={read:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:JSON.parse,e=localStorage.getItem(t);return e?r(e):(localStorage.setItem(t,"{}"),{})},write:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:JSON.stringify;localStorage.setItem(t,e(r))}}},function(t,r,e){"use strict";t.exports={read:function(){return{}},write:function(){return{}}}},function(t,r){function e(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}t.exports=e},function(t,r,e){"use strict";var n=e(1),o=e(0);t.exports=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n.runInContext(),i=e.chain({});return i._=e,e.prototype.write=e.wrap(e.prototype.value,function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=r.apply(this);return i.write(e,n)}),o.init(i,"__wrapped__",t,r)}}]); | ||
/*! lowdb v0.15.4 */ | ||
var low=function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var e={};return r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=5)}([function(t,r,e){"use strict";var n=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},o=e(4),i=e(3),u=e(2),a=function(t,r,e){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.storage,f=void 0===c?u:c,s=a.format,p=void 0===s?{}:s;return t.source=e,t.storage=n({},i,t.source&&f),t.read=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=t.storage.read(r,p.deserialize);return o(n)?n.then(t.plant):t.plant(n)},t.write=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments[1],i=n||t.getState(),u=t.storage.write(r,t.getState(),p.serialize);return o(u)?u.then(function(){return i}):i},t.plant=function(e){return t[r]=e,t},t.getState=function(){return t[r]},t.setState=function(r){return t.plant(r),t.write()},t.read()};t.exports={init:a}},function(t,r){t.exports=_},function(t,r,e){"use strict";t.exports={read:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:JSON.parse,e=localStorage.getItem(t);return e?r(e):(localStorage.setItem(t,"{}"),{})},write:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:JSON.stringify;localStorage.setItem(t,e(r))}}},function(t,r,e){"use strict";t.exports={read:function(){return{}},write:function(){return{}}}},function(t,r){function e(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}t.exports=e},function(t,r,e){"use strict";var n=e(1),o=e(0);t.exports=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n.runInContext(),i=e.chain({});return i._=e,e.prototype.write=e.wrap(e.prototype.value,function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=r.apply(this);return i.write(e,n)}),o.init(i,"__wrapped__",t,r)}}]); |
{ | ||
"name": "lowdb", | ||
"version": "0.15.3", | ||
"version": "0.15.4", | ||
"description": "JSON database for Node and the browser powered by lodash API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -16,5 +16,3 @@ var path = require('path') | ||
externals: { | ||
lodash: { | ||
root: '_' // indicates global variable | ||
} | ||
lodash: '_' | ||
}, | ||
@@ -21,0 +19,0 @@ plugins: [ |
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
28934
361