Comparing version 6.1.0 to 6.1.1
@@ -6,3 +6,11 @@ /*globals Deno*/ | ||
if (typeof Deno !== 'undefined') { | ||
var env = Deno.permissions().env ? Deno.env() : {}; | ||
var env = {}; | ||
try { | ||
env = Deno.env(); | ||
} catch (err) { | ||
// Probably a permissions error because we don't have permission to read the environment variables | ||
// Unfortunately the whole permissions API is async now: | ||
// https://github.com/denoland/deno/pull/3200/files | ||
// ... so we can't detect whether we do have access | ||
} | ||
@@ -9,0 +17,0 @@ return { |
{ | ||
"name": "magicpen", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "Styled output in both consoles and browsers", | ||
@@ -5,0 +5,0 @@ "main": "./lib/MagicPen.js", |
Sorry, the diff of this file is too big to display
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
141339
3116
0