@daren/utils
Advanced tools
Comparing version 1.9.6 to 1.9.7
"use strict"; | ||
exports.__esModule = true; | ||
exports.useSafeEffect = exports.isBrowser = void 0; | ||
exports.useSafeEffect = exports.useSSRLayoutEffect = exports.isBrowser = void 0; | ||
var React = _interopRequireWildcard(require("react")); | ||
@@ -12,2 +12,4 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
exports.useSafeEffect = useSafeEffect; | ||
var useSSRLayoutEffect = typeof window === 'undefined' ? function () {} : React.useLayoutEffect; | ||
exports.useSSRLayoutEffect = useSSRLayoutEffect; | ||
//# sourceMappingURL=misc.js.map |
import * as React from 'react'; | ||
var isBrowser = typeof document !== 'undefined'; | ||
var useSafeEffect = isBrowser ? React.useLayoutEffect : React.useEffect; | ||
export { isBrowser, useSafeEffect }; | ||
var useSSRLayoutEffect = typeof window === 'undefined' ? () => {} : React.useLayoutEffect; | ||
export { isBrowser, useSafeEffect, useSSRLayoutEffect }; | ||
//# sourceMappingURL=misc.js.map |
import * as React from 'react'; | ||
declare const isBrowser: boolean; | ||
declare const useSafeEffect: typeof React.useLayoutEffect; | ||
export { isBrowser, useSafeEffect }; | ||
declare const useSSRLayoutEffect: typeof React.useLayoutEffect; | ||
export { isBrowser, useSafeEffect, useSSRLayoutEffect }; | ||
//# sourceMappingURL=misc.d.ts.map |
{ | ||
"name": "@daren/utils", | ||
"version": "1.9.6", | ||
"version": "1.9.7", | ||
"repository": { | ||
@@ -41,3 +41,3 @@ "type": "git", | ||
"clsx": "^1.2.1", | ||
"tailwind-merge": "^1.9.1" | ||
"tailwind-merge": "^1.10.0" | ||
}, | ||
@@ -53,3 +53,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "f240045cadead37c973b0e8c5d17a184603b0503" | ||
"gitHead": "36202cb505e1a3a1f162d48a37b76b59a75deea5" | ||
} |
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
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
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
119321
368
Updatedtailwind-merge@^1.10.0