cross-domain-storage
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -5,3 +5,2 @@ 'use strict'; | ||
var crel = require('crel'); | ||
var getId = require('../getId'); | ||
@@ -26,11 +25,10 @@ | ||
var iframe = crel('iframe', { | ||
src: source, | ||
width: 0, | ||
height: 0, | ||
style: 'display: none;', | ||
onload: function onload() { | ||
isLoaded = true; | ||
} | ||
}); | ||
var iframe = document.createElement('iframe'); | ||
iframe.src = source; | ||
iframe.width = 0; | ||
iframe.height = 0; | ||
iframe.styled = 'display: none;'; | ||
iframe.onload = function () { | ||
isLoaded = true; | ||
}; | ||
@@ -37,0 +35,0 @@ function openStorage() { |
{ | ||
"name": "cross-domain-storage", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Cross domain local storage", | ||
@@ -37,5 +37,3 @@ "main": "./", | ||
"homepage": "https://github.com/MatthewLarner/cross-domain-storage#readme", | ||
"dependencies": { | ||
"crel": "^4.2.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -45,2 +43,3 @@ "babel-cli": "^6.26.0", | ||
"browserify": "^16.5.0", | ||
"crel": "^4.2.0", | ||
"doc-js": "^1.3.1", | ||
@@ -47,0 +46,0 @@ "eslint": "^6.1.0", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
0
10056
19
182
- Removedcrel@^4.2.0
- Removedcrel@4.2.1(transitive)