browser-module-sandbox
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -96,6 +96,6 @@ var inherits = require('inherits') | ||
// setTimeout is because iframes report inaccurate window.innerWidth/innerHeight, even after DOMContentLoaded! | ||
var body = self.iframeBody + | ||
'<script type="text/javascript"> setTimeout(function(){' + | ||
script + | ||
'}, 0)</script>' | ||
var body = self.iframeBody + | ||
'<script type="text/javascript" src="data:text/javascript;charset=UTF-8,' | ||
+ encodeURIComponent('setTimeout(function(){' + script + '}, 0)') | ||
+ '"></script>' | ||
var html = { head: self.iframeHead + self.iframeStyle, body: body, script: script } | ||
@@ -102,0 +102,0 @@ self.iframe.setHTML(html) |
{ | ||
"name": "browser-module-sandbox", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "uses browserify-cdn to run node code in an iframe", | ||
@@ -16,5 +16,13 @@ "repository": { | ||
}, | ||
"engines": { | ||
"node": "0.8.x" | ||
} | ||
"bugs": { | ||
"url": "https://github.com/maxogden/browser-module-sandbox/issues" | ||
}, | ||
"homepage": "https://github.com/maxogden/browser-module-sandbox", | ||
"main": "index.js", | ||
"devDependencies": {}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "ISC" | ||
} |
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5156
0
2