Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
filename-reserved-regex 
Regular expression for matching reserved filename characters
On Unix-like systems / is reserved and <>:"/\|?* as well as non-printable characters \x00-\x1F on Windows.
Install
$ npm install --save filename-reserved-regex
Usage
const filenameReservedRegex = require('filename-reserved-regex');
filenameReservedRegex().test('foo/bar');
//=> true
filenameReservedRegex().test('foo-bar');
//=> false
'foo/bar'.replace(filenameReservedRegex(), '!');
//=> 'foo!bar'
filenameReservedRegex.windowsNames().test('aux');
//=> true
API
filenameReservedRegex()
Returns a regex that matches all invalid characters.
filenameReservedRegex.windowsNames()
Returns a exact-match case-insensitive regex that matches invalid Windows
filenames. These include CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5,
COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8
and LPT9.
License
MIT © Sindre Sorhus