Fix code quality violations and exclude Manifest from checks
Document application modes (development/debug/production) Add global file drop handler, order column normalization, SPA hash fix Serve CDN assets via /_vendor/ URLs instead of merging into bundles Add production minification with license preservation Improve JSON formatting for debugging and production optimization Add CDN asset caching with CSS URL inlining for production builds Add three-mode system (development, debug, production) Update Manifest CLAUDE.md to reflect helper class architecture Refactor Manifest.php into helper classes for better organization Pre-manifest-refactor checkpoint: Add app_mode documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
158
node_modules/svgo/package.json
generated
vendored
158
node_modules/svgo/package.json
generated
vendored
@@ -1,16 +1,17 @@
|
||||
{
|
||||
"packageManager": "yarn@2.4.3",
|
||||
"packageManager": "yarn@3.8.7",
|
||||
"name": "svgo",
|
||||
"version": "2.8.0",
|
||||
"description": "Nodejs-based tool for optimizing SVG vector graphics files",
|
||||
"version": "4.0.0",
|
||||
"description": "SVGO is a Node.js library and command-line application for optimizing vector images.",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"keywords": [
|
||||
"svgo",
|
||||
"svg",
|
||||
"optimize",
|
||||
"minify"
|
||||
],
|
||||
"homepage": "https://github.com/svg/svgo",
|
||||
"homepage": "https://svgo.dev",
|
||||
"bugs": {
|
||||
"url": "https://github.com/svg/svgo/issues"
|
||||
},
|
||||
@@ -34,98 +35,107 @@
|
||||
"name": "Bogdan Chadkin",
|
||||
"email": "trysound@yandex.ru",
|
||||
"url": "https://github.com/TrySound"
|
||||
},
|
||||
{
|
||||
"name": "Seth Falco",
|
||||
"email": "seth@falco.fun",
|
||||
"url": "https://falco.fun/"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/svg/svgo.git"
|
||||
},
|
||||
"main": "./lib/svgo-node.js",
|
||||
"bin": "./bin/svgo",
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/svgo"
|
||||
},
|
||||
"bin": "./bin/svgo.js",
|
||||
"types": "./types/lib/svgo-node.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./lib/svgo-node.js",
|
||||
"require": "./dist/svgo-node.cjs",
|
||||
"types": "./types/lib/svgo-node.d.ts"
|
||||
},
|
||||
"./browser": {
|
||||
"import": "./dist/svgo.browser.js",
|
||||
"types": "./types/lib/svgo.d.ts"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"bin",
|
||||
"dist",
|
||||
"lib",
|
||||
"plugins",
|
||||
"dist",
|
||||
"types",
|
||||
"!**/*.test.js"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
"node": ">=16"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules jest --maxWorkers=4 --coverage",
|
||||
"lint": "eslint --ignore-path .gitignore . && prettier --check \"**/*.js\" --ignore-path .gitignore",
|
||||
"fix": "eslint --ignore-path .gitignore --fix . && prettier --write \"**/*.js\" --ignore-path .gitignore",
|
||||
"typecheck": "tsc",
|
||||
"test-browser": "rollup -c && node ./test/browser.js",
|
||||
"test-regression": "node ./test/regression-extract.js && NO_DIFF=1 node ./test/regression.js",
|
||||
"prepublishOnly": "rm -rf dist && rollup -c"
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true
|
||||
},
|
||||
"eslintConfig": {
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "2021"
|
||||
},
|
||||
"env": {
|
||||
"node": true,
|
||||
"es2021": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"rollup.config.js"
|
||||
],
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"**/*.test.js"
|
||||
],
|
||||
"env": {
|
||||
"jest": true
|
||||
}
|
||||
}
|
||||
]
|
||||
"build": "node scripts/sync-version.js && yarn build:bundles && yarn build:types",
|
||||
"build:bundles": "yarn clean:build && rollup -c",
|
||||
"build:types": "yarn clean:types && tsc && tsc -p tsconfig.build.json",
|
||||
"lint": "eslint . && prettier --check .",
|
||||
"lint:fix": "eslint --fix . && prettier --write .",
|
||||
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --maxWorkers=4 --coverage",
|
||||
"test:bundles": "yarn build:bundles && node ./test/svgo.cjs && node ./test/browser.js",
|
||||
"test:types": "yarn build:types && tsc && tsd",
|
||||
"test:regression": "node ./test/regression-extract.js && cross-env NO_DIFF=1 node ./test/regression.js",
|
||||
"qa": "yarn lint && yarn test:types && yarn test && yarn test:bundles && yarn test:regression",
|
||||
"clean": "yarn clean:build && yarn clean:types",
|
||||
"clean:build": "rimraf dist",
|
||||
"clean:types": "rimraf types",
|
||||
"prepublishOnly": "yarn clean && yarn build"
|
||||
},
|
||||
"jest": {
|
||||
"coveragePathIgnorePatterns": [
|
||||
"fixtures"
|
||||
],
|
||||
"coverageReporters": [
|
||||
"html",
|
||||
"lcov",
|
||||
"text"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@trysound/sax": "0.2.0",
|
||||
"commander": "^7.2.0",
|
||||
"css-select": "^4.1.3",
|
||||
"css-tree": "^1.1.3",
|
||||
"csso": "^4.2.0",
|
||||
"picocolors": "^1.0.0",
|
||||
"stable": "^0.1.8"
|
||||
"commander": "^11.1.0",
|
||||
"css-select": "^5.1.0",
|
||||
"css-tree": "^3.0.1",
|
||||
"css-what": "^6.1.0",
|
||||
"csso": "^5.0.5",
|
||||
"picocolors": "^1.1.1",
|
||||
"sax": "^1.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^20.0.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^13.0.4",
|
||||
"@types/css-tree": "^1.0.6",
|
||||
"@types/csso": "^4.2.0",
|
||||
"@types/jest": "^27.0.1",
|
||||
"del": "^6.0.0",
|
||||
"eslint": "^7.32.0",
|
||||
"jest": "^27.2.5",
|
||||
"node-fetch": "^2.6.2",
|
||||
"pixelmatch": "^5.2.1",
|
||||
"playwright": "^1.14.1",
|
||||
"pngjs": "^6.0.0",
|
||||
"prettier": "^2.4.0",
|
||||
"rollup": "^2.56.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"tar-stream": "^2.2.0",
|
||||
"typescript": "^4.4.3"
|
||||
"@eslint/js": "^9.25.1",
|
||||
"@jest/globals": "^29.7.0",
|
||||
"@rollup/plugin-commonjs": "^26.0.3",
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
"@rollup/plugin-terser": "^0.4.4",
|
||||
"@types/css-tree": "^2.3.10",
|
||||
"@types/csso": "^5.0.4",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^22.15.3",
|
||||
"@types/sax": "^1.2.7",
|
||||
"@types/tar-stream": "^3.1.3",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^9.25.1",
|
||||
"globals": "^14.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"pixelmatch": "^7.1.0",
|
||||
"playwright": "^1.52.0",
|
||||
"pngjs": "^7.0.0",
|
||||
"prettier": "^3.5.3",
|
||||
"rimraf": "^5.0.10",
|
||||
"rollup": "^4.22.4",
|
||||
"tar-stream": "^3.1.7",
|
||||
"tsd": "^0.32.0",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"resolutions": {
|
||||
"sax@^1.4.1": "patch:sax@npm%3A1.4.1#./.yarn/patches/sax-npm-1.4.1-503b1923cb.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user