New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

corsica

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corsica - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

package.json
{
"name": "corsica",
"version": "1.2.0",
"version": "1.3.0",
"description": "Ephemeral screens for the masses.",

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

{
"settings::timer": {},
"settings::tags": {}
"settings::tags": {},
"settings::timer": {}
}

@@ -131,8 +131,6 @@ console.log(

});
contentEl.innerHTML = '';
contentEl.appendChild(iframe);
return iframe;
}
function handleHTML(html) {
contentEl.innerHTML = '';
var blob = new Blob([html], { "type" : "text/html" });

@@ -144,2 +142,11 @@ var url = URL.createObjectURL(blob);

});
return iframe;
}
function updateDisplay(iframe, msg) {
var zoom = parseInt(msg.zoom) || 100;
iframe.style.width = (10000/zoom) + '%';
iframe.style.height = (10000/zoom) + '%';
iframe.style.transform = 'scale(' + (zoom/100) + ')';
contentEl.innerHTML = '';
contentEl.appendChild(iframe);

@@ -238,7 +245,7 @@ }

case 'url':
handleURL(msg.url);
updateDisplay(handleURL(msg.url), msg);
untoast();
break;
case 'html':
handleHTML(msg.content);
updateDisplay(handleHTML(msg.content), msg);
untoast();

@@ -245,0 +252,0 @@ break;

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