Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/node_modules/bootstrap-vue/src/utils/ drwxr-xr-x | |
| Viewing file: Select action/file-type: import { IS_BROWSER, HAS_PROMISE_SUPPORT, HAS_MUTATION_OBSERVER_SUPPORT } from '../constants/env'
import { getNoWarn } from './env'
/**
* Log a warning message to the console with BootstrapVue formatting
* @param {string} message
*/
export const warn = (message, source = null) => /* istanbul ignore next */ {
if (!getNoWarn()) {
console.warn(`[BootstrapVue warn]: ${source ? `${source} - ` : ''}${message}`)
}
}
/**
* Warn when no Promise support is given
* @param {string} source
* @returns {boolean} warned
*/
export const warnNotClient = source => {
/* istanbul ignore else */
if (IS_BROWSER) {
return false
} else {
warn(`${source}: Can not be called during SSR.`)
return true
}
}
/**
* Warn when no Promise support is given
* @param {string} source
* @returns {boolean} warned
*/
export const warnNoPromiseSupport = source => {
/* istanbul ignore else */
if (HAS_PROMISE_SUPPORT) {
return false
} else {
warn(`${source}: Requires Promise support.`)
return true
}
}
/**
* Warn when no MutationObserver support is given
* @param {string} source
* @returns {boolean} warned
*/
export const warnNoMutationObserverSupport = source => {
/* istanbul ignore else */
if (HAS_MUTATION_OBSERVER_SUPPORT) {
return false
} else {
warn(`${source}: Requires MutationObserver support.`)
return true
}
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0031 ]-- |