reflect-metadata
Advanced tools
Comparing version 0.2.0-pre.0 to 0.2.0
{ | ||
"name": "reflect-metadata", | ||
"version": "0.2.0-pre.0", | ||
"version": "0.2.0", | ||
"description": "Polyfill for Metadata Reflection API", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
@@ -40,16 +40,4 @@ /*! ***************************************************************************** | ||
} | ||
function functionThis() { | ||
try { | ||
return Function("return this;")(); | ||
} | ||
catch (_) { } | ||
} | ||
function indirectEvalThis() { | ||
try { | ||
return (void 0, eval)("(function() { return this; })()"); | ||
} | ||
catch (_) { } | ||
} | ||
function sloppyModeThis() { | ||
return functionThis() || indirectEvalThis(); | ||
throw new ReferenceError("globalThis could not be found. Please polyfill globalThis before loading this module."); | ||
} | ||
@@ -56,0 +44,0 @@ })(function (exporter, root) { |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
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
240808
5097
1