metro-runtime
Advanced tools
Comparing version 0.63.0 to 0.64.0
{ | ||
"name": "metro-runtime", | ||
"version": "0.63.0", | ||
"version": "0.64.0", | ||
"description": "🚇 Module required for evaluating Metro bundles.", | ||
@@ -5,0 +5,0 @@ "main": "src", |
@@ -23,2 +23,3 @@ /** | ||
} | ||
return obj; | ||
@@ -54,3 +55,5 @@ } | ||
if (len == null || len > arr.length) len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; | ||
return arr2; | ||
@@ -66,2 +69,3 @@ } | ||
var _e = undefined; | ||
try { | ||
@@ -74,2 +78,3 @@ for ( | ||
_arr.push(_s.value); | ||
if (i && _arr.length === i) break; | ||
@@ -87,2 +92,3 @@ } | ||
} | ||
return _arr; | ||
@@ -101,6 +107,5 @@ } | ||
code = _ref$module[1], | ||
sourceURL = _ref.sourceURL; | ||
sourceURL = _ref.sourceURL; // Some engines do not support `sourceURL` as a comment. We expose a | ||
// `globalEvalWithSourceUrl` function to handle updates in that case. | ||
// Some engines do not support `sourceURL` as a comment. We expose a | ||
// `globalEvalWithSourceUrl` function to handle updates in that case. | ||
if (global.globalEvalWithSourceUrl) { | ||
@@ -107,0 +112,0 @@ global.globalEvalWithSourceUrl(code, sourceURL); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
81071
1
1351