Socket
Socket
Sign inDemoInstall

reflect-metadata

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0-pre.0 to 0.2.0

2

package.json
{
"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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc