Socket
Socket
Sign inDemoInstall

xfc

Package Overview
Dependencies
6
Maintainers
13
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.1

5

CHANGELOG.md
Next Release
-------------
1.5.1
------
* Added download attribute check for IE11 in unload trigger.
1.5.0

@@ -4,0 +9,0 @@ ------

4

lib/provider/application.js

@@ -363,2 +363,6 @@ 'use strict';

value: function unload() {
// Need this line because IE11 & some safari trigger onbeforeunload despite presence of download attribute
if (document.activeElement && document.activeElement.hasAttribute('download')) {
return;
}
this.JSONRPC.notification('unload');

@@ -365,0 +369,0 @@ this.trigger('xfc.unload');

2

package.json
{
"name": "xfc",
"version": "1.5.0",
"version": "1.5.1",
"description": "A Cross Frame Container that handles securely embedding web content into a 3rd party domain",

@@ -5,0 +5,0 @@ "author": "Cerner Corporation",

@@ -263,2 +263,6 @@ import JSONRPC from 'jsonrpc-dispatch';

unload() {
// Need this line because IE11 & some safari trigger onbeforeunload despite presence of download attribute
if (document.activeElement && document.activeElement.hasAttribute('download')) {
return;
}
this.JSONRPC.notification('unload');

@@ -265,0 +269,0 @@ this.trigger('xfc.unload');

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