GRAYBYTE WORDPRESS FILE MANAGER5787

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /lib/node_modules/npm/node_modules/is-regex/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib/node_modules/npm/node_modules/is-regex//index.js
'use strict';

var has = require('has');
var regexExec = RegExp.prototype.exec;
var gOPD = Object.getOwnPropertyDescriptor;

var tryRegexExecCall = function tryRegexExec(value) {
	try {
		var lastIndex = value.lastIndex;
		value.lastIndex = 0;

		regexExec.call(value);
		return true;
	} catch (e) {
		return false;
	} finally {
		value.lastIndex = lastIndex;
	}
};
var toStr = Object.prototype.toString;
var regexClass = '[object RegExp]';
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';

module.exports = function isRegex(value) {
	if (!value || typeof value !== 'object') {
		return false;
	}
	if (!hasToStringTag) {
		return toStr.call(value) === regexClass;
	}

	var descriptor = gOPD(value, 'lastIndex');
	var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
	if (!hasLastIndexDataProperty) {
		return false;
	}

	return tryRegexExecCall(value);
};

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:36:29
root / root
0755
.jscs.json
4.043 KB
March 10 2021 14:36:37
root / root
0644
.npmignore
0.095 KB
March 10 2021 14:36:37
root / root
0644
.travis.yml
4.658 KB
March 10 2021 14:36:37
root / root
0644
CHANGELOG.md
1.083 KB
March 10 2021 14:36:37
root / root
0644
LICENSE
1.056 KB
March 10 2021 14:36:37
root / root
0644
Makefile
3.744 KB
March 10 2021 14:36:37
root / root
0644
README.md
1.586 KB
March 10 2021 14:36:37
root / root
0644
index.js
0.896 KB
March 10 2021 14:36:37
root / root
0644
package.json
1.786 KB
March 10 2021 14:36:37
root / root
0644
test.js
1.759 KB
March 10 2021 14:36:37
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF