@entur/utils
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -175,4 +175,5 @@ 'use strict'; | ||
function warnAboutMissingStyles() { | ||
var _process, _process$env; | ||
// We skip this check in production, and when we build static sites | ||
if (typeof window === 'undefined') { | ||
if (typeof window === 'undefined' || typeof process !== 'undefined' && ((_process = process) == null ? void 0 : (_process$env = _process.env) == null ? void 0 : _process$env.TEST) === 'true') { | ||
return; | ||
@@ -179,0 +180,0 @@ } |
@@ -171,4 +171,5 @@ import React, { useRef, useEffect, useState } from 'react'; | ||
function warnAboutMissingStyles() { | ||
var _process, _process$env; | ||
// We skip this check in production, and when we build static sites | ||
if (!(process.env.NODE_ENV !== "production") || typeof window === 'undefined') { | ||
if (!(process.env.NODE_ENV !== "production") || typeof window === 'undefined' || typeof process !== 'undefined' && ((_process = process) == null ? void 0 : (_process$env = _process.env) == null ? void 0 : _process$env.TEST) === 'true') { | ||
return; | ||
@@ -175,0 +176,0 @@ } |
{ | ||
"name": "@entur/utils", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"license": "EUPL-1.2", | ||
@@ -31,3 +31,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "a6bd766dd2c7bf84eb3a5bcc8cfdbabca765e28e" | ||
"gitHead": "4a9415af2b2c72292bbb4c6aeeb0f79b7dbdb0bd" | ||
} |
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
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
74393
466
0