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

dot-store-message

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dot-store-message - npm Package Compare versions

Comparing version 2.2.6 to 2.2.8

11

dist/index.js

@@ -28,3 +28,3 @@ "use strict";

var _ref2 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(options) {
var divId, meta, op, prop, value, message, el, target;
var divId, meta, op, prop, value, valid, message, el, target;
return _regenerator2.default.wrap(function _callee$(_context) {

@@ -35,5 +35,6 @@ while (1) {

divId = options.divId, meta = options.meta, op = options.op, prop = options.prop, value = options.value;
valid = value && !value.dfp;
if (!(meta.fromWindow || value.dfp)) {
_context.next = 3;
if (!(!valid || meta.fromWindow)) {
_context.next = 4;
break;

@@ -44,3 +45,3 @@ }

case 3:
case 4:
message = { dotStore: true, op: op, prop: prop, value: value };

@@ -55,3 +56,3 @@ el = document.getElementById(divId);

case 7:
case 8:
case "end":

@@ -58,0 +59,0 @@ return _context.stop();

{
"name": "dot-store-message",
"version": "2.2.6",
"version": "2.2.8",
"description": "Store sync using window.postMessage",

@@ -5,0 +5,0 @@ "keywords": [

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