@vercel/analytics
Advanced tools
Comparing version 0.1.9-beta.5 to 0.1.9-beta.6
// package.json | ||
var name = "@vercel/analytics"; | ||
var version = "0.1.9-beta.5"; | ||
var version = "0.1.9-beta.6"; | ||
@@ -19,6 +19,9 @@ // src/queue.ts | ||
function detectEnvironment() { | ||
if (typeof process === "undefined") | ||
return "production"; | ||
if (process.env.NODE_ENV === "development" || process.env.NODE_ENV === "test") | ||
return "development"; | ||
try { | ||
const env = process.env.NODE_ENV; | ||
if (env === "development" || env === "test") { | ||
return "development"; | ||
} | ||
} catch (e) { | ||
} | ||
return "production"; | ||
@@ -25,0 +28,0 @@ } |
@@ -8,3 +8,3 @@ "use client"; | ||
var name = "@vercel/analytics"; | ||
var version = "0.1.9-beta.5"; | ||
var version = "0.1.9-beta.6"; | ||
@@ -25,6 +25,9 @@ // src/queue.ts | ||
function detectEnvironment() { | ||
if (typeof process === "undefined") | ||
return "production"; | ||
if (process.env.NODE_ENV === "development" || process.env.NODE_ENV === "test") | ||
return "development"; | ||
try { | ||
const env = process.env.NODE_ENV; | ||
if (env === "development" || env === "test") { | ||
return "development"; | ||
} | ||
} catch (e) { | ||
} | ||
return "production"; | ||
@@ -31,0 +34,0 @@ } |
{ | ||
"name": "@vercel/analytics", | ||
"version": "0.1.9-beta.5", | ||
"version": "0.1.9-beta.6", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "analytics", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
63297
686
3