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>
1.1 KiB
1.1 KiB
Changelog
v0.6.0
- Updated "devDependencies" versions to fix vulnerability alerts
- Dropped support of io.js and node.js v0.12.x and lower since new versions of "devDependencies" couldn't work with those old node.js versions (minimal supported version of node.js now is v4.0.0)
v0.5.1
- Fix prototype pollution vulnerability (thanks to @mwakerman for the PR)
- Avoid using deprecated Buffer API (thanks to @ChALkeR for the PR)
v0.5.0
- Auto-testing provided by Travis CI;
- Support older Node.JS versions (
v0.11.xandv0.10.x); - Removed tests files from npm package.
v0.4.2
- Fix for
nullas an argument.
v0.4.1
- Removed test code from npm package (see pull request #21);
- Increased minimal version of Node from
0.4.0to0.12.0(because can't run tests on lesser version anyway).
v0.4.0
- WARNING! Broken backward compatibility with
v0.3.x; - Fixed bug with extending arrays instead of cloning;
- Deep cloning for arrays;
- Check for own property;
- Fixed some documentation issues;
- Strict JS mode.