Comparing version 2.1.0 to 2.1.1
@@ -50,5 +50,6 @@ /** | ||
once: function (name, listener) { | ||
bridge.on(name, function fn () { | ||
bridge.off(name, fn); | ||
listener.apply(this, arguments); | ||
const self = this; | ||
self.on(name, function fn () { | ||
self.off(name, fn); | ||
listener.apply(self, arguments); | ||
}); | ||
@@ -55,0 +56,0 @@ }, |
{ | ||
"name": "uvm", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Universal Virtual Machine for Node and Browser", | ||
@@ -5,0 +5,0 @@ "author": "Postman Inc.", |
Sorry, the diff of this file is not supported yet
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
43632
591