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

sysend

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sysend - npm Package Compare versions

Comparing version 1.11.1 to 1.12.1

2

package.json
{
"name": "sysend",
"version": "1.11.1",
"version": "1.12.1",
"description": "Web application synchronization between different tabs",

@@ -5,0 +5,0 @@ "main": "sysend.js",

@@ -5,4 +5,4 @@ <p align="center">

[![npm](https://img.shields.io/badge/npm-1.11.1-blue.svg)](https://www.npmjs.com/package/sysend)
![bower](https://img.shields.io/badge/bower-1.11.1-yellow.svg)
[![npm](https://img.shields.io/badge/npm-1.12.1-blue.svg)](https://www.npmjs.com/package/sysend)
![bower](https://img.shields.io/badge/bower-1.12.1-yellow.svg)
![downloads](https://img.shields.io/npm/dt/sysend.svg)

@@ -62,3 +62,3 @@ [![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/sysend)](https://www.jsdelivr.com/package/npm/sysend)

jsDelivr will minify the file. From my testing it's faster then unpkg.com.
jsDelivr will minify the file. From my testing it's faster than unpkg.com.

@@ -109,2 +109,6 @@ ## Usage

## Articles
* [CSRF Protection Problem and How to Fix it](https://www.freecodecamp.org/news/csrf-protection-problem-and-how-to-fix-it/)
* [Synchronizacja stanu aplikacji www między zakładkami](https://bulldogjob.pl/news/1804-synchronizacja-stanu-aplikacji-www-miedzy-zakladkami)
## API

@@ -129,3 +133,2 @@

To see details of using the API, see [demo.html source code](https://github.com/jcubic/sysend.js/blob/master/demo.html) or [TypeScript definition file](https://github.com/jcubic/sysend.js/blob/master/sysend.d.ts).

@@ -132,0 +135,0 @@

/**@license
* sysend.js - send messages between browser windows/tabs version 1.11.1
* sysend.js - send messages between browser windows/tabs version 1.12.1
*

@@ -4,0 +4,0 @@ * Copyright (C) 2014-2022 Jakub T. Jankiewicz <https://jcubic.pl/me>

/**@license
* sysend.js - send messages between browser windows/tabs version 1.11.1
* sysend.js - send messages between browser windows/tabs version 1.12.1
*

@@ -74,2 +74,3 @@ * Copyright (C) 2014-2022 Jakub T. Jankiewicz <https://jcubic.pl/me>

send_to_iframes(event, data);
return sysend;
},

@@ -79,2 +80,3 @@ emit: function(event, data) {

invoke(event, data);
return sysend;
},

@@ -88,2 +90,3 @@ serializer: function(to, from) {

serializer.from = from;
return sysend;
},

@@ -128,2 +131,3 @@ proxy: function() {

}
return sysend;
},

@@ -135,2 +139,3 @@ on: function(event, fn) {

callbacks[event].push(fn);
return sysend;
},

@@ -149,2 +154,3 @@ off: function(event, fn) {

}
return sysend;
},

@@ -155,2 +161,3 @@ track: function(event, fn) {

}
return sysend;
},

@@ -167,5 +174,6 @@ untrack: function(event, fn) {

}
return sysend;
},
post: function(target, data) {
sysend.broadcast('__message__', {
return sysend.broadcast('__message__', {
target: target,

@@ -198,2 +206,3 @@ data: data,

domains = [].slice.apply(arguments).map(origin);
return sysend;
},

@@ -455,5 +464,9 @@ isPrimary: function() {

// -------------------------------------------------------------------------
window.addEventListener('load', function() {
setTimeout(init, 0);
});
if (document.readyState === 'complete') {
init();
} else {
window.addEventListener('load', function() {
setTimeout(init, 0);
});
}
// -------------------------------------------------------------------------

@@ -460,0 +473,0 @@ function init() {

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