Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dot-store

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dot-store - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

58

dist/index.js

@@ -41,2 +41,29 @@ "use strict";

var _loop = function _loop(op) {
_this[op] = function () {
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(prop, value) {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return _this.store({ op: op, prop: prop, value: value });
case 2:
return _context.abrupt("return", _context.sent);
case 3:
case "end":
return _context.stop();
}
}
}, _callee, _this);
}));
return function (_x2, _x3) {
return _ref.apply(this, arguments);
};
}();
};
var _iteratorNormalCompletion = true;

@@ -47,33 +74,6 @@ var _didIteratorError = false;

try {
var _loop = function _loop() {
for (var _iterator = ops[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var op = _step.value;
_this[op] = function () {
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(prop, value) {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return _this.store({ op: op, prop: prop, value: value });
case 2:
return _context.abrupt("return", _context.sent);
case 3:
case "end":
return _context.stop();
}
}
}, _callee, _this);
}));
return function (_x2, _x3) {
return _ref.apply(this, arguments);
};
}();
};
for (var _iterator = ops[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
_loop();
_loop(op);
}

@@ -80,0 +80,0 @@ } catch (err) {

{
"name": "dot-store",
"version": "0.5.0",
"version": "0.5.1",
"description": "Like Redux, but easy",

@@ -36,3 +36,3 @@ "keywords": [

"babel-plugin-transform-object-rest-spread": "6",
"babel-preset-es2015": "^6.24.1",
"babel-preset-env": "^1.6.1",
"fxtr": "1",

@@ -39,0 +39,0 @@ "jest": "22",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc