Files
formipay/node_modules/memize/package.json
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

62 lines
1.6 KiB
JSON

{
"name": "memize",
"version": "2.1.1",
"description": "Unabashedly-barebones memoization library with an aim toward speed",
"type": "module",
"main": "dist/index.js",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"scripts": {
"build": "npm run build:bundle && npm run build:types",
"build:bundle": "rollup -c rollup.config.js",
"build:types": "tsc -b tsconfig.decl.json && tsc -b tsconfig.decl.cts.json",
"test:unit": "NODE_ENV=test mocha",
"test:lint": "eslint .",
"test:types": "tsc -b",
"test": "npm run test:unit && npm run test:lint && npm run test:types",
"prebenchmark": "npm install --no-save benchmark memoizee moize ramda underscore lodash fast-memoize lru-memoize memoizejs memoizerific cli-table2 ora",
"benchmark": "node benchmark",
"prepublishOnly": "npm test && npm run build"
},
"files": [
"dist"
],
"keywords": [
"memoize",
"memoization",
"memoisation",
"cache"
],
"repository": {
"type": "git",
"url": "https://github.com/aduth/memize.git"
},
"bugs": {
"url": "https://github.com/aduth/memize/issues"
},
"author": {
"name": "Andrew Duthie",
"email": "andrew@andrewduthie.com",
"url": "https://andrewduthie.com"
},
"license": "MIT",
"devDependencies": {
"@aduth/eslint-config": "^4.4.1",
"@rollup/plugin-replace": "^5.0.2",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.1.3",
"chai": "^4.3.7",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"rollup": "^3.21.6",
"sinon": "^15.0.4",
"typescript": "^5.0.4"
}
}