Socket
Socket
Sign inDemoInstall

web-social-share

Package Overview
Dependencies
0
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.3.0 to 7.3.1

dist/websocialshare/p-652be63e.entry.js

6

dist/cjs/web-social-share.cjs.entry.js

@@ -246,3 +246,7 @@ 'use strict';

}
window.open(urlString + shareEncodedUrl(attrs.socialShareUrl) + '&title=' + encodeURIComponent(attrs.socialShareText), 'Reddit', 'toolbar=0,status=0,resizable=yes,width=' +
let url = urlString + shareEncodedUrl(attrs.socialShareUrl);
if (attrs.socialShareText) {
url += `&title=${encodeURIComponent(attrs.socialShareText)}`;
}
window.open(url, 'Reddit', 'toolbar=0,status=0,resizable=yes,width=' +
attrs.socialSharePopupWidth +

@@ -249,0 +253,0 @@ ',height=' +

@@ -21,3 +21,7 @@ import { shareEncodedUrl } from './utils';

}
window.open(urlString + shareEncodedUrl(attrs.socialShareUrl) + '&title=' + encodeURIComponent(attrs.socialShareText), 'Reddit', 'toolbar=0,status=0,resizable=yes,width=' +
let url = urlString + shareEncodedUrl(attrs.socialShareUrl);
if (attrs.socialShareText) {
url += `&title=${encodeURIComponent(attrs.socialShareText)}`;
}
window.open(url, 'Reddit', 'toolbar=0,status=0,resizable=yes,width=' +
attrs.socialSharePopupWidth +

@@ -24,0 +28,0 @@ ',height=' +

@@ -243,3 +243,7 @@ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';

}
window.open(urlString + shareEncodedUrl(attrs.socialShareUrl) + '&title=' + encodeURIComponent(attrs.socialShareText), 'Reddit', 'toolbar=0,status=0,resizable=yes,width=' +
let url = urlString + shareEncodedUrl(attrs.socialShareUrl);
if (attrs.socialShareText) {
url += `&title=${encodeURIComponent(attrs.socialShareText)}`;
}
window.open(url, 'Reddit', 'toolbar=0,status=0,resizable=yes,width=' +
attrs.socialSharePopupWidth +

@@ -246,0 +250,0 @@ ',height=' +

@@ -242,3 +242,7 @@ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-61bbd0a6.js';

}
window.open(urlString + shareEncodedUrl(attrs.socialShareUrl) + '&title=' + encodeURIComponent(attrs.socialShareText), 'Reddit', 'toolbar=0,status=0,resizable=yes,width=' +
let url = urlString + shareEncodedUrl(attrs.socialShareUrl);
if (attrs.socialShareText) {
url += `&title=${encodeURIComponent(attrs.socialShareText)}`;
}
window.open(url, 'Reddit', 'toolbar=0,status=0,resizable=yes,width=' +
attrs.socialSharePopupWidth +

@@ -245,0 +249,0 @@ ',height=' +

2

dist/websocialshare/websocialshare.esm.js

@@ -1,1 +0,1 @@

import{p as s,b as a}from"./p-12f96bea.js";(()=>{const a=import.meta.url,r={};return""!==a&&(r.resourcesUrl=new URL(".",a).href),s(r)})().then((s=>a([["p-ba5f3648",[[1,"web-social-share",{show:[1028],share:[16]}]]]],s)));
import{p as e,b as s}from"./p-12f96bea.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((e=>s([["p-652be63e",[[1,"web-social-share",{show:[1028],share:[16]}]]]],e)));
{
"name": "web-social-share",
"version": "7.3.0",
"version": "7.3.1",
"description": "A Web Component to share urls and text on social networks",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc