Files
formipay/node_modules/netmask/CHANGELOG.md
dwindown e8fbfb14c1 fix: prevent asset conflicts between React and Grid.js versions
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>
2026-04-18 17:02:14 +07:00

2.4 KiB

v2.0.2 (Apr 2, 2021)

Bugfixes

  • Fix 08 parsed as decimal while 018 rejected. (commit)

v2.0.1 (Mar 29, 2021)

IMPORTANT: Security Fix

This version contains an important security fix. If you are using netmask <=2.0.0, please upgrade to 2.0.1 or above.

Bugfixes

  • Add checks on spaces before and after bytes
    • This will now throw an exception when spaces are present like ' 1.2.3.4' or '1. 2.3.4' or '1.2.3.4 '.

Internal Changes

  • Avoid some useless memory allocations
  • New Mocha testing suite, thanks @kaoudis #36

v2.0.0 (Mar 19, 2021)

Breaking Change

Previous API was treating IPs with less than four bytes as IP with a netmask of the size of the provided bytes (1=8, 2=16, 3=24) and was interpreting the IP as if it was completed with 0s on the right side.

Proper IP parsing for these is to consider missing bytes as being 0s on the left side.

Mask size is no longer infered by the number of bytes provided.

This means that the input 216.240 will no longer be interpreted as 216.240.0.0/16, but as 0.0.216.240/32, as per convention.

See the change.

Bugfixes

  • Fix improper parsing of hex bytes

v1.1.0 (Mar 18, 2021)

IMPORTANT: Security Fix

This version contains an important security fix. If you are using netmask <=1.0.6, please upgrade to 1.1.0 or above.

Other Changes

  • Performance: Avoid large allocations when provided large netmasks (like /8)
    • Thanks @dschenkelman #34

v1.0.6 (May 30, 2016)