Comparing version 1.16.0 to 1.16.1
{ | ||
"name": "sysend", | ||
"version": "1.16.0", | ||
"description": "Web application synchronization between different tabs", | ||
"version": "1.16.1", | ||
"description": "Communication and Synchronization between browser tabs/windows. Works cross-domain.", | ||
"main": "sysend.js", | ||
@@ -15,2 +15,3 @@ "typings": "sysend.d.ts", | ||
"tabs", | ||
"rpc", | ||
"windows", | ||
@@ -17,0 +18,0 @@ "messages", |
@@ -5,4 +5,4 @@ <p align="center"> | ||
[![npm](https://img.shields.io/badge/npm-1.16.0-blue.svg)](https://www.npmjs.com/package/sysend) | ||
![bower](https://img.shields.io/badge/bower-1.16.0-yellow.svg) | ||
[![npm](https://img.shields.io/badge/npm-1.16.1-blue.svg)](https://www.npmjs.com/package/sysend) | ||
![bower](https://img.shields.io/badge/bower-1.16.1-yellow.svg) | ||
![downloads](https://img.shields.io/npm/dt/sysend.svg) | ||
@@ -268,2 +268,3 @@ [![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/sysend)](https://www.jsdelivr.com/package/npm/sysend) | ||
* [Front-end Architecture](https://frontend-architecture.com/2022/03/30/messaging-between-browser-tabs/) | ||
* [Frontend Planet](https://www.frontendplanet.com/news-for-front-end-developers-13/) | ||
@@ -270,0 +271,0 @@ ## License |
/**@license | ||
* sysend.js - send messages between browser windows/tabs version 1.16.0 | ||
* sysend.js - send messages between browser windows/tabs version 1.16.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (C) 2014-2023 Jakub T. Jankiewicz <https://jcubic.pl/me> |
/**@license | ||
* sysend.js - send messages between browser windows/tabs version 1.16.0 | ||
* sysend.js - send messages between browser windows/tabs version 1.16.1 | ||
* | ||
@@ -24,3 +24,3 @@ * Copyright (C) 2014-2023 Jakub T. Jankiewicz <https://jcubic.pl/me> | ||
var uniq_prefix = '___sysend___'; | ||
var prefix_re = new RegExp('^' + uniq_prefix); | ||
var prefix_re = new RegExp(uniq_prefix); | ||
var random_value = Math.random(); | ||
@@ -105,3 +105,3 @@ var serializer = {}; | ||
let proxy_url = url; | ||
if (!url.match(/\.html$/)) { | ||
if (!url.match(/\.html|\.php|\?/)) { | ||
proxy_url = url.replace(/\/$/, '') + '/proxy.html'; | ||
@@ -108,0 +108,0 @@ } |
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
46794
276