proxy-handlers
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "proxy-handlers", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Predefined ES6 Proxy handlers", | ||
@@ -5,0 +5,0 @@ "main": "proxy-handlers.js", |
@@ -40,15 +40,15 @@ /* | ||
* Exports: | ||
* - Proxy.DelegatingHandler | ||
* - Proxy.ForwardingHandler | ||
* - Proxy.VirtualHandler | ||
* - DelegatingHandler | ||
* - ForwardingHandler | ||
* - VirtualHandler | ||
*/ | ||
(function(global) { // function-as-module pattern | ||
(function(exports) { // function-as-module pattern | ||
"use strict"; | ||
if (typeof Proxy === "undefined") { | ||
throw new Error("require ECMAScript 6 Proxy constructor"); | ||
} | ||
if (typeof Reflect === "undefined") { | ||
throw new Error("require ECMAScript 6 Reflect module"); | ||
} | ||
if (typeof Proxy === "undefined") { | ||
throw new Error("require ECMAScript 6 Proxy constructor"); | ||
} | ||
if (typeof Reflect === "undefined") { | ||
throw new Error("require ECMAScript 6 Reflect module"); | ||
} | ||
@@ -452,6 +452,6 @@ // == auxiliaries == | ||
Proxy.DelegatingHandler = DelegatingHandler; | ||
Proxy.ForwardingHandler = ForwardingHandler; | ||
Proxy.VirtualHandler = VirtualHandler; | ||
exports.DelegatingHandler = DelegatingHandler; | ||
exports.ForwardingHandler = ForwardingHandler; | ||
exports.VirtualHandler = VirtualHandler; | ||
}(typeof exports !== 'undefined' ? global : this)); // function-as-module pattern | ||
}(typeof exports !== 'undefined' ? exports : this)); // function-as-module pattern |
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
16154