Comparing version 0.5.1 to 0.5.2
@@ -19,3 +19,4 @@ // shim for using process in browser | ||
window.addEventListener('message', function (ev) { | ||
if (ev.source === window && ev.data === 'process-tick') { | ||
var source = ev.source; | ||
if ((source === window || source === null) && ev.data === 'process-tick') { | ||
ev.stopPropagation(); | ||
@@ -22,0 +23,0 @@ if (queue.length > 0) { |
@@ -8,3 +8,3 @@ { | ||
], | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"repository": { | ||
@@ -15,3 +15,2 @@ "type": "git", | ||
"browser": "./browser.js", | ||
"browserify": "./browser.js", | ||
"main": "./index.js", | ||
@@ -18,0 +17,0 @@ "engines": { |
@@ -13,4 +13,4 @@ # process | ||
The [script](https://github.com/shtylman/node-script) module will properly handle this field. | ||
The [browserify](https://github.com/substack/node-browserify) module will properly handle this field when bundling your files. | ||
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
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 License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
3443
0
46