@entur/utils
Advanced tools
Comparing version 0.9.2 to 0.9.3
@@ -164,5 +164,4 @@ 'use strict'; | ||
function warnAboutMissingStyles() { | ||
var _process, _process$env; | ||
// We skip this check in production, jest, and when we build static sites | ||
if (typeof window === 'undefined' || ((_process = process) == null ? void 0 : (_process$env = _process.env) == null ? void 0 : _process$env.JEST_WORKER_ID) !== undefined) { | ||
// We skip this check in production, and when we build static sites | ||
if (typeof window === 'undefined') { | ||
return; | ||
@@ -169,0 +168,0 @@ } |
@@ -155,5 +155,4 @@ import React, { useState, useEffect } from 'react'; | ||
function warnAboutMissingStyles() { | ||
var _process, _process$env; | ||
// We skip this check in production, jest, and when we build static sites | ||
if (!(process.env.NODE_ENV !== "production") || typeof window === 'undefined' || ((_process = process) == null ? void 0 : (_process$env = _process.env) == null ? void 0 : _process$env.JEST_WORKER_ID) !== undefined) { | ||
// We skip this check in production, and when we build static sites | ||
if (!(process.env.NODE_ENV !== "production") || typeof window === 'undefined') { | ||
return; | ||
@@ -160,0 +159,0 @@ } |
{ | ||
"name": "@entur/utils", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"license": "EUPL-1.2", | ||
@@ -31,3 +31,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "a7f288d524c9ef12f3b78ea35b864c879c0f1cc3" | ||
"gitHead": "9bf0838160519db9fb072af36dc19731dfb5e2dd" | ||
} |
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
69224
431