From e50a8ddcf7a6d043a51ca615f9302e9315fbfb3e Mon Sep 17 00:00:00 2001 From: m1ga Date: Thu, 27 Jul 2023 16:47:47 +0200 Subject: [PATCH 01/23] chore: npm packages --- package-lock.json | 6148 ++++++++++++++------------------------------- package.json | 20 +- 2 files changed, 1850 insertions(+), 4318 deletions(-) diff --git a/package-lock.json b/package-lock.json index 79f078d6f3b..dc40d7be8cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "colors": "1.4.0", "ejs": "3.1.9", "fields": "0.1.24", - "fs-extra": "10.0.0", + "fs-extra": "11.1.1", "ioslib": "1.7.31", "liveview": "1.5.6", "lodash.merge": "4.6.2", @@ -37,7 +37,7 @@ "p-limit": "3.1.0", "pngjs": "7.0.0", "request": "2.88.2", - "semver": "7.3.8", + "semver": "7.5.4", "simple-plist": "1.3.1", "sprintf": "0.1.5", "temp": "0.9.4", @@ -58,20 +58,20 @@ "@seadub/danger-plugin-junit": "0.3.0", "babel-plugin-transform-titanium": "0.1.1", "chai": "4.3.7", - "clang-format": "1.5.0", - "commander": "8.2.0", + "clang-format": "1.8.0", + "commander": "11.0.0", "commitizen": "4.3.0", - "conventional-changelog-cli": "2.2.2", + "conventional-changelog-cli": "3.0.0", "core-js": "3.27.2", "core-js-compat": "3.6.5", "cz-conventional-changelog": "3.3.0", - "danger": "10.6.6", + "danger": "11.2.7", "eslint": "8.13.0", "eslint-config-axway": "7.0.0", "eslint-plugin-mocha": "10.0.4", "folder-hash": "4.0.4", - "glob": "7.2.0", - "husky": "7.0.2", + "glob": "8.1.0", + "husky": "8.0.3", "lint-staged": "11.1.2", "lockfile-lint": "4.10.1", "mocha": "9.2.2", @@ -80,9 +80,9 @@ "nyc": "15.1.0", "request-promise-native": "1.0.9", "rollup": "2.76.0", - "ssri": "8.0.1", + "ssri": "10.0.4", "stream-splitter": "0.3.2", - "strip-ansi": "6.0.1", + "strip-ansi": "7.1.0", "titanium": "6.1.1", "titanium-docgen": "4.10.3" }, @@ -1478,25 +1478,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/polyfill": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.12.1.tgz", - "integrity": "sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g==", - "deprecated": "🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.", - "dev": true, - "dependencies": { - "core-js": "^2.6.5", - "regenerator-runtime": "^0.13.4" - } - }, - "node_modules/@babel/polyfill/node_modules/core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", - "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", - "dev": true, - "hasInstallScript": true - }, "node_modules/@babel/preset-env": { "version": "7.10.2", "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.10.2.tgz", @@ -1990,6 +1971,20 @@ "node": ">=v12" } }, + "node_modules/@commitlint/read/node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@commitlint/resolve-extends": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-13.2.0.tgz", @@ -2197,6 +2192,52 @@ "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" }, + "node_modules/@gitbeaker/core": { + "version": "21.7.0", + "resolved": "https://registry.npmjs.org/@gitbeaker/core/-/core-21.7.0.tgz", + "integrity": "sha512-cw72rE7tA27wc6JJe1WqeAj9v/6w0S7XJcEji+bRNjTlUfE1zgfW0Gf1mbGUi7F37SOABGCosQLfg9Qe63aIqA==", + "dev": true, + "dependencies": { + "@gitbeaker/requester-utils": "^21.7.0", + "form-data": "^3.0.0", + "li": "^1.3.0", + "xcase": "^2.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@gitbeaker/node": { + "version": "21.7.0", + "resolved": "https://registry.npmjs.org/@gitbeaker/node/-/node-21.7.0.tgz", + "integrity": "sha512-OdM3VcTKYYqboOsnbiPcO0XimXXpYK4gTjARBZ6BWc+1LQXKmqo+OH6oUbyxOoaFu9hHECafIt3WZU3NM4sZTg==", + "deprecated": "Please use its successor @gitbeaker/rest", + "dev": true, + "dependencies": { + "@gitbeaker/core": "^21.7.0", + "@gitbeaker/requester-utils": "^21.7.0", + "form-data": "^3.0.0", + "got": "^11.1.4", + "xcase": "^2.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@gitbeaker/requester-utils": { + "version": "21.7.0", + "resolved": "https://registry.npmjs.org/@gitbeaker/requester-utils/-/requester-utils-21.7.0.tgz", + "integrity": "sha512-eLTaVXlBnh8Qimj6QuMMA06mu/mLcJm3dy8nqhhn/Vm/D25sPrvpGwmbfFyvzj6QujPqtHvFfsCHtyZddL01qA==", + "dev": true, + "dependencies": { + "form-data": "^3.0.0", + "query-string": "^6.12.1", + "xcase": "^2.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.9.5", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", @@ -2401,15 +2442,12 @@ "node-pre-gyp": "bin/node-pre-gyp" } }, - "node_modules/@mapbox/node-pre-gyp/node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dependencies": { - "debug": "4" - }, + "node_modules/@mapbox/node-pre-gyp/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "engines": { - "node": ">= 6.0.0" + "node": ">=8" } }, "node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet": { @@ -2443,18 +2481,6 @@ "node": ">=10" } }, - "node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/@mapbox/node-pre-gyp/node_modules/nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", @@ -2480,6 +2506,17 @@ "set-blocking": "^2.0.0" } }, + "node_modules/@mapbox/node-pre-gyp/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@npmcli/arborist": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.10.0.tgz", @@ -2525,6 +2562,17 @@ "node": ">= 10" } }, + "node_modules/@npmcli/arborist/node_modules/ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/@npmcli/fs": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", @@ -2578,6 +2626,25 @@ "node": ">=10" } }, + "node_modules/@npmcli/map-workspaces/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@npmcli/metavuln-calculator": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-1.1.1.tgz", @@ -2744,13 +2811,6 @@ "@octokit/openapi-types": "^16.0.0" } }, - "node_modules/@octokit/core/node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true, - "peer": true - }, "node_modules/@octokit/endpoint": { "version": "6.0.12", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", @@ -2762,12 +2822,6 @@ "universal-user-agent": "^6.0.0" } }, - "node_modules/@octokit/endpoint/node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - }, "node_modules/@octokit/graphql": { "version": "5.0.5", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.5.tgz", @@ -2848,13 +2902,6 @@ "@octokit/openapi-types": "^16.0.0" } }, - "node_modules/@octokit/graphql/node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true, - "peer": true - }, "node_modules/@octokit/openapi-types": { "version": "12.11.0", "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz", @@ -2862,21 +2909,15 @@ "dev": true }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-1.1.2.tgz", - "integrity": "sha512-jbsSoi5Q1pj63sC16XIUboklNw+8tL9VOnJsWycWYR78TKss5PVpIPb1TUUcMQ+bBh7cY579cVAWmf5qG+dw+Q==", - "dev": true, - "dependencies": { - "@octokit/types": "^2.0.1" - } - }, - "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "version": "2.21.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz", + "integrity": "sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==", "dev": true, "dependencies": { - "@types/node": ">= 8" + "@octokit/types": "^6.40.0" + }, + "peerDependencies": { + "@octokit/core": ">=2" } }, "node_modules/@octokit/plugin-request-log": { @@ -2889,22 +2930,16 @@ } }, "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-2.4.0.tgz", - "integrity": "sha512-EZi/AWhtkdfAYi01obpX0DF7U6b1VRr30QNQ5xSFPITMdLSfhcBqjamE3F+sKcxPbD7eZuMHu3Qkk2V+JGxBDQ==", + "version": "5.16.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz", + "integrity": "sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==", "dev": true, "dependencies": { - "@octokit/types": "^2.0.1", + "@octokit/types": "^6.39.0", "deprecation": "^2.3.1" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", - "dev": true, - "dependencies": { - "@types/node": ">= 8" + }, + "peerDependencies": { + "@octokit/core": ">=3" } }, "node_modules/@octokit/request": { @@ -2922,64 +2957,52 @@ } }, "node_modules/@octokit/request-error": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.2.1.tgz", - "integrity": "sha512-+6yDyk1EES6WK+l3viRDElw96MvwfJxCt45GvmjDUKWjYIb3PJZQkq3i46TwGwoPD4h8NmTrENmtyA1FwbmhRA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", + "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", "dev": true, "dependencies": { - "@octokit/types": "^2.0.0", + "@octokit/types": "^6.0.3", "deprecation": "^2.0.0", "once": "^1.4.0" } }, - "node_modules/@octokit/request-error/node_modules/@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "node_modules/@octokit/rest": { + "version": "18.12.0", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.12.0.tgz", + "integrity": "sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q==", "dev": true, "dependencies": { - "@types/node": ">= 8" + "@octokit/core": "^3.5.1", + "@octokit/plugin-paginate-rest": "^2.16.8", + "@octokit/plugin-request-log": "^1.0.4", + "@octokit/plugin-rest-endpoint-methods": "^5.12.0" } }, - "node_modules/@octokit/request/node_modules/@octokit/request-error": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", - "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", + "node_modules/@octokit/rest/node_modules/@octokit/core": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz", + "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==", "dev": true, "dependencies": { + "@octokit/auth-token": "^2.4.4", + "@octokit/graphql": "^4.5.8", + "@octokit/request": "^5.6.3", + "@octokit/request-error": "^2.0.5", "@octokit/types": "^6.0.3", - "deprecation": "^2.0.0", - "once": "^1.4.0" + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" } }, - "node_modules/@octokit/request/node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - }, - "node_modules/@octokit/rest": { - "version": "16.43.2", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.43.2.tgz", - "integrity": "sha512-ngDBevLbBTFfrHZeiS7SAMAZ6ssuVmXuya+F/7RaVvlysgGa1JKJkKWY+jV6TCJYcW0OALfJ7nTIGXcBXzycfQ==", - "dev": true, - "dependencies": { - "@octokit/auth-token": "^2.4.0", - "@octokit/plugin-paginate-rest": "^1.1.1", - "@octokit/plugin-request-log": "^1.0.0", - "@octokit/plugin-rest-endpoint-methods": "2.4.0", - "@octokit/request": "^5.2.0", - "@octokit/request-error": "^1.0.2", - "atob-lite": "^2.0.0", - "before-after-hook": "^2.0.0", - "btoa-lite": "^1.0.0", - "deprecation": "^2.0.0", - "lodash.get": "^4.4.2", - "lodash.set": "^4.3.2", - "lodash.uniq": "^4.5.0", - "octokit-pagination-methods": "^1.1.0", - "once": "^1.4.0", - "universal-user-agent": "^4.0.0" + "node_modules/@octokit/rest/node_modules/@octokit/graphql": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", + "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", + "dev": true, + "dependencies": { + "@octokit/request": "^5.6.0", + "@octokit/types": "^6.0.3", + "universal-user-agent": "^6.0.0" } }, "node_modules/@octokit/types": { @@ -3035,6 +3058,26 @@ "rollup": "^2.38.3" } }, + "node_modules/@rollup/plugin-commonjs/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@rollup/plugin-node-resolve": { "version": "13.0.5", "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.5.tgz", @@ -3104,6 +3147,26 @@ "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==", "dev": true }, + "node_modules/@seadub/clang-format-lint/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@seadub/clang-format-lint/node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -3176,6 +3239,26 @@ "node": ">=10" } }, + "node_modules/@seadub/danger-plugin-junit/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", @@ -3349,18 +3432,6 @@ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dev": true, - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, "node_modules/acorn": { "version": "8.8.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", @@ -3397,15 +3468,14 @@ } }, "node_modules/agent-base": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", - "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", - "dev": true, + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dependencies": { - "es6-promisify": "^5.0.0" + "debug": "4" }, "engines": { - "node": ">= 4.0.0" + "node": ">= 6.0.0" } }, "node_modules/agentkeepalive": { @@ -3496,11 +3566,15 @@ } }, "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/ansi-styles": { @@ -3606,6 +3680,25 @@ "node": ">= 6" } }, + "node_modules/archiver-utils/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/archiver-utils/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", @@ -3687,33 +3780,6 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "node_modules/arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/array-buffer-byte-length": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", @@ -3752,15 +3818,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/array.prototype.flat": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", @@ -3836,15 +3893,6 @@ "node": "*" } }, - "node_modules/assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", @@ -3881,24 +3929,6 @@ "node": ">= 4.0.0" } }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true, - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/atob-lite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz", - "integrity": "sha512-LEeSAWeh2Gfa2FtlQE1shxQ8zi5F9GHarrGKz08TMdODD5T4eH6BMsvtnhbWZ+XQn+Gb6om/917ucvRu7l7ukw==", - "dev": true - }, "node_modules/available-typed-arrays": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", @@ -4143,36 +4173,6 @@ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, - "node_modules/base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "dependencies": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -4416,12 +4416,6 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/btoa-lite": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz", - "integrity": "sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA==", - "dev": true - }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -4529,24 +4523,34 @@ "node": ">= 10" } }, - "node_modules/cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, + "node_modules/cacache/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", "dependencies": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" + "minipass": "^3.1.1" }, "engines": { - "node": ">=0.10.0" + "node": ">= 8" } }, "node_modules/cacheable-lookup": { @@ -4795,12 +4799,12 @@ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" }, "node_modules/clang-format": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.5.0.tgz", - "integrity": "sha512-C1LucFX7E+ABVYcPEbBHM4PYQ2+WInXsqsLpFlQ9cmRfSbk7A7b1I06h/nE4bQ3MsyEkb31jY2gC0Dtc76b4IA==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz", + "integrity": "sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==", "dev": true, "dependencies": { - "async": "^1.5.2", + "async": "^3.2.3", "glob": "^7.0.0", "resolve": "^1.1.6" }, @@ -4810,108 +4814,24 @@ "git-clang-format": "bin/git-clang-format" } }, - "node_modules/clang-format/node_modules/async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==", - "dev": true - }, - "node_modules/class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, - "dependencies": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "node_modules/clang-format/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "dependencies": { - "is-buffer": "^1.1.5" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "node": "*" }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/clean-css": { @@ -5015,6 +4935,27 @@ "node": ">=12" } }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/clone": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", @@ -5055,19 +4996,6 @@ "node": ">=0.10.0" } }, - "node_modules/collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==", - "dev": true, - "dependencies": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -5120,12 +5048,12 @@ } }, "node_modules/commander": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.2.0.tgz", - "integrity": "sha512-LLKxDvHeL91/8MIyTAD5BFMNtoIwztGPMiM/7Bl8rIPmHCZXRxmSWr91h57dpOpnQ6jIUqEWdXE/uBYMfiVZDA==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", + "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", "dev": true, "engines": { - "node": ">= 12" + "node": ">=16" } }, "node_modules/commitizen": { @@ -5214,12 +5142,6 @@ "dot-prop": "^5.1.0" } }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, "node_modules/compress-commons": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.1.tgz", @@ -5245,25 +5167,25 @@ "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" }, "node_modules/conventional-changelog": { - "version": "3.1.25", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.25.tgz", - "integrity": "sha512-ryhi3fd1mKf3fSjbLXOfK2D06YwKNic1nC9mWqybBHdObPd8KJ2vjaXZfYj1U23t+V8T8n0d7gwnc9XbIdFbyQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-4.0.0.tgz", + "integrity": "sha512-JbZjwE1PzxQCvm+HUTIr+pbSekS8qdOZzMakdFyPtdkEWwFvwEJYONzjgMm0txCb2yBcIcfKDmg8xtCKTdecNQ==", "dev": true, "dependencies": { - "conventional-changelog-angular": "^5.0.12", - "conventional-changelog-atom": "^2.0.8", - "conventional-changelog-codemirror": "^2.0.8", - "conventional-changelog-conventionalcommits": "^4.5.0", - "conventional-changelog-core": "^4.2.1", - "conventional-changelog-ember": "^2.0.9", - "conventional-changelog-eslint": "^3.0.9", - "conventional-changelog-express": "^2.0.6", - "conventional-changelog-jquery": "^3.0.11", - "conventional-changelog-jshint": "^2.0.9", - "conventional-changelog-preset-loader": "^2.3.4" + "conventional-changelog-angular": "^6.0.0", + "conventional-changelog-atom": "^3.0.0", + "conventional-changelog-codemirror": "^3.0.0", + "conventional-changelog-conventionalcommits": "^6.0.0", + "conventional-changelog-core": "^5.0.0", + "conventional-changelog-ember": "^3.0.0", + "conventional-changelog-eslint": "^4.0.0", + "conventional-changelog-express": "^3.0.0", + "conventional-changelog-jquery": "^4.0.0", + "conventional-changelog-jshint": "^3.0.0", + "conventional-changelog-preset-loader": "^3.0.0" }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-angular": { @@ -5280,46 +5202,39 @@ } }, "node_modules/conventional-changelog-atom": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz", - "integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-3.0.0.tgz", + "integrity": "sha512-pnN5bWpH+iTUWU3FaYdw5lJmfWeqSyrUkG+wyHBI9tC1dLNnHkbAOg1SzTQ7zBqiFrfo55h40VsGXWMdopwc5g==", "dev": true, - "dependencies": { - "q": "^1.5.1" - }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-cli": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-2.2.2.tgz", - "integrity": "sha512-8grMV5Jo8S0kP3yoMeJxV2P5R6VJOqK72IiSV9t/4H5r/HiRqEBQ83bYGuz4Yzfdj4bjaAEhZN/FFbsFXr5bOA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-3.0.0.tgz", + "integrity": "sha512-3zMYi0IrfNd6AAHdPMrcgCg5DbcffiqNaEBf8cYrlntXPbBIXaELTbnRmUy5TQAe0Hkgi0J6+/VmRCkkJQflcQ==", "dev": true, "dependencies": { "add-stream": "^1.0.0", - "conventional-changelog": "^3.1.24", - "lodash": "^4.17.15", - "meow": "^8.0.0", + "conventional-changelog": "^4.0.0", + "meow": "^8.1.2", "tempfile": "^3.0.0" }, "bin": { "conventional-changelog": "cli.js" }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-codemirror": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz", - "integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-3.0.0.tgz", + "integrity": "sha512-wzchZt9HEaAZrenZAUUHMCFcuYzGoZ1wG/kTRMICxsnW5AXohYMRxnyecP9ob42Gvn5TilhC0q66AtTPRSNMfw==", "dev": true, - "dependencies": { - "q": "^1.5.1" - }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-conventionalcommits": { @@ -5337,130 +5252,162 @@ } }, "node_modules/conventional-changelog-core": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", - "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-5.0.2.tgz", + "integrity": "sha512-RhQOcDweXNWvlRwUDCpaqXzbZemKPKncCWZG50Alth72WITVd6nhVk9MJ6w1k9PFNBcZ3YwkdkChE+8+ZwtUug==", "dev": true, "dependencies": { "add-stream": "^1.0.0", - "conventional-changelog-writer": "^5.0.0", - "conventional-commits-parser": "^3.2.0", - "dateformat": "^3.0.0", - "get-pkg-repo": "^4.0.0", - "git-raw-commits": "^2.0.8", + "conventional-changelog-writer": "^6.0.0", + "conventional-commits-parser": "^4.0.0", + "dateformat": "^3.0.3", + "get-pkg-repo": "^4.2.1", + "git-raw-commits": "^3.0.0", "git-remote-origin-url": "^2.0.0", - "git-semver-tags": "^4.1.1", - "lodash": "^4.17.15", - "normalize-package-data": "^3.0.0", - "q": "^1.5.1", + "git-semver-tags": "^5.0.0", + "normalize-package-data": "^3.0.3", "read-pkg": "^3.0.0", - "read-pkg-up": "^3.0.0", - "through2": "^4.0.0" + "read-pkg-up": "^3.0.0" }, "engines": { - "node": ">=10" + "node": ">=14" } }, - "node_modules/conventional-changelog-ember": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz", - "integrity": "sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==", + "node_modules/conventional-changelog-core/node_modules/conventional-commits-parser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz", + "integrity": "sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg==", "dev": true, "dependencies": { - "q": "^1.5.1" + "is-text-path": "^1.0.1", + "JSONStream": "^1.3.5", + "meow": "^8.1.2", + "split2": "^3.2.2" + }, + "bin": { + "conventional-commits-parser": "cli.js" }, "engines": { - "node": ">=10" + "node": ">=14" } }, - "node_modules/conventional-changelog-eslint": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz", - "integrity": "sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==", + "node_modules/conventional-changelog-core/node_modules/git-raw-commits": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-3.0.0.tgz", + "integrity": "sha512-b5OHmZ3vAgGrDn/X0kS+9qCfNKWe4K/jFnhwzVWWg0/k5eLa3060tZShrRg8Dja5kPc+YjS0Gc6y7cRr44Lpjw==", "dev": true, "dependencies": { - "q": "^1.5.1" + "dargs": "^7.0.0", + "meow": "^8.1.2", + "split2": "^3.2.2" + }, + "bin": { + "git-raw-commits": "cli.js" }, "engines": { - "node": ">=10" + "node": ">=14" + } + }, + "node_modules/conventional-changelog-ember": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-3.0.0.tgz", + "integrity": "sha512-7PYthCoSxIS98vWhVcSphMYM322OxptpKAuHYdVspryI0ooLDehRXWeRWgN+zWSBXKl/pwdgAg8IpLNSM1/61A==", + "dev": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-eslint": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-4.0.0.tgz", + "integrity": "sha512-nEZ9byP89hIU0dMx37JXQkE1IpMmqKtsaR24X7aM3L6Yy/uAtbb+ogqthuNYJkeO1HyvK7JsX84z8649hvp43Q==", + "dev": true, + "engines": { + "node": ">=14" } }, "node_modules/conventional-changelog-express": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz", - "integrity": "sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-3.0.0.tgz", + "integrity": "sha512-HqxihpUMfIuxvlPvC6HltA4ZktQEUan/v3XQ77+/zbu8No/fqK3rxSZaYeHYant7zRxQNIIli7S+qLS9tX9zQA==", "dev": true, - "dependencies": { - "q": "^1.5.1" - }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-jquery": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz", - "integrity": "sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-4.0.0.tgz", + "integrity": "sha512-TTIN5CyzRMf8PUwyy4IOLmLV2DFmPtasKN+x7EQKzwSX8086XYwo+NeaeA3VUT8bvKaIy5z/JoWUvi7huUOgaw==", "dev": true, - "dependencies": { - "q": "^1.5.1" - }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-jshint": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz", - "integrity": "sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-3.0.0.tgz", + "integrity": "sha512-bQof4byF4q+n+dwFRkJ/jGf9dCNUv4/kCDcjeCizBvfF81TeimPZBB6fT4HYbXgxxfxWXNl/i+J6T0nI4by6DA==", "dev": true, "dependencies": { - "compare-func": "^2.0.0", - "q": "^1.5.1" + "compare-func": "^2.0.0" }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-preset-loader": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", - "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-3.0.0.tgz", + "integrity": "sha512-qy9XbdSLmVnwnvzEisjxdDiLA4OmV3o8db+Zdg4WiFw14fP3B6XNz98X0swPPpkTd/pc1K7+adKgEDM1JCUMiA==", "dev": true, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-writer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", - "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz", + "integrity": "sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ==", "dev": true, "dependencies": { - "conventional-commits-filter": "^2.0.7", - "dateformat": "^3.0.0", + "conventional-commits-filter": "^3.0.0", + "dateformat": "^3.0.3", "handlebars": "^4.7.7", "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "semver": "^6.0.0", - "split": "^1.0.0", - "through2": "^4.0.0" + "meow": "^8.1.2", + "semver": "^7.0.0", + "split": "^1.0.1" }, "bin": { "conventional-changelog-writer": "cli.js" }, "engines": { - "node": ">=10" + "node": ">=14" } }, - "node_modules/conventional-changelog-writer/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "node_modules/conventional-changelog/node_modules/conventional-changelog-angular": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz", + "integrity": "sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg==", "dev": true, - "bin": { - "semver": "bin/semver.js" + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-6.1.0.tgz", + "integrity": "sha512-3cS3GEtR78zTfMzk0AizXKKIdN4OvSh7ibNz6/DPbhWWQu7LqE/8+/GqSodV+sywUR2gpJAdP/1JFf4XtN7Zpw==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=14" } }, "node_modules/conventional-commit-types": { @@ -5470,16 +5417,16 @@ "dev": true }, "node_modules/conventional-commits-filter": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz", + "integrity": "sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q==", "dev": true, "dependencies": { "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.0" + "modify-values": "^1.0.1" }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-commits-parser": { @@ -5507,15 +5454,6 @@ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, - "node_modules/copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/core-js": { "version": "3.27.2", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.27.2.tgz", @@ -5642,45 +5580,46 @@ } }, "node_modules/danger": { - "version": "10.6.6", - "resolved": "https://registry.npmjs.org/danger/-/danger-10.6.6.tgz", - "integrity": "sha512-RBqANs6xbWSCqZMy3+/eIYuC9kd7g5NqJ8PqDJKylPhvBoJEDkDrHQvExYHiP2UquvaZcPWsKohmOQXrosrpdw==", + "version": "11.2.7", + "resolved": "https://registry.npmjs.org/danger/-/danger-11.2.7.tgz", + "integrity": "sha512-Oqkrh6cqvJx+hVE/UHUFmkw/HqQ4as83lFvj37RDLfRQcJ4f4jnOtcci2heb5ik+NcR0GZwPJksAyfIhOc21ng==", "dev": true, "dependencies": { - "@babel/polyfill": "^7.2.5", - "@octokit/rest": "^16.43.1", + "@gitbeaker/node": "^21.3.0", + "@octokit/rest": "^18.12.0", "async-retry": "1.2.3", "chalk": "^2.3.0", "commander": "^2.18.0", + "core-js": "^3.8.2", "debug": "^4.1.1", "fast-json-patch": "^3.0.0-1", "get-stdin": "^6.0.0", - "gitlab": "^10.0.1", - "http-proxy-agent": "^2.1.0", - "https-proxy-agent": "^2.2.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.1", "hyperlinker": "^1.0.0", "json5": "^2.1.0", - "jsonpointer": "^4.0.1", - "jsonwebtoken": "^8.4.0", + "jsonpointer": "^5.0.0", + "jsonwebtoken": "^9.0.0", "lodash.find": "^4.6.0", "lodash.includes": "^4.3.0", "lodash.isobject": "^3.0.2", "lodash.keys": "^4.0.8", "lodash.mapvalues": "^4.6.0", "lodash.memoize": "^4.1.2", - "memfs-or-file-map-to-github-branch": "^1.1.0", - "micromatch": "^3.1.10", + "memfs-or-file-map-to-github-branch": "^1.2.1", + "micromatch": "^4.0.4", "node-cleanup": "^2.1.2", - "node-fetch": "2.6.1", + "node-fetch": "^2.6.7", "override-require": "^1.1.1", "p-limit": "^2.1.0", "parse-diff": "^0.7.0", "parse-git-config": "^2.0.3", "parse-github-url": "^1.0.2", - "parse-link-header": "^1.0.1", + "parse-link-header": "^2.0.0", "pinpoint": "^1.1.0", "prettyjson": "^1.2.1", "readline-sync": "^1.4.9", + "regenerator-runtime": "^0.13.9", "require-from-string": "^2.0.2", "supports-hyperlinks": "^1.0.1" }, @@ -5694,6 +5633,9 @@ "danger-process": "distribution/commands/danger-process.js", "danger-reset-status": "distribution/commands/danger-reset-status.js", "danger-runner": "distribution/commands/danger-runner.js" + }, + "engines": { + "node": ">=14.13.1" } }, "node_modules/danger/node_modules/commander": { @@ -5702,15 +5644,6 @@ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true }, - "node_modules/danger/node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "dev": true, - "engines": { - "node": "4.x || >=6.0.0" - } - }, "node_modules/danger/node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -5947,19 +5880,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -6263,21 +6183,6 @@ "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", "dev": true }, - "node_modules/es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", - "dev": true - }, - "node_modules/es6-promisify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", - "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", - "dev": true, - "dependencies": { - "es6-promise": "^4.0.3" - } - }, "node_modules/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -6666,6 +6571,15 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/eslint/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -6751,6 +6665,18 @@ "node": ">=8" } }, + "node_modules/eslint/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/eslint/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -6852,15 +6778,6 @@ "node": ">=0.10.0" } }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", @@ -6884,143 +6801,6 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==", - "dev": true, - "dependencies": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/expand-brackets/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true - }, "node_modules/expand-tilde": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", @@ -7038,19 +6818,6 @@ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, - "node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", - "dev": true, - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -7065,58 +6832,6 @@ "node": ">=4" } }, - "node_modules/extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "dependencies": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", @@ -7341,18 +7056,6 @@ "micromatch": "^4.0.2" } }, - "node_modules/find-yarn-workspace-root/node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, "node_modules/findup-sync": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-4.0.0.tgz", @@ -7368,19 +7071,6 @@ "node": ">= 8" } }, - "node_modules/findup-sync/node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, "node_modules/flat": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", @@ -7455,15 +7145,6 @@ "is-callable": "^1.1.3" } }, - "node_modules/for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/foreground-child": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", @@ -7486,29 +7167,17 @@ } }, "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", "dev": true, "dependencies": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", + "combined-stream": "^1.0.8", "mime-types": "^2.1.12" }, "engines": { - "node": ">= 0.12" - } - }, - "node_modules/fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==", - "dev": true, - "dependencies": { - "map-cache": "^0.2.2" - }, - "engines": { - "node": ">=0.10.0" + "node": ">= 6" } }, "node_modules/fromentries": { @@ -7546,16 +7215,16 @@ } }, "node_modules/fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" }, "engines": { - "node": ">=12" + "node": ">=14.14" } }, "node_modules/fs-minipass": { @@ -7756,6 +7425,15 @@ "node": ">=6.9.0" } }, + "node_modules/get-pkg-repo/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/get-pkg-repo/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -7797,6 +7475,18 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/get-pkg-repo/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/get-pkg-repo/node_modules/through2": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", @@ -7862,15 +7552,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", @@ -7947,28 +7628,19 @@ } }, "node_modules/git-semver-tags": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", - "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-5.0.1.tgz", + "integrity": "sha512-hIvOeZwRbQ+7YEUmCkHqo8FOLQZCEn18yevLHADlFPZY02KJGsu5FZt9YW/lybfK2uhWFI7Qg/07LekJiTv7iA==", "dev": true, "dependencies": { - "meow": "^8.0.0", - "semver": "^6.0.0" + "meow": "^8.1.2", + "semver": "^7.0.0" }, "bin": { "git-semver-tags": "cli.js" }, "engines": { - "node": ">=10" - } - }, - "node_modules/git-semver-tags/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" + "node": ">=14" } }, "node_modules/gitconfiglocal": { @@ -7980,39 +7652,20 @@ "ini": "^1.3.2" } }, - "node_modules/gitlab": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/gitlab/-/gitlab-10.2.1.tgz", - "integrity": "sha512-z+DxRF1C9uayVbocs9aJkJz+kGy14TSm1noB/rAIEBbXOkOYbjKxyuqJzt+0zeFpXFdgA0yq6DVVbvM7HIfGwg==", - "deprecated": "The gitlab package has found a new home in the @gitbeaker organization. For the latest gitlab node library, check out @gitbeaker/node. A full list of the features can be found here: https://github.com/jdalrymple/gitbeaker#readme", - "dev": true, - "dependencies": { - "form-data": "^2.5.0", - "humps": "^2.0.1", - "ky": "^0.12.0", - "ky-universal": "^0.3.0", - "li": "^1.3.0", - "query-string": "^6.8.2", - "universal-url": "^2.0.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^5.0.1", + "once": "^1.3.0" }, "engines": { - "node": "*" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -8030,6 +7683,27 @@ "node": ">=10.13.0" } }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/global-dirs": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", @@ -8302,45 +7976,6 @@ "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" }, - "node_modules/has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==", - "dev": true, - "dependencies": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/hasha": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", @@ -8366,15 +8001,6 @@ "node": ">=8" } }, - "node_modules/hasurl": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hasurl/-/hasurl-1.0.0.tgz", - "integrity": "sha512-43ypUd3DbwyCT01UYpA99AEZxZ4aKtRxWGBHEIbjcOsUghd9YUON0C+JF6isNjaiwC/UF5neaUudy6JS9jZPZQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -8419,33 +8045,28 @@ "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==" }, "node_modules/http-proxy-agent": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", - "integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", "dev": true, "dependencies": { - "agent-base": "4", - "debug": "3.1.0" + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" }, "engines": { - "node": ">= 4.5.0" + "node": ">= 6" } }, - "node_modules/http-proxy-agent/node_modules/debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "node_modules/http-proxy-agent/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true, - "dependencies": { - "ms": "2.0.0" + "engines": { + "node": ">= 10" } }, - "node_modules/http-proxy-agent/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true - }, "node_modules/http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", @@ -8486,25 +8107,15 @@ } }, "node_modules/https-proxy-agent": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", - "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", - "dev": true, + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dependencies": { - "agent-base": "^4.3.0", - "debug": "^3.1.0" + "agent-base": "6", + "debug": "4" }, "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/https-proxy-agent/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.1" + "node": ">= 6" } }, "node_modules/human-signals": { @@ -8533,22 +8144,16 @@ "ms": "^2.0.0" } }, - "node_modules/humps": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/humps/-/humps-2.0.1.tgz", - "integrity": "sha512-E0eIbrFWUhwfXJmsbdjRQFQPrl5pTEoKlz163j1mTqqUnU9PgR4AgB8AIITzuB3vLBdxZXyZ9TDIrwB2OASz4g==", - "dev": true - }, "node_modules/husky": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.2.tgz", - "integrity": "sha512-8yKEWNX4z2YsofXAMT7KvA1g8p+GxtB1ffV8XtpAEGuXNAbCV5wdNKH+qTpw8SM9fh4aMPDR+yQuKfgnreyZlg==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true, "bin": { "husky": "lib/bin.js" }, "engines": { - "node": ">=12" + "node": ">=14" }, "funding": { "url": "https://github.com/sponsors/typicode" @@ -8719,6 +8324,15 @@ "node": ">=12.0.0" } }, + "node_modules/inquirer/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/inquirer/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -8777,6 +8391,18 @@ "node": ">=8" } }, + "node_modules/inquirer/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/inquirer/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -8850,18 +8476,6 @@ "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" }, - "node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-array-buffer": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", @@ -8921,12 +8535,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, "node_modules/is-callable": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", @@ -8961,18 +8569,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-date-object": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", @@ -8988,20 +8584,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-docker": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", @@ -9016,30 +8598,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extendable/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -9099,18 +8657,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-number-object": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", @@ -9126,18 +8672,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", @@ -9354,15 +8888,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", @@ -9713,9 +9238,9 @@ ] }, "node_modules/jsonpointer": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.1.0.tgz", - "integrity": "sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", "dev": true, "engines": { "node": ">=0.10.0" @@ -9738,34 +9263,19 @@ } }, "node_modules/jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.1.tgz", + "integrity": "sha512-K8wx7eJ5TPvEjuiVSkv167EVboBDv9PZdDoF7BgeQnBLVvZWW9clr2PsQHVJDTKaEIH5JBIwHujGcHp7GgI2eg==", "dev": true, "dependencies": { "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", + "lodash": "^4.17.21", "ms": "^2.1.1", - "semver": "^5.6.0" + "semver": "^7.3.8" }, "engines": { - "node": ">=4", - "npm": ">=1.4.28" - } - }, - "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" + "node": ">=12", + "npm": ">=6" } }, "node_modules/jsprim": { @@ -9844,31 +9354,6 @@ "graceful-fs": "^4.1.11" } }, - "node_modules/ky": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/ky/-/ky-0.12.0.tgz", - "integrity": "sha512-t9b7v3V2fGwAcQnnDDQwKQGF55eWrf4pwi1RN08Fy8b/9GEwV7Ea0xQiaSW6ZbeghBHIwl8kgnla4vVo9seepQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ky-universal": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/ky-universal/-/ky-universal-0.3.0.tgz", - "integrity": "sha512-CM4Bgb2zZZpsprcjI6DNYTaH3oGHXL2u7BU4DK+lfCuC4snkt9/WRpMYeKbBbXscvKkeqBwzzjFX2WwmKY5K/A==", - "dev": true, - "dependencies": { - "abort-controller": "^3.0.0", - "node-fetch": "^2.6.0" - }, - "engines": { - "node": ">=8" - }, - "peerDependencies": { - "ky": ">=0.12.0" - } - }, "node_modules/lazystream": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", @@ -10055,26 +9540,13 @@ "node": ">=8" } }, - "node_modules/lint-staged/node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "node_modules/lint-staged/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/lint-staged/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" + "has-flag": "^4.0.0" }, "engines": { "node": ">=8" @@ -10416,6 +9888,15 @@ "node": ">=10.0.0" } }, + "node_modules/lockfile-lint/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/lockfile-lint/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -10427,6 +9908,18 @@ "wrap-ansi": "^7.0.0" } }, + "node_modules/lockfile-lint/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/lockfile-lint/node_modules/yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", @@ -10489,30 +9982,12 @@ "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", "dev": true }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", - "dev": true - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", - "dev": true - }, "node_modules/lodash.ismatch": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", "dev": true }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", - "dev": true - }, "node_modules/lodash.isobject": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz", @@ -10524,12 +9999,6 @@ "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "dev": true - }, "node_modules/lodash.keys": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-4.2.0.tgz", @@ -10559,35 +10028,11 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", - "dev": true - }, - "node_modules/lodash.set": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", - "integrity": "sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg==", - "dev": true - }, - "node_modules/lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", - "dev": true - }, "node_modules/lodash.union": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" }, - "node_modules/lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", - "dev": true - }, "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", @@ -10692,6 +10137,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/log-update/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/log-update/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -10742,6 +10196,18 @@ "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, + "node_modules/log-update/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/log-update/node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -10805,18 +10271,6 @@ "node": ">=10" } }, - "node_modules/macos-release": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.5.1.tgz", - "integrity": "sha512-DXqXhEM7gW59OjZO8NIjBCz9AQ1BEMrfiOAl4AYByHCtVHRF4KoGNO8mqQeM8lRCtQe/UnJ4imO/d2HdkKsd+A==", - "dev": true, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/magic-string": { "version": "0.25.9", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", @@ -10880,17 +10334,6 @@ "node": ">= 10" } }, - "node_modules/make-fetch-happen/node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, "node_modules/make-fetch-happen/node_modules/http-proxy-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", @@ -10904,25 +10347,15 @@ "node": ">= 6" } }, - "node_modules/make-fetch-happen/node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "node_modules/make-fetch-happen/node_modules/ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", "dependencies": { - "agent-base": "6", - "debug": "4" + "minipass": "^3.1.1" }, "engines": { - "node": ">= 6" - } - }, - "node_modules/map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", - "dev": true, - "engines": { - "node": ">=0.10.0" + "node": ">= 8" } }, "node_modules/map-obj": { @@ -10937,18 +10370,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==", - "dev": true, - "dependencies": { - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/markdown": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/markdown/-/markdown-0.5.0.tgz", @@ -11182,109 +10603,15 @@ "dev": true }, "node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==", - "dev": true, + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" + "braces": "^3.0.2", + "picomatch": "^2.3.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=8.6" } }, "node_modules/mime-db": { @@ -11458,19 +10785,6 @@ "node": ">= 8" } }, - "node_modules/mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "dependencies": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -11570,6 +10884,15 @@ "node": ">=6" } }, + "node_modules/mocha/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/mocha/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -11616,6 +10939,38 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/mocha/node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mocha/node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/mocha/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -11643,6 +10998,18 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, + "node_modules/mocha/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/mocha/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -11730,28 +11097,6 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -11819,6 +11164,20 @@ "node": ">=10" } }, + "node_modules/node-appc/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/node-cleanup": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/node-cleanup/-/node-cleanup-2.1.2.tgz", @@ -11867,7 +11226,26 @@ "node": ">= 10.12.0" } }, - "node_modules/node-gyp/node_modules/nopt": { + "node_modules/node-gyp/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", @@ -11957,19 +11335,6 @@ "node": ">=6.0.0" } }, - "node_modules/node-titanium-sdk/node_modules/fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, "node_modules/node-uuid": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz", @@ -12088,6 +11453,25 @@ "node": ">=10" } }, + "node_modules/npm-packlist/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/npm-pick-manifest": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz", @@ -12279,6 +11663,15 @@ "node": ">=8.9" } }, + "node_modules/nyc/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/nyc/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -12345,6 +11738,26 @@ "node": ">=8" } }, + "node_modules/nyc/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/nyc/node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -12396,6 +11809,18 @@ "node": ">=8" } }, + "node_modules/nyc/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/nyc/node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -12467,91 +11892,6 @@ "node": ">=0.10.0" } }, - "node_modules/object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==", - "dev": true, - "dependencies": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/object-hash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", @@ -12579,18 +11919,6 @@ "node": ">= 0.4" } }, - "node_modules/object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==", - "dev": true, - "dependencies": { - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/object.assign": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", @@ -12609,18 +11937,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/object.values": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", @@ -12638,12 +11954,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/octokit-pagination-methods": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz", - "integrity": "sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ==", - "dev": true - }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -12744,6 +12054,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ora/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/ora/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -12802,29 +12121,28 @@ "node": ">=8" } }, - "node_modules/ora/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/ora/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "dependencies": { - "has-flag": "^4.0.0" + "ansi-regex": "^5.0.1" }, "engines": { "node": ">=8" } }, - "node_modules/os-name": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz", - "integrity": "sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg==", + "node_modules/ora/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "dependencies": { - "macos-release": "^2.2.0", - "windows-release": "^3.1.0" + "has-flag": "^4.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, "node_modules/os-tmpdir": { @@ -12850,15 +12168,6 @@ "node": ">=8" } }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -12958,6 +12267,17 @@ "node": ">=10" } }, + "node_modules/pacote/node_modules/ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -13031,9 +12351,9 @@ } }, "node_modules/parse-link-header": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-link-header/-/parse-link-header-1.0.1.tgz", - "integrity": "sha512-Z0gpfHmwCIKDr5rRzjypL+p93aHVWO7e+0rFcUl9E3sC67njjs+xHFenuboSXZGlvYtmQqRzRaE3iFpTUnLmFQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/parse-link-header/-/parse-link-header-2.0.0.tgz", + "integrity": "sha512-xjU87V0VyHZybn2RrCX5TIFGxTVZE6zqqZWMPlIKiSKuWh/X5WZdt+w1Ki1nXB+8L/KtL+nZ4iq+sfI6MrhhMw==", "dev": true, "dependencies": { "xtend": "~4.0.1" @@ -13048,15 +12368,6 @@ "node": ">=0.10.0" } }, - "node_modules/pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/patch-package": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/patch-package/-/patch-package-6.5.1.tgz", @@ -13159,6 +12470,25 @@ "node": ">=10" } }, + "node_modules/patch-package/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/patch-package/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -13430,15 +12760,6 @@ "node": ">=14.19.0" } }, - "node_modules/posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -13884,28 +13205,6 @@ "@babel/runtime": "^7.8.4" } }, - "node_modules/regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, - "dependencies": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regex-not/node_modules/safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==", - "dev": true, - "dependencies": { - "ret": "~0.1.10" - } - }, "node_modules/regexp-tree": { "version": "0.1.24", "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.24.tgz", @@ -13991,24 +13290,6 @@ "node": ">=4" } }, - "node_modules/repeat-element": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", - "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, "node_modules/request": { "version": "2.88.2", "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", @@ -14175,13 +13456,6 @@ "node": ">=8" } }, - "node_modules/resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==", - "deprecated": "https://github.com/lydell/resolve-url#deprecated", - "dev": true - }, "node_modules/responselike": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz", @@ -14207,15 +13481,6 @@ "node": ">=8" } }, - "node_modules/ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true, - "engines": { - "node": ">=0.12" - } - }, "node_modules/retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", @@ -14244,6 +13509,25 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/rollup": { "version": "2.76.0", "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.76.0.tgz", @@ -14325,9 +13609,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -14358,54 +13642,6 @@ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" }, - "node_modules/set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -14551,194 +13787,6 @@ "npm": ">= 3.0.0" } }, - "node_modules/snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "dependencies": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "dependencies": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, - "dependencies": { - "kind-of": "^3.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/snapdragon/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true - }, "node_modules/socks": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", @@ -14765,17 +13813,6 @@ "node": ">= 10" } }, - "node_modules/socks-proxy-agent/node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, "node_modules/source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -14784,20 +13821,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", - "dev": true, - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, "node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -14817,13 +13840,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", - "deprecated": "See https://github.com/lydell/source-map-url#deprecated", - "dev": true - }, "node_modules/sourcemap-codec": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", @@ -14901,18 +13917,6 @@ "node": ">=6" } }, - "node_modules/split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, - "dependencies": { - "extend-shallow": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/split2": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", @@ -14962,119 +13966,33 @@ } }, "node_modules/ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==", - "dev": true, - "dependencies": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", + "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", "dev": true, "dependencies": { - "is-buffer": "^1.1.5" + "minipass": "^5.0.0" }, "engines": { - "node": ">=0.10.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/static-extend/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "node_modules/ssri/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/static-extend/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": "*" } }, "node_modules/stealthy-require": { @@ -15141,6 +14059,25 @@ "node": ">=8" } }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/string.prototype.padend": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", @@ -15227,14 +14164,18 @@ } }, "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, "dependencies": { - "ansi-regex": "^5.0.1" + "ansi-regex": "^6.0.1" }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/strip-bom": { @@ -15246,15 +14187,6 @@ "node": ">=8" } }, - "node_modules/strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", @@ -15392,6 +14324,25 @@ "node": ">=8" } }, + "node_modules/temp/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/temp/node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -15451,6 +14402,26 @@ "node": ">=8" } }, + "node_modules/test-exclude/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/text-extensions": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", @@ -15561,59 +14532,20 @@ "node_modules/tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "engines": { - "node": ">=4" - } - }, - "node_modules/to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-object-path/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dependencies": { - "is-buffer": "^1.1.5" + "os-tmpdir": "~1.0.2" }, "engines": { - "node": ">=0.10.0" + "node": ">=0.6.0" } }, - "node_modules/to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, - "dependencies": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, "node_modules/to-regex-range": { @@ -15635,15 +14567,6 @@ "node": ">=0.12.0" } }, - "node_modules/to-regex/node_modules/safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==", - "dev": true, - "dependencies": { - "ret": "~0.1.10" - } - }, "node_modules/tough-cookie": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", @@ -15902,30 +14825,6 @@ "node": ">=4" } }, - "node_modules/union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dev": true, - "dependencies": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/union-value/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", @@ -15942,53 +14841,11 @@ "imurmurhash": "^0.1.4" } }, - "node_modules/universal-url": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universal-url/-/universal-url-2.0.0.tgz", - "integrity": "sha512-3DLtXdm/G1LQMCnPj+Aw7uDoleQttNHp2g5FnNQKR6cP6taNWS1b/Ehjjx4PVyvejKi3TJyu8iBraKM4q3JQPg==", - "dev": true, - "dependencies": { - "hasurl": "^1.0.0", - "whatwg-url": "^7.0.0" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/universal-url/node_modules/tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==", - "dev": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/universal-url/node_modules/webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", - "dev": true - }, - "node_modules/universal-url/node_modules/whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - }, "node_modules/universal-user-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-4.0.1.tgz", - "integrity": "sha512-LnST3ebHwVL2aNe4mejI9IQh2HfZ1RLo8Io2HugSif8ekzD1TlWpHpColOB/eh8JHMLkGH3Akqf040I+4ylNxg==", - "dev": true, - "dependencies": { - "os-name": "^3.1.0" - } + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dev": true }, "node_modules/universalify": { "version": "2.0.0", @@ -16006,54 +14863,6 @@ "node": ">= 0.4.0" } }, - "node_modules/unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==", - "dev": true, - "dependencies": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==", - "dev": true, - "dependencies": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==", - "dev": true, - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/update-browserslist-db": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", @@ -16087,22 +14896,6 @@ "punycode": "^2.1.0" } }, - "node_modules/urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==", - "deprecated": "Please see https://github.com/lydell/urix#deprecated", - "dev": true - }, - "node_modules/use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -16266,139 +15059,6 @@ "win-spawn": "bin/win-spawn" } }, - "node_modules/windows-release": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.3.3.tgz", - "integrity": "sha512-OSOGH1QYiW5yVor9TtmXKQvt2vjQqbYS+DqmsZw+r7xDwLXEeT3JGW0ZppFmHx4diyXmxt238KFR3N9jzevBRg==", - "dev": true, - "dependencies": { - "execa": "^1.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/windows-release/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/windows-release/node_modules/execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "dev": true, - "dependencies": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/windows-release/node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/windows-release/node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/windows-release/node_modules/npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==", - "dev": true, - "dependencies": { - "path-key": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/windows-release/node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/windows-release/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/windows-release/node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", - "dev": true, - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/windows-release/node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/windows-release/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, "node_modules/winston": { "version": "2.4.6", "resolved": "https://registry.npmjs.org/winston/-/winston-2.4.6.tgz", @@ -16462,6 +15122,14 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -16492,6 +15160,17 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -16508,6 +15187,12 @@ "typedarray-to-buffer": "^3.1.5" } }, + "node_modules/xcase": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/xcase/-/xcase-2.0.1.tgz", + "integrity": "sha512-UmFXIPU+9Eg3E9m/728Bii0lAIuoc+6nbrNUKaRPJOFp91ih44qqGlWtxMB6kXFrRD6po+86ksHM5XHCfk6iPw==", + "dev": true + }, "node_modules/xcode": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/xcode/-/xcode-3.0.1.tgz", @@ -17669,24 +16354,6 @@ "@babel/helper-plugin-utils": "^7.18.6" } }, - "@babel/polyfill": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.12.1.tgz", - "integrity": "sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g==", - "dev": true, - "requires": { - "core-js": "^2.6.5", - "regenerator-runtime": "^0.13.4" - }, - "dependencies": { - "core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", - "dev": true - } - } - }, "@babel/preset-env": { "version": "7.10.2", "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.10.2.tgz", @@ -18082,6 +16749,19 @@ "@commitlint/types": "^13.2.0", "fs-extra": "^10.0.0", "git-raw-commits": "^2.0.0" + }, + "dependencies": { + "fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + } } }, "@commitlint/resolve-extends": { @@ -18230,10 +16910,46 @@ } } }, - "@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" + "@gar/promisify": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", + "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" + }, + "@gitbeaker/core": { + "version": "21.7.0", + "resolved": "https://registry.npmjs.org/@gitbeaker/core/-/core-21.7.0.tgz", + "integrity": "sha512-cw72rE7tA27wc6JJe1WqeAj9v/6w0S7XJcEji+bRNjTlUfE1zgfW0Gf1mbGUi7F37SOABGCosQLfg9Qe63aIqA==", + "dev": true, + "requires": { + "@gitbeaker/requester-utils": "^21.7.0", + "form-data": "^3.0.0", + "li": "^1.3.0", + "xcase": "^2.0.1" + } + }, + "@gitbeaker/node": { + "version": "21.7.0", + "resolved": "https://registry.npmjs.org/@gitbeaker/node/-/node-21.7.0.tgz", + "integrity": "sha512-OdM3VcTKYYqboOsnbiPcO0XimXXpYK4gTjARBZ6BWc+1LQXKmqo+OH6oUbyxOoaFu9hHECafIt3WZU3NM4sZTg==", + "dev": true, + "requires": { + "@gitbeaker/core": "^21.7.0", + "@gitbeaker/requester-utils": "^21.7.0", + "form-data": "^3.0.0", + "got": "^11.1.4", + "xcase": "^2.0.1" + } + }, + "@gitbeaker/requester-utils": { + "version": "21.7.0", + "resolved": "https://registry.npmjs.org/@gitbeaker/requester-utils/-/requester-utils-21.7.0.tgz", + "integrity": "sha512-eLTaVXlBnh8Qimj6QuMMA06mu/mLcJm3dy8nqhhn/Vm/D25sPrvpGwmbfFyvzj6QujPqtHvFfsCHtyZddL01qA==", + "dev": true, + "requires": { + "form-data": "^3.0.0", + "query-string": "^6.12.1", + "xcase": "^2.0.1" + } }, "@humanwhocodes/config-array": { "version": "0.9.5", @@ -18396,13 +17112,10 @@ "tar": "^6.1.11" }, "dependencies": { - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "requires": { - "debug": "4" - } + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "are-we-there-yet": { "version": "2.0.0", @@ -18429,15 +17142,6 @@ "wide-align": "^1.1.2" } }, - "https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "requires": { - "agent-base": "6", - "debug": "4" - } - }, "nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", @@ -18456,6 +17160,14 @@ "gauge": "^3.0.0", "set-blocking": "^2.0.0" } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } } } }, @@ -18496,6 +17208,16 @@ "ssri": "^8.0.1", "treeverse": "^1.0.4", "walk-up-path": "^1.0.0" + }, + "dependencies": { + "ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "requires": { + "minipass": "^3.1.1" + } + } } }, "@npmcli/fs": { @@ -18540,6 +17262,21 @@ "glob": "^7.1.6", "minimatch": "^3.0.4", "read-package-json-fast": "^2.0.1" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } } }, "@npmcli/metavuln-calculator": { @@ -18688,13 +17425,6 @@ "requires": { "@octokit/openapi-types": "^16.0.0" } - }, - "universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true, - "peer": true } } }, @@ -18707,14 +17437,6 @@ "@octokit/types": "^6.0.3", "is-plain-object": "^5.0.0", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - } } }, "@octokit/graphql": { @@ -18784,13 +17506,6 @@ "requires": { "@octokit/openapi-types": "^16.0.0" } - }, - "universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true, - "peer": true } } }, @@ -18801,23 +17516,12 @@ "dev": true }, "@octokit/plugin-paginate-rest": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-1.1.2.tgz", - "integrity": "sha512-jbsSoi5Q1pj63sC16XIUboklNw+8tL9VOnJsWycWYR78TKss5PVpIPb1TUUcMQ+bBh7cY579cVAWmf5qG+dw+Q==", + "version": "2.21.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz", + "integrity": "sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==", "dev": true, "requires": { - "@octokit/types": "^2.0.1" - }, - "dependencies": { - "@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - } + "@octokit/types": "^6.40.0" } }, "@octokit/plugin-request-log": { @@ -18828,24 +17532,13 @@ "requires": {} }, "@octokit/plugin-rest-endpoint-methods": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-2.4.0.tgz", - "integrity": "sha512-EZi/AWhtkdfAYi01obpX0DF7U6b1VRr30QNQ5xSFPITMdLSfhcBqjamE3F+sKcxPbD7eZuMHu3Qkk2V+JGxBDQ==", + "version": "5.16.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz", + "integrity": "sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==", "dev": true, "requires": { - "@octokit/types": "^2.0.1", + "@octokit/types": "^6.39.0", "deprecation": "^2.3.1" - }, - "dependencies": { - "@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - } } }, "@octokit/request": { @@ -18860,73 +17553,59 @@ "is-plain-object": "^5.0.0", "node-fetch": "^2.6.7", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "@octokit/request-error": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", - "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", - "dev": true, - "requires": { - "@octokit/types": "^6.0.3", - "deprecation": "^2.0.0", - "once": "^1.4.0" - } - }, - "universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - } } }, "@octokit/request-error": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.2.1.tgz", - "integrity": "sha512-+6yDyk1EES6WK+l3viRDElw96MvwfJxCt45GvmjDUKWjYIb3PJZQkq3i46TwGwoPD4h8NmTrENmtyA1FwbmhRA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", + "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", "dev": true, "requires": { - "@octokit/types": "^2.0.0", + "@octokit/types": "^6.0.3", "deprecation": "^2.0.0", "once": "^1.4.0" + } + }, + "@octokit/rest": { + "version": "18.12.0", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.12.0.tgz", + "integrity": "sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q==", + "dev": true, + "requires": { + "@octokit/core": "^3.5.1", + "@octokit/plugin-paginate-rest": "^2.16.8", + "@octokit/plugin-request-log": "^1.0.4", + "@octokit/plugin-rest-endpoint-methods": "^5.12.0" }, "dependencies": { - "@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "@octokit/core": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz", + "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==", + "dev": true, + "requires": { + "@octokit/auth-token": "^2.4.4", + "@octokit/graphql": "^4.5.8", + "@octokit/request": "^5.6.3", + "@octokit/request-error": "^2.0.5", + "@octokit/types": "^6.0.3", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/graphql": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", + "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", "dev": true, "requires": { - "@types/node": ">= 8" + "@octokit/request": "^5.6.0", + "@octokit/types": "^6.0.3", + "universal-user-agent": "^6.0.0" } } } }, - "@octokit/rest": { - "version": "16.43.2", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.43.2.tgz", - "integrity": "sha512-ngDBevLbBTFfrHZeiS7SAMAZ6ssuVmXuya+F/7RaVvlysgGa1JKJkKWY+jV6TCJYcW0OALfJ7nTIGXcBXzycfQ==", - "dev": true, - "requires": { - "@octokit/auth-token": "^2.4.0", - "@octokit/plugin-paginate-rest": "^1.1.1", - "@octokit/plugin-request-log": "^1.0.0", - "@octokit/plugin-rest-endpoint-methods": "2.4.0", - "@octokit/request": "^5.2.0", - "@octokit/request-error": "^1.0.2", - "atob-lite": "^2.0.0", - "before-after-hook": "^2.0.0", - "btoa-lite": "^1.0.0", - "deprecation": "^2.0.0", - "lodash.get": "^4.4.2", - "lodash.set": "^4.3.2", - "lodash.uniq": "^4.5.0", - "octokit-pagination-methods": "^1.1.0", - "once": "^1.4.0", - "universal-user-agent": "^4.0.0" - } - }, "@octokit/types": { "version": "6.41.0", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz", @@ -18959,6 +17638,22 @@ "is-reference": "^1.2.1", "magic-string": "^0.25.7", "resolve": "^1.17.0" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } } }, "@rollup/plugin-node-resolve": { @@ -19011,6 +17706,20 @@ "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==", "dev": true }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, "p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -19064,6 +17773,20 @@ "jsonfile": "^6.0.1", "universalify": "^2.0.0" } + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } } } }, @@ -19221,15 +17944,6 @@ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, - "abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dev": true, - "requires": { - "event-target-shim": "^5.0.0" - } - }, "acorn": { "version": "8.8.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", @@ -19255,12 +17969,11 @@ "integrity": "sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg==" }, "agent-base": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", - "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", - "dev": true, + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "requires": { - "es6-promisify": "^5.0.0" + "debug": "4" } }, "agentkeepalive": { @@ -19331,9 +18044,10 @@ } }, "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true }, "ansi-styles": { "version": "3.2.1", @@ -19419,6 +18133,19 @@ "readable-stream": "^2.0.0" }, "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, "readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", @@ -19504,24 +18231,6 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==", - "dev": true - }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true - }, - "arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==", - "dev": true - }, "array-buffer-byte-length": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", @@ -19551,12 +18260,6 @@ "is-string": "^1.0.7" } }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==", - "dev": true - }, "array.prototype.flat": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", @@ -19611,12 +18314,6 @@ "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", "dev": true }, - "assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==", - "dev": true - }, "astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", @@ -19647,18 +18344,6 @@ "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true - }, - "atob-lite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz", - "integrity": "sha512-LEeSAWeh2Gfa2FtlQE1shxQ8zi5F9GHarrGKz08TMdODD5T4eH6BMsvtnhbWZ+XQn+Gb6om/917ucvRu7l7ukw==", - "dev": true - }, "available-typed-arrays": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", @@ -19894,32 +18579,6 @@ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - } - } - }, "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -20087,12 +18746,6 @@ "update-browserslist-db": "^1.0.10" } }, - "btoa-lite": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz", - "integrity": "sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA==", - "dev": true - }, "buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -20163,23 +18816,29 @@ "ssri": "^8.0.1", "tar": "^6.0.2", "unique-filename": "^1.1.1" - } - }, - "cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, - "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "requires": { + "minipass": "^3.1.1" + } + } } }, "cacheable-lookup": { @@ -20350,106 +19009,34 @@ "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" }, "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" - }, - "clang-format": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.5.0.tgz", - "integrity": "sha512-C1LucFX7E+ABVYcPEbBHM4PYQ2+WInXsqsLpFlQ9cmRfSbk7A7b1I06h/nE4bQ3MsyEkb31jY2gC0Dtc76b4IA==", - "dev": true, - "requires": { - "async": "^1.5.2", - "glob": "^7.0.0", - "resolve": "^1.1.6" - }, - "dependencies": { - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==", - "dev": true - } - } + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "clang-format": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz", + "integrity": "sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==", "dev": true, "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" + "async": "^3.2.3", + "glob": "^7.0.0", + "resolve": "^1.1.6" }, "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true } } }, @@ -20518,6 +19105,23 @@ "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } } }, "clone": { @@ -20548,16 +19152,6 @@ "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", "integrity": "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==" }, - "collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==", - "dev": true, - "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - } - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -20601,9 +19195,9 @@ } }, "commander": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.2.0.tgz", - "integrity": "sha512-LLKxDvHeL91/8MIyTAD5BFMNtoIwztGPMiM/7Bl8rIPmHCZXRxmSWr91h57dpOpnQ6jIUqEWdXE/uBYMfiVZDA==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", + "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", "dev": true }, "commitizen": { @@ -20677,12 +19271,6 @@ "dot-prop": "^5.1.0" } }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, "compress-commons": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.1.tgz", @@ -20705,22 +19293,42 @@ "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" }, "conventional-changelog": { - "version": "3.1.25", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.25.tgz", - "integrity": "sha512-ryhi3fd1mKf3fSjbLXOfK2D06YwKNic1nC9mWqybBHdObPd8KJ2vjaXZfYj1U23t+V8T8n0d7gwnc9XbIdFbyQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-4.0.0.tgz", + "integrity": "sha512-JbZjwE1PzxQCvm+HUTIr+pbSekS8qdOZzMakdFyPtdkEWwFvwEJYONzjgMm0txCb2yBcIcfKDmg8xtCKTdecNQ==", "dev": true, "requires": { - "conventional-changelog-angular": "^5.0.12", - "conventional-changelog-atom": "^2.0.8", - "conventional-changelog-codemirror": "^2.0.8", - "conventional-changelog-conventionalcommits": "^4.5.0", - "conventional-changelog-core": "^4.2.1", - "conventional-changelog-ember": "^2.0.9", - "conventional-changelog-eslint": "^3.0.9", - "conventional-changelog-express": "^2.0.6", - "conventional-changelog-jquery": "^3.0.11", - "conventional-changelog-jshint": "^2.0.9", - "conventional-changelog-preset-loader": "^2.3.4" + "conventional-changelog-angular": "^6.0.0", + "conventional-changelog-atom": "^3.0.0", + "conventional-changelog-codemirror": "^3.0.0", + "conventional-changelog-conventionalcommits": "^6.0.0", + "conventional-changelog-core": "^5.0.0", + "conventional-changelog-ember": "^3.0.0", + "conventional-changelog-eslint": "^4.0.0", + "conventional-changelog-express": "^3.0.0", + "conventional-changelog-jquery": "^4.0.0", + "conventional-changelog-jshint": "^3.0.0", + "conventional-changelog-preset-loader": "^3.0.0" + }, + "dependencies": { + "conventional-changelog-angular": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz", + "integrity": "sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg==", + "dev": true, + "requires": { + "compare-func": "^2.0.0" + } + }, + "conventional-changelog-conventionalcommits": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-6.1.0.tgz", + "integrity": "sha512-3cS3GEtR78zTfMzk0AizXKKIdN4OvSh7ibNz6/DPbhWWQu7LqE/8+/GqSodV+sywUR2gpJAdP/1JFf4XtN7Zpw==", + "dev": true, + "requires": { + "compare-func": "^2.0.0" + } + } } }, "conventional-changelog-angular": { @@ -20734,35 +19342,28 @@ } }, "conventional-changelog-atom": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz", - "integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==", - "dev": true, - "requires": { - "q": "^1.5.1" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-3.0.0.tgz", + "integrity": "sha512-pnN5bWpH+iTUWU3FaYdw5lJmfWeqSyrUkG+wyHBI9tC1dLNnHkbAOg1SzTQ7zBqiFrfo55h40VsGXWMdopwc5g==", + "dev": true }, "conventional-changelog-cli": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-2.2.2.tgz", - "integrity": "sha512-8grMV5Jo8S0kP3yoMeJxV2P5R6VJOqK72IiSV9t/4H5r/HiRqEBQ83bYGuz4Yzfdj4bjaAEhZN/FFbsFXr5bOA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-3.0.0.tgz", + "integrity": "sha512-3zMYi0IrfNd6AAHdPMrcgCg5DbcffiqNaEBf8cYrlntXPbBIXaELTbnRmUy5TQAe0Hkgi0J6+/VmRCkkJQflcQ==", "dev": true, "requires": { "add-stream": "^1.0.0", - "conventional-changelog": "^3.1.24", - "lodash": "^4.17.15", - "meow": "^8.0.0", + "conventional-changelog": "^4.0.0", + "meow": "^8.1.2", "tempfile": "^3.0.0" } }, "conventional-changelog-codemirror": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz", - "integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==", - "dev": true, - "requires": { - "q": "^1.5.1" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-3.0.0.tgz", + "integrity": "sha512-wzchZt9HEaAZrenZAUUHMCFcuYzGoZ1wG/kTRMICxsnW5AXohYMRxnyecP9ob42Gvn5TilhC0q66AtTPRSNMfw==", + "dev": true }, "conventional-changelog-conventionalcommits": { "version": "4.6.3", @@ -20776,102 +19377,101 @@ } }, "conventional-changelog-core": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", - "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-5.0.2.tgz", + "integrity": "sha512-RhQOcDweXNWvlRwUDCpaqXzbZemKPKncCWZG50Alth72WITVd6nhVk9MJ6w1k9PFNBcZ3YwkdkChE+8+ZwtUug==", "dev": true, "requires": { "add-stream": "^1.0.0", - "conventional-changelog-writer": "^5.0.0", - "conventional-commits-parser": "^3.2.0", - "dateformat": "^3.0.0", - "get-pkg-repo": "^4.0.0", - "git-raw-commits": "^2.0.8", + "conventional-changelog-writer": "^6.0.0", + "conventional-commits-parser": "^4.0.0", + "dateformat": "^3.0.3", + "get-pkg-repo": "^4.2.1", + "git-raw-commits": "^3.0.0", "git-remote-origin-url": "^2.0.0", - "git-semver-tags": "^4.1.1", - "lodash": "^4.17.15", - "normalize-package-data": "^3.0.0", - "q": "^1.5.1", + "git-semver-tags": "^5.0.0", + "normalize-package-data": "^3.0.3", "read-pkg": "^3.0.0", - "read-pkg-up": "^3.0.0", - "through2": "^4.0.0" + "read-pkg-up": "^3.0.0" + }, + "dependencies": { + "conventional-commits-parser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz", + "integrity": "sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg==", + "dev": true, + "requires": { + "is-text-path": "^1.0.1", + "JSONStream": "^1.3.5", + "meow": "^8.1.2", + "split2": "^3.2.2" + } + }, + "git-raw-commits": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-3.0.0.tgz", + "integrity": "sha512-b5OHmZ3vAgGrDn/X0kS+9qCfNKWe4K/jFnhwzVWWg0/k5eLa3060tZShrRg8Dja5kPc+YjS0Gc6y7cRr44Lpjw==", + "dev": true, + "requires": { + "dargs": "^7.0.0", + "meow": "^8.1.2", + "split2": "^3.2.2" + } + } } }, "conventional-changelog-ember": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz", - "integrity": "sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==", - "dev": true, - "requires": { - "q": "^1.5.1" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-3.0.0.tgz", + "integrity": "sha512-7PYthCoSxIS98vWhVcSphMYM322OxptpKAuHYdVspryI0ooLDehRXWeRWgN+zWSBXKl/pwdgAg8IpLNSM1/61A==", + "dev": true }, "conventional-changelog-eslint": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz", - "integrity": "sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==", - "dev": true, - "requires": { - "q": "^1.5.1" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-4.0.0.tgz", + "integrity": "sha512-nEZ9byP89hIU0dMx37JXQkE1IpMmqKtsaR24X7aM3L6Yy/uAtbb+ogqthuNYJkeO1HyvK7JsX84z8649hvp43Q==", + "dev": true }, "conventional-changelog-express": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz", - "integrity": "sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==", - "dev": true, - "requires": { - "q": "^1.5.1" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-3.0.0.tgz", + "integrity": "sha512-HqxihpUMfIuxvlPvC6HltA4ZktQEUan/v3XQ77+/zbu8No/fqK3rxSZaYeHYant7zRxQNIIli7S+qLS9tX9zQA==", + "dev": true }, "conventional-changelog-jquery": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz", - "integrity": "sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==", - "dev": true, - "requires": { - "q": "^1.5.1" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-4.0.0.tgz", + "integrity": "sha512-TTIN5CyzRMf8PUwyy4IOLmLV2DFmPtasKN+x7EQKzwSX8086XYwo+NeaeA3VUT8bvKaIy5z/JoWUvi7huUOgaw==", + "dev": true }, "conventional-changelog-jshint": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz", - "integrity": "sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-3.0.0.tgz", + "integrity": "sha512-bQof4byF4q+n+dwFRkJ/jGf9dCNUv4/kCDcjeCizBvfF81TeimPZBB6fT4HYbXgxxfxWXNl/i+J6T0nI4by6DA==", "dev": true, "requires": { - "compare-func": "^2.0.0", - "q": "^1.5.1" + "compare-func": "^2.0.0" } }, "conventional-changelog-preset-loader": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", - "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-3.0.0.tgz", + "integrity": "sha512-qy9XbdSLmVnwnvzEisjxdDiLA4OmV3o8db+Zdg4WiFw14fP3B6XNz98X0swPPpkTd/pc1K7+adKgEDM1JCUMiA==", "dev": true }, "conventional-changelog-writer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", - "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz", + "integrity": "sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ==", "dev": true, "requires": { - "conventional-commits-filter": "^2.0.7", - "dateformat": "^3.0.0", + "conventional-commits-filter": "^3.0.0", + "dateformat": "^3.0.3", "handlebars": "^4.7.7", "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "semver": "^6.0.0", - "split": "^1.0.0", - "through2": "^4.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } + "meow": "^8.1.2", + "semver": "^7.0.0", + "split": "^1.0.1" } }, "conventional-commit-types": { @@ -20881,13 +19481,13 @@ "dev": true }, "conventional-commits-filter": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz", + "integrity": "sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q==", "dev": true, "requires": { "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.0" + "modify-values": "^1.0.1" } }, "conventional-commits-parser": { @@ -20909,12 +19509,6 @@ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, - "copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==", - "dev": true - }, "core-js": { "version": "3.27.2", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.27.2.tgz", @@ -21008,45 +19602,46 @@ } }, "danger": { - "version": "10.6.6", - "resolved": "https://registry.npmjs.org/danger/-/danger-10.6.6.tgz", - "integrity": "sha512-RBqANs6xbWSCqZMy3+/eIYuC9kd7g5NqJ8PqDJKylPhvBoJEDkDrHQvExYHiP2UquvaZcPWsKohmOQXrosrpdw==", + "version": "11.2.7", + "resolved": "https://registry.npmjs.org/danger/-/danger-11.2.7.tgz", + "integrity": "sha512-Oqkrh6cqvJx+hVE/UHUFmkw/HqQ4as83lFvj37RDLfRQcJ4f4jnOtcci2heb5ik+NcR0GZwPJksAyfIhOc21ng==", "dev": true, "requires": { - "@babel/polyfill": "^7.2.5", - "@octokit/rest": "^16.43.1", + "@gitbeaker/node": "^21.3.0", + "@octokit/rest": "^18.12.0", "async-retry": "1.2.3", "chalk": "^2.3.0", "commander": "^2.18.0", + "core-js": "^3.8.2", "debug": "^4.1.1", "fast-json-patch": "^3.0.0-1", "get-stdin": "^6.0.0", - "gitlab": "^10.0.1", - "http-proxy-agent": "^2.1.0", - "https-proxy-agent": "^2.2.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.1", "hyperlinker": "^1.0.0", "json5": "^2.1.0", - "jsonpointer": "^4.0.1", - "jsonwebtoken": "^8.4.0", + "jsonpointer": "^5.0.0", + "jsonwebtoken": "^9.0.0", "lodash.find": "^4.6.0", "lodash.includes": "^4.3.0", "lodash.isobject": "^3.0.2", "lodash.keys": "^4.0.8", "lodash.mapvalues": "^4.6.0", "lodash.memoize": "^4.1.2", - "memfs-or-file-map-to-github-branch": "^1.1.0", - "micromatch": "^3.1.10", + "memfs-or-file-map-to-github-branch": "^1.2.1", + "micromatch": "^4.0.4", "node-cleanup": "^2.1.2", - "node-fetch": "2.6.1", + "node-fetch": "^2.6.7", "override-require": "^1.1.1", "p-limit": "^2.1.0", "parse-diff": "^0.7.0", "parse-git-config": "^2.0.3", "parse-github-url": "^1.0.2", - "parse-link-header": "^1.0.1", + "parse-link-header": "^2.0.0", "pinpoint": "^1.1.0", "prettyjson": "^1.2.1", "readline-sync": "^1.4.9", + "regenerator-runtime": "^0.13.9", "require-from-string": "^2.0.2", "supports-hyperlinks": "^1.0.1" }, @@ -21057,12 +19652,6 @@ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true }, - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "dev": true - }, "p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -21221,16 +19810,6 @@ "object-keys": "^1.1.1" } }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - } - }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -21479,21 +20058,6 @@ "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", "dev": true }, - "es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", - "dev": true - }, - "es6-promisify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", - "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", - "dev": true, - "requires": { - "es6-promise": "^4.0.3" - } - }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -21547,6 +20111,12 @@ "v8-compile-cache": "^2.0.3" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -21602,6 +20172,15 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -21907,12 +20486,6 @@ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" }, - "event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "dev": true - }, "execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", @@ -21930,119 +20503,6 @@ "strip-final-newline": "^2.0.0" } }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==", - "dev": true, - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true - } - } - }, "expand-tilde": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", @@ -22057,67 +20517,15 @@ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", - "dev": true, - "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - } - }, "external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dev": true, "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - } - }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true - } + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" } }, "extsprintf": { @@ -22300,17 +20708,6 @@ "integrity": "sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==", "requires": { "micromatch": "^4.0.2" - }, - "dependencies": { - "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "requires": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - } - } } }, "findup-sync": { @@ -22323,18 +20720,6 @@ "is-glob": "^4.0.0", "micromatch": "^4.0.2", "resolve-dir": "^1.0.1" - }, - "dependencies": { - "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "requires": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - } - } } }, "flat": { @@ -22398,12 +20783,6 @@ "is-callable": "^1.1.3" } }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==", - "dev": true - }, "foreground-child": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", @@ -22420,25 +20799,16 @@ "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==" }, "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", "dev": true, "requires": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", + "combined-stream": "^1.0.8", "mime-types": "^2.1.12" } }, - "fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==", - "dev": true, - "requires": { - "map-cache": "^0.2.2" - } - }, "fromentries": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", @@ -22457,9 +20827,9 @@ "dev": true }, "fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -22614,6 +20984,12 @@ "yargs": "^16.2.0" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -22655,6 +21031,15 @@ "safe-buffer": "~5.1.0" } }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "through2": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", @@ -22704,12 +21089,6 @@ "get-intrinsic": "^1.1.1" } }, - "get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==", - "dev": true - }, "getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", @@ -22770,21 +21149,13 @@ } }, "git-semver-tags": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", - "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-5.0.1.tgz", + "integrity": "sha512-hIvOeZwRbQ+7YEUmCkHqo8FOLQZCEn18yevLHADlFPZY02KJGsu5FZt9YW/lybfK2uhWFI7Qg/07LekJiTv7iA==", "dev": true, "requires": { - "meow": "^8.0.0", - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } + "meow": "^8.1.2", + "semver": "^7.0.0" } }, "gitconfiglocal": { @@ -22796,32 +21167,37 @@ "ini": "^1.3.2" } }, - "gitlab": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/gitlab/-/gitlab-10.2.1.tgz", - "integrity": "sha512-z+DxRF1C9uayVbocs9aJkJz+kGy14TSm1noB/rAIEBbXOkOYbjKxyuqJzt+0zeFpXFdgA0yq6DVVbvM7HIfGwg==", - "dev": true, - "requires": { - "form-data": "^2.5.0", - "humps": "^2.0.1", - "ky": "^0.12.0", - "ky-universal": "^0.3.0", - "li": "^1.3.0", - "query-string": "^6.8.2", - "universal-url": "^2.0.0" - } - }, "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "glob-parent": { @@ -23025,38 +21401,6 @@ "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" }, - "has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==", - "dev": true, - "requires": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - } - }, - "has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "dependencies": { - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "hasha": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", @@ -23075,12 +21419,6 @@ } } }, - "hasurl": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hasurl/-/hasurl-1.0.0.tgz", - "integrity": "sha512-43ypUd3DbwyCT01UYpA99AEZxZ4aKtRxWGBHEIbjcOsUghd9YUON0C+JF6isNjaiwC/UF5neaUudy6JS9jZPZQ==", - "dev": true - }, "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -23116,28 +21454,20 @@ "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==" }, "http-proxy-agent": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", - "integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", "dev": true, "requires": { - "agent-base": "4", - "debug": "3.1.0" + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" }, "dependencies": { - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { + "@tootallnate/once": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true } } @@ -23171,24 +21501,12 @@ } }, "https-proxy-agent": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", - "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", - "dev": true, + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "requires": { - "agent-base": "^4.3.0", - "debug": "^3.1.0" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } + "agent-base": "6", + "debug": "4" } }, "human-signals": { @@ -23211,16 +21529,10 @@ "ms": "^2.0.0" } }, - "humps": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/humps/-/humps-2.0.1.tgz", - "integrity": "sha512-E0eIbrFWUhwfXJmsbdjRQFQPrl5pTEoKlz163j1mTqqUnU9PgR4AgB8AIITzuB3vLBdxZXyZ9TDIrwB2OASz4g==", - "dev": true - }, "husky": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.2.tgz", - "integrity": "sha512-8yKEWNX4z2YsofXAMT7KvA1g8p+GxtB1ffV8XtpAEGuXNAbCV5wdNKH+qTpw8SM9fh4aMPDR+yQuKfgnreyZlg==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true }, "hypar": { @@ -23348,6 +21660,12 @@ "wrap-ansi": "^7.0.0" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -23388,6 +21706,15 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -23452,15 +21779,6 @@ "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, "is-array-buffer": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", @@ -23505,12 +21823,6 @@ "has-tostringtag": "^1.0.0" } }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, "is-callable": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", @@ -23533,15 +21845,6 @@ "has": "^1.0.3" } }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, "is-date-object": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", @@ -23551,42 +21854,11 @@ "has-tostringtag": "^1.0.0" } }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - }, "is-docker": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" }, - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - }, - "dependencies": { - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - } - } - }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -23628,26 +21900,6 @@ "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", "dev": true }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "is-number-object": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", @@ -23810,12 +22062,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "dev": true - }, "isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", @@ -24087,9 +22333,9 @@ "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==" }, "jsonpointer": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.1.0.tgz", - "integrity": "sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", "dev": true }, "JSONStream": { @@ -24103,29 +22349,15 @@ } }, "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.1.tgz", + "integrity": "sha512-K8wx7eJ5TPvEjuiVSkv167EVboBDv9PZdDoF7BgeQnBLVvZWW9clr2PsQHVJDTKaEIH5JBIwHujGcHp7GgI2eg==", "dev": true, "requires": { "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", + "lodash": "^4.17.21", "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } + "semver": "^7.3.8" } }, "jsprim": { @@ -24198,22 +22430,6 @@ "graceful-fs": "^4.1.11" } }, - "ky": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/ky/-/ky-0.12.0.tgz", - "integrity": "sha512-t9b7v3V2fGwAcQnnDDQwKQGF55eWrf4pwi1RN08Fy8b/9GEwV7Ea0xQiaSW6ZbeghBHIwl8kgnla4vVo9seepQ==", - "dev": true - }, - "ky-universal": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/ky-universal/-/ky-universal-0.3.0.tgz", - "integrity": "sha512-CM4Bgb2zZZpsprcjI6DNYTaH3oGHXL2u7BU4DK+lfCuC4snkt9/WRpMYeKbBbXscvKkeqBwzzjFX2WwmKY5K/A==", - "dev": true, - "requires": { - "abort-controller": "^3.0.0", - "node-fetch": "^2.6.0" - } - }, "lazystream": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", @@ -24363,16 +22579,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "requires": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - } - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -24617,6 +22823,12 @@ "yargs": "^16.0.0" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -24628,6 +22840,15 @@ "wrap-ansi": "^7.0.0" } }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", @@ -24695,20 +22916,8 @@ }, "lodash.includes": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", - "dev": true - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", - "dev": true - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", "dev": true }, "lodash.ismatch": { @@ -24717,12 +22926,6 @@ "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", "dev": true }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", - "dev": true - }, "lodash.isobject": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz", @@ -24734,12 +22937,6 @@ "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "dev": true - }, "lodash.keys": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-4.2.0.tgz", @@ -24769,35 +22966,11 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", - "dev": true - }, - "lodash.set": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", - "integrity": "sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg==", - "dev": true - }, - "lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", - "dev": true - }, "lodash.union": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" }, - "lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", - "dev": true - }, "log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", @@ -24871,6 +23044,12 @@ "wrap-ansi": "^6.2.0" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -24906,6 +23085,15 @@ "is-fullwidth-code-point": "^3.0.0" } }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -24956,12 +23144,6 @@ "yallist": "^4.0.0" } }, - "macos-release": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.5.1.tgz", - "integrity": "sha512-DXqXhEM7gW59OjZO8NIjBCz9AQ1BEMrfiOAl4AYByHCtVHRF4KoGNO8mqQeM8lRCtQe/UnJ4imO/d2HdkKsd+A==", - "dev": true - }, "magic-string": { "version": "0.25.9", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", @@ -25015,14 +23197,6 @@ "ssri": "^8.0.0" }, "dependencies": { - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "requires": { - "debug": "4" - } - }, "http-proxy-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", @@ -25033,38 +23207,22 @@ "debug": "4" } }, - "https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", "requires": { - "agent-base": "6", - "debug": "4" + "minipass": "^3.1.1" } } } }, - "map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", - "dev": true - }, "map-obj": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", "dev": true }, - "map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==", - "dev": true, - "requires": { - "object-visit": "^1.0.0" - } - }, "markdown": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/markdown/-/markdown-0.5.0.tgz", @@ -25247,94 +23405,12 @@ "dev": true }, "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "dependencies": { - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - } + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" } }, "mime-db": { @@ -25461,16 +23537,6 @@ "yallist": "^4.0.0" } }, - "mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "requires": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - } - }, "mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -25524,6 +23590,12 @@ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -25558,6 +23630,31 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true }, + "glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "dependencies": { + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -25579,6 +23676,15 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -25663,25 +23769,6 @@ "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", "dev": true }, - "nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - } - }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -25736,6 +23823,14 @@ "jsonfile": "^6.0.1", "universalify": "^2.0.0" } + }, + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "requires": { + "lru-cache": "^6.0.0" + } } } }, @@ -25770,6 +23865,19 @@ "which": "^2.0.2" }, "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, "nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", @@ -25839,16 +23947,6 @@ "version": "7.11.5", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz", "integrity": "sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q==" - }, - "fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } } } }, @@ -25937,6 +24035,21 @@ "ignore-walk": "^3.0.3", "npm-bundled": "^1.1.1", "npm-normalize-package-bin": "^1.0.1" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } } }, "npm-pick-manifest": { @@ -26091,6 +24204,12 @@ "yargs": "^15.0.2" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -26142,6 +24261,20 @@ "path-exists": "^4.0.0" } }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -26178,6 +24311,15 @@ "aggregate-error": "^3.0.0" } }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -26236,74 +24378,6 @@ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" }, - "object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==", - "dev": true, - "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "dependencies": { - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "object-hash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", @@ -26322,15 +24396,6 @@ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true }, - "object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==", - "dev": true, - "requires": { - "isobject": "^3.0.0" - } - }, "object.assign": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", @@ -26343,15 +24408,6 @@ "object-keys": "^1.1.1" } }, - "object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - }, "object.values": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", @@ -26363,12 +24419,6 @@ "es-abstract": "^1.20.4" } }, - "octokit-pagination-methods": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz", - "integrity": "sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ==", - "dev": true - }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -26447,6 +24497,12 @@ "wcwidth": "^1.0.1" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -26487,6 +24543,15 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -26498,16 +24563,6 @@ } } }, - "os-name": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz", - "integrity": "sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg==", - "dev": true, - "requires": { - "macos-release": "^2.2.0", - "windows-release": "^3.1.0" - } - }, "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", @@ -26525,12 +24580,6 @@ "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==", "dev": true }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", - "dev": true - }, "p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -26598,6 +24647,16 @@ "rimraf": "^3.0.2", "ssri": "^8.0.1", "tar": "^6.1.0" + }, + "dependencies": { + "ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "requires": { + "minipass": "^3.1.1" + } + } } }, "parent-module": { @@ -26655,9 +24714,9 @@ } }, "parse-link-header": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-link-header/-/parse-link-header-1.0.1.tgz", - "integrity": "sha512-Z0gpfHmwCIKDr5rRzjypL+p93aHVWO7e+0rFcUl9E3sC67njjs+xHFenuboSXZGlvYtmQqRzRaE3iFpTUnLmFQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/parse-link-header/-/parse-link-header-2.0.0.tgz", + "integrity": "sha512-xjU87V0VyHZybn2RrCX5TIFGxTVZE6zqqZWMPlIKiSKuWh/X5WZdt+w1Ki1nXB+8L/KtL+nZ4iq+sfI6MrhhMw==", "dev": true, "requires": { "xtend": "~4.0.1" @@ -26665,14 +24724,8 @@ }, "parse-passwd": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==", - "dev": true - }, - "pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==", + "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", + "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==", "dev": true }, "patch-package": { @@ -26749,6 +24802,19 @@ "universalify": "^2.0.0" } }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -26946,12 +25012,6 @@ "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-7.0.0.tgz", "integrity": "sha512-LKWqWJRhstyYo9pGvgor/ivk2w94eSjE3RGVuzLGlr3NmD8bf7RcYGze1mNdEHRP6TRP6rMuDHk5t44hnTRyow==" }, - "posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==", - "dev": true - }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -27307,27 +25367,6 @@ "@babel/runtime": "^7.8.4" } }, - "regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, - "requires": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - }, - "dependencies": { - "safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==", - "dev": true, - "requires": { - "ret": "~0.1.10" - } - } - } - }, "regexp-tree": { "version": "0.1.24", "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.24.tgz", @@ -27388,18 +25427,6 @@ "es6-error": "^4.0.1" } }, - "repeat-element": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", - "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", - "dev": true - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", - "dev": true - }, "request": { "version": "2.88.2", "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", @@ -27523,12 +25550,6 @@ "global-dirs": "^0.1.1" } }, - "resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==", - "dev": true - }, "responselike": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz", @@ -27548,12 +25569,6 @@ "signal-exit": "^3.0.2" } }, - "ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true - }, "retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", @@ -27571,6 +25586,21 @@ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "requires": { "glob": "^7.1.3" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } } }, "rollup": { @@ -27628,9 +25658,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "requires": { "lru-cache": "^6.0.0" } @@ -27655,44 +25685,6 @@ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" }, - "set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - } - } - }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -27802,162 +25794,6 @@ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" }, - "snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true - } - } - }, - "snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - } - } - }, - "snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, - "requires": { - "kind-of": "^3.2.0" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "socks": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", @@ -27975,16 +25811,6 @@ "agent-base": "^6.0.2", "debug": "^4.3.3", "socks": "^2.6.2" - }, - "dependencies": { - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "requires": { - "debug": "4" - } - } } }, "source-map": { @@ -27992,19 +25818,6 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==" }, - "source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "dev": true, - "requires": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, "source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -28023,12 +25836,6 @@ } } }, - "source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", - "dev": true - }, "sourcemap-codec": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", @@ -28096,15 +25903,6 @@ "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==", "dev": true }, - "split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, - "requires": { - "extend-shallow": "^3.0.0" - } - }, "split2": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", @@ -28120,119 +25918,50 @@ "integrity": "sha512-4X5KsuXFQ7f+d7Y+bi4qSb6eI+YoifDTGr0MQJXRoYO7BO7evfRCjds6kk3z7l5CiJYxgDN1x5Er4WiyCt+zTQ==" }, "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true - }, - "sshpk": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", - "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } - }, - "ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "requires": { - "minipass": "^3.1.1" - } - }, - "stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", - "dev": true - }, - "static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==", - "dev": true, - "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true + }, + "sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "ssri": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", + "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", + "dev": true, + "requires": { + "minipass": "^5.0.0" + }, + "dependencies": { + "minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "dev": true } } }, + "stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", + "dev": true + }, "stealthy-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", @@ -28280,6 +26009,21 @@ "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } } }, "string.prototype.padend": { @@ -28346,11 +26090,12 @@ } }, "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, "requires": { - "ansi-regex": "^5.0.1" + "ansi-regex": "^6.0.1" } }, "strip-bom": { @@ -28359,12 +26104,6 @@ "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==", - "dev": true - }, "strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", @@ -28458,6 +26197,19 @@ "rimraf": "~2.6.2" }, "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, "mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -28509,6 +26261,22 @@ "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", "minimatch": "^3.0.4" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } } }, "text-extensions": { @@ -28615,49 +26383,6 @@ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==" }, - "to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, - "requires": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - }, - "dependencies": { - "safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==", - "dev": true, - "requires": { - "ret": "~0.1.10" - } - } - } - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -28862,26 +26587,6 @@ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==" }, - "union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", - "dev": true - } - } - }, "unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", @@ -28898,52 +26603,11 @@ "imurmurhash": "^0.1.4" } }, - "universal-url": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universal-url/-/universal-url-2.0.0.tgz", - "integrity": "sha512-3DLtXdm/G1LQMCnPj+Aw7uDoleQttNHp2g5FnNQKR6cP6taNWS1b/Ehjjx4PVyvejKi3TJyu8iBraKM4q3JQPg==", - "dev": true, - "requires": { - "hasurl": "^1.0.0", - "whatwg-url": "^7.0.0" - }, - "dependencies": { - "tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", - "dev": true - }, - "whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "requires": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - } - } - }, "universal-user-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-4.0.1.tgz", - "integrity": "sha512-LnST3ebHwVL2aNe4mejI9IQh2HfZ1RLo8Io2HugSif8ekzD1TlWpHpColOB/eh8JHMLkGH3Akqf040I+4ylNxg==", - "dev": true, - "requires": { - "os-name": "^3.1.0" - } + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dev": true }, "universalify": { "version": "2.0.0", @@ -28955,46 +26619,6 @@ "resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", "integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" }, - "unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==", - "dev": true, - "requires": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "dependencies": { - "has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==", - "dev": true, - "requires": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "dependencies": { - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==", - "dev": true, - "requires": { - "isarray": "1.0.0" - } - } - } - }, - "has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==", - "dev": true - } - } - }, "update-browserslist-db": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", @@ -29012,18 +26636,6 @@ "punycode": "^2.1.0" } }, - "urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==", - "dev": true - }, - "use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true - }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -29158,105 +26770,6 @@ "resolved": "https://registry.npmjs.org/win-fork/-/win-fork-1.1.1.tgz", "integrity": "sha512-kMnrXXHyb/Zx1ynkiMtcEgq+rxXFIfs/IhhxVBmIk+1KwPyIggZU0RAiADExhSyf0NESvCWQyfO4eGdlU9fBSw==" }, - "windows-release": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.3.3.tgz", - "integrity": "sha512-OSOGH1QYiW5yVor9TtmXKQvt2vjQqbYS+DqmsZw+r7xDwLXEeT3JGW0ZppFmHx4diyXmxt238KFR3N9jzevBRg==", - "dev": true, - "requires": { - "execa": "^1.0.0" - }, - "dependencies": { - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "dev": true, - "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - } - }, - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", - "dev": true - }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==", - "dev": true, - "requires": { - "path-key": "^2.0.0" - } - }, - "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", - "dev": true - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", - "dev": true, - "requires": { - "shebang-regex": "^1.0.0" - } - }, - "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", - "dev": true - }, - "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - } - } - }, "winston": { "version": "2.4.6", "resolved": "https://registry.npmjs.org/winston/-/winston-2.4.6.tgz", @@ -29307,6 +26820,11 @@ "strip-ansi": "^6.0.0" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -29327,6 +26845,14 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } } } }, @@ -29346,6 +26872,12 @@ "typedarray-to-buffer": "^3.1.5" } }, + "xcase": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/xcase/-/xcase-2.0.1.tgz", + "integrity": "sha512-UmFXIPU+9Eg3E9m/728Bii0lAIuoc+6nbrNUKaRPJOFp91ih44qqGlWtxMB6kXFrRD6po+86ksHM5XHCfk6iPw==", + "dev": true + }, "xcode": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/xcode/-/xcode-3.0.1.tgz", diff --git a/package.json b/package.json index 9b23f7e001e..aea5269e919 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "colors": "1.4.0", "ejs": "3.1.9", "fields": "0.1.24", - "fs-extra": "10.0.0", + "fs-extra": "11.1.1", "ioslib": "1.7.31", "liveview": "1.5.6", "lodash.merge": "4.6.2", @@ -112,7 +112,7 @@ "p-limit": "3.1.0", "pngjs": "7.0.0", "request": "2.88.2", - "semver": "7.3.8", + "semver": "7.5.4", "simple-plist": "1.3.1", "sprintf": "0.1.5", "temp": "0.9.4", @@ -133,20 +133,20 @@ "@seadub/danger-plugin-junit": "0.3.0", "babel-plugin-transform-titanium": "0.1.1", "chai": "4.3.7", - "clang-format": "1.5.0", - "commander": "8.2.0", + "clang-format": "1.8.0", + "commander": "11.0.0", "commitizen": "4.3.0", - "conventional-changelog-cli": "2.2.2", + "conventional-changelog-cli": "3.0.0", "core-js": "3.27.2", "core-js-compat": "3.6.5", "cz-conventional-changelog": "3.3.0", - "danger": "10.6.6", + "danger": "11.2.7", "eslint": "8.13.0", "eslint-config-axway": "7.0.0", "eslint-plugin-mocha": "10.0.4", "folder-hash": "4.0.4", - "glob": "7.2.0", - "husky": "7.0.2", + "glob": "8.1.0", + "husky": "8.0.3", "lint-staged": "11.1.2", "lockfile-lint": "4.10.1", "mocha": "9.2.2", @@ -155,9 +155,9 @@ "nyc": "15.1.0", "request-promise-native": "1.0.9", "rollup": "2.76.0", - "ssri": "8.0.1", + "ssri": "10.0.4", "stream-splitter": "0.3.2", - "strip-ansi": "6.0.1", + "strip-ansi": "7.1.0", "titanium": "6.1.1", "titanium-docgen": "4.10.3" }, From 2d59367521243c4d08f72adc3b799e6fcafbf558 Mon Sep 17 00:00:00 2001 From: m1ga Date: Fri, 28 Jul 2023 23:04:07 +0200 Subject: [PATCH 02/23] downgrade clang-format --- package-lock.json | 30 +++++++++++++++++++++--------- package.json | 2 +- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index dc40d7be8cc..87ac726fe65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -58,7 +58,7 @@ "@seadub/danger-plugin-junit": "0.3.0", "babel-plugin-transform-titanium": "0.1.1", "chai": "4.3.7", - "clang-format": "1.8.0", + "clang-format": "1.6.0", "commander": "11.0.0", "commitizen": "4.3.0", "conventional-changelog-cli": "3.0.0", @@ -4799,12 +4799,12 @@ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" }, "node_modules/clang-format": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz", - "integrity": "sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.6.0.tgz", + "integrity": "sha512-W3/L7fWkA8DoLkz9UGjrRnNi+J5a5TuS2HDLqk6WsicpOzb66MBu4eY/EcXhicHriVnAXWQVyk5/VeHWY6w4ow==", "dev": true, "dependencies": { - "async": "^3.2.3", + "async": "^1.5.2", "glob": "^7.0.0", "resolve": "^1.1.6" }, @@ -4814,6 +4814,12 @@ "git-clang-format": "bin/git-clang-format" } }, + "node_modules/clang-format/node_modules/async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==", + "dev": true + }, "node_modules/clang-format/node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -19014,16 +19020,22 @@ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" }, "clang-format": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz", - "integrity": "sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.6.0.tgz", + "integrity": "sha512-W3/L7fWkA8DoLkz9UGjrRnNi+J5a5TuS2HDLqk6WsicpOzb66MBu4eY/EcXhicHriVnAXWQVyk5/VeHWY6w4ow==", "dev": true, "requires": { - "async": "^3.2.3", + "async": "^1.5.2", "glob": "^7.0.0", "resolve": "^1.1.6" }, "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==", + "dev": true + }, "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", diff --git a/package.json b/package.json index aea5269e919..73df8922519 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "@seadub/danger-plugin-junit": "0.3.0", "babel-plugin-transform-titanium": "0.1.1", "chai": "4.3.7", - "clang-format": "1.8.0", + "clang-format": "1.6.0", "commander": "11.0.0", "commitizen": "4.3.0", "conventional-changelog-cli": "3.0.0", From 95adb16ab5ed3c3f499e07176f9db6ead995263e Mon Sep 17 00:00:00 2001 From: m1ga Date: Fri, 28 Jul 2023 23:16:00 +0200 Subject: [PATCH 03/23] format objc files --- iphone/Classes/AppModule.m | 20 +- iphone/Classes/ApplicationDefaults.h | 2 +- iphone/Classes/AsyncSocket.h | 202 ++++++------- iphone/Classes/AsyncSocket.m | 122 ++++---- iphone/Classes/AsyncUdpSocket.h | 116 ++++---- iphone/Classes/AsyncUdpSocket.m | 56 ++-- iphone/Classes/CalendarModule.m | 4 +- iphone/Classes/ContactsModule.m | 18 +- iphone/Classes/FilesystemModule.m | 12 +- iphone/Classes/GDataXMLNode.h | 6 +- iphone/Classes/GeolocationModule.h | 2 +- iphone/Classes/GeolocationModule.m | 8 +- iphone/Classes/GestureModule.m | 6 +- iphone/Classes/LauncherButton.m | 2 +- iphone/Classes/Layout/TiLayoutDimension.h | 8 +- iphone/Classes/MediaModule.m | 46 +-- iphone/Classes/NetworkModule.m | 8 +- iphone/Classes/Reachability.h | 2 +- iphone/Classes/Reachability.m | 2 +- iphone/Classes/TIDOMDOMImplementationProxy.m | 8 +- iphone/Classes/TIDOMDocumentTypeProxy.m | 4 +- iphone/Classes/TiAnchorAttachBehavior.m | 2 +- iphone/Classes/TiAnimatorProxy.m | 8 +- iphone/Classes/TiApp+Addons.m | 4 +- iphone/Classes/TiAppPropertiesProxy.m | 16 +- iphone/Classes/TiAppiOSProxy.m | 2 +- iphone/Classes/TiAppiOSSearchableIndexProxy.m | 2 +- .../TiAppiOSSearchableItemAttributeSetProxy.m | 270 +++++++++--------- iphone/Classes/TiAppiOSUserDefaultsProxy.m | 16 +- iphone/Classes/TiCalendarCalendar.h | 2 +- iphone/Classes/TiContactsGroup.m | 2 +- iphone/Classes/TiContactsPerson.m | 2 +- iphone/Classes/TiController.h | 2 +- iphone/Classes/TiDOMAttrProxy.m | 2 +- iphone/Classes/TiDOMDocumentProxy.m | 16 +- iphone/Classes/TiDOMElementProxy.m | 46 +-- iphone/Classes/TiDOMEntityProxy.m | 6 +- iphone/Classes/TiDOMNamedNodeMapProxy.h | 2 +- iphone/Classes/TiDOMNamedNodeMapProxy.m | 12 +- iphone/Classes/TiDOMNodeProxy.m | 14 +- iphone/Classes/TiDOMNotationProxy.m | 4 +- iphone/Classes/TiDOMTextNodeProxy.m | 14 +- iphone/Classes/TiDOMValidator.m | 2 +- iphone/Classes/TiDatabaseProxy.m | 12 +- iphone/Classes/TiDatabaseResultSetProxy.m | 4 +- iphone/Classes/TiFilesystemBlobProxy.m | 2 +- iphone/Classes/TiGravityBehavior.m | 2 +- iphone/Classes/TiMediaAudioPlayerProxy.m | 2 +- iphone/Classes/TiMediaMusicPlayer.m | 12 +- iphone/Classes/TiMediaSoundProxy.m | 2 +- iphone/Classes/TiMediaSystemAlertProxy.m | 2 +- iphone/Classes/TiMediaVideoPlayerProxy.m | 4 +- iphone/Classes/TiNetworkHTTPClientProxy.m | 48 ++-- iphone/Classes/TiPushBehavior.m | 2 +- iphone/Classes/TiSnapBehavior.m | 2 +- iphone/Classes/TiUIActivityIndicator.m | 8 +- iphone/Classes/TiUIAlertDialogProxy.m | 2 +- iphone/Classes/TiUIButton.h | 4 +- iphone/Classes/TiUIButton.m | 4 +- iphone/Classes/TiUIButtonBar.m | 2 +- iphone/Classes/TiUIButtonProxy.m | 18 +- iphone/Classes/TiUICanvasView.m | 20 +- iphone/Classes/TiUIDashboardView.m | 8 +- iphone/Classes/TiUIDashboardViewProxy.m | 4 +- iphone/Classes/TiUIImageView.m | 18 +- iphone/Classes/TiUIImageViewProxy.m | 12 +- iphone/Classes/TiUILabel.m | 22 +- iphone/Classes/TiUIListItem.m | 12 +- iphone/Classes/TiUIListItemProxy.m | 14 +- iphone/Classes/TiUIListView.m | 108 +++---- iphone/Classes/TiUIListViewProxy.m | 8 +- iphone/Classes/TiUIMaskedImage.m | 2 +- iphone/Classes/TiUINavBarButton.m | 12 +- iphone/Classes/TiUINavigationWindowProxy.m | 12 +- iphone/Classes/TiUIOptionDialogProxy.m | 6 +- iphone/Classes/TiUIPicker.m | 16 +- iphone/Classes/TiUIPickerProxy.m | 6 +- iphone/Classes/TiUIPickerRowProxy.m | 12 +- iphone/Classes/TiUIRefreshControlProxy.m | 2 +- iphone/Classes/TiUIScrollView.m | 22 +- iphone/Classes/TiUIScrollViewProxy.m | 30 +- iphone/Classes/TiUIScrollableView.m | 40 +-- iphone/Classes/TiUIScrollableViewProxy.m | 10 +- iphone/Classes/TiUISearchBar.m | 8 +- iphone/Classes/TiUISearchBarProxy.m | 4 +- iphone/Classes/TiUIShortcutItemProxy.h | 10 +- iphone/Classes/TiUIShortcutItemProxy.m | 10 +- iphone/Classes/TiUIShortcutProxy.h | 10 +- iphone/Classes/TiUIShortcutProxy.m | 10 +- iphone/Classes/TiUISlider.h | 2 +- iphone/Classes/TiUISlider.m | 2 +- iphone/Classes/TiUISwitch.m | 2 +- iphone/Classes/TiUITabGroup.h | 2 +- iphone/Classes/TiUITabGroup.m | 18 +- iphone/Classes/TiUITabGroupProxy.m | 6 +- iphone/Classes/TiUITabProxy.h | 2 +- iphone/Classes/TiUITabProxy.m | 30 +- iphone/Classes/TiUITableView.m | 136 ++++----- iphone/Classes/TiUITableViewProxy.h | 4 +- iphone/Classes/TiUITableViewProxy.m | 60 ++-- iphone/Classes/TiUITableViewRowProxy.h | 4 +- iphone/Classes/TiUITableViewRowProxy.m | 12 +- iphone/Classes/TiUITableViewSectionProxy.m | 4 +- iphone/Classes/TiUITextArea.m | 30 +- iphone/Classes/TiUITextField.m | 20 +- iphone/Classes/TiUITextWidget.m | 2 +- iphone/Classes/TiUITextWidgetProxy.h | 10 +- iphone/Classes/TiUITextWidgetProxy.m | 12 +- iphone/Classes/TiUIToolbar.m | 4 +- iphone/Classes/TiUIToolbarProxy.m | 8 +- iphone/Classes/TiUIWebView.m | 18 +- iphone/Classes/TiUIiOSBlurView.m | 2 +- iphone/Classes/TiUIiOSDocumentViewerProxy.m | 8 +- iphone/Classes/TiUIiOSLivePhotoView.m | 2 +- iphone/Classes/TiUIiOSProxy.h | 4 +- iphone/Classes/TiUIiOSProxy.m | 6 +- iphone/Classes/TiUIiOSSplitWindow.m | 16 +- iphone/Classes/TiUIiOSStepper.m | 6 +- iphone/Classes/TiUIiPadPopoverProxy.h | 8 +- iphone/Classes/TiUIiPadPopoverProxy.m | 10 +- iphone/Classes/TiViewAttachBehavior.m | 2 +- iphone/Classes/UIModule.h | 2 +- iphone/Classes/UIModule.m | 20 +- iphone/Classes/WatchSessionModule.m | 14 +- iphone/Classes/XMLModule.m | 18 +- .../TitaniumKit/Sources/API/ImageLoader.h | 2 +- .../TitaniumKit/Sources/API/ImageLoader.m | 16 +- .../TitaniumKit/Sources/API/JSValue+Addons.h | 10 +- .../TitaniumKit/Sources/API/JSValue+Addons.m | 10 +- .../TitaniumKit/Sources/API/KrollBridge.h | 4 +- .../TitaniumKit/Sources/API/KrollBridge.m | 28 +- .../Sources/API/LayoutConstraint.m | 48 ++-- .../TitaniumKit/Sources/API/Mimetypes.h | 4 +- .../TitaniumKit/Sources/API/Mimetypes.m | 20 +- .../Sources/API/NSData+Additions.m | 16 +- .../TitaniumKit/Sources/API/ObjcProxy.m | 2 +- .../TitaniumKit/Sources/API/OperationQueue.h | 2 +- .../TitaniumKit/Sources/API/OperationQueue.m | 2 +- .../TitaniumKit/Sources/API/SBJSON.h | 2 +- .../TitaniumKit/Sources/API/SBJSON.m | 30 +- .../TitaniumKit/Sources/API/TiAnimation.h | 4 +- .../TitaniumKit/Sources/API/TiAnimation.m | 18 +- .../TitaniumKit/Sources/API/TiApp.h | 34 +-- .../TitaniumKit/Sources/API/TiApp.m | 24 +- .../TitaniumKit/Sources/API/TiBase.h | 10 +- .../TitaniumKit/Sources/API/TiBindingEvent.m | 92 +++--- .../Sources/API/TiBindingTiValue.m | 2 +- .../TitaniumKit/Sources/API/TiBlob.h | 4 +- .../TitaniumKit/Sources/API/TiBlob.m | 2 +- .../TitaniumKit/Sources/API/TiBuffer.h | 6 +- .../TitaniumKit/Sources/API/TiBuffer.m | 4 +- .../TitaniumKit/Sources/API/TiColor.m | 4 +- .../Sources/API/TiControllerProtocols.h | 8 +- .../TitaniumKit/Sources/API/TiDimension.h | 8 +- .../Sources/API/TiErrorController.m | 2 +- .../TitaniumKit/Sources/API/TiEvaluator.h | 8 +- .../Sources/API/TiExceptionHandler.h | 2 +- .../TitaniumKit/Sources/API/TiFile.m | 4 +- .../TitaniumKit/Sources/API/TiGradient.h | 2 +- .../TitaniumKit/Sources/API/TiGradient.m | 4 +- .../TitaniumKit/Sources/API/TiHost.m | 4 +- .../TitaniumKit/Sources/API/TiLayoutQueue.m | 10 +- .../TitaniumKit/Sources/API/TiLocale.h | 2 +- .../TitaniumKit/Sources/API/TiModule.m | 6 +- .../TitaniumKit/Sources/API/TiProxy.h | 28 +- .../TitaniumKit/Sources/API/TiProxy.m | 100 +++---- .../TitaniumKit/Sources/API/TiPublicAPI.h | 6 +- .../Sources/API/TiRootViewController.h | 24 +- .../Sources/API/TiRootViewController.m | 102 +++---- .../TitaniumKit/Sources/API/TiStylesheet.m | 10 +- .../TitaniumKit/Sources/API/TiThreading.h | 12 +- .../TitaniumKit/Sources/API/TiUIView.h | 10 +- .../TitaniumKit/Sources/API/TiUIView.m | 60 ++-- .../TitaniumKit/Sources/API/TiUtils.m | 36 +-- .../Sources/API/TiViewController.m | 14 +- .../TitaniumKit/Sources/API/TiViewProxy.h | 60 ++-- .../TitaniumKit/Sources/API/TiViewProxy.m | 196 ++++++------- .../TitaniumKit/Sources/API/TiWindowProxy.m | 26 +- .../TitaniumKit/Sources/API/WebFont.m | 8 +- .../TitaniumKit/Sources/API/Webcolor.h | 2 +- .../TitaniumKit/Sources/API/Webcolor.m | 8 +- .../TitaniumKit/Sources/Kroll/KrollCallback.m | 2 +- .../TitaniumKit/Sources/Kroll/KrollContext.h | 4 +- .../TitaniumKit/Sources/Kroll/KrollContext.m | 4 +- .../TitaniumKit/Sources/Kroll/KrollMethod.m | 6 +- .../TitaniumKit/Sources/Kroll/KrollObject.h | 12 +- .../TitaniumKit/Sources/Kroll/KrollObject.m | 20 +- .../TitaniumKit/Sources/Kroll/KrollPromise.h | 2 +- .../Sources/Modules/TiFilesystemFileProxy.m | 12 +- .../Modules/TiFilesystemFileStreamProxy.m | 28 +- .../Sources/Modules/TiUIWindowProxy.h | 2 +- .../Sources/Modules/TiUIWindowProxy.m | 42 +-- 192 files changed, 1741 insertions(+), 1741 deletions(-) diff --git a/iphone/Classes/AppModule.m b/iphone/Classes/AppModule.m index 87b1c585455..3cb820d9494 100644 --- a/iphone/Classes/AppModule.m +++ b/iphone/Classes/AppModule.m @@ -154,11 +154,11 @@ - (void)removeEventListener:(NSArray *)args BOOL needsScanning; do { needsScanning = NO; - for (entry in l) //The fast iteration is blindly fast when l is nil or count. + for (entry in l) // The fast iteration is blindly fast when l is nil or count. { - if ([listener isEqual:[entry listener]]) //NSNumber does the right thing with this too. + if ([listener isEqual:[entry listener]]) // NSNumber does the right thing with this too. { - [l removeObject:entry]; //It's safe to modify the array as long as you break right after. + [l removeObject:entry]; // It's safe to modify the array as long as you break right after. needsScanning = [l count] > 0; break; } @@ -253,7 +253,7 @@ - (void)setProximityDetection:(NSNumber *)value { BOOL yn = [TiUtils boolValue:value]; [UIDevice currentDevice].proximityMonitoringEnabled = yn; - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! if (yn) { [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(proximityDetectionChanged:) @@ -287,7 +287,7 @@ - (void)handleUserInteraction:(id)notification } } -//To fire the keyboard frame change event. +// To fire the keyboard frame change event. - (void)keyboardFrameChanged:(NSNotification *)notification { if (![self _hasListeners:@"keyboardframechanged"]) { @@ -370,7 +370,7 @@ - (void)willShutdownContext:(NSNotification *)note - (void)startup { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc addObserver:self selector:@selector(willShutdown:) name:kTiWillShutdownNotification object:nil]; [nc addObserver:self selector:@selector(willShutdownContext:) name:kTiContextShutdownNotification object:nil]; @@ -397,7 +397,7 @@ - (void)shutdown:(id)sender { // make sure we force any changes made on shutdown [[NSUserDefaults standardUserDefaults] synchronize]; - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] removeObserver:self]; [super shutdown:sender]; } @@ -591,9 +591,9 @@ - (NSNumber *)keyboardVisible - (void)setForceSplashAsSnapshot:(id)args { ENSURE_SINGLE_ARG(args, NSNumber) - [self replaceValue:args - forKey:@"forceSplashAsSnapshot" - notification:NO]; + [self replaceValue:args + forKey:@"forceSplashAsSnapshot" + notification:NO]; BOOL flag = [TiUtils boolValue:args def:NO]; [[TiApp app] setForceSplashAsSnapshot:flag]; } diff --git a/iphone/Classes/ApplicationDefaults.h b/iphone/Classes/ApplicationDefaults.h index b160276f026..f43c844e8fb 100644 --- a/iphone/Classes/ApplicationDefaults.h +++ b/iphone/Classes/ApplicationDefaults.h @@ -3,7 +3,7 @@ * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. - * + * * WARNING: This is generated code. Modify at your own risk and without support. */ diff --git a/iphone/Classes/AsyncSocket.h b/iphone/Classes/AsyncSocket.h index 67abecfb8d0..e9c266add6d 100644 --- a/iphone/Classes/AsyncSocket.h +++ b/iphone/Classes/AsyncSocket.h @@ -36,34 +36,34 @@ typedef enum AsyncSocketError AsyncSocketError; * You may call "unreadData" during this call-back to get the last bit of data off the socket. * When connecting, this delegate method may be called * before"onSocket:didAcceptNewSocket:" or "onSocket:didConnectToHost:". -**/ + **/ - (BOOL)onSocket:(AsyncSocket *)sock shouldDisconnectWithError:(NSError *)err; /** * Called when a socket disconnects with or without error. If you want to release a socket after it disconnects, * do so here. It is not safe to do that during "onSocket:willDisconnectWithError:". - * + * * If you call the disconnect method, and the socket wasn't already disconnected, * this delegate method will be called before the disconnect method returns. -**/ + **/ - (void)onSocketDidDisconnect:(AsyncSocket *)sock; /** * Called when a socket accepts a connection (listening w/autoaccept 'YES'). Another socket is spawned to handle it. The new socket will have * the same delegate and will call "onSocket:didConnectToHost:port:". -**/ + **/ - (void)onSocket:(AsyncSocket *)sock didAcceptNewSocket:(AsyncSocket *)newSocket; /** * Called when there is a connection to accept (listening w/autoaccept 'NO'). Can retrieve the BSD socket * handle from the passed socket and call accept() on it, guaranteed to nonblock -**/ + **/ - (void)onSocketHasConnectionToAccept:(AsyncSocket *)sock; /** * Called when a new socket is spawned to handle a connection. This method should return the run-loop of the * thread on which the new socket and its delegate should operate. If omitted, [NSRunLoop currentRunLoop] is used. -**/ + **/ - (NSRunLoop *)onSocket:(AsyncSocket *)sock wantsRunLoopForNewSocket:(AsyncSocket *)newSocket; /** @@ -74,44 +74,44 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Called when a socket is about to connect. This method should return YES to continue, or NO to abort. * If aborted, will result in AsyncSocketCanceledError. - * + * * If the connectToHost:onPort:error: method was called, the delegate will be able to access and configure the * CFReadStream and CFWriteStream as desired prior to connection. * * If the connectToAddress:error: method was called, the delegate will be able to access and configure the * CFSocket and CFSocketNativeHandle (BSD socket) as desired prior to connection. You will be able to access and * configure the CFReadStream and CFWriteStream in the onSocket:didConnectToHost:port: method. -**/ + **/ - (BOOL)onSocketWillConnect:(AsyncSocket *)sock; /** * Called when a socket connects and is ready for reading and writing. * The host parameter will be an IP address, not a DNS name. -**/ + **/ - (void)onSocket:(AsyncSocket *)sock didConnectToHost:(NSString *)host port:(UInt16)port; /** * Called when a socket has completed reading the requested data into memory. * Not called if there is an error. -**/ + **/ - (void)onSocket:(AsyncSocket *)sock didReadData:(NSData *)data withTag:(long)tag; /** * Called when a socket has read in data, but has not yet completed the read. * This would occur if using readToData: or readToLength: methods. * It may be used to for things such as updating progress bars. -**/ + **/ - (void)onSocket:(AsyncSocket *)sock didReadPartialDataOfLength:(NSUInteger)partialLength tag:(long)tag; /** * Called when a socket has completed writing the requested data. Not called if there is an error. -**/ + **/ - (void)onSocket:(AsyncSocket *)sock didWriteDataWithTag:(long)tag; /** * Called when a socket has written some data, but has not yet completed the entire write. * It may be used to for things such as updating progress bars. -**/ + **/ - (void)onSocket:(AsyncSocket *)sock didWritePartialDataOfLength:(NSUInteger)partialLength tag:(long)tag; /** @@ -119,12 +119,12 @@ typedef enum AsyncSocketError AsyncSocketError; * This method allows you to optionally extend the timeout. * If you return a positive time interval (> 0) the read's timeout will be extended by the given amount. * If you don't implement this method, or return a non-positive time interval (<= 0) the read will timeout as usual. - * + * * The elapsed parameter is the sum of the original timeout, plus any additions previously added via this method. * The length parameter is the number of bytes that have been read so far for the read operation. - * + * * Note that this method may be called multiple times for a single read if you return positive numbers. -**/ + **/ - (NSTimeInterval)onSocket:(AsyncSocket *)sock shouldTimeoutReadWithTag:(long)tag elapsed:(NSTimeInterval)elapsed @@ -135,12 +135,12 @@ typedef enum AsyncSocketError AsyncSocketError; * This method allows you to optionally extend the timeout. * If you return a positive time interval (> 0) the write's timeout will be extended by the given amount. * If you don't implement this method, or return a non-positive time interval (<= 0) the write will timeout as usual. - * + * * The elapsed parameter is the sum of the original timeout, plus any additions previously added via this method. * The length parameter is the number of bytes that have been written so far for the write operation. - * + * * Note that this method may be called multiple times for a single write if you return positive numbers. -**/ + **/ - (NSTimeInterval)onSocket:(AsyncSocket *)sock shouldTimeoutWriteWithTag:(long)tag elapsed:(NSTimeInterval)elapsed @@ -149,10 +149,10 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Called after the socket has successfully completed SSL/TLS negotiation. * This method is not called unless you use the provided startTLS method. - * + * * If a SSL/TLS negotiation fails (invalid certificate, etc) then the socket will immediately close, * and the onSocket:willDisconnectWithError: delegate method will be called with the specific SSL error code. -**/ + **/ - (void)onSocketDidSecure:(AsyncSocket *)sock; @end @@ -204,7 +204,7 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Use "canSafelySetDelegate" to see if there is any pending business (reads and writes) with the current delegate * before changing it. It is, of course, safe to change the delegate before connecting or accepting connections. -**/ + **/ - (id)delegate; - (BOOL)canSafelySetDelegate; - (void)setDelegate:(id)delegate; @@ -244,7 +244,7 @@ typedef enum AsyncSocketError AsyncSocketError; * Tells the socket to begin listening and accepting connections on the given port. * When a connection comes in, the AsyncSocket instance will call the various delegate methods (see above). * The socket will listen on all available interfaces (e.g. wifi, ethernet, etc) -**/ + **/ - (BOOL)acceptOnPort:(UInt16)port error:(NSError **)errPtr; /** @@ -254,9 +254,9 @@ typedef enum AsyncSocketError AsyncSocketError; * to specify that the socket should only accept connections over ethernet, and not other interfaces such as wifi. * You may also use the special strings "localhost" or "loopback" to specify that * the socket only accept connections from the local machine. - * + * * To accept connections on any interface pass nil, or simply use the acceptOnPort:error: method. -**/ + **/ - (BOOL)acceptOnInterface:(NSString *)interface port:(UInt16)port error:(NSError **)errPtr; /** @@ -264,25 +264,25 @@ typedef enum AsyncSocketError AsyncSocketError; * of specifying whether or not the listening socket will autoaccept incoming connections. If 'YES', * then the onSocket:didAcceptNewSocket: callback is called; otherwise, onSocketHasConnectionToAccept: * is called. -**/ + **/ - (BOOL)acceptOnInterface:(NSString *)interface port:(UInt16)port autoaccept:(BOOL)autoaccept error:(NSError **)errPtr; /** * This method is used to create a new async socket from an accepted socket, and fires the onSocket:didAcceptNewSocket: delegate callback. * Returns the new async socket, or nil if the accept failed. -**/ + **/ - (AsyncSocket *)doAcceptFromSocket:(CFSocketRef)parentSocket withNewNativeSocket:(CFSocketNativeHandle)newNativeSocket; /** * Connects to the given host and port. * The host may be a domain name (e.g. "deusty.com") or an IP address string (e.g. "192.168.0.2") -**/ + **/ - (BOOL)connectToHost:(NSString *)hostname onPort:(UInt16)port error:(NSError **)errPtr; /** * This method is the same as connectToHost:onPort:error: with an additional timeout option. * To not time out use a negative time interval, or simply use the connectToHost:onPort:error: method. -**/ + **/ - (BOOL)connectToHost:(NSString *)hostname onPort:(UInt16)port withTimeout:(NSTimeInterval)timeout @@ -291,17 +291,17 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Connects to the given address, specified as a sockaddr structure wrapped in a NSData object. * For example, a NSData object returned from NSNetservice's addresses method. - * + * * If you have an existing struct sockaddr you can convert it to a NSData object like so: * struct sockaddr sa -> NSData *dsa = [NSData dataWithBytes:&remoteAddr length:remoteAddr.sa_len]; * struct sockaddr *sa -> NSData *dsa = [NSData dataWithBytes:remoteAddr length:remoteAddr->sa_len]; -**/ + **/ - (BOOL)connectToAddress:(NSData *)remoteAddr error:(NSError **)errPtr; /** * This method is the same as connectToAddress:error: with an additional timeout option. * To not time out use a negative time interval, or simply use the connectToAddress:error: method. -**/ + **/ - (BOOL)connectToAddress:(NSData *)remoteAddr withTimeout:(NSTimeInterval)timeout error:(NSError **)errPtr; - (BOOL)connectToAddress:(NSData *)remoteAddr @@ -313,32 +313,32 @@ typedef enum AsyncSocketError AsyncSocketError; * Disconnects immediately. Any pending reads or writes are dropped. * If the socket is not already disconnected, the onSocketDidDisconnect delegate method * will be called immediately, before this method returns. - * + * * Please note the recommended way of releasing an AsyncSocket instance (e.g. in a dealloc method) * [asyncSocket setDelegate:nil]; * [asyncSocket disconnect]; * [asyncSocket release]; -**/ + **/ - (void)disconnect; /** * Disconnects after all pending reads have completed. * After calling this, the read and write methods will do nothing. * The socket will disconnect even if there are still pending writes. -**/ + **/ - (void)disconnectAfterReading; /** * Disconnects after all pending writes have completed. * After calling this, the read and write methods will do nothing. * The socket will disconnect even if there are still pending reads. -**/ + **/ - (void)disconnectAfterWriting; /** * Disconnects after all pending reads and writes have completed. * After calling this, the read and write methods will do nothing. -**/ + **/ - (void)disconnectAfterReadingAndWriting; /* Returns YES if the socket and streams are open, connected, and ready for reading and writing. */ @@ -347,7 +347,7 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Returns the local or remote host and port to which this socket is connected, or nil and 0 if not connected. * The host will be an IP address. -**/ + **/ - (NSString *)connectedHost; - (UInt16)connectedPort; @@ -357,16 +357,16 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Returns the local or remote address to which this socket is connected, * specified as a sockaddr structure wrapped in a NSData object. - * + * * See also the connectedHost, connectedPort, localHost and localPort methods. -**/ + **/ - (NSData *)connectedAddress; - (NSData *)localAddress; /** * Returns whether the socket is IPv4 or IPv6. * An accepting socket may be both. -**/ + **/ - (BOOL)isIPv4; - (BOOL)isIPv6; @@ -385,26 +385,26 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Reads the first available bytes that become available on the socket. - * + * * If the timeout value is negative, the read operation will not use a timeout. -**/ + **/ - (void)readDataWithTimeout:(NSTimeInterval)timeout tag:(long)tag; /** * Reads the first available bytes that become available on the socket. * The bytes will be appended to the given byte buffer starting at the given offset. * The given buffer will automatically be increased in size if needed. - * + * * If the timeout value is negative, the read operation will not use a timeout. * If the buffer if nil, the socket will create a buffer for you. - * + * * If the bufferOffset is greater than the length of the given buffer, * the method will do nothing, and the delegate will not be called. - * + * * If you pass a buffer, you must not alter it in any way while AsyncSocket is using it. * After completion, the data returned in onSocket:didReadData:withTag: will be a subset of the given buffer. * That is, it will reference the bytes that were appended to the given buffer. -**/ + **/ - (void)readDataWithTimeout:(NSTimeInterval)timeout buffer:(NSMutableData *)buffer bufferOffset:(NSUInteger)offset @@ -415,18 +415,18 @@ typedef enum AsyncSocketError AsyncSocketError; * The bytes will be appended to the given byte buffer starting at the given offset. * The given buffer will automatically be increased in size if needed. * A maximum of length bytes will be read. - * + * * If the timeout value is negative, the read operation will not use a timeout. * If the buffer if nil, a buffer will automatically be created for you. * If maxLength is zero, no length restriction is enforced. - * + * * If the bufferOffset is greater than the length of the given buffer, * the method will do nothing, and the delegate will not be called. - * + * * If you pass a buffer, you must not alter it in any way while AsyncSocket is using it. * After completion, the data returned in onSocket:didReadData:withTag: will be a subset of the given buffer. * That is, it will reference the bytes that were appended to the given buffer. -**/ + **/ - (void)readDataWithTimeout:(NSTimeInterval)timeout buffer:(NSMutableData *)buffer bufferOffset:(NSUInteger)offset @@ -435,29 +435,29 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Reads the given number of bytes. - * + * * If the timeout value is negative, the read operation will not use a timeout. - * + * * If the length is 0, this method does nothing and the delegate is not called. -**/ + **/ - (void)readDataToLength:(NSUInteger)length withTimeout:(NSTimeInterval)timeout tag:(long)tag; /** * Reads the given number of bytes. * The bytes will be appended to the given byte buffer starting at the given offset. * The given buffer will automatically be increased in size if needed. - * + * * If the timeout value is negative, the read operation will not use a timeout. * If the buffer if nil, a buffer will automatically be created for you. - * + * * If the length is 0, this method does nothing and the delegate is not called. * If the bufferOffset is greater than the length of the given buffer, * the method will do nothing, and the delegate will not be called. - * + * * If you pass a buffer, you must not alter it in any way while AsyncSocket is using it. * After completion, the data returned in onSocket:didReadData:withTag: will be a subset of the given buffer. * That is, it will reference the bytes that were appended to the given buffer. -**/ + **/ - (void)readDataToLength:(NSUInteger)length withTimeout:(NSTimeInterval)timeout buffer:(NSMutableData *)buffer @@ -466,37 +466,37 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Reads bytes until (and including) the passed "data" parameter, which acts as a separator. - * + * * If the timeout value is negative, the read operation will not use a timeout. - * + * * If you pass nil or zero-length data as the "data" parameter, * the method will do nothing, and the delegate will not be called. - * + * * To read a line from the socket, use the line separator (e.g. CRLF for HTTP, see below) as the "data" parameter. * Note that this method is not character-set aware, so if a separator can occur naturally as part of the encoding for * a character, the read will prematurely end. -**/ + **/ - (void)readDataToData:(NSData *)data withTimeout:(NSTimeInterval)timeout tag:(long)tag; /** * Reads bytes until (and including) the passed "data" parameter, which acts as a separator. * The bytes will be appended to the given byte buffer starting at the given offset. * The given buffer will automatically be increased in size if needed. - * + * * If the timeout value is negative, the read operation will not use a timeout. * If the buffer if nil, a buffer will automatically be created for you. - * + * * If the bufferOffset is greater than the length of the given buffer, * the method will do nothing, and the delegate will not be called. - * + * * If you pass a buffer, you must not alter it in any way while AsyncSocket is using it. * After completion, the data returned in onSocket:didReadData:withTag: will be a subset of the given buffer. * That is, it will reference the bytes that were appended to the given buffer. - * + * * To read a line from the socket, use the line separator (e.g. CRLF for HTTP, see below) as the "data" parameter. * Note that this method is not character-set aware, so if a separator can occur naturally as part of the encoding for * a character, the read will prematurely end. -**/ + **/ - (void)readDataToData:(NSData *)data withTimeout:(NSTimeInterval)timeout buffer:(NSMutableData *)buffer @@ -505,23 +505,23 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Reads bytes until (and including) the passed "data" parameter, which acts as a separator. - * + * * If the timeout value is negative, the read operation will not use a timeout. - * + * * If maxLength is zero, no length restriction is enforced. * Otherwise if maxLength bytes are read without completing the read, * it is treated similarly to a timeout - the socket is closed with a AsyncSocketReadMaxedOutError. * The read will complete successfully if exactly maxLength bytes are read and the given data is found at the end. - * + * * If you pass nil or zero-length data as the "data" parameter, * the method will do nothing, and the delegate will not be called. * If you pass a maxLength parameter that is less than the length of the data parameter, * the method will do nothing, and the delegate will not be called. - * + * * To read a line from the socket, use the line separator (e.g. CRLF for HTTP, see below) as the "data" parameter. * Note that this method is not character-set aware, so if a separator can occur naturally as part of the encoding for * a character, the read will prematurely end. -**/ + **/ - (void)readDataToData:(NSData *)data withTimeout:(NSTimeInterval)timeout maxLength:(NSUInteger)length tag:(long)tag; /** @@ -529,28 +529,28 @@ typedef enum AsyncSocketError AsyncSocketError; * The bytes will be appended to the given byte buffer starting at the given offset. * The given buffer will automatically be increased in size if needed. * A maximum of length bytes will be read. - * + * * If the timeout value is negative, the read operation will not use a timeout. * If the buffer if nil, a buffer will automatically be created for you. - * + * * If maxLength is zero, no length restriction is enforced. * Otherwise if maxLength bytes are read without completing the read, * it is treated similarly to a timeout - the socket is closed with a AsyncSocketReadMaxedOutError. * The read will complete successfully if exactly maxLength bytes are read and the given data is found at the end. - * + * * If you pass a maxLength parameter that is less than the length of the data parameter, * the method will do nothing, and the delegate will not be called. * If the bufferOffset is greater than the length of the given buffer, * the method will do nothing, and the delegate will not be called. - * + * * If you pass a buffer, you must not alter it in any way while AsyncSocket is using it. * After completion, the data returned in onSocket:didReadData:withTag: will be a subset of the given buffer. * That is, it will reference the bytes that were appended to the given buffer. - * + * * To read a line from the socket, use the line separator (e.g. CRLF for HTTP, see below) as the "data" parameter. * Note that this method is not character-set aware, so if a separator can occur naturally as part of the encoding for * a character, the read will prematurely end. -**/ + **/ - (void)readDataToData:(NSData *)data withTimeout:(NSTimeInterval)timeout buffer:(NSMutableData *)buffer @@ -560,27 +560,27 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Writes data to the socket, and calls the delegate when finished. - * + * * If you pass in nil or zero-length data, this method does nothing and the delegate will not be called. * If the timeout value is negative, the write operation will not use a timeout. -**/ + **/ - (void)writeData:(NSData *)data withTimeout:(NSTimeInterval)timeout tag:(long)tag; /** * Returns progress of current read or write, from 0.0 to 1.0, or NaN if no read/write (use isnan() to check). * "tag", "done" and "total" will be filled in if they aren't NULL. -**/ + **/ - (float)progressOfReadReturningTag:(long *)tag bytesDone:(NSUInteger *)done total:(NSUInteger *)total; - (float)progressOfWriteReturningTag:(long *)tag bytesDone:(NSUInteger *)done total:(NSUInteger *)total; /** * Secures the connection using SSL/TLS. - * + * * This method may be called at any time, and the TLS handshake will occur after all pending reads and writes * are finished. This allows one the option of sending a protocol dependent StartTLS message, and queuing * the upgrade to TLS at the same time, without having to wait for the write to finish. * Any reads or writes scheduled after this method is called will occur over the secured connection. - * + * * The possible keys and values for the TLS settings are well documented. * Some possible keys are: * - kCFStreamSSLLevel @@ -591,11 +591,11 @@ typedef enum AsyncSocketError AsyncSocketError; * - kCFStreamSSLPeerName * - kCFStreamSSLCertificates * - kCFStreamSSLIsServer - * + * * Please refer to Apple's documentation for associated values, as well as other possible keys. - * + * * If you pass in nil or an empty dictionary, the default settings will be used. - * + * * The default settings will check to make sure the remote party's certificate is signed by a * trusted 3rd party certificate agency (e.g. verisign) and that the certificate is not expired. * However it will not verify the name on the certificate unless you @@ -611,7 +611,7 @@ typedef enum AsyncSocketError AsyncSocketError; * if it will be "domain.com" or "www.domain.com"), then you can use the default settings to validate the * certificate, and then use the X509Certificate class to verify the issuer after the socket has been secured. * The X509Certificate class is part of the CocoaAsyncSocket open source project. -**/ + **/ - (void)startTLS:(NSDictionary *)tlsSettings; /** @@ -620,43 +620,43 @@ typedef enum AsyncSocketError AsyncSocketError; * store any overflow in a small internal buffer. * This is termed pre-buffering, as some data may be read for you before you ask for it. * If you use readDataToData a lot, enabling pre-buffering will result in better performance, especially on the iPhone. - * + * * The default pre-buffering state is controlled by the DEFAULT_PREBUFFERING definition. * It is highly recommended one leave this set to YES. - * + * * This method exists in case pre-buffering needs to be disabled by default for some unforeseen reason. * In that case, this method exists to allow one to easily enable pre-buffering when ready. -**/ + **/ - (void)enablePreBuffering; /** * When you create an AsyncSocket, it is added to the runloop of the current thread. * So for manually created sockets, it is easiest to simply create the socket on the thread you intend to use it. - * + * * If a new socket is accepted, the delegate method onSocket:wantsRunLoopForNewSocket: is called to * allow you to place the socket on a separate thread. This works best in conjunction with a thread pool design. - * + * * If, however, you need to move the socket to a separate thread at a later time, this * method may be used to accomplish the task. - * + * * This method must be called from the thread/runloop the socket is currently running on. - * + * * Note: After calling this method, all further method calls to this object should be done from the given runloop. * Also, all delegate calls will be sent on the given runloop. -**/ + **/ - (BOOL)moveToRunLoop:(NSRunLoop *)runLoop; /** * Allows you to configure which run loop modes the socket uses. * The default set of run loop modes is NSDefaultRunLoopMode. - * + * * If you'd like your socket to continue operation during other modes, you may want to add modes such as * NSModalPanelRunLoopMode or NSEventTrackingRunLoopMode. Or you may simply want to use NSRunLoopCommonModes. - * + * * Accepted sockets will automatically inherit the same run loop modes as the listening socket. - * + * * Note: NSRunLoopCommonModes is defined in 10.5. For previous versions one can use kCFRunLoopCommonModes. -**/ + **/ - (BOOL)setRunLoopModes:(NSArray *)runLoopModes; - (BOOL)addRunLoopMode:(NSString *)runLoopMode; - (BOOL)removeRunLoopMode:(NSString *)runLoopMode; @@ -664,7 +664,7 @@ typedef enum AsyncSocketError AsyncSocketError; /** * Returns the current run loop modes the AsyncSocket instance is operating in. * The default set of run loop modes is NSDefaultRunLoopMode. -**/ + **/ - (NSArray *)runLoopModes; /** @@ -676,7 +676,7 @@ typedef enum AsyncSocketError AsyncSocketError; /** * In the event of an error, this method may be called during onSocket:willDisconnectWithError: to read * any data that's left on the socket. -**/ + **/ - (NSData *)unreadData; /* A few common line separators, for use with the readDataToData:... methods. */ diff --git a/iphone/Classes/AsyncSocket.m b/iphone/Classes/AsyncSocket.m index 5ce3fdf6df8..b570bb56df3 100644 --- a/iphone/Classes/AsyncSocket.m +++ b/iphone/Classes/AsyncSocket.m @@ -178,7 +178,7 @@ - (void)doCFWriteStreamCallback:(CFStreamEventType)type forStream:(CFWriteStream * - reading to a certain length * - reading to a certain separator * - or simply reading the first chunk of available data -**/ + **/ @interface AsyncReadPacket : NSObject { @public NSMutableData *buffer; @@ -248,7 +248,7 @@ - (id)initWithData:(NSMutableData *)d /** * For read packets without a set terminator, returns the safe length of data that can be read * without exceeding the maxLength, or forcing a resize of the buffer if at all possible. -**/ + **/ - (NSUInteger)readLengthForNonTerm { NSAssert(term == nil, @"This method does not apply to term reads"); @@ -291,9 +291,9 @@ - (NSUInteger)readLengthForNonTerm /** * For read packets with a set terminator, returns the safe length of data that can be read * without going over a terminator, or the maxLength, or forcing a resize of the buffer if at all possible. - * + * * It is assumed the terminator has not already been read. -**/ + **/ - (NSUInteger)readLengthForTerm { NSAssert(term != nil, @"This method does not apply to non-term reads"); @@ -366,9 +366,9 @@ - (NSUInteger)readLengthForTerm * For read packets with a set terminator, * returns the safe length of data that can be read from the given preBuffer, * without going over a terminator or the maxLength. - * + * * It is assumed the terminator has not already been read. -**/ + **/ - (NSUInteger)readLengthForTermWithPreBuffer:(NSData *)preBuffer found:(BOOL *)foundPtr { NSAssert(term != nil, @"This method does not apply to non-term reads"); @@ -483,7 +483,7 @@ - (NSUInteger)readLengthForTermWithPreBuffer:(NSData *)preBuffer found:(BOOL *)f /** * Assuming pre-buffering is enabled, returns the amount of data that can be read * without going over the maxLength. -**/ + **/ - (NSUInteger)prebufferReadLengthForTerm { NSAssert(term != nil, @"This method does not apply to non-term reads"); @@ -515,12 +515,12 @@ - (NSUInteger)prebufferReadLengthForTerm /** * For read packets with a set terminator, scans the packet buffer for the term. * It is assumed the terminator had not been fully read prior to the new bytes. - * + * * If the term is found, the number of excess bytes after the term are returned. * If the term is not found, this method will return -1. - * + * * Note: A return value of zero means the term was found at the very end. -**/ + **/ - (NSInteger)searchForTermAfterPreBuffering:(NSUInteger)numBytes { NSAssert(term != nil, @"This method does not apply to non-term reads"); @@ -570,7 +570,7 @@ - (void)dealloc /** * The AsyncWritePacket encompasses the instructions for any given write. -**/ + **/ @interface AsyncWritePacket : NSObject { @public NSData *buffer; @@ -609,7 +609,7 @@ - (void)dealloc /** * The AsyncSpecialPacket encompasses special instructions for interruptions in the read/write queues. * This class my be altered to support more than just TLS in the future. -**/ + **/ @interface AsyncSpecialPacket : NSObject { @public NSDictionary *tlsSettings; @@ -965,7 +965,7 @@ - (void)runLoopUnscheduleWriteStream /** * See the header file for a full explanation of pre-buffering. -**/ + **/ - (void)enablePreBuffering { #if DEBUG_THREAD_SAFETY @@ -977,7 +977,7 @@ - (void)enablePreBuffering /** * See the header file for a full explanation of this method. -**/ + **/ - (BOOL)moveToRunLoop:(NSRunLoop *)runLoop { NSAssert((theRunLoop == NULL) || (theRunLoop == CFRunLoopGetCurrent()), @@ -1045,7 +1045,7 @@ - (BOOL)moveToRunLoop:(NSRunLoop *)runLoop /** * See the header file for a full explanation of this method. -**/ + **/ - (BOOL)setRunLoopModes:(NSArray *)runLoopModes { NSAssert((theRunLoop == NULL) || (theRunLoop == CFRunLoopGetCurrent()), @@ -1228,7 +1228,7 @@ - (BOOL)acceptOnPort:(UInt16)port error:(NSError **)errPtr * To accept on a certain interface, pass the address to accept on. * To accept on any interface, pass nil or an empty string. * To accept only connections from localhost pass "localhost" or "loopback". -**/ + **/ - (BOOL)acceptOnInterface:(NSString *)interface port:(UInt16)port error:(NSError **)errPtr { return [self acceptOnInterface:interface port:port autoaccept:YES error:errPtr]; @@ -1237,7 +1237,7 @@ - (BOOL)acceptOnInterface:(NSString *)interface port:(UInt16)port error:(NSError /** * To automatically accept incoming connections, set autoaccept to YES (default) * To manually accept connections via BSD accept() and the onSocketHasConnectionToAccept, set autoaccept to NO -**/ + **/ - (BOOL)acceptOnInterface:(NSString *)interface port:(UInt16)port autoaccept:(BOOL)autoaccept error:(NSError **)errPtr { if (theDelegate == NULL) { @@ -1374,7 +1374,7 @@ - (BOOL)acceptOnInterface:(NSString *)interface port:(UInt16)port autoaccept:(BO if (err != kCFSocketSuccess) goto Failed; - //NSLog(@"theSocket4: %hu", [self localPortFromCFSocket4:theSocket4]); + // NSLog(@"theSocket4: %hu", [self localPortFromCFSocket4:theSocket4]); } if (port == 0 && theSocket4 && theSocket6) { @@ -1393,7 +1393,7 @@ - (BOOL)acceptOnInterface:(NSString *)interface port:(UInt16)port autoaccept:(BO if (err != kCFSocketSuccess) goto Failed; - //NSLog(@"theSocket6: %hu", [self localPortFromCFSocket6:theSocket6]); + // NSLog(@"theSocket6: %hu", [self localPortFromCFSocket6:theSocket6]); } theFlags |= kDidStartDelegate; @@ -1430,7 +1430,7 @@ - (BOOL)connectToHost:(NSString *)hostname onPort:(UInt16)port error:(NSError ** * * Thus the delegate will have access to the CFReadStream and CFWriteStream prior to connection, * specifically in the onSocketWillConnect: method. -**/ + **/ - (BOOL)connectToHost:(NSString *)hostname onPort:(UInt16)port withTimeout:(NSTimeInterval)timeout @@ -1480,13 +1480,13 @@ - (BOOL)connectToAddress:(NSData *)remoteAddr error:(NSError **)errPtr * * Thus the delegate will have access to the CFSocket and CFSocketNativeHandle (BSD socket) prior to connection, * specifically in the onSocketWillConnect: method. - * + * * Note: The NSData parameter is expected to be a sockaddr structure. For example, an NSData object returned from * NSNetservice addresses method. * If you have an existing struct sockaddr you can convert it to an NSData object like so: * struct sockaddr sa -> NSData *dsa = [NSData dataWithBytes:&remoteAddr length:remoteAddr.sa_len]; * struct sockaddr *sa -> NSData *dsa = [NSData dataWithBytes:remoteAddr length:remoteAddr->sa_len]; -**/ + **/ - (BOOL)connectToAddress:(NSData *)remoteAddr withTimeout:(NSTimeInterval)timeout error:(NSError **)errPtr { return [self connectToAddress:remoteAddr viaInterfaceAddress:nil withTimeout:timeout error:errPtr]; @@ -1495,7 +1495,7 @@ - (BOOL)connectToAddress:(NSData *)remoteAddr withTimeout:(NSTimeInterval)timeou /** * This method is similar to the one above, but allows you to specify which socket interface * the connection should run over. E.g. ethernet, wifi, bluetooth, etc. -**/ + **/ - (BOOL)connectToAddress:(NSData *)remoteAddr viaInterfaceAddress:(NSData *)interfaceAddr withTimeout:(NSTimeInterval)timeout @@ -1569,7 +1569,7 @@ - (void)doConnectTimeout:(NSTimer *)timer * Creates the accept sockets. * Returns true if either IPv4 or IPv6 is created. * If either is missing, an error is returned (even though the method may return true). -**/ + **/ - (CFSocketRef)newAcceptSocketForAddress:(NSData *)addr autoaccept:(BOOL)autoaccept error:(NSError **)errPtr { struct sockaddr *pSockAddr = (struct sockaddr *)[addr bytes]; @@ -1673,7 +1673,7 @@ - (BOOL)bindSocketToAddress:(NSData *)interfaceAddr error:(NSError **)errPtr /** * Adds the CFSocket's to the run-loop so that callbacks will work properly. -**/ + **/ - (BOOL)attachSocketsToRunLoop:(NSRunLoop *)runLoop error:(NSError **)errPtr { #pragma unused(errPtr) @@ -1697,7 +1697,7 @@ - (BOOL)attachSocketsToRunLoop:(NSRunLoop *)runLoop error:(NSError **)errPtr /** * Allows the delegate method to configure the CFSocket or CFNativeSocket as desired before we connect. * Note that the CFReadStream and CFWriteStream will not be available until after the connection is opened. -**/ + **/ - (BOOL)configureSocketAndReturnError:(NSError **)errPtr { // Call the delegate method for further configuration. @@ -1737,7 +1737,7 @@ - (BOOL)connectSocketToAddress:(NSData *)remoteAddr error:(NSError **)errPtr /** * Attempt to make the new socket. * If an error occurs, ignore this event. -**/ + **/ - (AsyncSocket *)doAcceptFromSocket:(CFSocketRef)parentSocket withNewNativeSocket:(CFSocketNativeHandle)newNativeSocket { if (newNativeSocket) { @@ -1786,7 +1786,7 @@ - (AsyncSocket *)doAcceptFromSocket:(CFSocketRef)parentSocket withNewNativeSocke /** * This method is called as a result of connectToAddress:withTimeout:error:. * At this point we have an open CFSocket from which we need to create our read and write stream. -**/ + **/ - (void)doSocketOpen:(CFSocketRef)sock withCFSocketError:(CFSocketError)socketError { NSParameterAssert((sock == theSocket4) || (sock == theSocket6)); @@ -1854,9 +1854,9 @@ - (void)doSocketOpen:(CFSocketRef)sock withCFSocketError:(CFSocketError)socketEr /** * Creates the CFReadStream and CFWriteStream from the given native socket. * The CFSocket may be extracted from either stream after the streams have been opened. - * + * * Note: The given native socket must already be connected! -**/ + **/ - (BOOL)createStreamsFromNative:(CFSocketNativeHandle)native error:(NSError **)errPtr { // Create the socket & streams. @@ -1881,7 +1881,7 @@ - (BOOL)createStreamsFromNative:(CFSocketNativeHandle)native error:(NSError **)e /** * Creates the CFReadStream and CFWriteStream from the given hostname and port number. * The CFSocket may be extracted from either stream after the streams have been opened. -**/ + **/ - (BOOL)createStreamsToHost:(NSString *)hostname onPort:(UInt16)port error:(NSError **)errPtr { // Create the socket & streams. @@ -1952,10 +1952,10 @@ - (BOOL)attachStreamsToRunLoop:(NSRunLoop *)runLoop error:(NSError **)errPtr /** * Allows the delegate method to configure the CFReadStream and/or CFWriteStream as desired before we connect. - * + * * If being called from a connect method, * the CFSocket and CFNativeSocket will not be available until after the connection is opened. -**/ + **/ - (BOOL)configureStreamsAndReturnError:(NSError **)errPtr { // Call the delegate method for further configuration. @@ -1994,7 +1994,7 @@ - (BOOL)openStreamsAndReturnError:(NSError **)errPtr /** * Called when read or write streams open. * When the socket is connected and both streams are open, consider the AsyncSocket instance to be ready. -**/ + **/ - (void)doStreamOpen { if ((theFlags & kDidCompleteOpenForRead) && (theFlags & kDidCompleteOpenForWrite)) { @@ -2149,7 +2149,7 @@ - (void)emptyQueues /** * Disconnects. This is called for both error and clean disconnections. -**/ + **/ - (void)close { // Empty queues @@ -2227,7 +2227,7 @@ - (void)close /** * Disconnects immediately. Any pending reads or writes are dropped. -**/ + **/ - (void)disconnect { #if DEBUG_THREAD_SAFETY @@ -2239,7 +2239,7 @@ - (void)disconnect /** * Diconnects after all pending reads have completed. -**/ + **/ - (void)disconnectAfterReading { #if DEBUG_THREAD_SAFETY @@ -2253,7 +2253,7 @@ - (void)disconnectAfterReading /** * Disconnects after all pending writes have completed. -**/ + **/ - (void)disconnectAfterWriting { #if DEBUG_THREAD_SAFETY @@ -2267,7 +2267,7 @@ - (void)disconnectAfterWriting /** * Disconnects after all pending reads and writes have completed. -**/ + **/ - (void)disconnectAfterReadingAndWriting { #if DEBUG_THREAD_SAFETY @@ -2283,7 +2283,7 @@ - (void)disconnectAfterReadingAndWriting * Schedules a call to disconnect if possible. * That is, if all writes have completed, and we're set to disconnect after writing, * or if all reads have completed, and we're set to disconnect after reading. -**/ + **/ - (void)maybeScheduleDisconnect { BOOL shouldDisconnect = NO; @@ -2312,7 +2312,7 @@ - (void)maybeScheduleDisconnect /** * In the event of an error, this method may be called during onSocket:willDisconnectWithError: to read * any data that's left on the socket. -**/ + **/ - (NSData *)unreadData { #if DEBUG_THREAD_SAFETY @@ -2364,7 +2364,7 @@ - (NSData *)unreadData /** * Returns a standard error object for the current errno value. * Errno is used for low-level BSD socket errors. -**/ + **/ - (NSError *)getErrnoError { NSString *errorMsg = [NSString stringWithUTF8String:strerror(errno)]; @@ -2376,7 +2376,7 @@ - (NSError *)getErrnoError /** * Returns a standard error message for a CFSocket error. * Unfortunately, CFSocket offers no feedback on its errors. -**/ + **/ - (NSError *)getSocketError { NSString *errMsg = NSLocalizedStringWithDefaultValue(@"AsyncSocketCFSocketError", @@ -2408,7 +2408,7 @@ - (NSError *)getStreamError /** * Returns a standard AsyncSocket abort error. -**/ + **/ - (NSError *)getAbortError { NSString *errMsg = NSLocalizedStringWithDefaultValue(@"AsyncSocketCanceledError", @@ -2422,7 +2422,7 @@ - (NSError *)getAbortError /** * Returns a standard AsyncSocket connect timeout error. -**/ + **/ - (NSError *)getConnectTimeoutError { NSString *errMsg = NSLocalizedStringWithDefaultValue(@"AsyncSocketConnectTimeoutError", @@ -2436,7 +2436,7 @@ - (NSError *)getConnectTimeoutError /** * Returns a standard AsyncSocket maxed out error. -**/ + **/ - (NSError *)getReadMaxedOutError { NSString *errMsg = NSLocalizedStringWithDefaultValue(@"AsyncSocketReadMaxedOutError", @@ -2450,7 +2450,7 @@ - (NSError *)getReadMaxedOutError /** * Returns a standard AsyncSocket read timeout error. -**/ + **/ - (NSError *)getReadTimeoutError { NSString *errMsg = NSLocalizedStringWithDefaultValue(@"AsyncSocketReadTimeoutError", @@ -2464,7 +2464,7 @@ - (NSError *)getReadTimeoutError /** * Returns a standard AsyncSocket write timeout error. -**/ + **/ - (NSError *)getWriteTimeoutError { NSString *errMsg = NSLocalizedStringWithDefaultValue(@"AsyncSocketWriteTimeoutError", @@ -3319,9 +3319,9 @@ - (void)readDataToData:(NSData *)data } /** - * Puts a maybeDequeueRead on the run loop. + * Puts a maybeDequeueRead on the run loop. * An assumption here is that selectors will be performed consecutively within their priority. -**/ + **/ - (void)scheduleDequeueRead { if ((theFlags & kDequeueReadScheduled) == 0) { @@ -3334,7 +3334,7 @@ - (void)scheduleDequeueRead * This method starts a new read, if needed. * It is called when a user requests a read, * or when a stream opens that may have requested reads sitting in the queue, etc. -**/ + **/ - (void)maybeDequeueRead { // Unset the flag indicating a call to this method is scheduled @@ -3382,7 +3382,7 @@ - (void)maybeDequeueRead /** * Call this method in doBytesAvailable instead of CFReadStreamHasBytesAvailable(). * This method supports pre-buffering properly as well as the kSocketHasBytesAvailable flag. -**/ + **/ - (BOOL)hasBytesAvailable { if ((theFlags & kSocketHasBytesAvailable) || ([partialReadBuffer length] > 0)) { @@ -3395,7 +3395,7 @@ - (BOOL)hasBytesAvailable /** * Call this method in doBytesAvailable instead of CFReadStreamRead(). * This method support pre-buffering properly. -**/ + **/ - (CFIndex)readIntoBuffer:(void *)buffer maxLength:(NSUInteger)length { if ([partialReadBuffer length] > 0) { @@ -3419,7 +3419,7 @@ - (CFIndex)readIntoBuffer:(void *)buffer maxLength:(NSUInteger)length /** * This method is called when a new read is taken from the read queue or when new data becomes available on the stream. -**/ + **/ - (void)doBytesAvailable { // If data is available on the stream, but there is no read request, then we don't need to process the data yet. @@ -3719,13 +3719,13 @@ - (void)scheduleDequeueWrite /** * Conditionally starts a new write. - * + * * IF there is not another write in process * AND there is a write queued * AND we have a write stream available - * + * * This method also handles auto-disconnect post read/write completion. -**/ + **/ - (void)maybeDequeueWrite { // Unset the flag indicating a call to this method is scheduled @@ -3773,7 +3773,7 @@ - (void)maybeDequeueWrite /** * Call this method in doSendBytes instead of CFWriteStreamCanAcceptBytes(). * This method supports the kSocketCanAcceptBytes flag. -**/ + **/ - (BOOL)canAcceptBytes { if (theFlags & kSocketCanAcceptBytes) { @@ -4064,7 +4064,7 @@ - (void)doCFWriteStreamCallback:(CFStreamEventType)type forStream:(CFWriteStream /** * This is the callback we setup for CFSocket. * This method does nothing but forward the call to it's Objective-C counterpart -**/ + **/ static void MyCFSocketCallback(CFSocketRef sref, CFSocketCallBackType type, CFDataRef address, const void *pData, void *pInfo) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; @@ -4078,7 +4078,7 @@ static void MyCFSocketCallback(CFSocketRef sref, CFSocketCallBackType type, CFDa /** * This is the callback we setup for CFReadStream. * This method does nothing but forward the call to it's Objective-C counterpart -**/ + **/ static void MyCFReadStreamCallback(CFReadStreamRef stream, CFStreamEventType type, void *pInfo) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; @@ -4092,7 +4092,7 @@ static void MyCFReadStreamCallback(CFReadStreamRef stream, CFStreamEventType typ /** * This is the callback we setup for CFWriteStream. * This method does nothing but forward the call to it's Objective-C counterpart -**/ + **/ static void MyCFWriteStreamCallback(CFWriteStreamRef stream, CFStreamEventType type, void *pInfo) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; diff --git a/iphone/Classes/AsyncUdpSocket.h b/iphone/Classes/AsyncUdpSocket.h index 91f74aaa01f..17937477ac9 100644 --- a/iphone/Classes/AsyncUdpSocket.h +++ b/iphone/Classes/AsyncUdpSocket.h @@ -61,7 +61,7 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; /** * Creates new instances of AsyncUdpSocket. -**/ + **/ - (id)init; - (id)initWithDelegate:(id)delegate; - (id)initWithDelegate:(id)delegate userData:(long)userData; @@ -70,7 +70,7 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; * Creates new instances of AsyncUdpSocket that support only IPv4 or IPv6. * The other init methods will support both, unless specifically binded or connected to one protocol. * If you know you'll only be using one protocol, these init methods may be a bit more efficient. -**/ + **/ - (id)initIPv4; - (id)initIPv6; @@ -82,19 +82,19 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; /** * Returns the local address info for the socket. - * + * * Note: Address info may not be available until after the socket has been bind'ed, * or until after data has been sent. -**/ + **/ - (NSString *)localHost; - (UInt16)localPort; /** * Returns the remote address info for the socket. - * + * * Note: Since UDP is connectionless by design, connected address info * will not be available unless the socket is explicitly connected to a remote host/port -**/ + **/ - (NSString *)connectedHost; - (UInt16)connectedPort; @@ -102,40 +102,40 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; * Returns whether or not this socket has been connected to a single host. * By design, UDP is a connectionless protocol, and connecting is not needed. * If connected, the socket will only be able to send/receive data to/from the connected host. -**/ + **/ - (BOOL)isConnected; /** * Returns whether or not this socket has been closed. * The only way a socket can be closed is if you explicitly call one of the close methods. -**/ + **/ - (BOOL)isClosed; /** * Returns whether or not this socket supports IPv4. * By default this will be true, unless the socket is specifically initialized as IPv6 only, * or is binded or connected to an IPv6 address. -**/ + **/ - (BOOL)isIPv4; /** * Returns whether or not this socket supports IPv6. * By default this will be true, unless the socket is specifically initialized as IPv4 only, * or is binded or connected to an IPv4 address. - * + * * This method will also return false on platforms that do not support IPv6. * Note: The iPhone does not currently support IPv6. -**/ + **/ - (BOOL)isIPv6; /** * Returns the mtu of the socket. * If unknown, returns zero. - * + * * Sending data larger than this may result in an error. * This is an advanced topic, and one should understand the wide range of mtu's on networks and the internet. * Therefore this method is only for reference and may be of little use in many situations. -**/ + **/ - (unsigned int)maximumTransmissionUnit; /** @@ -143,35 +143,35 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; * Binding should be done for server sockets that receive data prior to sending it. * Client sockets can skip binding, * as the OS will automatically assign the socket an available port when it starts sending data. - * + * * You cannot bind a socket after its been connected. * You can only bind a socket once. * You can still connect a socket (if desired) after binding. - * + * * On success, returns YES. * Otherwise returns NO, and sets errPtr. If you don't care about the error, you can pass nil for errPtr. -**/ + **/ - (BOOL)bindToPort:(UInt16)port error:(NSError **)errPtr; - (BOOL)bindToAddress:(NSString *)localAddr port:(UInt16)port error:(NSError **)errPtr; /** * Connects the UDP socket to the given host and port. * By design, UDP is a connectionless protocol, and connecting is not needed. - * + * * Choosing to connect to a specific host/port has the following effect: * - You will only be able to send data to the connected host/port. * - You will only be able to receive data from the connected host/port. * - You will receive ICMP messages that come from the connected host/port, such as "connection refused". - * + * * Connecting a UDP socket does not result in any communication on the socket. * It simply changes the internal state of the socket. - * + * * You cannot bind a socket after its been connected. * You can only connect a socket once. - * + * * On success, returns YES. * Otherwise returns NO, and sets errPtr. If you don't care about the error, you can pass nil for errPtr. -**/ + **/ - (BOOL)connectToHost:(NSString *)host onPort:(UInt16)port error:(NSError **)errPtr; - (BOOL)connectToAddress:(NSData *)remoteAddr error:(NSError **)errPtr; @@ -179,63 +179,63 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; * Join multicast group * * Group should be an IP address (eg @"225.228.0.1") -**/ + **/ - (BOOL)joinMulticastGroup:(NSString *)group error:(NSError **)errPtr; - (BOOL)joinMulticastGroup:(NSString *)group withAddress:(NSString *)interface error:(NSError **)errPtr; /** * By default, the underlying socket in the OS will not allow you to send broadcast messages. * In order to send broadcast messages, you need to enable this functionality in the socket. - * + * * A broadcast is a UDP message to addresses like "192.168.255.255" or "255.255.255.255" that is * delivered to every host on the network. * The reason this is generally disabled by default is to prevent * accidental broadcast messages from flooding the network. -**/ + **/ - (BOOL)enableBroadcast:(BOOL)flag error:(NSError **)errPtr; /** * Asynchronously sends the given data, with the given timeout and tag. - * + * * This method may only be used with a connected socket. - * + * * If data is nil or zero-length, this method does nothing and immediately returns NO. * If the socket is not connected, this method does nothing and immediately returns NO. -**/ + **/ - (BOOL)sendData:(NSData *)data withTimeout:(NSTimeInterval)timeout tag:(long)tag; /** * Asynchronously sends the given data, with the given timeout and tag, to the given host and port. - * + * * This method cannot be used with a connected socket. - * + * * If data is nil or zero-length, this method does nothing and immediately returns NO. * If the socket is connected, this method does nothing and immediately returns NO. * If unable to resolve host to a valid IPv4 or IPv6 address, this method returns NO. -**/ + **/ - (BOOL)sendData:(NSData *)data toHost:(NSString *)host port:(UInt16)port withTimeout:(NSTimeInterval)timeout tag:(long)tag; /** * Asynchronously sends the given data, with the given timeout and tag, to the given address. - * + * * This method cannot be used with a connected socket. - * + * * If data is nil or zero-length, this method does nothing and immediately returns NO. * If the socket is connected, this method does nothing and immediately returns NO. -**/ + **/ - (BOOL)sendData:(NSData *)data toAddress:(NSData *)remoteAddr withTimeout:(NSTimeInterval)timeout tag:(long)tag; /** * Asynchronously receives a single datagram packet. - * + * * If the receive succeeds, the onUdpSocket:didReceiveData:fromHost:port:tag delegate method will be called. * Otherwise, a timeout will occur, and the onUdpSocket:didNotReceiveDataWithTag: delegate method will be called. -**/ + **/ - (void)receiveWithTimeout:(NSTimeInterval)timeout tag:(long)tag; /** * Closes the socket immediately. Any pending send or receive operations are dropped. -**/ + **/ - (void)close; /** @@ -243,7 +243,7 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; * After calling this, the sendData: and receive: methods will do nothing. * In other words, you won't be able to add any more send or receive operations to the queue. * The socket will close even if there are still pending receive operations. -**/ + **/ - (void)closeAfterSending; /** @@ -251,62 +251,62 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; * After calling this, the sendData: and receive: methods will do nothing. * In other words, you won't be able to add any more send or receive operations to the queue. * The socket will close even if there are still pending send operations. -**/ + **/ - (void)closeAfterReceiving; /** * Closes after all pending send and receive operations have completed. * After calling this, the sendData: and receive: methods will do nothing. * In other words, you won't be able to add any more send or receive operations to the queue. -**/ + **/ - (void)closeAfterSendingAndReceiving; /** * Gets/Sets the maximum size of the buffer that will be allocated for receive operations. * The default size is 9216 bytes. - * + * * The theoretical maximum size of any IPv4 UDP packet is UINT16_MAX = 65535. * The theoretical maximum size of any IPv6 UDP packet is UINT32_MAX = 4294967295. - * + * * In practice, however, the size of UDP packets will be much smaller. * Indeed most protocols will send and receive packets of only a few bytes, * or will set a limit on the size of packets to prevent fragmentation in the IP layer. - * + * * If you set the buffer size too small, the sockets API in the OS will silently discard * any extra data, and you will not be notified of the error. -**/ + **/ - (UInt32)maxReceiveBufferSize; - (void)setMaxReceiveBufferSize:(UInt32)max; /** * When you create an AsyncUdpSocket, it is added to the runloop of the current thread. * So it is easiest to simply create the socket on the thread you intend to use it. - * + * * If, however, you need to move the socket to a separate thread at a later time, this * method may be used to accomplish the task. - * + * * This method must be called from the thread/runloop the socket is currently running on. - * + * * Note: After calling this method, all further method calls to this object should be done from the given runloop. * Also, all delegate calls will be sent on the given runloop. -**/ + **/ - (BOOL)moveToRunLoop:(NSRunLoop *)runLoop; /** * Allows you to configure which run loop modes the socket uses. * The default set of run loop modes is NSDefaultRunLoopMode. - * + * * If you'd like your socket to continue operation during other modes, you may want to add modes such as * NSModalPanelRunLoopMode or NSEventTrackingRunLoopMode. Or you may simply want to use NSRunLoopCommonModes. - * + * * Note: NSRunLoopCommonModes is defined in 10.5. For previous versions one can use kCFRunLoopCommonModes. -**/ + **/ - (BOOL)setRunLoopModes:(NSArray *)runLoopModes; /** * Returns the current run loop modes the AsyncSocket instance is operating in. * The default set of run loop modes is NSDefaultRunLoopMode. -**/ + **/ - (NSArray *)runLoopModes; @end @@ -320,18 +320,18 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; /** * Called when the datagram with the given tag has been sent. -**/ + **/ - (void)onUdpSocket:(AsyncUdpSocket *)sock didSendDataWithTag:(long)tag; /** * Called if an error occurs while trying to send a datagram. * This could be due to a timeout, or something more serious such as the data being too large to fit in a sigle packet. -**/ + **/ - (void)onUdpSocket:(AsyncUdpSocket *)sock didNotSendDataWithTag:(long)tag dueToError:(NSError *)error; /** * Called when the socket has received the requested datagram. - * + * * Due to the nature of UDP, you may occasionally receive undesired packets. * These may be rogue UDP packets from unknown hosts, * or they may be delayed packets arriving after retransmissions have already occurred. @@ -344,21 +344,21 @@ typedef enum AsyncUdpSocketError AsyncUdpSocketError; * If rogue data arrives after 250 milliseconds, this delegate method would be invoked, and you could simply return NO. * If the expected data then arrives within the next 250 milliseconds, * this delegate method will be invoked, with a tag of 15, just as if the rogue data never appeared. - * + * * Under normal circumstances, you simply return YES from this method. -**/ + **/ - (BOOL)onUdpSocket:(AsyncUdpSocket *)sock didReceiveData:(NSData *)data withTag:(long)tag fromHost:(NSString *)host port:(UInt16)port; /** * Called if an error occurs while trying to receive a requested datagram. * This is generally due to a timeout, but could potentially be something else if some kind of OS error occurred. -**/ + **/ - (void)onUdpSocket:(AsyncUdpSocket *)sock didNotReceiveDataWithTag:(long)tag dueToError:(NSError *)error; /** * Called when the socket is closed. * A socket is only closed if you explicitly call one of the close methods. -**/ + **/ - (void)onUdpSocketDidClose:(AsyncUdpSocket *)sock; @end diff --git a/iphone/Classes/AsyncUdpSocket.m b/iphone/Classes/AsyncUdpSocket.m index 5742a55ded9..d83a36127d1 100644 --- a/iphone/Classes/AsyncUdpSocket.m +++ b/iphone/Classes/AsyncUdpSocket.m @@ -116,7 +116,7 @@ - (void)doReceiveTimeout:(NSTimer *)timer; /** * The AsyncSendPacket encompasses the instructions for a single send/write. -**/ + **/ @interface AsyncSendPacket : NSObject { @public NSData *buffer; @@ -155,7 +155,7 @@ - (void)dealloc /** * The AsyncReceivePacket encompasses the instructions for a single receive/read. -**/ + **/ @interface AsyncReceivePacket : NSObject { @public NSTimeInterval timeout; @@ -395,7 +395,7 @@ - (void)setMaxReceiveBufferSize:(UInt32)max /** * See the header file for a full explanation of this method. -**/ + **/ - (BOOL)moveToRunLoop:(NSRunLoop *)runLoop { NSAssert((theRunLoop == NULL) || (theRunLoop == CFRunLoopGetCurrent()), @@ -452,7 +452,7 @@ - (BOOL)moveToRunLoop:(NSRunLoop *)runLoop /** * See the header file for a full explanation of this method. -**/ + **/ - (BOOL)setRunLoopModes:(NSArray *)runLoopModes { NSAssert((theRunLoop == NULL) || (theRunLoop == CFRunLoopGetCurrent()), @@ -522,7 +522,7 @@ - (NSArray *)runLoopModes * The data structure is of type sockaddr_in for IPv4 and sockaddr_in6 for IPv6. * * Returns zero on success, or one of the error codes listed in gai_strerror if an error occurs (as per getaddrinfo). -**/ + **/ - (int)convertForBindHost:(NSString *)host port:(UInt16)port intoAddress4:(NSData **)address4 @@ -623,7 +623,7 @@ - (int)convertForBindHost:(NSString *)host * The data structure is of type sockaddr_in for IPv4 and sockaddr_in6 for IPv6. * * Returns zero on success, or one of the error codes listed in gai_strerror if an error occurs (as per getaddrinfo). -**/ + **/ - (int)convertForSendHost:(NSString *)host port:(UInt16)port intoAddress4:(NSData **)address4 @@ -736,10 +736,10 @@ - (NSString *)addressHost:(struct sockaddr *)pSockaddr /** * Binds the underlying socket(s) to the given port. * The socket(s) will be able to receive data on any interface. - * + * * On success, returns YES. * Otherwise returns NO, and sets errPtr. If you don't care about the error, you can pass nil for errPtr. -**/ + **/ - (BOOL)bindToPort:(UInt16)port error:(NSError **)errPtr { return [self bindToAddress:nil port:port error:errPtr]; @@ -748,13 +748,13 @@ - (BOOL)bindToPort:(UInt16)port error:(NSError **)errPtr /** * Binds the underlying socket(s) to the given address and port. * The sockets(s) will be able to receive data only on the given interface. - * + * * To receive data on any interface, pass nil or "". * To receive data only on the loopback interface, pass "localhost" or "loopback". - * + * * On success, returns YES. * Otherwise returns NO, and sets errPtr. If you don't care about the error, you can pass nil for errPtr. -**/ + **/ - (BOOL)bindToAddress:(NSString *)host port:(UInt16)port error:(NSError **)errPtr { if (theFlags & kDidClose) { @@ -846,10 +846,10 @@ - (BOOL)bindToAddress:(NSString *)host port:(UInt16)port error:(NSError **)errPt * Connects the underlying UDP socket to the given host and port. * If an IPv4 address is resolved, the IPv4 socket is connected, and the IPv6 socket is invalidated and released. * If an IPv6 address is resolved, the IPv6 socket is connected, and the IPv4 socket is invalidated and released. - * + * * On success, returns YES. * Otherwise returns NO, and sets errPtr. If you don't care about the error, you can pass nil for errPtr. -**/ + **/ - (BOOL)connectToHost:(NSString *)host onPort:(UInt16)port error:(NSError **)errPtr { if (theFlags & kDidClose) { @@ -934,13 +934,13 @@ - (BOOL)connectToHost:(NSString *)host onPort:(UInt16)port error:(NSError **)err * Connects the underlying UDP socket to the remote address. * If the address is an IPv4 address, the IPv4 socket is connected, and the IPv6 socket is invalidated and released. * If the address is an IPv6 address, the IPv6 socket is connected, and the IPv4 socket is invalidated and released. - * + * * The address is a native address structure, as may be returned from API's such as Bonjour. * An address may be created manually by simply wrapping a sockaddr_in or sockaddr_in6 in an NSData object. - * + * * On success, returns YES. * Otherwise returns NO, and sets errPtr. If you don't care about the error, you can pass nil for errPtr. -**/ + **/ - (BOOL)connectToAddress:(NSData *)remoteAddr error:(NSError **)errPtr { if (theFlags & kDidClose) { @@ -1013,7 +1013,7 @@ - (BOOL)connectToAddress:(NSData *)remoteAddr error:(NSError **)errPtr * * Group should be a multicast IP address (eg. @"239.255.250.250" for IPv4). * Address is local interface for IPv4, but currently defaults under IPv6. -**/ + **/ - (BOOL)joinMulticastGroup:(NSString *)group error:(NSError **)errPtr { return [self joinMulticastGroup:group withAddress:nil error:errPtr]; @@ -1138,12 +1138,12 @@ - (BOOL)joinMulticastGroup:(NSString *)group withAddress:(NSString *)address err /** * By default, the underlying socket in the OS will not allow you to send broadcast messages. * In order to send broadcast messages, you need to enable this functionality in the socket. - * + * * A broadcast is a UDP message to addresses like "192.168.255.255" or "255.255.255.255" that is * delivered to every host on the network. * The reason this is generally disabled by default is to prevent * accidental broadcast messages from flooding the network. -**/ + **/ - (BOOL)enableBroadcast:(BOOL)flag error:(NSError **)errPtr { if (theSocket4) { @@ -1294,7 +1294,7 @@ - (void)maybeScheduleClose /** * Returns a standard error object for the current errno value. * Errno is used for low-level BSD socket errors. -**/ + **/ - (NSError *)getErrnoError { NSString *errorMsg = [NSString stringWithUTF8String:strerror(errno)]; @@ -1306,7 +1306,7 @@ - (NSError *)getErrnoError /** * Returns a standard error message for a CFSocket error. * Unfortunately, CFSocket offers no feedback on its errors. -**/ + **/ - (NSError *)getSocketError { NSString *errMsg = @"General CFSocket error"; @@ -1723,7 +1723,7 @@ - (CFSocketRef)socketForPacket:(AsyncSendPacket *)packet /** * Puts a maybeDequeueSend on the run loop. -**/ + **/ - (void)scheduleDequeueSend { if ((theFlags & kDequeueSendScheduled) == 0) { @@ -1735,7 +1735,7 @@ - (void)scheduleDequeueSend /** * This method starts a new send, if needed. * It is called when a user requests a send. -**/ + **/ - (void)maybeDequeueSend { // Unset the flag indicating a call to this method is scheduled @@ -1774,7 +1774,7 @@ - (void)maybeDequeueSend /** * This method is called when a new read is taken from the read queue or when new data becomes available on the stream. -**/ + **/ - (void)doSend:(CFSocketRef)theSocket { if (theCurrentSend != nil) { @@ -1847,7 +1847,7 @@ - (void)failCurrentSend:(NSError *)error /** * Ends the current send, and all associated variables such as the send timer. -**/ + **/ - (void)endCurrentSend { NSAssert(theCurrentSend, @"Trying to end current send when there is no current send."); @@ -1918,7 +1918,7 @@ - (BOOL)hasBytesAvailable:(CFSocketRef)sockRef /** * Puts a maybeDequeueReceive on the run loop. -**/ + **/ - (void)scheduleDequeueReceive { if ((theFlags & kDequeueReceiveScheduled) == 0) { @@ -1929,7 +1929,7 @@ - (void)scheduleDequeueReceive /** * Starts a new receive operation if needed -**/ + **/ - (void)maybeDequeueReceive { // Unset the flag indicating a call to this method is scheduled @@ -2190,7 +2190,7 @@ - (void)doCFSocketCallback:(CFSocketCallBackType)type /** * This is the callback we setup for CFSocket. * This method does nothing but forward the call to it's Objective-C counterpart -**/ + **/ static void MyCFSocketCallback(CFSocketRef sref, CFSocketCallBackType type, CFDataRef address, const void *pData, void *pInfo) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; diff --git a/iphone/Classes/CalendarModule.m b/iphone/Classes/CalendarModule.m index 037a7d98e1d..186c47a6fb7 100644 --- a/iphone/Classes/CalendarModule.m +++ b/iphone/Classes/CalendarModule.m @@ -146,8 +146,8 @@ - (TiCalendarCalendar *)getCalendarById:(NSString *)calendarId } EKCalendar *calendar_ = NULL; - //Instead of getting calendar by identifier, have to get all and check for match - //not optimal but best way to fix non existing shared calendar error + // Instead of getting calendar by identifier, have to get all and check for match + // not optimal but best way to fix non existing shared calendar error NSArray *allCalendars = [ourStore calendarsForEntityType:EKEntityTypeEvent]; for (EKCalendar *cal in allCalendars) { if ([cal.calendarIdentifier isEqualToString:calendarId]) { diff --git a/iphone/Classes/ContactsModule.m b/iphone/Classes/ContactsModule.m index 97e4bf2c01f..011244eafdc 100644 --- a/iphone/Classes/ContactsModule.m +++ b/iphone/Classes/ContactsModule.m @@ -62,7 +62,7 @@ - (void)startup _includeNote = YES; } -//used for fetch predicates. +// used for fetch predicates. + (NSArray *)contactKeysWithImage { if (contactKeysWithImage == nil) { @@ -71,7 +71,7 @@ + (NSArray *)contactKeysWithImage return contactKeysWithImage; } -//reserved for future use +// reserved for future use + (NSArray *)contactKeysWithoutImage { if (contactKeysWithoutImage == nil) { @@ -90,9 +90,9 @@ - (void)dealloc RELEASE_TO_NIL(contactStore) saveRequest = nil; RELEASE_TO_NIL(contactPicker) - [[NSNotificationCenter defaultCenter] removeObserver:self - name:CNContactStoreDidChangeNotification - object:nil]; + [[NSNotificationCenter defaultCenter] removeObserver:self + name:CNContactStoreDidChangeNotification + object:nil]; [super dealloc]; } @@ -326,7 +326,7 @@ - (NSArray *)getPeopleWithName:(id)arg if (!_includeNote) { [contactKeys removeObject:CNContactNoteKey]; } - //returns empty array or nil if there's an error + // returns empty array or nil if there's an error contacts = [ourContactStore unifiedContactsMatchingPredicate:[CNContact predicateForContactsMatchingName:arg] keysToFetch:contactKeys error:&error]; if (!contacts) { return nil; @@ -562,9 +562,9 @@ - (void)contactPicker:(nonnull CNContactPickerViewController *)picker didSelectC result = value; } if ([value isKindOfClass:[NSDateComponents class]]) { - //this part of the code is supposed to work for birthday and alternateBirthday - //but iOS9 Beta is giving a null value for these properties in `value`, so only - //processing `anniversary` and `other` here. + // this part of the code is supposed to work for birthday and alternateBirthday + // but iOS9 Beta is giving a null value for these properties in `value`, so only + // processing `anniversary` and `other` here. // if ([contactProperty.key isEqualToString:CNContactNonGregorianBirthdayKey]) { // NSDateComponents *dateComps = (NSDateComponents*)value; // result = [NSDictionary dictionaryWithObjectsAndKeys: dateComps.calendar.calendarIdentifier,@"calendarIdentifier",NUMLONG(dateComps.era),@"era",NUMLONG(dateComps.year),@"year",NUMLONG(dateComps.month),@"month",NUMLONG(dateComps.day),@"day",NUMBOOL(dateComps.isLeapMonth),@"isLeapMonth", nil]; diff --git a/iphone/Classes/FilesystemModule.m b/iphone/Classes/FilesystemModule.m index 6830589a24d..b0e42565a56 100644 --- a/iphone/Classes/FilesystemModule.m +++ b/iphone/Classes/FilesystemModule.m @@ -37,7 +37,7 @@ - (NSString *)pathFromComponents:(NSArray *)args NSString *first = [[args objectAtIndex:0] toString]; if ([first hasPrefix:@"file://"]) { NSURL *fileUrl = [NSURL URLWithString:first]; - //Why not just crop? Because the url may have some things escaped that need to be unescaped. + // Why not just crop? Because the url may have some things escaped that need to be unescaped. newpath = [fileUrl path]; } else if ([first characterAtIndex:0] != '/') { NSURL *url = [NSURL URLWithString:[self resourcesDirectory]]; @@ -83,7 +83,7 @@ - (JSValue *)openStream:(TiStreamMode)mode if (fileProxy != nil) { NSArray *payload = @[ [NSNumber numberWithInt:mode] ]; TiStreamProxy *streamProxy = [fileProxy open:payload]; - streamProxy.executionContext = self.executionContext; //TIMOB-28324 Should we pass this executionContext in open function of TiFilesystemFileProxy? + streamProxy.executionContext = self.executionContext; // TIMOB-28324 Should we pass this executionContext in open function of TiFilesystemFileProxy? if (streamProxy != nil) { return [self NativeToJSValue:streamProxy]; } @@ -112,8 +112,8 @@ - (TiStreamMode)MODE_WRITE - (bool)isExternalStoragePresent { - //IOS treats the camera connection kit as just that, and does not allow - //R/W access to it, which is just as well as it'd mess up cameras. + // IOS treats the camera connection kit as just that, and does not allow + // R/W access to it, which is just as well as it'd mess up cameras. return NO; } @@ -218,11 +218,11 @@ - (TiBlob *)getAsset if (range.location != NSNotFound) { NSString *imageArg = nil; if ([TiUtils isMacOS]) { - imageArg = [newpath substringFromIndex:range.location + 24]; //Contents/Resources/ for mac + imageArg = [newpath substringFromIndex:range.location + 24]; // Contents/Resources/ for mac } else { imageArg = [newpath substringFromIndex:range.location + 5]; } - //remove suffixes. + // remove suffixes. imageArg = [imageArg stringByReplacingOccurrencesOfString:@"@3x" withString:@""]; imageArg = [imageArg stringByReplacingOccurrencesOfString:@"@2x" withString:@""]; imageArg = [imageArg stringByReplacingOccurrencesOfString:@"~iphone" withString:@""]; diff --git a/iphone/Classes/GDataXMLNode.h b/iphone/Classes/GDataXMLNode.h index 2965471d6e6..9eb14bf11e2 100644 --- a/iphone/Classes/GDataXMLNode.h +++ b/iphone/Classes/GDataXMLNode.h @@ -160,7 +160,7 @@ typedef NSUInteger GDataXMLNodeKind; + (id)nodeBorrowingXMLNode:(xmlNodePtr)theXMLNode; + (id)nodeConsumingXMLNode:(xmlNodePtr)theXMLNode; -//ADDITIONS FOR DOM MODULE +// ADDITIONS FOR DOM MODULE - (void)setShouldFreeXMLNode:(BOOL)flag; + (id)createNewDocFragment; @@ -190,7 +190,7 @@ typedef NSUInteger GDataXMLNodeKind; - (void)addAttribute:(GDataXMLNode *)attribute; - (NSString *)resolvePrefixForNamespaceURI:(NSString *)namespaceURI; -//Need to make this visible. Used in appendChild of ElementProxy +// Need to make this visible. Used in appendChild of ElementProxy + (void)fixUpNamespacesForNode:(xmlNodePtr)nodeToFix graftingToTreeNode:(xmlNodePtr)graftPointNode; @end @@ -224,7 +224,7 @@ typedef NSUInteger GDataXMLNodeKind; - (NSString *)description; -//ADDITIONS FOR DOM MODULE +// ADDITIONS FOR DOM MODULE - (id)importNode:(GDataXMLNode *)theNode recursive:(BOOL)deep; - (id)entityRefForName:(NSString *)theName; - (xmlDtdPtr)intDTD; diff --git a/iphone/Classes/GeolocationModule.h b/iphone/Classes/GeolocationModule.h index 75344627a1a..ecebc925c6b 100644 --- a/iphone/Classes/GeolocationModule.h +++ b/iphone/Classes/GeolocationModule.h @@ -46,7 +46,7 @@ CONSTANT(NSNumber *, AUTHORIZATION_RESTRICTED); CONSTANT(NSNumber *, AUTHORIZATION_UNKNOWN); CONSTANT(NSNumber *, AUTHORIZATION_WHEN_IN_USE); -//Accuracy Authorization to use location +// Accuracy Authorization to use location CONSTANT(NSNumber *, ACCURACY_AUTHORIZATION_FULL); CONSTANT(NSNumber *, ACCURACY_AUTHORIZATION_REDUCED); diff --git a/iphone/Classes/GeolocationModule.m b/iphone/Classes/GeolocationModule.m index 66e1e8e1c06..20c526c6fc5 100644 --- a/iphone/Classes/GeolocationModule.m +++ b/iphone/Classes/GeolocationModule.m @@ -28,7 +28,7 @@ @implementation GeolocationCallback - (id)initWithCallback:(JSValue *)callback_ andPromise:(KrollPromise *)promise_ { - //Ignore analyzer warning here. Delegate will call autorelease onLoad or onError. + // Ignore analyzer warning here. Delegate will call autorelease onLoad or onError. if (self = [super init]) { // FIXME Use JSManagedValue here? if (![callback_ isUndefined]) { // guard against user not supplying a callback function! @@ -1107,13 +1107,13 @@ - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatu } } -//Using new delegate instead of the old deprecated method - (void)locationManager:didUpdateToLocation:fromLocation: +// Using new delegate instead of the old deprecated method - (void)locationManager:didUpdateToLocation:fromLocation: - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations { NSDictionary *todict = [self locationDictionary:[locations lastObject]]; - //Must use dictionary because of singleshot. + // Must use dictionary because of singleshot. NSMutableDictionary *event = [TiUtils dictionaryWithCode:0 message:nil]; [event setObject:todict forKey:@"coords"]; if ([self _hasListeners:@"location"]) { @@ -1159,7 +1159,7 @@ - (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError * - (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading { - //Unfortunately, because of the single shot overloaded here, we can't use the faster eventing. + // Unfortunately, because of the single shot overloaded here, we can't use the faster eventing. NSMutableDictionary *event = [TiUtils dictionaryWithCode:0 message:nil]; [event setObject:[self headingDictionary:newHeading] forKey:@"heading"]; diff --git a/iphone/Classes/GestureModule.m b/iphone/Classes/GestureModule.m index 7027a36061a..c90cebf73ff 100644 --- a/iphone/Classes/GestureModule.m +++ b/iphone/Classes/GestureModule.m @@ -42,7 +42,7 @@ - (void)rotateEvent:(NSNotification *)sender - (void)registerForShake { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(shakeEvent:) name:kTiGestureShakeNotification @@ -52,7 +52,7 @@ - (void)registerForShake - (void)registerForOrientation { [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications]; - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(rotateEvent:) name:UIDeviceOrientationDidChangeNotification @@ -79,7 +79,7 @@ - (void)_listenerAdded:(NSString *)type count:(int)count - (void)unregisterForNotificationNamed:(NSString *)oldNotification { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] removeObserver:self name:oldNotification object:nil]; } diff --git a/iphone/Classes/LauncherButton.m b/iphone/Classes/LauncherButton.m index 2a09be0ada2..eed9539b4b5 100644 --- a/iphone/Classes/LauncherButton.m +++ b/iphone/Classes/LauncherButton.m @@ -65,7 +65,7 @@ - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event { UIView *superResult = [super hitTest:point withEvent:event]; if (!editing && (superResult == self)) { - //TIMOB-11275 Ignore all touches if not in button frame and not editing + // TIMOB-11275 Ignore all touches if not in button frame and not editing CGRect buttonFrame = [button frame]; if (CGRectContainsPoint(buttonFrame, point)) { return superResult; diff --git a/iphone/Classes/Layout/TiLayoutDimension.h b/iphone/Classes/Layout/TiLayoutDimension.h index 47dcb8eabc1..42378b31de3 100644 --- a/iphone/Classes/Layout/TiLayoutDimension.h +++ b/iphone/Classes/Layout/TiLayoutDimension.h @@ -27,7 +27,7 @@ extern NSString *const kTiUnitPercent; #define TI_INLINE static __inline__ -//Not a class for speed reasons, like LayoutConstraint. +// Not a class for speed reasons, like LayoutConstraint. typedef enum { TiDimensionTypeUndefined, @@ -44,8 +44,8 @@ typedef enum { struct TiDimension { TiDimensionType type; CGFloat value; - //If type is TiDimensionTypeDip, value is a Dip constant, - //If type is TiDimensionTypePercent, value ranges from 0 (0%) to 1.0 (100%) + // If type is TiDimensionTypeDip, value is a Dip constant, + // If type is TiDimensionTypePercent, value ranges from 0 (0%) to 1.0 (100%) }; typedef struct TiDimension TiDimension; @@ -154,7 +154,7 @@ TI_INLINE CGFloat TiDimensionCalculateMargins(TiDimension dimension1, TiDimensio return boundingValue - (TiDimensionCalculateValue(dimension1, boundingValue) + TiDimensionCalculateValue(dimension2, boundingValue)); } -//TODO: Do these ALL have to be TI_INLINE? +// TODO: Do these ALL have to be TI_INLINE? TI_INLINE CGRect TiDimensionLayerContentCenter(TiDimension top, TiDimension left, TiDimension bottom, TiDimension right, CGSize imageSize) { CGRect result; diff --git a/iphone/Classes/MediaModule.m b/iphone/Classes/MediaModule.m index a811f6734fe..58769f6dfc6 100644 --- a/iphone/Classes/MediaModule.m +++ b/iphone/Classes/MediaModule.m @@ -234,7 +234,7 @@ - (NSString *)apiName MAKE_SYSTEM_STR(AUDIO_SESSION_PORT_BLUETOOTHLE, AVAudioSessionPortBluetoothLE) MAKE_SYSTEM_STR(AUDIO_SESSION_PORT_CARAUDIO, AVAudioSessionPortCarAudio) -//Constants for AudioSessions +// Constants for AudioSessions MAKE_SYSTEM_STR(AUDIO_SESSION_CATEGORY_AMBIENT, AVAudioSessionCategoryAmbient); MAKE_SYSTEM_STR(AUDIO_SESSION_CATEGORY_SOLO_AMBIENT, AVAudioSessionCategorySoloAmbient); MAKE_SYSTEM_STR(AUDIO_SESSION_CATEGORY_PLAYBACK, AVAudioSessionCategoryPlayback); @@ -269,7 +269,7 @@ - (NSString *)apiName MAKE_SYSTEM_PROP(AUDIO_STATE_STOPPED, TiAudioPlayerStateStopped); MAKE_SYSTEM_PROP(AUDIO_STATE_PAUSED, TiAudioPlayerStatePaused); -//Constants for Camera +// Constants for Camera #if defined(USE_TI_MEDIACAMERA_FRONT) || defined(USE_TI_MEDIACAMERA_REAR) || defined(USE_TI_MEDIACAMERA_FLASH_OFF) || defined(USE_TI_MEDIACAMERA_FLASH_AUTO) || defined(USE_TI_MEDIACAMERA_FLASH_ON) MAKE_SYSTEM_PROP(CAMERA_FRONT, UIImagePickerControllerCameraDeviceFront); MAKE_SYSTEM_PROP(CAMERA_REAR, UIImagePickerControllerCameraDeviceRear); @@ -279,7 +279,7 @@ - (NSString *)apiName MAKE_SYSTEM_PROP(CAMERA_FLASH_ON, UIImagePickerControllerCameraFlashModeOn); #endif -//Constants for mediaTypes in openMusicLibrary +// Constants for mediaTypes in openMusicLibrary #if defined(USE_TI_MEDIAOPENMUSICLIBRARY) || defined(USE_TI_MEDIAQUERYMUSICLIBRARY) MAKE_SYSTEM_PROP(MUSIC_MEDIA_TYPE_MUSIC, MPMediaTypeMusic); MAKE_SYSTEM_PROP(MUSIC_MEDIA_TYPE_PODCAST, MPMediaTypePodcast); @@ -290,7 +290,7 @@ - (NSNumber *)MUSIC_MEDIA_TYPE_ALL return NUMUINTEGER(MPMediaTypeAny); } -//Constants for grouping in queryMusicLibrary +// Constants for grouping in queryMusicLibrary MAKE_SYSTEM_PROP(MUSIC_MEDIA_GROUP_TITLE, MPMediaGroupingTitle); MAKE_SYSTEM_PROP(MUSIC_MEDIA_GROUP_ALBUM, MPMediaGroupingAlbum); MAKE_SYSTEM_PROP(MUSIC_MEDIA_GROUP_ARTIST, MPMediaGroupingArtist); @@ -302,7 +302,7 @@ - (NSNumber *)MUSIC_MEDIA_TYPE_ALL #endif #if defined(USE_TI_MEDIAGETAPPMUSICPLAYER) || defined(USE_TI_MEDIAAPPMUSICPLAYER) || defined(USE_TI_MEDIAGETSYSTEMMUSICPLAYER) || defined(USE_TI_MEDIASYSTEMMUSICPLAYER) -//Constants for MusicPlayer playback state +// Constants for MusicPlayer playback state MAKE_SYSTEM_PROP(MUSIC_PLAYER_STATE_STOPPED, MPMusicPlaybackStateStopped); MAKE_SYSTEM_PROP(MUSIC_PLAYER_STATE_PLAYING, MPMusicPlaybackStatePlaying); MAKE_SYSTEM_PROP(MUSIC_PLAYER_STATE_PAUSED, MPMusicPlaybackStatePaused); @@ -310,32 +310,32 @@ - (NSNumber *)MUSIC_MEDIA_TYPE_ALL MAKE_SYSTEM_PROP(MUSIC_PLAYER_STATE_SEEK_FORWARD, MPMusicPlaybackStateSeekingForward); MAKE_SYSTEM_PROP(MUSIC_PLAYER_STATE_SEEK_BACKWARD, MPMusicPlaybackStateSeekingBackward); -//Constants for MusicPlayer repeatMode +// Constants for MusicPlayer repeatMode MAKE_SYSTEM_PROP(MUSIC_PLAYER_REPEAT_DEFAULT, MPMusicRepeatModeDefault); MAKE_SYSTEM_PROP(MUSIC_PLAYER_REPEAT_NONE, MPMusicRepeatModeNone); MAKE_SYSTEM_PROP(MUSIC_PLAYER_REPEAT_ONE, MPMusicRepeatModeOne); MAKE_SYSTEM_PROP(MUSIC_PLAYER_REPEAT_ALL, MPMusicRepeatModeAll); -//Constants for MusicPlayer shuffleMode +// Constants for MusicPlayer shuffleMode MAKE_SYSTEM_PROP(MUSIC_PLAYER_SHUFFLE_DEFAULT, MPMusicShuffleModeDefault); MAKE_SYSTEM_PROP(MUSIC_PLAYER_SHUFFLE_NONE, MPMusicShuffleModeOff); MAKE_SYSTEM_PROP(MUSIC_PLAYER_SHUFFLE_SONGS, MPMusicShuffleModeSongs); MAKE_SYSTEM_PROP(MUSIC_PLAYER_SHUFFLE_ALBUMS, MPMusicShuffleModeAlbums); #endif -//Error constants for MediaModule +// Error constants for MediaModule MAKE_SYSTEM_PROP(UNKNOWN_ERROR, MediaModuleErrorUnknown); MAKE_SYSTEM_PROP(DEVICE_BUSY, MediaModuleErrorBusy); MAKE_SYSTEM_PROP(NO_CAMERA, MediaModuleErrorNoCamera); MAKE_SYSTEM_PROP(NO_VIDEO, MediaModuleErrorNoVideo); MAKE_SYSTEM_PROP(NO_MUSIC_PLAYER, MediaModuleErrorNoMusicPlayer); -//Constants for mediaTypes in showCamera +// Constants for mediaTypes in showCamera #if defined(USE_TI_MEDIASHOWCAMERA) || defined(USE_TI_MEDIAOPENPHOTOGALLERY) MAKE_SYSTEM_STR(MEDIA_TYPE_VIDEO, kUTTypeMovie); MAKE_SYSTEM_STR(MEDIA_TYPE_PHOTO, kUTTypeImage); MAKE_SYSTEM_STR(MEDIA_TYPE_LIVEPHOTO, kUTTypeLivePhoto); -//Constants for videoQuality for Video Editing +// Constants for videoQuality for Video Editing MAKE_SYSTEM_PROP(QUALITY_HIGH, UIImagePickerControllerQualityTypeHigh); MAKE_SYSTEM_PROP(QUALITY_MEDIUM, UIImagePickerControllerQualityTypeMedium); MAKE_SYSTEM_PROP(QUALITY_LOW, UIImagePickerControllerQualityTypeLow); @@ -450,11 +450,11 @@ - (void)setOverrideAudioRoute:(NSNumber *)mode - (void)_listenerAdded:(NSString *)type count:(int)count { if (count == 1 && [type isEqualToString:@"routechange"]) { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe [[TiMediaAudioSession sharedSession] startAudioSession]; // Have to start a session to get a listener [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(audioRouteChanged:) name:kTiMediaAudioSessionRouteChange object:[TiMediaAudioSession sharedSession]]; } else if (count == 1 && [type isEqualToString:@"volume"]) { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[TiMediaAudioSession sharedSession] startAudioSession]; // Have to start a session to get a listener [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(audioVolumeChanged:) name:kTiMediaAudioSessionVolumeChange object:[TiMediaAudioSession sharedSession]]; } @@ -463,11 +463,11 @@ - (void)_listenerAdded:(NSString *)type count:(int)count - (void)_listenerRemoved:(NSString *)type count:(int)count { if (count == 0 && [type isEqualToString:@"routechange"]) { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[TiMediaAudioSession sharedSession] stopAudioSession]; [[NSNotificationCenter defaultCenter] removeObserver:self name:kTiMediaAudioSessionRouteChange object:[TiMediaAudioSession sharedSession]]; } else if (count == 0 && [type isEqualToString:@"volume"]) { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[TiMediaAudioSession sharedSession] stopAudioSession]; [[NSNotificationCenter defaultCenter] removeObserver:self name:kTiMediaAudioSessionVolumeChange object:[TiMediaAudioSession sharedSession]]; } @@ -577,7 +577,7 @@ - (void)beep:(id)unused - (void)vibrate:(id)args { - //No pattern support on iOS + // No pattern support on iOS [self beep:nil]; } #endif @@ -895,7 +895,7 @@ - (void)showCamera:(id)args - (void)hideCamera:(id)args { [self destroyPickerCallbacks]; - //Hopefully, if we remove the callbacks before going to the main thread, we may reduce deadlock. + // Hopefully, if we remove the callbacks before going to the main thread, we may reduce deadlock. ENSURE_UI_THREAD(hideCamera, args); if (picker != nil) { if (cameraView != nil) { @@ -973,7 +973,7 @@ - (void)switchCamera:(id)args } #endif -//Undocumented property +// Undocumented property #ifdef USE_TI_MEDIASHOWCAMERA - (id)camera { @@ -985,7 +985,7 @@ - (id)camera #endif #if defined(USE_TI_MEDIAREQUESTCAMERAPERMISSIONS) -//request camera access. for >= IOS7 +// request camera access. for >= IOS7 - (void)requestCameraPermissions:(id)arg { ENSURE_SINGLE_ARG(arg, KrollCallback); @@ -1276,7 +1276,7 @@ - (void)startVideoEditing:(id)args ENSURE_TYPE_OR_NIL(pickerCancelCallback, KrollCallback); [editorCancelCallback retain]; - //TODO: check canEditVideoAtPath + // TODO: check canEditVideoAtPath editor = [[UIVideoEditorController alloc] init]; editor.delegate = self; @@ -1373,7 +1373,7 @@ - (void)dispatchCallback:(NSArray *)args [self _fireEventToListener:type withObject:object listener:listener thisObject:nil]; [pool release]; - //TIMOB-24389: Force the heap to be GC'd to avoid Ti.Blob references to be dumped. + // TIMOB-24389: Force the heap to be GC'd to avoid Ti.Blob references to be dumped. KrollContext *krollContext = [self.pageContext krollContext]; [krollContext forceGarbageCollectNow]; } @@ -1639,7 +1639,7 @@ - (void)showPicker:(NSDictionary *)args isCamera:(BOOL)isCamera ENSURE_TYPE(transform, Ti2DMatrix); [picker setCameraViewTransform:[transform matrix]]; } else if (cameraView != nil && customPicker && ![TiUtils boolValue:@"showControls" properties:args def:YES]) { - //No transforms in popover + // No transforms in popover CGSize screenSize = [[UIScreen mainScreen] bounds].size; UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]; if (!UIInterfaceOrientationIsPortrait(orientation)) { @@ -1933,7 +1933,7 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover } } - //Fell through. + // Fell through. UIViewController *presentingController = [popoverPresentationController presentingViewController]; popoverPresentationController.sourceView = [presentingController view]; CGRect viewrect = [[presentingController view] bounds]; @@ -1945,7 +1945,7 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover - (void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView **)view { - //This will never be called when using bar button item + // This will never be called when using bar button item UIView *theSourceView = *view; BOOL canUseSourceRect = (theSourceView == self.popoverView); rect->origin = CGPointMake(theSourceView.bounds.origin.x, theSourceView.bounds.origin.y); diff --git a/iphone/Classes/NetworkModule.m b/iphone/Classes/NetworkModule.m index 985cec8d01b..07dadf18a41 100644 --- a/iphone/Classes/NetworkModule.m +++ b/iphone/Classes/NetworkModule.m @@ -49,7 +49,7 @@ - (void)_configure [super _configure]; // default to unknown network type on startup until reachability has figured it out state = TiNetworkConnectionStateUnknown; - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reachabilityChanged:) name:kReachabilityChangedNotification object:nil]; // wait until done is important to get the right state TiThreadPerformOnMainThread( @@ -66,7 +66,7 @@ - (void)_destroy [self stopReachability]; }, YES); - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] removeObserver:self name:kReachabilityChangedNotification object:nil]; RELEASE_TO_NIL(pushNotificationCallback); RELEASE_TO_NIL(pushNotificationError); @@ -243,8 +243,8 @@ - (void)registerForPushNotifications:(id)args UIApplication *app = [UIApplication sharedApplication]; - //for iOS8 or greater only - //Note adviced to register user notification settings in Ti.App.iOS first before register for remote notifications + // for iOS8 or greater only + // Note adviced to register user notification settings in Ti.App.iOS first before register for remote notifications [app registerForRemoteNotifications]; if ([args objectForKey:@"types"] != nil) { diff --git a/iphone/Classes/Reachability.h b/iphone/Classes/Reachability.h index 4e0b427fe70..71317e73743 100644 --- a/iphone/Classes/Reachability.h +++ b/iphone/Classes/Reachability.h @@ -1,7 +1,7 @@ /* Copyright (C) 2016 Apple Inc. All Rights Reserved. See LICENSE.txt for this sample’s licensing information - + Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. */ diff --git a/iphone/Classes/Reachability.m b/iphone/Classes/Reachability.m index b6c8bff99e7..c5a31e8e63d 100644 --- a/iphone/Classes/Reachability.m +++ b/iphone/Classes/Reachability.m @@ -1,7 +1,7 @@ /* Copyright (C) 2016 Apple Inc. All Rights Reserved. See LICENSE.txt for this sample’s licensing information - + Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. */ diff --git a/iphone/Classes/TIDOMDOMImplementationProxy.m b/iphone/Classes/TIDOMDOMImplementationProxy.m index 6f57122b6b6..0eef61aca60 100644 --- a/iphone/Classes/TIDOMDOMImplementationProxy.m +++ b/iphone/Classes/TIDOMDOMImplementationProxy.m @@ -75,7 +75,7 @@ - (id)createDocument:(id)args ENSURE_STRING(qualifiedName); ENSURE_TYPE_OR_NIL(docType, TIDOMDocumentTypeProxy); - //Validate the parameters + // Validate the parameters NSString *error = nil; NSString *suberror = nil; @@ -88,7 +88,7 @@ - (id)createDocument:(id)args NSString *prefix = [GDataXMLNode prefixForName:qualifiedName]; NSString *localName = [GDataXMLNode localNameForName:qualifiedName]; - //Create the new NS pointer + // Create the new NS pointer xmlChar *pre = NULL; xmlChar *href = NULL; if (theURI != nil) { @@ -100,7 +100,7 @@ - (id)createDocument:(id)args xmlNsPtr theNewNs = xmlNewNs(NULL, // parent node href, pre); - //Create the doc node with root element + // Create the doc node with root element xmlNodePtr rootPtr = xmlNewNode(theNewNs, (xmlChar *)[localName UTF8String]); rootPtr->nsDef = theNewNs; xmlDocPtr doc = xmlNewDoc(NULL); @@ -110,7 +110,7 @@ - (id)createDocument:(id)args GDataXMLNode *docTypeNode = [docType node]; xmlNodePtr ret = xmlAddChild((xmlNodePtr)doc, [docTypeNode XMLNode]); if (ret != NULL) { - //Now it is part of the tree so switch flag to ensur it gets freed when doc is released + // Now it is part of the tree so switch flag to ensur it gets freed when doc is released [docTypeNode setShouldFreeXMLNode:NO]; } } diff --git a/iphone/Classes/TIDOMDocumentTypeProxy.m b/iphone/Classes/TIDOMDocumentTypeProxy.m index 942acec2e26..919e294f020 100644 --- a/iphone/Classes/TIDOMDocumentTypeProxy.m +++ b/iphone/Classes/TIDOMDocumentTypeProxy.m @@ -22,12 +22,12 @@ - (id)nodeValue } - (id)entities { - //TODO + // TODO return [NSNull null]; } - (id)notations { - //TODO + // TODO return [NSNull null]; } - (id)name diff --git a/iphone/Classes/TiAnchorAttachBehavior.m b/iphone/Classes/TiAnchorAttachBehavior.m index 3b75cc3a350..735a7881e75 100644 --- a/iphone/Classes/TiAnchorAttachBehavior.m +++ b/iphone/Classes/TiAnchorAttachBehavior.m @@ -61,7 +61,7 @@ - (UIDynamicBehavior *)behaviorObject - (void)updateItems { - //Nothing to do here + // Nothing to do here } - (void)updatePositioning diff --git a/iphone/Classes/TiAnimatorProxy.m b/iphone/Classes/TiAnimatorProxy.m index 6f4c685a57e..fc3c792d840 100644 --- a/iphone/Classes/TiAnimatorProxy.m +++ b/iphone/Classes/TiAnimatorProxy.m @@ -74,13 +74,13 @@ - (void)setBehaviors:(id)args { ENSURE_TYPE(args, NSArray); NSArray *curBehaviors = [self behaviors]; - //Remove the old behaviors that no longer exist + // Remove the old behaviors that no longer exist for (id theArg in curBehaviors) { if (![args containsObject:theArg]) { [self removeBehavior:theArg]; } } - //Add the new behaviors + // Add the new behaviors for (id theArg in args) { if (![_behaviors containsObject:theArg]) { [self addBehavior:theArg]; @@ -153,8 +153,8 @@ - (void)startAnimator:(id)unused DebugLog(@"[INFO] Animator is already started"); return; } - //Need to get the parent view for children since this is the view that provides the animation context. - //Right now scrollable View will not work. + // Need to get the parent view for children since this is the view that provides the animation context. + // Right now scrollable View will not work. UIView *refView = [_referenceView parentViewForChild:nil]; if (refView == nil) { refView = [_referenceView view]; diff --git a/iphone/Classes/TiApp+Addons.m b/iphone/Classes/TiApp+Addons.m index 328ac3ab84b..a8f9e07d635 100644 --- a/iphone/Classes/TiApp+Addons.m +++ b/iphone/Classes/TiApp+Addons.m @@ -21,7 +21,7 @@ - (void)application:(UIApplication *)application performFetchWithCompletionHandl [self tryToInvokeSelector:@selector(application:performFetchWithCompletionHandler:) withArguments:[NSOrderedSet orderedSetWithObjects:application, [completionHandler copy], nil]]; - //Only for simulator builds + // Only for simulator builds NSArray *backgroundModes = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIBackgroundModes"]; if ([backgroundModes containsObject:@"fetch"]) { @@ -65,7 +65,7 @@ - (void)application:(UIApplication *)application didReceiveRemoteNotification:(N [self tryToInvokeSelector:@selector(application:didReceiveRemoteNotification:fetchCompletionHandler:) withArguments:[NSOrderedSet orderedSetWithObjects:application, userInfo, [completionHandler copy], nil]]; - //This only here for Simulator builds. + // This only here for Simulator builds. NSArray *backgroundModes = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIBackgroundModes"]; if ([backgroundModes containsObject:@"remote-notification"]) { diff --git a/iphone/Classes/TiAppPropertiesProxy.m b/iphone/Classes/TiAppPropertiesProxy.m index 66287a31545..549a96f3f1e 100644 --- a/iphone/Classes/TiAppPropertiesProxy.m +++ b/iphone/Classes/TiAppPropertiesProxy.m @@ -179,32 +179,32 @@ - (NSDictionary *)bridgedDictionaryFromDictionary:(NSDictionary *)dictionary wit - (void)setBool:(id)args { SETPROP - [defaultsObject setBool:[TiUtils boolValue:value] - forKey:key]; + [defaultsObject setBool:[TiUtils boolValue:value] + forKey:key]; [defaultsObject synchronize]; } - (void)setDouble:(id)args { SETPROP - [defaultsObject setDouble:[TiUtils doubleValue:value] - forKey:key]; + [defaultsObject setDouble:[TiUtils doubleValue:value] + forKey:key]; [defaultsObject synchronize]; } - (void)setInt:(id)args { SETPROP - [defaultsObject setInteger:[TiUtils intValue:value] - forKey:key]; + [defaultsObject setInteger:[TiUtils intValue:value] + forKey:key]; [defaultsObject synchronize]; } - (void)setString:(id)args { SETPROP - [defaultsObject setObject:[TiUtils stringValue:value] - forKey:key]; + [defaultsObject setObject:[TiUtils stringValue:value] + forKey:key]; [defaultsObject synchronize]; } diff --git a/iphone/Classes/TiAppiOSProxy.m b/iphone/Classes/TiAppiOSProxy.m index 5512a477700..808e03d69e6 100644 --- a/iphone/Classes/TiAppiOSProxy.m +++ b/iphone/Classes/TiAppiOSProxy.m @@ -317,7 +317,7 @@ - (TiAppiOSSearchableItemAttributeSetProxy *)createSearchableItemAttributeSet:(i ENSURE_ARG_FOR_KEY(itemContentType, args, @"itemContentType", NSString); NSMutableDictionary *props = [NSMutableDictionary dictionaryWithDictionary:args]; - [props removeObjectForKey:@"itemContentType"]; //remove to avoid duplication + [props removeObjectForKey:@"itemContentType"]; // remove to avoid duplication TiAppiOSSearchableItemAttributeSetProxy *proxy = [[[TiAppiOSSearchableItemAttributeSetProxy alloc] initWithItemContentType:itemContentType withProps:props] autorelease]; diff --git a/iphone/Classes/TiAppiOSSearchableIndexProxy.m b/iphone/Classes/TiAppiOSSearchableIndexProxy.m index afbaf31ace6..8e3f8687478 100644 --- a/iphone/Classes/TiAppiOSSearchableIndexProxy.m +++ b/iphone/Classes/TiAppiOSSearchableIndexProxy.m @@ -32,7 +32,7 @@ - (void)addToDefaultSearchableIndex:(id)args ENSURE_UI_THREAD(addToDefaultSearchableIndex, args); - //Convert from Proxy to search item + // Convert from Proxy to search item NSMutableArray *items = [[[NSMutableArray alloc] init] autorelease]; for (TiAppiOSSearchableItemProxy *item in searchItems) { [items addObject:item.item]; diff --git a/iphone/Classes/TiAppiOSSearchableItemAttributeSetProxy.m b/iphone/Classes/TiAppiOSSearchableItemAttributeSetProxy.m index a3105efa0a0..7c76409ad2e 100644 --- a/iphone/Classes/TiAppiOSSearchableItemAttributeSetProxy.m +++ b/iphone/Classes/TiAppiOSSearchableItemAttributeSetProxy.m @@ -53,19 +53,19 @@ - (void)applyLoadTimeProperties:(NSDictionary *)props { [props enumerateKeysAndObjectsUsingBlock:^(id key, id object, BOOL *stop) { if ([_attributes respondsToSelector:NSSelectorFromString(key)]) { - //Check this is a supported type + // Check this is a supported type if (![unsupportedFieldTypes containsObject:key]) { if ([dateFieldTypes containsObject:key]) { - //Use date logic to add + // Use date logic to add [_attributes setValue:[TiUtils dateForUTCDate:object] forKey:key]; } else if ([urlFieldTypes containsObject:key]) { - //Use URL logic to add + // Use URL logic to add [_attributes setValue:[self sanitizeURL:object] forKey:key]; } else { [_attributes setValue:object forKey:key]; } } else { - //Use blob to add + // Use blob to add [_attributes setValue:[object data] forKey:key]; } } else { @@ -78,7 +78,7 @@ - (void)applyLoadTimeProperties:(NSDictionary *)props // CSGeneral Section //********************************* -//A localized string to be displayed in the UI for this item. +// A localized string to be displayed in the UI for this item. - (NSString *)displayName { return _attributes.displayName; @@ -91,7 +91,7 @@ - (void)setDisplayName:(id)value _attributes.displayName = value; } -//An array of localized strings of alternate display names for this item. +// An array of localized strings of alternate display names for this item. - (NSArray *)alternateNames { return _attributes.alternateNames; @@ -104,7 +104,7 @@ - (void)setAlternateNames:(NSArray *)value _attributes.alternateNames = value; } -//This is the complete path to the item. +// This is the complete path to the item. - (NSString *)path { return _attributes.path; @@ -117,7 +117,7 @@ - (void)setPath:(id)value _attributes.path = value; } -//Optional file URL representing the content to be indexed +// Optional file URL representing the content to be indexed - (NSString *)contentURL { return [_attributes.contentURL absoluteString]; @@ -130,7 +130,7 @@ - (void)setContentURL:(id)value _attributes.contentURL = [self sanitizeURL:value]; } -//Optional file URL pointing to a thumbnail image for this item +// Optional file URL pointing to a thumbnail image for this item - (NSString *)thumbnailURL { return [_attributes.thumbnailURL absoluteString]; @@ -143,7 +143,7 @@ - (void)setThumbnailURL:(id)value _attributes.thumbnailURL = [self sanitizeURL:value]; } -//Optional image data for thumbnail for this item +// Optional image data for thumbnail for this item - (TiBlob *)thumbnailData { return [[[TiBlob alloc] initWithData:_attributes.thumbnailData mimetype:_attributes.contentType] autorelease]; @@ -156,7 +156,7 @@ - (void)setThumbnailData:(id)value _attributes.thumbnailData = [value data]; } -//For activities, this is the unique identifier for the item this activity is related to +// For activities, this is the unique identifier for the item this activity is related to - (NSString *)relatedUniqueIdentifier { return _attributes.relatedUniqueIdentifier; @@ -169,7 +169,7 @@ - (void)setRelatedUniqueIdentifier:(id)identifier _attributes.relatedUniqueIdentifier = identifier; } -//This is the date that the last metadata attribute was changed. +// This is the date that the last metadata attribute was changed. - (NSString *)metadataModificationDate { if (_attributes.metadataModificationDate == nil) { @@ -186,7 +186,7 @@ - (void)setMetadataModificationDate:(id)value _attributes.metadataModificationDate = [TiUtils dateForUTCDate:value]; } -//UTI Type pedigree for an item. Common types can be found in UTCoreTypes.h +// UTI Type pedigree for an item. Common types can be found in UTCoreTypes.h - (NSString *)contentType { return _attributes.contentType; @@ -204,8 +204,8 @@ - (void)setContentTypeTree:(id)value _attributes.contentTypeTree = value; } -//Represents keywords associated with this particular item. -//Example Keywords might be Birthday,Important etc. +// Represents keywords associated with this particular item. +// Example Keywords might be Birthday,Important etc. - (NSArray *)keywords { return _attributes.keywords; @@ -218,8 +218,8 @@ - (void)setKeywords:(id)words _attributes.keywords = words; } -//The title of this particular item. -//Title of the document, or it could be the title of this mp3 or a subject of a mail message. +// The title of this particular item. +// Title of the document, or it could be the title of this mp3 or a subject of a mail message. - (NSString *)title { return _attributes.title; @@ -236,7 +236,7 @@ - (void)setTitle:(id)value // CSDocuments Section //********************************* -//Subject of the this item. +// Subject of the this item. - (NSString *)subject { return _attributes.subject; @@ -249,7 +249,7 @@ - (void)setSubject:(id)value _attributes.subject = value; } -//Theme of the this item. +// Theme of the this item. - (NSString *)theme { return _attributes.theme; @@ -262,10 +262,10 @@ - (void)setTheme:(id)value _attributes.theme = value; } -//An account of the content of the resource. Description may include -//but is not limited to: an abstract, table of contents, reference -//to a graphical representation of content or a free-text account of -//the content. +// An account of the content of the resource. Description may include +// but is not limited to: an abstract, table of contents, reference +// to a graphical representation of content or a free-text account of +// the content. - (NSString *)contentDescription { return _attributes.contentDescription; @@ -278,9 +278,9 @@ - (void)setContentDescription:(id)value _attributes.contentDescription = value; } -//Used to reference to the resource within a given -//context. Recommended best practice is to identify the resource by -//means of a string or number conforming to a formal identification system. +// Used to reference to the resource within a given +// context. Recommended best practice is to identify the resource by +// means of a string or number conforming to a formal identification system. - (NSString *)identifier { return _attributes.identifier; @@ -293,9 +293,9 @@ - (void)setIdentifier:(id)identifier _attributes.identifier = identifier; } -//A class of entity for whom the resource is intended or useful. A -//class of entity may be determined by the creator or the publisher -//or by a third party. +// A class of entity for whom the resource is intended or useful. A +// class of entity may be determined by the creator or the publisher +// or by a third party. - (NSArray *)audiences { return _attributes.audiences; @@ -308,7 +308,7 @@ - (void)setAudiences:(id)value _attributes.audiences = value; } -//Size of the document in MB. +// Size of the document in MB. - (NSNumber *)fileSize { return _attributes.fileSize; @@ -321,7 +321,7 @@ - (void)setFileSize:(id)value _attributes.fileSize = value; } -//Number of pages in the item. +// Number of pages in the item. - (NSNumber *)pageCount { return _attributes.pageCount; @@ -334,9 +334,9 @@ - (void)setPageCount:(id)value _attributes.pageCount = value; } -//Width in points (72 points per inch) of the document page +// Width in points (72 points per inch) of the document page //(first page only for PDF's - other pages within the PDF may -//not be the same width). +// not be the same width). - (NSNumber *)pageWidth { return _attributes.pageWidth; @@ -349,9 +349,9 @@ - (void)setPageWidth:(id)value _attributes.pageWidth = value; } -//Height in points (72 points per inch) of the document page +// Height in points (72 points per inch) of the document page //(first page only for PDF's - other pages within the PDF may -//not be the same height). +// not be the same height). - (NSNumber *)pageHeight { return _attributes.pageHeight; @@ -364,7 +364,7 @@ - (void)setPageHeight:(id)value _attributes.pageHeight = value; } -//Security (encryption) method used in the file +// Security (encryption) method used in the file - (NSString *)securityMethod { return _attributes.securityMethod; @@ -377,7 +377,7 @@ - (void)setSecurityMethod:(id)value _attributes.securityMethod = value; } -//Application used to create the document content (e.g. "Word","Framemaker", etc.). +// Application used to create the document content (e.g. "Word","Framemaker", etc.). - (NSString *)creator { return _attributes.creator; @@ -390,7 +390,7 @@ - (void)setCreator:(id)value _attributes.creator = value; } -//Software used to convert the original content into a PDF stream +// Software used to convert the original content into a PDF stream //(e.g. "Distiller", etc.). - (NSArray *)encodingApplications { @@ -404,7 +404,7 @@ - (void)setEncodingApplications:(id)value _attributes.encodingApplications = value; } -//Kind that this item represents. +// Kind that this item represents. - (NSString *)kind { return _attributes.kind; @@ -417,7 +417,7 @@ - (void)setKind:(id)value _attributes.kind = value; } -//Array of font names used in the item. +// Array of font names used in the item. - (NSArray *)fontNames { return _attributes.fontNames; @@ -434,8 +434,8 @@ - (void)setFontNames:(id)value // CSMusic Section //********************************* -//The sample rate of the audio data contained in the file. The sample rate is a -//float value representing hz (audio_frames/second). For example: 44100.0, 22254.54. +// The sample rate of the audio data contained in the file. The sample rate is a +// float value representing hz (audio_frames/second). For example: 44100.0, 22254.54. - (NSNumber *)audioSampleRate { return _attributes.audioSampleRate; @@ -449,9 +449,9 @@ - (void)setAudioSampleRate:(id)value _attributes.audioSampleRate = value; } -//The number of channels in the audio data contained in the file. This item only represents -//the number of discreet channels of audio data found in the file. It does not indicate -//any configuration of the data in regards to a user's speaker setup. +// The number of channels in the audio data contained in the file. This item only represents +// the number of discreet channels of audio data found in the file. It does not indicate +// any configuration of the data in regards to a user's speaker setup. - (NSNumber *)audioChannelCount { return _attributes.audioChannelCount; @@ -464,7 +464,7 @@ - (void)setAudioChannelCount:(id)value _attributes.audioChannelCount = value; } -//The tempo of the music contained in the audio file in Beats Per Minute. +// The tempo of the music contained in the audio file in Beats Per Minute. - (NSNumber *)tempo { return _attributes.tempo; @@ -477,8 +477,8 @@ - (void)setTempo:(id)value _attributes.tempo = value; } -//The musical key of the song/composition contained in an audio file. -//For example: C, Dm, F#m, Bb. +// The musical key of the song/composition contained in an audio file. +// For example: C, Dm, F#m, Bb. - (NSString *)keySignature { return _attributes.keySignature; @@ -491,8 +491,8 @@ - (void)setKeySignature:(id)value _attributes.keySignature = value; } -//The time signature of the musical composition contained in the audio/MIDI file. -//For example: "4/4", "7/8". +// The time signature of the musical composition contained in the audio/MIDI file. +// For example: "4/4", "7/8". - (NSString *)timeSignature { return _attributes.timeSignature; @@ -505,7 +505,7 @@ - (void)setTimeSignature:(id)value _attributes.timeSignature = value; } -//The name of the application that encoded the data contained in the audio file. +// The name of the application that encoded the data contained in the audio file. - (NSString *)audioEncodingApplication { return _attributes.audioEncodingApplication; @@ -518,7 +518,7 @@ - (void)setAudioEncodingApplication:(id)value _attributes.audioEncodingApplication = value; } -//The composer of the song/composition contained in the audio file. +// The composer of the song/composition contained in the audio file. - (NSString *)composer { return _attributes.composer; @@ -531,7 +531,7 @@ - (void)setComposer:(id)value _attributes.composer = value; } -//The lyricist/text writer for song/composition contained in the audio file. +// The lyricist/text writer for song/composition contained in the audio file. - (NSString *)lyricist { return _attributes.lyricist; @@ -544,8 +544,8 @@ - (void)setLyricist:(id)value _attributes.lyricist = value; } -//The title for a collection of media. This is analagous to a record album, -//or photo album whichs are collections of audio or images. +// The title for a collection of media. This is analagous to a record album, +// or photo album whichs are collections of audio or images. - (NSString *)album { return _attributes.album; @@ -558,7 +558,7 @@ - (void)setAlbum:(id)value _attributes.album = value; } -//The artist for the media +// The artist for the media - (NSString *)artist { return _attributes.artist; @@ -571,7 +571,7 @@ - (void)setArtist:(id)value _attributes.artist = value; } -//The track number of a song/composition when it is part of an album +// The track number of a song/composition when it is part of an album - (NSNumber *)audioTrackNumber { return _attributes.audioTrackNumber; @@ -584,10 +584,10 @@ - (void)setAudioTrackNumber:(id)value _attributes.audioTrackNumber = value; } -//The recording date of the song/composition. This information differs from -//the contentCreationDate attribute as it indicates the date that the +// The recording date of the song/composition. This information differs from +// the contentCreationDate attribute as it indicates the date that the //'art' was created, in contrast to contentCreationDate which for example, could indicate -//the creation date of an edited or 'mastered' version of the original art. +// the creation date of an edited or 'mastered' version of the original art. - (NSString *)recordingDate { if (_attributes.recordingDate == nil) { @@ -603,8 +603,8 @@ - (void)setRecordingDate:(id)value _attributes.recordingDate = [TiUtils dateForUTCDate:value]; } -//The musical genre of the song/composition contained in the audio file. -//For example: Jazz, Pop, Rock, Classical. +// The musical genre of the song/composition contained in the audio file. +// For example: Jazz, Pop, Rock, Classical. - (NSString *)musicalGenre { return _attributes.musicalGenre; @@ -617,7 +617,7 @@ - (void)setMusicalGenre:(id)value _attributes.musicalGenre = value; } -//This attribute indicates whether the MIDI sequence contained in the file is setup for use with a General MIDI device. Should be 1 if true, 0 otherwise. +// This attribute indicates whether the MIDI sequence contained in the file is setup for use with a General MIDI device. Should be 1 if true, 0 otherwise. - (NSNumber *)generalMIDISequence { return _attributes.generalMIDISequence; @@ -630,11 +630,11 @@ - (void)setGeneralMIDISequence:(id)value _attributes.generalMIDISequence = value; } -//Meta data attribute that stores the category of -//instrument. Files should have an instrument associated with -//them ("Other Instrument" is provided as a catch-all). For some -//categories, like "Keyboards" there are instrument names which -//provide a more detailed instrument definition (e.g., Piano,Organ, etc.) +// Meta data attribute that stores the category of +// instrument. Files should have an instrument associated with +// them ("Other Instrument" is provided as a catch-all). For some +// categories, like "Keyboards" there are instrument names which +// provide a more detailed instrument definition (e.g., Piano,Organ, etc.) - (NSString *)musicalInstrumentCategory { return _attributes.musicalInstrumentCategory; @@ -647,11 +647,11 @@ - (void)setMusicalInstrumentCategory:(id)value _attributes.musicalInstrumentCategory = value; } -//Meta data attribute that stores the name of instrument +// Meta data attribute that stores the name of instrument //(relative to the instrument category) Files can have an -//instrument name associated with them if they have certain -//instrument categories (e.g., the category Percussion has -// multiple instruments, including Conga and Bongo). +// instrument name associated with them if they have certain +// instrument categories (e.g., the category Percussion has +// multiple instruments, including Conga and Bongo). - (NSString *)musicalInstrumentName { return _attributes.musicalInstrumentName; @@ -750,7 +750,7 @@ - (void)setContainerOrder:(id)value // CSMedia Section //********************************* -//The list of editor/editors that have worked on this item. +// The list of editor/editors that have worked on this item. - (NSArray *)editors { return _attributes.editors; @@ -763,7 +763,7 @@ - (void)setEditors:(id)value _attributes.editors = value; } -//The list of people who are visible in an image or movie or written about in a document. +// The list of people who are visible in an image or movie or written about in a document. - (NSArray *)participants { return _attributes.participants; @@ -776,9 +776,9 @@ - (void)setParticipants:(id)value _attributes.participants = value; } -//The list of projects that this item is part of. -//For example if you were working on a movie, all of the movie files could be marked -//as belonging to the project "My movie" +// The list of projects that this item is part of. +// For example if you were working on a movie, all of the movie files could be marked +// as belonging to the project "My movie" - (NSArray *)projects { return _attributes.projects; @@ -808,8 +808,8 @@ - (void)setDownloadedDate:(id)value _attributes.downloadedDate = [TiUtils dateForUTCDate:value]; } -//This attribute indicates where the item was obtained from. -//Examples: +// This attribute indicates where the item was obtained from. +// Examples: //- downloaded file may refer to the site they were downloaded from,the refering URL, etc //- files received by email may indicate who sent the file, the message subject, etc - (NSArray *)contentSources @@ -824,7 +824,7 @@ - (void)setContentSources:(id)value _attributes.contentSources = value; } -//This is a comment related to a file. +// This is a comment related to a file. - (NSString *)comment { return _attributes.comment; @@ -837,7 +837,7 @@ - (void)setComment:(id)value _attributes.comment = value; } -//This is the copyright of the content. +// This is the copyright of the content. - (NSString *)copyright { return _attributes.copyright; @@ -850,7 +850,7 @@ - (void)setCopyright:(id)value _attributes.copyright = value; } -//This is the date that the item was last used +// This is the date that the item was last used - (NSString *)lastUsedDate { if (_attributes.lastUsedDate == nil) { @@ -866,8 +866,8 @@ - (void)setLastUsedDate:(id)value _attributes.lastUsedDate = [TiUtils dateForUTCDate:value]; } -//This is the date that the contents of the item were created -//This is the date that the contents of the item were created +// This is the date that the contents of the item were created +// This is the date that the contents of the item were created - (NSString *)contentCreationDate { if (_attributes.contentCreationDate == nil) { @@ -883,7 +883,7 @@ - (void)setContentCreationDate:(id)value _attributes.contentCreationDate = [TiUtils dateForUTCDate:value]; } -//This is the date that the contents of the item were last modified +// This is the date that the contents of the item were last modified - (NSString *)contentModificationDate { if (_attributes.contentModificationDate == nil) { @@ -899,7 +899,7 @@ - (void)setContentModificationDate:(id)value _attributes.contentModificationDate = [TiUtils dateForUTCDate:value]; } -//This is the date that the item was moved into the current location. +// This is the date that the item was moved into the current location. - (NSString *)addedDate { if (_attributes.addedDate == nil) { @@ -915,7 +915,7 @@ - (void)setAddedDate:(id)value _attributes.addedDate = [TiUtils dateForUTCDate:value]; } -//This is the duration, in seconds, of the content of the item (if appropriate). +// This is the duration, in seconds, of the content of the item (if appropriate). - (NSNumber *)duration { return _attributes.duration; @@ -928,7 +928,7 @@ - (void)setDuration:(id)value _attributes.duration = value; } -//A list of contacts that are somehow associated with this document, beyond what is captured as Author. +// A list of contacts that are somehow associated with this document, beyond what is captured as Author. - (NSArray *)contactKeywords { return _attributes.contactKeywords; @@ -941,7 +941,7 @@ - (void)setContactKeywords:(id)value _attributes.contactKeywords = value; } -//A version specifier for this item. +// A version specifier for this item. - (NSString *)version { return _attributes.version; @@ -954,7 +954,7 @@ - (void)setVersion:(id)value _attributes.version = value; } -//The codecs used to encode/decode the media +// The codecs used to encode/decode the media - (NSArray *)codecs { return _attributes.codecs; @@ -967,7 +967,7 @@ - (void)setCodecs:(id)value _attributes.codecs = value; } -//Media types present in the content +// Media types present in the content - (NSArray *)mediaTypes { return _attributes.mediaTypes; @@ -980,7 +980,7 @@ - (void)setMediaTypes:(id)value _attributes.mediaTypes = value; } -//Whether the content is prepared for streaming. Should be 0 for not streamable, 1 for streamable. +// Whether the content is prepared for streaming. Should be 0 for not streamable, 1 for streamable. - (NSNumber *)streamable { return _attributes.streamable; @@ -993,7 +993,7 @@ - (void)setStreamable:(id)value _attributes.streamable = value; } -//The total bit rate (audio & video combined) of the media +// The total bit rate (audio & video combined) of the media - (NSNumber *)totalBitRate { return _attributes.totalBitRate; @@ -1005,7 +1005,7 @@ - (void)setTotalBitRate:(id)value ENSURE_UI_THREAD(setTotalBitRate, value); _attributes.totalBitRate = value; } -//The video bit rate +// The video bit rate - (NSNumber *)videoBitRate { return _attributes.videoBitRate; @@ -1017,7 +1017,7 @@ - (void)setVideoBitRate:(id)value ENSURE_UI_THREAD(setVideoBitRate, value); _attributes.videoBitRate = value; } -//The audio bit rate +// The audio bit rate - (NSNumber *)audioBitRate { return _attributes.audioBitRate; @@ -1030,7 +1030,7 @@ - (void)setAudioBitRate:(id)value _attributes.audioBitRate = value; } -//The delivery type of the item. Should be 0 for fast start and 1 for RTSP. +// The delivery type of the item. Should be 0 for fast start and 1 for RTSP. - (NSNumber *)deliveryType { return _attributes.deliveryType; @@ -1043,7 +1043,7 @@ - (void)setDeliveryType:(id)value _attributes.deliveryType = value; } -//Used to indicate company/Organization that created the document. +// Used to indicate company/Organization that created the document. - (NSArray *)organizations { return _attributes.organizations; @@ -1056,7 +1056,7 @@ - (void)setOrganizations:(id)value _attributes.organizations = value; } -//Used to indicate the role of the document creator +// Used to indicate the role of the document creator - (NSString *)role { return _attributes.role; @@ -1069,9 +1069,9 @@ - (void)setRole:(id)value _attributes.role = value; } -//Used to designate the languages of the intellectual content of the -//resource. Recommended best practice for the values of the Language -//element is defined by BCP 47. +// Used to designate the languages of the intellectual content of the +// resource. Recommended best practice for the values of the Language +// element is defined by BCP 47. - (NSArray *)languages { return _attributes.languages; @@ -1084,14 +1084,14 @@ - (void)setLanguages:(id)value _attributes.languages = value; } -//Used to provide a link to information about rights held in and -//over the resource. Typically a Rights element will contain a -//rights management statement for the resource, or reference a -//service providing such information. Rights information often -//encompasses Intellectual Property Rights (IPR), Copyright, and -//various Property Rights. If the rights element is absent, no -//assumptions can be made about the status of these and other rights -//with respect to the resource. +// Used to provide a link to information about rights held in and +// over the resource. Typically a Rights element will contain a +// rights management statement for the resource, or reference a +// service providing such information. Rights information often +// encompasses Intellectual Property Rights (IPR), Copyright, and +// various Property Rights. If the rights element is absent, no +// assumptions can be made about the status of these and other rights +// with respect to the resource. - (NSString *)rights { return _attributes.rights; @@ -1104,10 +1104,10 @@ - (void)setRights:(id)value _attributes.rights = value; } -//Used to designate the entity responsible for making the resource -//available. Examples of a Publisher include a person, an -//organization, or a service. Typically, the name of a Publisher -//should be used to indicate the entity. +// Used to designate the entity responsible for making the resource +// available. Examples of a Publisher include a person, an +// organization, or a service. Typically, the name of a Publisher +// should be used to indicate the entity. - (NSArray *)publishers { return _attributes.publishers; @@ -1120,10 +1120,10 @@ - (void)setPublishers:(id)value _attributes.publishers = value; } -//Used to designate the entity responsible for making contributions -//to the content of the resource. Examples of a Contributor include -//a person, an organization or a service. Typically, the name of a -//Contributor should be used to indicate the entity. +// Used to designate the entity responsible for making contributions +// to the content of the resource. Examples of a Contributor include +// a person, an organization or a service. Typically, the name of a +// Contributor should be used to indicate the entity. - (NSArray *)contributors { return _attributes.contributors; @@ -1136,12 +1136,12 @@ - (void)setContributors:(id)value _attributes.contributors = value; } -//Used to designate the extent or scope of the content of the -//resource. Coverage will typically include spatial location +// Used to designate the extent or scope of the content of the +// resource. Coverage will typically include spatial location //(a place name or geographic co-ordinates), temporal period (a period label, date, or date range) -//or jurisdiction (such as a named administrative entity). -//Recommended best practice is to select a value from a controlled vocabulary, and that, where appropriate, -//named places or time periods be used in preference to numeric identifiers such as sets of co-ordinates or date ranges. +// or jurisdiction (such as a named administrative entity). +// Recommended best practice is to select a value from a controlled vocabulary, and that, where appropriate, +// named places or time periods be used in preference to numeric identifiers such as sets of co-ordinates or date ranges. - (NSArray *)coverage { return _attributes.coverage; @@ -1154,7 +1154,7 @@ - (void)setCoverage:(id)value _attributes.coverage = value; } -//User rating of this item out of 5 stars +// User rating of this item out of 5 stars - (NSNumber *)rating { return _attributes.rating; @@ -1167,7 +1167,7 @@ - (void)setRating:(id)value _attributes.rating = value; } -//A description of the rating. E.g. the number of reviewers. +// A description of the rating. E.g. the number of reviewers. - (NSString *)ratingDescription { return _attributes.ratingDescription; @@ -1180,7 +1180,7 @@ - (void)setRatingDescription:(id)value _attributes.ratingDescription = value; } -//User play count of this item +// User play count of this item - (NSNumber *)playCount { return _attributes.playCount; @@ -1193,7 +1193,7 @@ - (void)setPlayCount:(id)value _attributes.playCount = value; } -//Information about the item +// Information about the item - (NSString *)information { return _attributes.information; @@ -1206,7 +1206,7 @@ - (void)setInformation:(id)value _attributes.information = value; } -//Director of the item (e.g. movie director) +// Director of the item (e.g. movie director) - (NSString *)director { return _attributes.director; @@ -1219,7 +1219,7 @@ - (void)setDirector:(id)value _attributes.director = value; } -//Producer of the content +// Producer of the content - (NSString *)producer { return _attributes.producer; @@ -1232,7 +1232,7 @@ - (void)setProducer:(id)value _attributes.producer = value; } -//Genre of the item (e.g. movie genre) +// Genre of the item (e.g. movie genre) - (NSString *)genre { return _attributes.genre; @@ -1245,7 +1245,7 @@ - (void)setGenre:(id)value _attributes.genre = value; } -//Performers in the movie +// Performers in the movie - (NSArray *)performers { return _attributes.performers; @@ -1258,7 +1258,7 @@ - (void)setPerformers:(id)value _attributes.performers = value; } -//Original format of the movie +// Original format of the movie - (NSString *)originalFormat { return _attributes.originalFormat; @@ -1271,7 +1271,7 @@ - (void)setOriginalFormat:(id)value _attributes.originalFormat = value; } -//Original source of the movie +// Original source of the movie - (NSString *)originalSource { return _attributes.originalSource; @@ -1284,7 +1284,7 @@ - (void)setOriginalSource:(id)value _attributes.originalSource = value; } -//Whether or not the item is local. Should be 1 if true, 0 otherwise. +// Whether or not the item is local. Should be 1 if true, 0 otherwise. - (NSNumber *)local { return _attributes.local; @@ -1297,7 +1297,7 @@ - (void)setLocal:(id)value _attributes.local = value; } -//Whether or not the item has explicit content. Should be 1 if explicit, 0 for clean. +// Whether or not the item has explicit content. Should be 1 if explicit, 0 for clean. - (NSNumber *)contentRating { return _attributes.contentRating; @@ -1309,7 +1309,7 @@ - (void)setContentRating:(id)value ENSURE_UI_THREAD(setContentRating, value); _attributes.contentRating = value; } -//URL of the item +// URL of the item - (NSString *)url { return [_attributes.URL absoluteString]; diff --git a/iphone/Classes/TiAppiOSUserDefaultsProxy.m b/iphone/Classes/TiAppiOSUserDefaultsProxy.m index f975aa4390a..e85481a26b0 100644 --- a/iphone/Classes/TiAppiOSUserDefaultsProxy.m +++ b/iphone/Classes/TiAppiOSUserDefaultsProxy.m @@ -138,32 +138,32 @@ - (id)getObject:(id)args - (void)setBool:(id)args { SETPROP - [self.defaultsObject setBool:[TiUtils boolValue:value] - forKey:key]; + [self.defaultsObject setBool:[TiUtils boolValue:value] + forKey:key]; [self.defaultsObject synchronize]; } - (void)setDouble:(id)args { SETPROP - [self.defaultsObject setDouble:[TiUtils doubleValue:value] - forKey:key]; + [self.defaultsObject setDouble:[TiUtils doubleValue:value] + forKey:key]; [self.defaultsObject synchronize]; } - (void)setInt:(id)args { SETPROP - [self.defaultsObject setInteger:[TiUtils intValue:value] - forKey:key]; + [self.defaultsObject setInteger:[TiUtils intValue:value] + forKey:key]; [self.defaultsObject synchronize]; } - (void)setString:(id)args { SETPROP - [self.defaultsObject setObject:[TiUtils stringValue:value] - forKey:key]; + [self.defaultsObject setObject:[TiUtils stringValue:value] + forKey:key]; [self.defaultsObject synchronize]; } diff --git a/iphone/Classes/TiCalendarCalendar.h b/iphone/Classes/TiCalendarCalendar.h index 8ad3a072f6a..430a19a9777 100644 --- a/iphone/Classes/TiCalendarCalendar.h +++ b/iphone/Classes/TiCalendarCalendar.h @@ -17,7 +17,7 @@ READONLY_PROPERTY(bool, hidden, Hidden); READONLY_PROPERTY(NSString *, id, Id); READONLY_PROPERTY(NSString *, name, Name); -//READONLY_PROPERTY(BOOL, selected, Selected); // not implemented on iOS +// READONLY_PROPERTY(BOOL, selected, Selected); // not implemented on iOS READONLY_PROPERTY(NSString *, sourceIdentifier, SourceIdentifier); READONLY_PROPERTY(NSString *, sourceTitle, SourceTitle); READONLY_PROPERTY(EKSourceType, sourceType, SourceType); diff --git a/iphone/Classes/TiContactsGroup.m b/iphone/Classes/TiContactsGroup.m index 9f060c9647d..a6bb0eae19b 100644 --- a/iphone/Classes/TiContactsGroup.m +++ b/iphone/Classes/TiContactsGroup.m @@ -222,7 +222,7 @@ - (void)remove:(id)arg #endif } -//For iOS9 deleting contact +// For iOS9 deleting contact #ifndef __clang_analyzer__ - (CNSaveRequest *)getSaveRequestForDeletion { diff --git a/iphone/Classes/TiContactsPerson.m b/iphone/Classes/TiContactsPerson.m index 3b31bc0de86..1e6a3aa6355 100644 --- a/iphone/Classes/TiContactsPerson.m +++ b/iphone/Classes/TiContactsPerson.m @@ -198,7 +198,7 @@ - (NSDictionary *)dictionaryFromiOS9MultiValueArray:(NSArray *)property // For case where address is added via contact card import. This should be nonnull as according to apple docs but quick fix for now til apple fixes it. key = @"address"; } else { - //must be a custom label + // must be a custom label key = [NSString stringWithString:genericProperty.label]; } } diff --git a/iphone/Classes/TiController.h b/iphone/Classes/TiController.h index b10c6494cf7..8f6b5b64b81 100644 --- a/iphone/Classes/TiController.h +++ b/iphone/Classes/TiController.h @@ -7,7 +7,7 @@ #import -//TODO: rename tab controller +// TODO: rename tab controller @protocol TiController diff --git a/iphone/Classes/TiDOMAttrProxy.m b/iphone/Classes/TiDOMAttrProxy.m index 3686fb9792a..1ab0ebf1259 100644 --- a/iphone/Classes/TiDOMAttrProxy.m +++ b/iphone/Classes/TiDOMAttrProxy.m @@ -94,7 +94,7 @@ - (id)ownerElement - (id)specified { - //TODO - Support for default values specified in the DTD. + // TODO - Support for default values specified in the DTD. if ([node XMLNode]->parent == nil) return NUMBOOL(YES); diff --git a/iphone/Classes/TiDOMDocumentProxy.m b/iphone/Classes/TiDOMDocumentProxy.m index 69a9b01ea36..8d643a05845 100644 --- a/iphone/Classes/TiDOMDocumentProxy.m +++ b/iphone/Classes/TiDOMDocumentProxy.m @@ -29,7 +29,7 @@ @implementation TiDOMDocumentProxy - (void)dealloc { if ([document docNode] != NULL) { - //Ensure that docNode is removed from nodeRegistry + // Ensure that docNode is removed from nodeRegistry [TiDOMNodeProxy removeNodeForXMLNode:(xmlNodePtr)[document docNode]]; } [super dealloc]; @@ -74,7 +74,7 @@ - (id)createAttribute:(id)args ENSURE_ARG_COUNT(args, 1); NSString *tagName = nil; ENSURE_ARG_AT_INDEX(tagName, args, 0, NSString); - //Check name validity + // Check name validity if (![TiDOMValidator checkAttributeName:tagName]) { [self throwException:@"Invalid attribute name" subreason:[NSString stringWithFormat:@"Offending tagName %@", tagName] location:CODELOCATION]; return [NSNull null]; @@ -115,8 +115,8 @@ - (id)createAttributeNS:(id)args [self throwException:error subreason:suberror location:CODELOCATION]; } - //THIS WILL NOT WORK UNTIL ADD CHILD IS CALLED SO CREATE A NAMESPACE POINTER AND SET IT EXPLICITLY - //GDataXMLNode* resultNode = (GDataXMLNode*)[GDataXMLElement attributeWithName:tagName URI:theURI stringValue:@""]; + // THIS WILL NOT WORK UNTIL ADD CHILD IS CALLED SO CREATE A NAMESPACE POINTER AND SET IT EXPLICITLY + // GDataXMLNode* resultNode = (GDataXMLNode*)[GDataXMLElement attributeWithName:tagName URI:theURI stringValue:@""]; NSString *localName = [GDataXMLNode localNameForName:tagName]; id context = ([self executionContext] == nil) ? [self pageContext] : [self executionContext]; @@ -230,8 +230,8 @@ - (id)createElementNS:(id)args [self throwException:error subreason:suberror location:CODELOCATION]; } - //THIS WILL NOT WORK UNTIL ADD CHILD IS CALLED SO CREATE A NAMESPACE POINTER AND SET IT EXPLICITLY - //GDataXMLElement * resultElement = [GDataXMLElement elementWithName:tagName URI:theURI]; + // THIS WILL NOT WORK UNTIL ADD CHILD IS CALLED SO CREATE A NAMESPACE POINTER AND SET IT EXPLICITLY + // GDataXMLElement * resultElement = [GDataXMLElement elementWithName:tagName URI:theURI]; NSString *localName = [GDataXMLNode localNameForName:tagName]; id context = ([self executionContext] == nil) ? [self pageContext] : [self executionContext]; @@ -255,7 +255,7 @@ - (id)createElementNS:(id)args xmlNsPtr theNewNs = xmlNewNs(NULL, // parent node href, pre); [resultElement XMLNode]->ns = theNewNs; - //Assume that this NS is defined on this node. Will be fixed later when added to tree + // Assume that this NS is defined on this node. Will be fixed later when added to tree [resultElement XMLNode]->nsDef = theNewNs; [result setDocument:[self document]]; [result setElement:resultElement]; @@ -387,7 +387,7 @@ - (id)getElementsByTagNameNS:(id)args } NSError *error = nil; - //PARAMETER IS SPECIFIED AS LOCAL NAME + // PARAMETER IS SPECIFIED AS LOCAL NAME NSString *xpath = [NSString stringWithFormat:@"//*[local-name()='%@' and namespace-uri()='%@']", localName, theURI]; NSArray *nodes = [document nodesForXPath:xpath error:&error]; diff --git a/iphone/Classes/TiDOMElementProxy.m b/iphone/Classes/TiDOMElementProxy.m index 1fb528fd533..c0d1d240404 100644 --- a/iphone/Classes/TiDOMElementProxy.m +++ b/iphone/Classes/TiDOMElementProxy.m @@ -91,7 +91,7 @@ - (id)getElementsByTagNameNS:(id)args } NSError *error = nil; - //PARAMETER IS SPECIFIED AS LOCAL NAME + // PARAMETER IS SPECIFIED AS LOCAL NAME NSString *xpath = [NSString stringWithFormat:@"self::node()/descendant::*[local-name()='%@' and namespace-uri()='%@']", localName, theURI]; NSArray *nodes = [element nodesForXPath:xpath error:&error]; @@ -243,9 +243,9 @@ - (void)removeAttribute:(id)args xmlNodePtr oldNodePtr = [attributeNode XMLNode]; TiDOMAttrProxy *result = [TiDOMNodeProxy nodeForXMLNode:oldNodePtr]; - //Retain it here so that the node does not get freed when cached values are released + // Retain it here so that the node does not get freed when cached values are released [attributeNode retain]; - //Switch the flag here so that the node is freed only when the object is freed + // Switch the flag here so that the node is freed only when the object is freed [attributeNode setShouldFreeXMLNode:YES]; [element removeChild:attributeNode]; @@ -255,7 +255,7 @@ - (void)removeAttribute:(id)args [result setAttribute:[attributeNode name] value:[attributeNode stringValue] owner:element]; } - //Release now and this will free the underlying memory if result is nil + // Release now and this will free the underlying memory if result is nil [attributeNode release]; } } @@ -278,9 +278,9 @@ - (void)removeAttributeNS:(id)args xmlNodePtr oldNodePtr = [attributeNode XMLNode]; TiDOMAttrProxy *result = [TiDOMNodeProxy nodeForXMLNode:oldNodePtr]; - //Retain it here so that the node does not get freed when cached values are released + // Retain it here so that the node does not get freed when cached values are released [attributeNode retain]; - //Switch the flag here so that the node is freed only when the object is freed + // Switch the flag here so that the node is freed only when the object is freed [attributeNode setShouldFreeXMLNode:YES]; [element removeChild:attributeNode]; if (result != nil) { @@ -288,7 +288,7 @@ - (void)removeAttributeNS:(id)args [result setNode:attributeNode]; [result setAttribute:[attributeNode name] value:[attributeNode stringValue] owner:element]; } - //Release now and this will free the underlying memory if result is nil + // Release now and this will free the underlying memory if result is nil [attributeNode release]; } } @@ -380,10 +380,10 @@ - (id)setAttributeNode:(id)args [attributeNode setShouldFreeXMLNode:YES]; oldNodePtr = [attributeNode XMLNode]; result = [TiDOMNodeProxy nodeForXMLNode:oldNodePtr]; - //Remove Child Now + // Remove Child Now [element removeChild:attributeNode]; if (result == nil) { - //Need to return the old attribute node + // Need to return the old attribute node id context = ([self executionContext] == nil) ? [self pageContext] : [self executionContext]; result = [[[TiDOMAttrProxy alloc] _initWithPageContext:context] autorelease]; [result setAttribute:[attributeNode name] value:[attributeNode stringValue] owner:element]; @@ -394,7 +394,7 @@ - (id)setAttributeNode:(id)args [result setNode:attributeNode]; [result setAttribute:[attributeNode name] value:[attributeNode stringValue] owner:element]; } - //Release now and this will free the underlying memory when proxy is released + // Release now and this will free the underlying memory when proxy is released [attributeNode release]; } @@ -402,7 +402,7 @@ - (id)setAttributeNode:(id)args if (oldNodePtr != NULL) { [TiDOMNodeProxy removeNodeForXMLNode:oldNodePtr]; } - //This adds by copying + // This adds by copying [element addAttribute:[attProxy node]]; attributeNode = [element attributeForName:name]; [attProxy setNode:attributeNode]; @@ -442,10 +442,10 @@ - (id)setAttributeNodeNS:(id)args [attributeNode setShouldFreeXMLNode:YES]; oldNodePtr = [attributeNode XMLNode]; result = [TiDOMNodeProxy nodeForXMLNode:oldNodePtr]; - //Remove Child Now + // Remove Child Now [element removeChild:attributeNode]; if (result == nil) { - //Need to return the old attribute node + // Need to return the old attribute node id context = ([self executionContext] == nil) ? [self pageContext] : [self executionContext]; result = [[[TiDOMAttrProxy alloc] _initWithPageContext:context] autorelease]; [result setAttribute:[attributeNode name] value:[attributeNode stringValue] owner:element]; @@ -456,7 +456,7 @@ - (id)setAttributeNodeNS:(id)args [result setNode:attributeNode]; [result setAttribute:[attributeNode name] value:[attributeNode stringValue] owner:element]; } - //Release now and this will free the underlying memory when proxy is released + // Release now and this will free the underlying memory when proxy is released [attributeNode release]; } @@ -464,7 +464,7 @@ - (id)setAttributeNodeNS:(id)args if (oldNodePtr != NULL) { [TiDOMNodeProxy removeNodeForXMLNode:oldNodePtr]; } - //Duplicate methodology in setAttributeNS + // Duplicate methodology in setAttributeNS [element releaseCachedValues]; xmlNodePtr curNode = [element XMLNode]; xmlNodePtr curAttr = [[attProxy node] XMLNode]; @@ -506,7 +506,7 @@ - (id)removeAttributeNode:(id)args [self throwException:@"no node found to remove" subreason:nil location:CODELOCATION]; return nil; } else { - //Switch the flag here so that the node is freed only when the object is freed + // Switch the flag here so that the node is freed only when the object is freed [nodeToRemove retain]; [nodeToRemove setShouldFreeXMLNode:YES]; [element removeChild:nodeToRemove]; @@ -552,7 +552,7 @@ - (id)insertBefore:(id)args if (returnNodePtr == newNodePtr) { return newChild; } else { - //This should not happen + // This should not happen id result = [TiDOMNodeProxy nodeForXMLNode:returnNodePtr]; if (result == nil) { GDataXMLNode *retVal = [GDataXMLNode nodeConsumingXMLNode:returnNodePtr]; @@ -563,7 +563,7 @@ - (id)insertBefore:(id)args } } else { - //Will get here if there in an internal API error + // Will get here if there in an internal API error return [NSNull null]; } } else { @@ -605,7 +605,7 @@ - (id)replaceChild:(id)args [[refChild node] setShouldFreeXMLNode:YES]; return refChild; } else { - //This should not happen + // This should not happen id result = [TiDOMNodeProxy nodeForXMLNode:returnNodePtr]; if (result == nil) { GDataXMLNode *retVal = [GDataXMLNode nodeConsumingXMLNode:returnNodePtr]; @@ -616,7 +616,7 @@ - (id)replaceChild:(id)args } } else { - //Will get here if there in an internal API error + // Will get here if there in an internal API error return [NSNull null]; } } else { @@ -669,13 +669,13 @@ - (id)appendChild:(id)args if (needsReconciliateNS) { [GDataXMLElement fixUpNamespacesForNode:resultPtr graftingToTreeNode:parent]; } - //Child added successfully + // Child added successfully if (resultPtr == oldNodePtr) { - //Child pointer not modified + // Child pointer not modified [[newChild node] setShouldFreeXMLNode:NO]; return newChild; } else { - //Child pointer modified + // Child pointer modified [[newChild node] setShouldFreeXMLNode:YES]; if (oldNodePtr != NULL) { [TiDOMNodeProxy removeNodeForXMLNode:oldNodePtr]; diff --git a/iphone/Classes/TiDOMEntityProxy.m b/iphone/Classes/TiDOMEntityProxy.m index b640ddc45ea..62f64e6fe4b 100644 --- a/iphone/Classes/TiDOMEntityProxy.m +++ b/iphone/Classes/TiDOMEntityProxy.m @@ -22,17 +22,17 @@ - (id)nodeValue - (id)notationName { - //TODO + // TODO return [NSNull null]; } - (id)publicId { - //TODO + // TODO return [NSNull null]; } - (id)systemId { - //TODO + // TODO return [NSNull null]; } @end diff --git a/iphone/Classes/TiDOMNamedNodeMapProxy.h b/iphone/Classes/TiDOMNamedNodeMapProxy.h index 5f353d39087..29d45543be6 100644 --- a/iphone/Classes/TiDOMNamedNodeMapProxy.h +++ b/iphone/Classes/TiDOMNamedNodeMapProxy.h @@ -8,7 +8,7 @@ /** * This supports the NamedNodeMap for the property "attributes" * defined by Interface Node. - * The support for NamedNodeMap for the properties "entites" and "notations" + * The support for NamedNodeMap for the properties "entites" and "notations" * defined by Interface DocumentType is not yet implemented. */ #if defined(USE_TI_XML) || defined(USE_TI_NETWORK) diff --git a/iphone/Classes/TiDOMNamedNodeMapProxy.m b/iphone/Classes/TiDOMNamedNodeMapProxy.m index 9b23c2178d9..9538ed214ad 100644 --- a/iphone/Classes/TiDOMNamedNodeMapProxy.m +++ b/iphone/Classes/TiDOMNamedNodeMapProxy.m @@ -119,14 +119,14 @@ - (id)item:(id)args /* Because of parity, we cannot enable this just yet, but this code will allow for treating index properties the same as foo.item(index). - + -(id)valueForUndefinedKey:(NSString *)key { - if ([[key stringByTrimmingCharactersInSet:[NSCharacterSet decimalDigitCharacterSet]] length]==0) - { - return [self item:key]; - } - return [super valueForUndefinedKey:key]; + if ([[key stringByTrimmingCharactersInSet:[NSCharacterSet decimalDigitCharacterSet]] length]==0) + { + return [self item:key]; + } + return [super valueForUndefinedKey:key]; } */ diff --git a/iphone/Classes/TiDOMNodeProxy.m b/iphone/Classes/TiDOMNodeProxy.m index 9acceb7288c..86d50b7ed46 100644 --- a/iphone/Classes/TiDOMNodeProxy.m +++ b/iphone/Classes/TiDOMNodeProxy.m @@ -121,7 +121,7 @@ + (void)validateAttributeParameters:(NSString *)tagName withUri:(NSString *)theU NSString *localName = [GDataXMLNode localNameForName:tagName]; if (![[tagName lowercaseString] isEqualToString:@"xmlns"]) { - //Check name validity + // Check name validity if (![TiDOMValidator checkAttributeName:localName]) { *error = @"Invalid attribute name"; *suberror = [NSString stringWithFormat:@"Offending localName %@", localName]; @@ -146,13 +146,13 @@ + (void)validateAttributeParameters:(NSString *)tagName withUri:(NSString *)theU return; } } else { - //Check prefix validity + // Check prefix validity if (![TiDOMValidator checkNamespacePrefix:prefix]) { *error = @"Invalid prefix"; *suberror = [NSString stringWithFormat:@"Offending prefix %@", prefix]; return; } - //Check URI validity + // Check URI validity if (![TiDOMValidator checkNamespaceURI:theURI]) { *error = @"Invalid URI"; *suberror = [NSString stringWithFormat:@"Offending URI %@", theURI]; @@ -173,7 +173,7 @@ + (void)validateElementParameters:(NSString *)tagName withUri:(NSString *)theURI NSString *prefix = [GDataXMLNode prefixForName:tagName]; NSString *localName = [GDataXMLNode localNameForName:tagName]; - //Check name validity + // Check name validity if (![TiDOMValidator checkElementName:localName]) { *error = @"Invalid element name"; *suberror = [NSString stringWithFormat:@"Offending localName %@", localName]; @@ -192,13 +192,13 @@ + (void)validateElementParameters:(NSString *)tagName withUri:(NSString *)theURI return; } } else { - //Check prefix validity + // Check prefix validity if (![TiDOMValidator checkNamespacePrefix:prefix]) { *error = @"Invalid prefix"; *suberror = [NSString stringWithFormat:@"Offending prefix %@", prefix]; return; } - //Check URI validity + // Check URI validity if (![TiDOMValidator checkNamespaceURI:theURI]) { *error = @"Invalid URI"; *suberror = [NSString stringWithFormat:@"Offending URI %@", theURI]; @@ -474,7 +474,7 @@ - (id)hasChildNodes:(id)args - (void)normalize:(id)args { - //TODO + // TODO } - (id)isSupported:(id)args diff --git a/iphone/Classes/TiDOMNotationProxy.m b/iphone/Classes/TiDOMNotationProxy.m index 4ffc7d27413..6c038606866 100644 --- a/iphone/Classes/TiDOMNotationProxy.m +++ b/iphone/Classes/TiDOMNotationProxy.m @@ -23,12 +23,12 @@ - (id)nodeValue - (id)publicId { - //TODO + // TODO return [NSNull null]; } - (id)systemId { - //TODO + // TODO return [NSNull null]; } @end diff --git a/iphone/Classes/TiDOMTextNodeProxy.m b/iphone/Classes/TiDOMTextNodeProxy.m index adadf15a473..6a9456f32a1 100644 --- a/iphone/Classes/TiDOMTextNodeProxy.m +++ b/iphone/Classes/TiDOMTextNodeProxy.m @@ -30,14 +30,14 @@ - (TiDOMTextNodeProxy *)splitText:(id)args NSString *newNodeData = [ourData substringFromIndex:offsetArg]; NSString *ourNewData = [ourData substringToIndex:offsetArg]; - //Update out Text + // Update out Text [node setStringValue:ourNewData]; - //Create new node with data from offset + // Create new node with data from offset id context = ([self executionContext] == nil) ? [self pageContext] : [self executionContext]; TiDOMTextNodeProxy *result = [[[TiDOMTextNodeProxy alloc] _initWithPageContext:context] autorelease]; GDataXMLNode *resultElement = [GDataXMLNode textWithStringValue:newNodeData]; - //Now it is part of the tree so switch flag to ensur it gets freed when doc is released + // Now it is part of the tree so switch flag to ensur it gets freed when doc is released [resultElement setShouldFreeXMLNode:NO]; [result setDocument:[self document]]; [result setNode:resultElement]; @@ -47,11 +47,11 @@ - (TiDOMTextNodeProxy *)splitText:(id)args xmlNodePtr ourParent = ourRealNode->parent; - //Set Parent and Doc + // Set Parent and Doc resultRealNode->parent = ourParent; resultRealNode->doc = ourRealNode->doc; - //Set up next and prev pointers + // Set up next and prev pointers if (ourRealNode->next != nil) { ourRealNode->next->prev = resultRealNode; resultRealNode->next = ourRealNode->next; @@ -64,8 +64,8 @@ - (TiDOMTextNodeProxy *)splitText:(id)args } [TiDOMNodeProxy setNode:result forXMLNode:resultRealNode]; return result; - //THIS DOES NOT WORK SINCE LIBXML MERGES ADJACENT TEXT NODES WHEN ADDING SIBLINGS,CHILDREN - //xmlAddNextSibling([node XMLNode], [resultElement XMLNode]); + // THIS DOES NOT WORK SINCE LIBXML MERGES ADJACENT TEXT NODES WHEN ADDING SIBLINGS,CHILDREN + // xmlAddNextSibling([node XMLNode], [resultElement XMLNode]); } @end diff --git a/iphone/Classes/TiDOMValidator.m b/iphone/Classes/TiDOMValidator.m index 75fbd7aaf78..3e06ff3a6b9 100644 --- a/iphone/Classes/TiDOMValidator.m +++ b/iphone/Classes/TiDOMValidator.m @@ -30,7 +30,7 @@ + (BOOL)checkAttributeName:(NSString *)pName + (BOOL)checkNamespacePrefix:(NSString *)pName { - //Can be nil or empty + // Can be nil or empty if ([pName length] == 0) { return YES; } diff --git a/iphone/Classes/TiDatabaseProxy.m b/iphone/Classes/TiDatabaseProxy.m index ceda3f84f2c..96b351dc3ba 100644 --- a/iphone/Classes/TiDatabaseProxy.m +++ b/iphone/Classes/TiDatabaseProxy.m @@ -33,7 +33,7 @@ - (void)shutdown:(id)sender - (void)_destroy { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] removeObserver:self name:kTiShutdownNotification object:nil]; [self shutdown:nil]; [super _destroy]; @@ -41,7 +41,7 @@ - (void)_destroy - (void)_configure { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(shutdown:) name:kTiShutdownNotification object:nil]; [super _configure]; } @@ -81,7 +81,7 @@ - (NSString *)dbDir BOOL oldCopyExists = [fm fileExistsAtPath:oldPath isDirectory:&isDirectory]; if (oldCopyExists && isDirectory) { NSDirectoryEnumerator *contents = [fm enumeratorAtPath:oldPath]; - //This gives relative paths. So create full path before moving + // This gives relative paths. So create full path before moving for (NSString *oldFile in contents) { [fm moveItemAtPath:[oldPath stringByAppendingPathComponent:oldFile] toPath:[dbPath stringByAppendingPathComponent:oldFile] error:nil]; } @@ -122,9 +122,9 @@ - (void)install:(NSString *)path name:(NSString *)name_ path = [url path]; #if TARGET_OS_SIMULATOR - //TIMOB-6081. Resources are right now symbolic links when running in simulator) so the copy method - //of filemanager just creates a link to the original resource. - //Resolve the symbolic link if running in simulator + // TIMOB-6081. Resources are right now symbolic links when running in simulator) so the copy method + // of filemanager just creates a link to the original resource. + // Resolve the symbolic link if running in simulator NSError *pathError = nil; NSDictionary *attributes = [fm attributesOfItemAtPath:path error:&pathError]; if (pathError != nil) { diff --git a/iphone/Classes/TiDatabaseResultSetProxy.m b/iphone/Classes/TiDatabaseResultSetProxy.m index d7b83b6ff0c..7a2ac4d4ba1 100644 --- a/iphone/Classes/TiDatabaseResultSetProxy.m +++ b/iphone/Classes/TiDatabaseResultSetProxy.m @@ -138,7 +138,7 @@ - (JSValue *)field:(NSInteger)index withType:(JSValue *)optionalType if ([optionalType isNumber] || [optionalType isString]) { DatabaseFieldType type = [optionalType toInt32]; if (type != FieldTypeUnknown) { - //cast result on the way out if type constant was passed + // cast result on the way out if type constant was passed result = [self _transformObject:result toType:type]; } } @@ -158,7 +158,7 @@ - (JSValue *)fieldByName:(NSString *)name withType:(JSValue *)optionalType if ([optionalType isNumber] || [optionalType isString]) { DatabaseFieldType type = [optionalType toInt32]; if (type != FieldTypeUnknown) { - //cast result on the way out if type constant was passed + // cast result on the way out if type constant was passed result = [self _transformObject:result toType:type]; } } diff --git a/iphone/Classes/TiFilesystemBlobProxy.m b/iphone/Classes/TiFilesystemBlobProxy.m index 4d3aa10c690..7c47f3fef85 100644 --- a/iphone/Classes/TiFilesystemBlobProxy.m +++ b/iphone/Classes/TiFilesystemBlobProxy.m @@ -39,7 +39,7 @@ - (void)dealloc - (NSString *)apiName { - //Should we return Ti.FileSystem.Blob? + // Should we return Ti.FileSystem.Blob? return @"Ti.Filesystem.File"; } diff --git a/iphone/Classes/TiGravityBehavior.m b/iphone/Classes/TiGravityBehavior.m index 00fb62c74b0..1067962d504 100644 --- a/iphone/Classes/TiGravityBehavior.m +++ b/iphone/Classes/TiGravityBehavior.m @@ -61,7 +61,7 @@ - (UIDynamicBehavior *)behaviorObject - (void)updateItems { - //Update params for reinitialization + // Update params for reinitialization _angle = [_gravityBehavior angle]; _magnitude = [_gravityBehavior magnitude]; _vector = [_gravityBehavior gravityDirection]; diff --git a/iphone/Classes/TiMediaAudioPlayerProxy.m b/iphone/Classes/TiMediaAudioPlayerProxy.m index 7613dae33bc..d326a4c73ae 100644 --- a/iphone/Classes/TiMediaAudioPlayerProxy.m +++ b/iphone/Classes/TiMediaAudioPlayerProxy.m @@ -377,7 +377,7 @@ + (NSString *)_stateToString:(NSInteger)state - (void)addNotificationObserver { - WARN_IF_BACKGROUND_THREAD; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD; // NSNotificationCenter is not threadsafe! NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; // For playbackState property / playbackstate event diff --git a/iphone/Classes/TiMediaMusicPlayer.m b/iphone/Classes/TiMediaMusicPlayer.m index 22818f16029..bedca10fae9 100644 --- a/iphone/Classes/TiMediaMusicPlayer.m +++ b/iphone/Classes/TiMediaMusicPlayer.m @@ -17,7 +17,7 @@ @implementation TiMediaMusicPlayer // Has to happen on main thread or notifications screw up - (void)initializePlayer { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc addObserver:self selector:@selector(stateDidChange:) name:MPMusicPlayerControllerPlaybackStateDidChangeNotification object:player]; [nc addObserver:self selector:@selector(playingDidChange:) name:MPMusicPlayerControllerNowPlayingItemDidChangeNotification object:player]; @@ -30,7 +30,7 @@ - (id)_initWithPageContext:(id)context player:(MPMusicPlayerControl { if (self = [super _initWithPageContext:context]) { player = player_; - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc addObserver:self selector:@selector(stateDidChange:) name:MPMusicPlayerControllerPlaybackStateDidChangeNotification object:player]; [nc addObserver:self selector:@selector(playingDidChange:) name:MPMusicPlayerControllerNowPlayingItemDidChangeNotification object:player]; @@ -43,7 +43,7 @@ - (id)_initWithPageContext:(id)context player:(MPMusicPlayerControl - (void)dealloc { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc removeObserver:self name:MPMusicPlayerControllerPlaybackStateDidChangeNotification object:player]; [nc removeObserver:self name:MPMusicPlayerControllerNowPlayingItemDidChangeNotification object:player]; @@ -252,7 +252,7 @@ - (void)setVolume:(NSNumber *)vol // TODO: Change to KrollCallback properties for faster response times? - (void)stateDidChange:(NSNotification *)note { - if ([self _hasListeners:@"stateChange"]) { //TODO: Deprecate old event. + if ([self _hasListeners:@"stateChange"]) { // TODO: Deprecate old event. [self fireEvent:@"stateChange"]; } if ([self _hasListeners:@"statechange"]) { @@ -262,7 +262,7 @@ - (void)stateDidChange:(NSNotification *)note - (void)playingDidChange:(NSNotification *)note { - if ([self _hasListeners:@"playingChange"]) { //TODO: Deprecate old event. + if ([self _hasListeners:@"playingChange"]) { // TODO: Deprecate old event. [self fireEvent:@"playingChange"]; } if ([self _hasListeners:@"playingchange"]) { @@ -272,7 +272,7 @@ - (void)playingDidChange:(NSNotification *)note - (void)volumeDidChange:(NSNotification *)note { - if ([self _hasListeners:@"volumeChange"]) { //TODO: Deprecate old event. + if ([self _hasListeners:@"volumeChange"]) { // TODO: Deprecate old event. [self fireEvent:@"volumeChange"]; } if ([self _hasListeners:@"volumechange"]) { diff --git a/iphone/Classes/TiMediaSoundProxy.m b/iphone/Classes/TiMediaSoundProxy.m index bae4c09f215..5f8f3df73f2 100644 --- a/iphone/Classes/TiMediaSoundProxy.m +++ b/iphone/Classes/TiMediaSoundProxy.m @@ -281,7 +281,7 @@ - (void)setUrl:(id)url_ } } else if ([url_ isKindOfClass:[TiBlob class]]) { TiBlob *blob = (TiBlob *)url_; - //TODO: for now we're only supporting File-type blobs + // TODO: for now we're only supporting File-type blobs if ([blob type] == TiBlobTypeFile) { url = [[NSURL fileURLWithPath:[blob path]] retain]; } diff --git a/iphone/Classes/TiMediaSystemAlertProxy.m b/iphone/Classes/TiMediaSystemAlertProxy.m index 516ac8bf337..628ebfeff43 100644 --- a/iphone/Classes/TiMediaSystemAlertProxy.m +++ b/iphone/Classes/TiMediaSystemAlertProxy.m @@ -53,7 +53,7 @@ - (void)setUrl:(id)url_ // we need to download it and save it off into temp file NSData *data = [NSData dataWithContentsOfURL:url]; NSString *ext = [[[url path] lastPathComponent] pathExtension]; - //ignore this on static analyzer, as commented, it'll be auto-deleted on release + // ignore this on static analyzer, as commented, it'll be auto-deleted on release TiFile *tempFile = [[TiFile createTempFile:ext] retain]; // file auto-deleted on release [data writeToFile:[tempFile path] atomically:YES]; RELEASE_TO_NIL(url); diff --git a/iphone/Classes/TiMediaVideoPlayerProxy.m b/iphone/Classes/TiMediaVideoPlayerProxy.m index d8d2880ac81..048db4ed8ae 100644 --- a/iphone/Classes/TiMediaVideoPlayerProxy.m +++ b/iphone/Classes/TiMediaVideoPlayerProxy.m @@ -83,7 +83,7 @@ - (NSString *)apiName - (void)addNotificationObserver { - WARN_IF_BACKGROUND_THREAD; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD; // NSNotificationCenter is not threadsafe! NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; // For durationavailable event @@ -210,7 +210,7 @@ - (void)setOverlayView:(id)proxy - (void)setBackgroundView:(id)proxy { DEPRECATED_REPLACED(@"Media.VideoPlayer.backgroundView", @"7.0.0", @"Media.VideoPlayer.overlayView") - [self setOverlayView:proxy]; + [self setOverlayView:proxy]; } - (NSNumber *)playing diff --git a/iphone/Classes/TiNetworkHTTPClientProxy.m b/iphone/Classes/TiNetworkHTTPClientProxy.m index d9968803ed5..4d29bd84b8d 100644 --- a/iphone/Classes/TiNetworkHTTPClientProxy.m +++ b/iphone/Classes/TiNetworkHTTPClientProxy.m @@ -69,7 +69,7 @@ - (void)open:(id)args if ([httpRequest response] != nil) { APSHTTPResponseState curState = [[httpRequest response] readyState]; if ((curState == APSHTTPResponseStateUnsent) || (curState == APSHTTPResponseStateDone)) { - //Clear out the client + delegate and continue + // Clear out the client + delegate and continue RELEASE_TO_NIL(httpRequest); RELEASE_TO_NIL(apsConnectionDelegate); } else { @@ -326,11 +326,11 @@ - (void)request:(APSHTTPRequest *)request onLoad:(APSHTTPResponse *)response } NSInteger responseCode = [response status]; /** - * Per customer request, successful communications that resulted in an - * 4xx or 5xx response is treated as an error instead of an onload. - * For backwards compatibility, if no error handler is provided, even - * an 4xx or 5xx response will fall back onto an onload. - */ + * Per customer request, successful communications that resulted in an + * 4xx or 5xx response is treated as an error instead of an onload. + * For backwards compatibility, if no error handler is provided, even + * an 4xx or 5xx response will fall back onto an onload. + */ if (hasOnerror && (responseCode >= 400) && (responseCode <= 599)) { NSMutableDictionary *event = [TiUtils dictionaryWithCode:responseCode message:@"HTTP error"]; [event setObject:@"error" forKey:@"type"]; @@ -395,53 +395,53 @@ - (void)request:(APSHTTPRequest *)request onRedirect:(APSHTTPResponse *)response - (void)setOnload:(id)callback { ENSURE_SINGLE_ARG_OR_NIL(callback, KrollCallback) - [self replaceValue:callback - forKey:@"onload" - notification:NO]; + [self replaceValue:callback + forKey:@"onload" + notification:NO]; hasOnload = (callback == nil) ? NO : YES; } - (void)setOnerror:(id)callback { ENSURE_SINGLE_ARG_OR_NIL(callback, KrollCallback) - [self replaceValue:callback - forKey:@"onerror" - notification:NO]; + [self replaceValue:callback + forKey:@"onerror" + notification:NO]; hasOnerror = (callback == nil) ? NO : YES; ; } - (void)setOnreadystatechange:(id)callback { ENSURE_SINGLE_ARG_OR_NIL(callback, KrollCallback) - [self replaceValue:callback - forKey:@"onreadystatechange" - notification:NO]; + [self replaceValue:callback + forKey:@"onreadystatechange" + notification:NO]; hasOnreadystatechange = (callback == nil) ? NO : YES; ; } - (void)setOndatastream:(id)callback { ENSURE_SINGLE_ARG_OR_NIL(callback, KrollCallback) - [self replaceValue:callback - forKey:@"ondatastream" - notification:NO]; + [self replaceValue:callback + forKey:@"ondatastream" + notification:NO]; hasOndatastream = (callback == nil) ? NO : YES; ; } - (void)setOnsendstream:(id)callback { ENSURE_SINGLE_ARG_OR_NIL(callback, KrollCallback) - [self replaceValue:callback - forKey:@"onsendstream" - notification:NO]; + [self replaceValue:callback + forKey:@"onsendstream" + notification:NO]; hasOnsendstream = (callback == nil) ? NO : YES; ; } - (void)setOnredirect:(id)callback { ENSURE_SINGLE_ARG_OR_NIL(callback, KrollCallback) - [self replaceValue:callback - forKey:@"onredirect" - notification:NO]; + [self replaceValue:callback + forKey:@"onredirect" + notification:NO]; hasOnredirect = (callback == nil) ? NO : YES; ; } diff --git a/iphone/Classes/TiPushBehavior.m b/iphone/Classes/TiPushBehavior.m index c709084f125..14166f3233b 100644 --- a/iphone/Classes/TiPushBehavior.m +++ b/iphone/Classes/TiPushBehavior.m @@ -64,7 +64,7 @@ - (UIDynamicBehavior *)behaviorObject - (void)updateItems { - //Update params for reinitialization + // Update params for reinitialization _angle = [_pushBehavior angle]; _magnitude = [_pushBehavior magnitude]; _vector = [_pushBehavior pushDirection]; diff --git a/iphone/Classes/TiSnapBehavior.m b/iphone/Classes/TiSnapBehavior.m index e487097b47d..8ff8238b91e 100644 --- a/iphone/Classes/TiSnapBehavior.m +++ b/iphone/Classes/TiSnapBehavior.m @@ -49,7 +49,7 @@ - (UIDynamicBehavior *)behaviorObject - (void)updateItems { - //Nothing to do here + // Nothing to do here } - (void)updatePositioning diff --git a/iphone/Classes/TiUIActivityIndicator.m b/iphone/Classes/TiUIActivityIndicator.m index fcee260ab52..b6619ab11c9 100644 --- a/iphone/Classes/TiUIActivityIndicator.m +++ b/iphone/Classes/TiUIActivityIndicator.m @@ -92,9 +92,9 @@ - (UIActivityIndicatorView *)indicatorView { if (indicatorView == nil) { indicatorView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:style]; - //TIMOB-17572. When a cell is reused all animations are removed. That will hide the - //ActivityIndicator. Setting it to false ensures that visibility is controlled by the - //visible property of the ActivityIndicator (initialized to false) + // TIMOB-17572. When a cell is reused all animations are removed. That will hide the + // ActivityIndicator. Setting it to false ensures that visibility is controlled by the + // visible property of the ActivityIndicator (initialized to false) [indicatorView setHidesWhenStopped:NO]; if (spinnerColor != nil) { [indicatorView setColor:spinnerColor]; @@ -287,7 +287,7 @@ - (void)didMoveToWindow messageLabel = [self messageLabel]; indicatorView = [self indicatorView]; #endif - //TIMOB-15293 + // TIMOB-15293 if (([self window] != nil) && (indicatorView != nil) && (![indicatorView isAnimating])) { BOOL visible = [TiUtils boolValue:[[self proxy] valueForKey:@"visible"] def:NO]; if (visible) { diff --git a/iphone/Classes/TiUIAlertDialogProxy.m b/iphone/Classes/TiUIAlertDialogProxy.m index 8a5f34c4220..1488563f74f 100644 --- a/iphone/Classes/TiUIAlertDialogProxy.m +++ b/iphone/Classes/TiUIAlertDialogProxy.m @@ -151,7 +151,7 @@ - (void)show:(id)unused [alertController setPreferredAction:[[alertController actions] objectAtIndex:preferredIndex]]; } - //Configure the TextFields + // Configure the TextFields if ((style == UIAlertViewStylePlainTextInput) || (style == UIAlertViewStyleSecureTextInput)) { [alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) { textField.secureTextEntry = (style == UIAlertViewStyleSecureTextInput); diff --git a/iphone/Classes/TiUIButton.h b/iphone/Classes/TiUIButton.h index 6f8b1c9658f..8f568246a64 100644 --- a/iphone/Classes/TiUIButton.h +++ b/iphone/Classes/TiUIButton.h @@ -13,8 +13,8 @@ UIButton *button; #ifndef TI_USE_AUTOLAYOUT - //In the rare case where the button is treated as a view group, we must have - //an empty wrapper for -[parentViewForChild:] + // In the rare case where the button is treated as a view group, we must have + // an empty wrapper for -[parentViewForChild:] UIView *viewGroupWrapper; #endif UIImage *backgroundImageCache; diff --git a/iphone/Classes/TiUIButton.m b/iphone/Classes/TiUIButton.m index eda499ba194..b589e0b8f80 100644 --- a/iphone/Classes/TiUIButton.m +++ b/iphone/Classes/TiUIButton.m @@ -98,8 +98,8 @@ - (void)updateBackgroundImage if ((bounds.size.width >= imageSize.width) && (bounds.size.height >= imageSize.height)) { [button setBackgroundImage:backgroundImageCache forState:UIControlStateNormal]; } else { - //If the bounds are smaller than the image size render it in an imageView and get the image of the view. - //Should be pretty inexpensive since it happens rarely. TIMOB-9166 + // If the bounds are smaller than the image size render it in an imageView and get the image of the view. + // Should be pretty inexpensive since it happens rarely. TIMOB-9166 CGSize unstrechedSize = (backgroundImageUnstretchedCache != nil) ? [backgroundImageUnstretchedCache size] : CGSizeZero; if (backgroundImageUnstretchedCache == nil || !CGSizeEqualToSize(unstrechedSize, bounds.size)) { UIImageView *theView = [[UIImageView alloc] initWithFrame:bounds]; diff --git a/iphone/Classes/TiUIButtonBar.m b/iphone/Classes/TiUIButtonBar.m index 645f6b9215a..402098ee282 100644 --- a/iphone/Classes/TiUIButtonBar.m +++ b/iphone/Classes/TiUIButtonBar.m @@ -82,7 +82,7 @@ - (UIColor *)reverseColorOf:(UIColor *)oldColor UIColor *newColor = [UIColor colorWithCGColor:newCGColor]; CGColorRelease(newCGColor); - //For the GRAY colors 'Middle level colors' + // For the GRAY colors 'Middle level colors' CGFloat white = 0; [oldColor getWhite:&white alpha:nil]; diff --git a/iphone/Classes/TiUIButtonProxy.m b/iphone/Classes/TiUIButtonProxy.m index f6e5677ad0d..0a338a21d51 100644 --- a/iphone/Classes/TiUIButtonProxy.m +++ b/iphone/Classes/TiUIButtonProxy.m @@ -45,12 +45,12 @@ - (NSString *)apiName - (UIBarButtonItem *)barButtonItem { /* - id backgroundImageValue = [self valueForKey:@"backgroundImage"]; - if (!IS_NULL_OR_NIL(backgroundImageValue)) - { - return [super barButtonItem]; - } - */ + id backgroundImageValue = [self valueForKey:@"backgroundImage"]; + if (!IS_NULL_OR_NIL(backgroundImageValue)) + { + return [super barButtonItem]; + } + */ if (button == nil || !isUsingBarButtonItem) { isUsingBarButtonItem = YES; @@ -112,11 +112,11 @@ - (BOOL)attachedToToolbar return toolbar != nil; } -//TODO: Remove when deprecated +// TODO: Remove when deprecated - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(int)code message:(NSString *)message; { if (![TiUtils boolValue:[self valueForKey:@"enabled"] def:YES]) { - //Rogue event. We're supposed to be disabled! + // Rogue event. We're supposed to be disabled! return; } [super fireEvent:type withObject:obj withSource:source propagate:propagate reportSuccess:report errorCode:code message:message]; @@ -125,7 +125,7 @@ - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source prop - (void)fireEvent:(NSString *)type withObject:(id)obj propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(NSInteger)code message:(NSString *)message; { if (![TiUtils boolValue:[self valueForKey:@"enabled"] def:YES]) { - //Rogue event. We're supposed to be disabled! + // Rogue event. We're supposed to be disabled! return; } [super fireEvent:type withObject:obj propagate:propagate reportSuccess:report errorCode:code message:message]; diff --git a/iphone/Classes/TiUICanvasView.m b/iphone/Classes/TiUICanvasView.m index 6631193be66..61319a33d16 100644 --- a/iphone/Classes/TiUICanvasView.m +++ b/iphone/Classes/TiUICanvasView.m @@ -40,10 +40,10 @@ TiCanvasFillText, }; -//TODO: font, textAlign, textBaseline, fillText -//TODO: measureText, strokeText, drawImage -//TODO: gradients, patterns, toImage -//TODO: rotate, scale, transform, translate +// TODO: font, textAlign, textBaseline, fillText +// TODO: measureText, strokeText, drawImage +// TODO: gradients, patterns, toImage +// TODO: rotate, scale, transform, translate @implementation TiUICanvasView @@ -138,7 +138,7 @@ - (CGBlendMode)blendModeFromString:(NSString *)value BLEND_MODE(source - out, kCGBlendModeSourceOut); BLEND_MODE(source - over, kCGBlendModeNormal); BLEND_MODE(xor, kCGBlendModeXOR); - return kCGBlendModeNormal; //default by HTML canvas spec + return kCGBlendModeNormal; // default by HTML canvas spec } - (void)draw:(CGContextRef)context operation:(int)operation args:(NSArray *)args @@ -257,23 +257,23 @@ - (void)draw:(CGContextRef)context operation:(int)operation args:(NSArray *)args case TiCanvasFont: { ENSURE_ARG_COUNT(args, 1); CGContextSelectFont(context, [[args objectAtIndex:0] UTF8String], 40, kCGEncodingMacRoman); - //CGContextSetFont(context, fontRef); + // CGContextSetFont(context, fontRef); break; } case TiCanvasTextAlign: { - //TODO: how to do this in core graphics? + // TODO: how to do this in core graphics? break; } case TiCanvasTextBaseline: { - //TODO: how to do this in core graphics? + // TODO: how to do this in core graphics? break; } case TiCanvasFillText: { - //NOTE: Core Graphics doesn't support Unicode text drawing. Suggests ATSUI or Cocoa + // NOTE: Core Graphics doesn't support Unicode text drawing. Suggests ATSUI or Cocoa NSString *text = [args objectAtIndex:0]; CGFloat x = [TiUtils floatValue:[args objectAtIndex:1]]; CGFloat y = [TiUtils floatValue:[args objectAtIndex:2]]; - //TODO: max support + // TODO: max support CGContextShowTextAtPoint(context, x, y, [text UTF8String], [text length]); break; } diff --git a/iphone/Classes/TiUIDashboardView.m b/iphone/Classes/TiUIDashboardView.m index 9e444fa236e..b222f993c2b 100644 --- a/iphone/Classes/TiUIDashboardView.m +++ b/iphone/Classes/TiUIDashboardView.m @@ -131,10 +131,10 @@ - (void)launcherView:(LauncherView *)launcher_ willDragItem:(LauncherItem *)item // the actual item being moved [event setObject:item.userData forKey:@"item"]; - if ([self.proxy _hasListeners:@"dragStart"]) { //TODO: Deprecate old event + if ([self.proxy _hasListeners:@"dragStart"]) { // TODO: Deprecate old event [self.proxy fireEvent:@"dragStart" withObject:event]; } - if ([item.userData _hasListeners:@"dragStart"]) { //TODO: Deprecate old event + if ([item.userData _hasListeners:@"dragStart"]) { // TODO: Deprecate old event [item.userData fireEvent:@"dragStart" withObject:event]; } if ([self.proxy _hasListeners:@"dragstart"]) { @@ -151,10 +151,10 @@ - (void)launcherView:(LauncherView *)launcher_ didDragItem:(LauncherItem *)item // the actual item being moved [event setObject:item.userData forKey:@"item"]; - if ([self.proxy _hasListeners:@"dragEnd"]) { //TODO: Deprecate old event + if ([self.proxy _hasListeners:@"dragEnd"]) { // TODO: Deprecate old event [self.proxy fireEvent:@"dragEnd" withObject:event]; } - if ([item.userData _hasListeners:@"dragEnd"]) { //TODO: Deprecate old event + if ([item.userData _hasListeners:@"dragEnd"]) { // TODO: Deprecate old event [item.userData fireEvent:@"dragEnd" withObject:event]; } if ([self.proxy _hasListeners:@"dragend"]) { diff --git a/iphone/Classes/TiUIDashboardViewProxy.m b/iphone/Classes/TiUIDashboardViewProxy.m index 5128a969de6..fb459db56f0 100644 --- a/iphone/Classes/TiUIDashboardViewProxy.m +++ b/iphone/Classes/TiUIDashboardViewProxy.m @@ -49,7 +49,7 @@ - (void)stopEditing:(id)args [self makeViewPerformSelector:@selector(stopEditing) withObject:nil createIfNeeded:YES waitUntilDone:NO]; } -//TODO: Remove when deprication is done. +// TODO: Remove when deprication is done. - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(int)code message:(NSString *)message; { if ([type isEqual:@"click"]) { @@ -78,7 +78,7 @@ - (void)setData:(id)data { for (TiViewProxy *proxy in data) { ENSURE_TYPE(proxy, TiUIDashboardItemProxy) - [self rememberProxy:proxy]; + [self rememberProxy:proxy]; } [self replaceValue:data forKey:@"data" notification:NO]; diff --git a/iphone/Classes/TiUIImageView.m b/iphone/Classes/TiUIImageView.m index f86a2f8cacc..33f583c4798 100644 --- a/iphone/Classes/TiUIImageView.m +++ b/iphone/Classes/TiUIImageView.m @@ -59,7 +59,7 @@ - (void)dealloc - (CGFloat)contentWidthForWidth:(CGFloat)suggestedWidth { if (autoWidth > 0) { - //If height is DIP returned a scaled autowidth to maintain aspect ratio + // If height is DIP returned a scaled autowidth to maintain aspect ratio if (TiDimensionIsDip(height) && autoHeight > 0) { return roundf(autoWidth * height.value / autoHeight); } @@ -199,7 +199,7 @@ - (void)startTimerWithEvent:(NSString *)eventName } if ([eventName isEqualToString:@"start"] && previous == nil) { - //TIMOB-18830. Load the first image immediately + // TIMOB-18830. Load the first image immediately [self timerFired:nil]; } @@ -234,7 +234,7 @@ - (void)updateTimer - (UIImage *)rotatedImage:(UIImage *)originalImage { - //If autorotate is set to false and the image orientation is not UIImageOrientationUp create new image + // If autorotate is set to false and the image orientation is not UIImageOrientationUp create new image if (![TiUtils boolValue:[[self proxy] valueForUndefinedKey:@"autorotate"] def:YES] && (originalImage.imageOrientation != UIImageOrientationUp)) { UIImage *theImage = [UIImage imageWithCGImage:[originalImage CGImage] scale:[originalImage scale] orientation:UIImageOrientationUp]; return theImage; @@ -404,8 +404,8 @@ - (void)loadImageInBackground:(NSNumber *)pos } if (ready) { - //NOTE: for now i'm just making sure you have at least one frame loaded before starting the timer - //but in the future we may want to be more sophisticated + // NOTE: for now i'm just making sure you have at least one frame loaded before starting the timer + // but in the future we may want to be more sophisticated int min = 1; readyCount++; if (readyCount >= min) { @@ -446,7 +446,7 @@ - (void)loadDefaultImage:(CGSize)imageSize // if not specified NSURL *defURL = [TiUtils toURL:[self.proxy valueForKey:@"defaultImage"] proxy:self.proxy]; - if ((defURL == nil) && ![TiUtils boolValue:[self.proxy valueForKey:@"preventDefaultImage"] def:NO]) { //This is a special case, because it IS built into the bundle despite being in the simulator. + if ((defURL == nil) && ![TiUtils boolValue:[self.proxy valueForKey:@"preventDefaultImage"] def:NO]) { // This is a special case, because it IS built into the bundle despite being in the simulator. NSString *filePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"modules/ui/images/photoDefault.png"]; defURL = [NSURL fileURLWithPath:filePath]; } @@ -488,13 +488,13 @@ - (void)loadUrl:(NSURL *)img NSString *imageArg = nil; if (range.location != NSNotFound) { if ([TiUtils isMacOS]) { - imageArg = [pathStr substringFromIndex:range.location + 24]; //Contents/Resources/ for mac + imageArg = [pathStr substringFromIndex:range.location + 24]; // Contents/Resources/ for mac } else { imageArg = [pathStr substringFromIndex:range.location + 5]; } } - //remove suffixes. + // remove suffixes. imageArg = [imageArg stringByReplacingOccurrencesOfString:@"@3x" withString:@""]; imageArg = [imageArg stringByReplacingOccurrencesOfString:@"@2x" withString:@""]; imageArg = [imageArg stringByReplacingOccurrencesOfString:@"~iphone" withString:@""]; @@ -787,7 +787,7 @@ - (void)imageLoadSuccess:(ImageLoaderRequest *)request image:(UIImage *)image autoWidth = imageToUse.size.width; autoHeight = imageToUse.size.height; - //Setting hires to true causes image to de displayed at 50% + // Setting hires to true causes image to de displayed at 50% if ([TiUtils boolValue:[[self proxy] valueForKey:@"hires"]]) { autoWidth = autoWidth / 2; autoHeight = autoHeight / 2; diff --git a/iphone/Classes/TiUIImageViewProxy.m b/iphone/Classes/TiUIImageViewProxy.m index f5048c70d5b..0379bd5e47e 100644 --- a/iphone/Classes/TiUIImageViewProxy.m +++ b/iphone/Classes/TiUIImageViewProxy.m @@ -39,7 +39,7 @@ - (NSString *)apiName - (void)propagateLoadEvent:(NSString *)stateString { #ifndef TI_USE_AUTOLAYOUT - //Send out a content change message if we are auto sizing + // Send out a content change message if we are auto sizing if (TiDimensionIsAuto(layoutProperties.width) || TiDimensionIsAutoSize(layoutProperties.width) || TiDimensionIsUndefined(layoutProperties.width) || TiDimensionIsAuto(layoutProperties.height) || TiDimensionIsAutoSize(layoutProperties.height) || TiDimensionIsUndefined(layoutProperties.height)) { [self refreshSize]; [self willChangeSize]; @@ -74,9 +74,9 @@ - (void)start:(id)args - (void)stop:(id)args { - //Don't put this in UIThread, because it doesn't need to go in UIThread. - //Furthermore, by the time this is run, if this stop was called by a destroy - //Bad things(tm) happen. + // Don't put this in UIThread, because it doesn't need to go in UIThread. + // Furthermore, by the time this is run, if this stop was called by a destroy + // Bad things(tm) happen. [destroyLock lock]; if ([self viewAttached]) { @@ -138,7 +138,7 @@ - (id)toBlob:(id)args id imageValue = [self valueForKey:@"image"]; if ([imageValue isKindOfClass:[TiBlob class]]) { - //We already have it right here already! + // We already have it right here already! return imageValue; } @@ -183,7 +183,7 @@ - (void)setImage:(id)newImage - (void)startImageLoad:(NSURL *)url; { - [self cancelPendingImageLoads]; //Just in case we have a crusty old urlRequest. + [self cancelPendingImageLoads]; // Just in case we have a crusty old urlRequest. NSDictionary *info = nil; NSNumber *hires = [self valueForKey:@"hires"]; if (hires) { diff --git a/iphone/Classes/TiUILabel.m b/iphone/Classes/TiUILabel.m index f574bf14ae6..0f64c728397 100644 --- a/iphone/Classes/TiUILabel.m +++ b/iphone/Classes/TiUILabel.m @@ -77,8 +77,8 @@ - (CGSize)sizeForFont:(CGFloat)suggestedWidth - (CGFloat)contentWidthForWidth:(CGFloat)suggestedWidth { /* - Why both? sizeThatFits returns the width with line break mode tail truncation and we like to - have atleast enough space to display one word. On the otherhand font measurement is unsuitable for + Why both? sizeThatFits returns the width with line break mode tail truncation and we like to + have atleast enough space to display one word. On the otherhand font measurement is unsuitable for attributed strings till we move to the new measurement API. Hence take both and return MAX. */ CGFloat sizeThatFitsResult = [[self label] sizeThatFits:CGSizeMake(suggestedWidth, 0)].width; @@ -97,7 +97,7 @@ - (void)padLabel CGSize actualLabelSize = [[self label] sizeThatFits:CGSizeMake(initialLabelFrame.size.width, 0)]; UIControlContentVerticalAlignment alignment = verticalAlign; if (alignment == UIControlContentVerticalAlignmentFill) { - //IOS7 layout issue fix with attributed string. + // IOS7 layout issue fix with attributed string. if (actualLabelSize.height < initialLabelFrame.size.height) { alignment = UIControlContentVerticalAlignmentCenter; } else { @@ -307,7 +307,7 @@ - (void)recognizedTap:(UITapGestureRecognizer *)recognizer if ([recognizer numberOfTouchesRequired] == 2) { [self.proxy fireEvent:@"twofingertap" withObject:event]; } else if ([recognizer numberOfTapsRequired] == 2) { - //Because double-tap suppresses touchStart and double-click, we must do this: + // Because double-tap suppresses touchStart and double-click, we must do this: if ([self.proxy _hasListeners:@"touchstart"]) { [self.proxy fireEvent:@"touchstart" withObject:event propagate:YES]; } @@ -368,11 +368,11 @@ - (void)setHighlighted:(BOOL)newValue - (void)didMoveToSuperview { /* - * Because of how we re-use the same cells in both a tableview and its - * search table, there is the chance that the label is transported between - * the two views before a selected search row is deselected. In other - * words, make sure we're not highlighted when changing superviews. - */ + * Because of how we re-use the same cells in both a tableview and its + * search table, there is the chance that the label is transported between + * the two views before a selected search row is deselected. In other + * words, make sure we're not highlighted when changing superviews. + */ [self setHighlighted:NO]; [super didMoveToSuperview]; } @@ -380,8 +380,8 @@ - (void)didMoveToSuperview - (void)didMoveToWindow { /* - * See above - */ + * See above + */ [self setHighlighted:NO]; [super didMoveToWindow]; } diff --git a/iphone/Classes/TiUIListItem.m b/iphone/Classes/TiUIListItem.m index 01e996df147..d2861010592 100644 --- a/iphone/Classes/TiUIListItem.m +++ b/iphone/Classes/TiUIListItem.m @@ -141,7 +141,7 @@ - (void)layoutSubviews } } -//TIMOB-17373. Workaround for separators disappearing on iOS7 and above +// TIMOB-17373. Workaround for separators disappearing on iOS7 and above - (void)ensureVisibleSelectorWithTableView:(UITableView *)tableView { if ([self selectedOrHighlighted]) { @@ -177,7 +177,7 @@ - (void)updateGradientLayer:(BOOL)useSelected withAnimation:(BOOL)animated if (currentGradient == nil) { [gradientLayer removeFromSuperlayer]; - //Because there's the chance that the other state still has the gradient, let's keep it around. + // Because there's the chance that the other state still has the gradient, let's keep it around. return; } @@ -320,7 +320,7 @@ - (BOOL)canApplyDataItem:(NSDictionary *)otherItem; if (same) { same = [self compareDataItemValue:@"height" withItem:otherItem]; } - //These properties are applied in willDisplayCell. So force reload. + // These properties are applied in willDisplayCell. So force reload. if (same) { same = [self compareDataItemValue:@"backgroundColor" withItem:otherItem]; } @@ -335,7 +335,7 @@ - (BOOL)canApplyDataItem:(NSDictionary *)otherItem; - (void)configureCellBackground { - //Ensure that we store the default backgroundColor + // Ensure that we store the default backgroundColor if ([_initialValues objectForKey:@"backgroundColor"] == nil) { id initialValue = nil; if (_templateStyle == TiUIListItemTemplateStyleCustom) { @@ -360,7 +360,7 @@ - (void)configureCellBackground } self.backgroundColor = color; - //Ensure that we store the backgroundImage + // Ensure that we store the backgroundImage if ([_initialValues objectForKey:@"backgroundImage"] == nil) { id initialValue = nil; if (_templateStyle == TiUIListItemTemplateStyleCustom) { @@ -374,7 +374,7 @@ - (void)configureCellBackground } UIImage *bgImage = [[ImageLoader sharedLoader] loadImmediateStretchableImage:[TiUtils toURL:backgroundImage proxy:_proxy] withLeftCap:TiDimensionAuto topCap:TiDimensionAuto]; if (bgImage != nil) { - //Set the backgroundView to ImageView and set its backgroundColor to bgColor + // Set the backgroundView to ImageView and set its backgroundColor to bgColor if ([self.backgroundView isKindOfClass:[UIImageView class]]) { [(UIImageView *)self.backgroundView setImage:bgImage]; [(UIImageView *)self.backgroundView setBackgroundColor:[UIColor clearColor]]; diff --git a/iphone/Classes/TiUIListItemProxy.m b/iphone/Classes/TiUIListItemProxy.m index 97c4f6c4408..983f6080fff 100644 --- a/iphone/Classes/TiUIListItemProxy.m +++ b/iphone/Classes/TiUIListItemProxy.m @@ -27,8 +27,8 @@ - (id)initWithListViewProxy:(TiUIListViewProxy *)listViewProxy inContext:(id)context { - //Aggressive removal of children on deallocation of cell + // Aggressive removal of children on deallocation of cell [self removeAllChildren:nil]; [self windowDidClose]; - //Go ahead and unprotect JS object and mark context closed + // Go ahead and unprotect JS object and mark context closed //(Since cell no longer exists, the proxy is inaccessible) [context.krollContext invokeBlockOnThread:^{ [self forgetSelf]; diff --git a/iphone/Classes/TiUIListView.m b/iphone/Classes/TiUIListView.m index 4cfcc5fb799..2af7f03fe56 100644 --- a/iphone/Classes/TiUIListView.m +++ b/iphone/Classes/TiUIListView.m @@ -400,7 +400,7 @@ - (void)setDictTemplates_:(id)args - (TiUIView *)sectionView:(NSInteger)section forLocation:(NSString *)location section:(TiUIListSectionProxy **)sectionResult { TiUIListSectionProxy *proxy = [self.listViewProxy sectionForIndex:section]; - //In the event that proxy is nil, this all flows out to returning nil safely anyways. + // In the event that proxy is nil, this all flows out to returning nil safely anyways. if (sectionResult != nil) { *sectionResult = proxy; } @@ -408,7 +408,7 @@ - (TiUIView *)sectionView:(NSInteger)section forLocation:(NSString *)location se if (viewproxy != nil && [viewproxy isKindOfClass:[TiViewProxy class]]) { #ifndef TI_USE_AUTOLAYOUT LayoutConstraint *viewLayout = [viewproxy layoutProperties]; - //If height is not dip, explicitly set it to SIZE + // If height is not dip, explicitly set it to SIZE if (viewLayout->height.type != TiDimensionTypeDip) { viewLayout->height = TiDimensionAutoSize; } @@ -490,14 +490,14 @@ - (void)buildResultsForSearchText RELEASE_TO_NIL(filteredTitles); if (searchActive) { BOOL hasResults = NO; - //Initialize + // Initialize if (_searchResults == nil) { _searchResults = [[NSMutableArray alloc] init]; } - //Clear Out + // Clear Out [_searchResults removeAllObjects]; - //Search Options + // Search Options NSStringCompareOptions searchOpts = (caseInsensitiveSearch ? NSCaseInsensitiveSearch : 0); NSUInteger maxSection = [[self.listViewProxy sectionCount] unsignedIntegerValue]; @@ -1075,7 +1075,7 @@ - (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSS - (BOOL)canEditRowAtIndexPath:(NSIndexPath *)indexPath { id editValue = [self valueWithKey:@"canEdit" atIndexPath:indexPath]; - //canEdit if undefined is false + // canEdit if undefined is false return [TiUtils boolValue:editValue def:NO]; } @@ -1268,7 +1268,7 @@ - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEd NSDictionary *theItem = [[theSection itemAtIndex:realIndexPath.row] retain]; - //Delete Data + // Delete Data [theSection deleteItemAtIndex:realIndexPath.row]; [self fireEditEventWithName:@"delete" andSection:theSection atIndexPath:realIndexPath item:theItem]; @@ -1298,28 +1298,28 @@ - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEd [_searchResults insertObject:[NSArray array] atIndex:indexPath.section]; } - //Reload the data now. + // Reload the data now. [tableView beginUpdates]; if (emptyTable) { - //Table is empty. Just reload fake section with FADE animation to clear out header and footers + // Table is empty. Just reload fake section with FADE animation to clear out header and footers NSIndexSet *theSet = [NSIndexSet indexSetWithIndex:0]; [tableView reloadSections:theSet withRowAnimation:UITableViewRowAnimationFade]; } else if (emptySection) { - //Section is empty. + // Section is empty. if (pruneSections) { if (!keepSectionsInSearch && searchActive) { [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; } else { - //Delete the section + // Delete the section BOOL needsReload = (indexPath.section < sectionCount); - //If this is not the last section we need to set indices for all the sections coming in after this that are visible. - //Otherwise the events will not work properly since the indexPath stored in the cell will be incorrect. + // If this is not the last section we need to set indices for all the sections coming in after this that are visible. + // Otherwise the events will not work properly since the indexPath stored in the cell will be incorrect. if (needsReload) { NSArray *visibleRows = [tableView indexPathsForVisibleRows]; [visibleRows enumerateObjectsUsingBlock:^(NSIndexPath *vIndexPath, NSUInteger idx, BOOL *stop) { if (vIndexPath.section > indexPath.section) { - //This belongs to the next section. So set the right indexPath otherwise events wont work properly. + // This belongs to the next section. So set the right indexPath otherwise events wont work properly. NSIndexPath *newIndex = [NSIndexPath indexPathForRow:vIndexPath.row inSection:(vIndexPath.section - 1)]; UITableViewCell *theCell = [tableView cellForRowAtIndexPath:vIndexPath]; if ([theCell isKindOfClass:[TiUIListItem class]]) { @@ -1332,20 +1332,20 @@ - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEd [tableView deleteSections:deleteSet withRowAnimation:UITableViewRowAnimationFade]; } } else { - //Just delete the row. Section stays + // Just delete the row. Section stays [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; } } else { - //Just delete the row. + // Just delete the row. BOOL needsReload = (indexPath.row < [theSection itemCount]); - //If this is not the last row need to set indices for all rows in the section following this row. - //Otherwise the events will not work properly since the indexPath stored in the cell will be incorrect. + // If this is not the last row need to set indices for all rows in the section following this row. + // Otherwise the events will not work properly since the indexPath stored in the cell will be incorrect. if (needsReload) { NSArray *visibleRows = [tableView indexPathsForVisibleRows]; [visibleRows enumerateObjectsUsingBlock:^(NSIndexPath *vIndexPath, NSUInteger idx, BOOL *stop) { if ((vIndexPath.section == indexPath.section) && (vIndexPath.row > indexPath.row)) { - //This belongs to the same section. So set the right indexPath otherwise events wont work properly. + // This belongs to the same section. So set the right indexPath otherwise events wont work properly. NSIndexPath *newIndex = [NSIndexPath indexPathForRow:(vIndexPath.row - 1) inSection:(vIndexPath.section)]; UITableViewCell *theCell = [tableView cellForRowAtIndexPath:vIndexPath]; if ([theCell isKindOfClass:[TiUIListItem class]]) { @@ -1446,17 +1446,17 @@ - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fro if (fromRowIndex == toRowIndex) { return; } - //Moving a row in the same index. Just move and reload section + // Moving a row in the same index. Just move and reload section TiUIListSectionProxy *theSection = [[self.listViewProxy sectionForIndex:fromSectionIndex] retain]; NSDictionary *theItem = [[theSection itemAtIndex:fromRowIndex] retain]; - //Delete Data + // Delete Data [theSection deleteItemAtIndex:fromRowIndex]; - //Insert the data + // Insert the data [theSection addItem:theItem atIndex:toRowIndex]; - //Fire the move Event if required + // Fire the move Event if required NSString *eventName = @"move"; if ([self.proxy _hasListeners:eventName]) { @@ -1492,13 +1492,13 @@ - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fro NSDictionary *theItem = [[fromSection itemAtIndex:fromRowIndex] retain]; TiUIListSectionProxy *toSection = [[self.listViewProxy sectionForIndex:toSectionIndex] retain]; - //Delete Data + // Delete Data [fromSection deleteItemAtIndex:fromRowIndex]; - //Insert the data + // Insert the data [toSection addItem:theItem atIndex:toRowIndex]; - //Fire the move Event if required + // Fire the move Event if required NSString *eventName = @"move"; if ([self.proxy _hasListeners:eventName]) { @@ -1726,7 +1726,7 @@ - (NSDictionary *)listItemFromIndexPath:(NSIndexPath *)indexPath - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { - //Let the cell configure its background + // Let the cell configure its background [(TiUIListItem *)cell configureCellBackground]; NSIndexPath *realPath = [self pathForSearchPath:indexPath]; @@ -1740,7 +1740,7 @@ - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)ce if (searchActive || ([searchController isActive])) { return; } else { - //Tell the proxy about the cell to be displayed for marker event + // Tell the proxy about the cell to be displayed for marker event [self.listViewProxy willDisplayCell:indexPath]; } } @@ -1807,15 +1807,15 @@ - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSIntege #endif } /* - * This behavior is slightly more complex between iOS 4 and iOS 5 than you might believe, and Apple's - * documentation is once again misleading. It states that in iOS 4 this value was "ignored if - * -[delegate tableView:viewForHeaderInSection:] returned nil" but apparently a non-nil value for - * -[delegate tableView:titleForHeaderInSection:] is considered a valid value for height handling as well, - * provided it is NOT the empty string. - * - * So for parity with iOS 4, iOS 5 must similarly treat the empty string header as a 'nil' value and - * return a 0.0 height that is overridden by the system. - */ + * This behavior is slightly more complex between iOS 4 and iOS 5 than you might believe, and Apple's + * documentation is once again misleading. It states that in iOS 4 this value was "ignored if + * -[delegate tableView:viewForHeaderInSection:] returned nil" but apparently a non-nil value for + * -[delegate tableView:titleForHeaderInSection:] is considered a valid value for height handling as well, + * provided it is NOT the empty string. + * + * So for parity with iOS 4, iOS 5 must similarly treat the empty string header as a 'nil' value and + * return a 0.0 height that is overridden by the system. + */ else if ([sectionProxy headerTitle] != nil) { if ([[sectionProxy headerTitle] isEqualToString:@""]) { return size; @@ -1869,15 +1869,15 @@ - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSIntege #endif } /* - * This behavior is slightly more complex between iOS 4 and iOS 5 than you might believe, and Apple's - * documentation is once again misleading. It states that in iOS 4 this value was "ignored if - * -[delegate tableView:viewForHeaderInSection:] returned nil" but apparently a non-nil value for - * -[delegate tableView:titleForHeaderInSection:] is considered a valid value for height handling as well, - * provided it is NOT the empty string. - * - * So for parity with iOS 4, iOS 5 must similarly treat the empty string header as a 'nil' value and - * return a 0.0 height that is overridden by the system. - */ + * This behavior is slightly more complex between iOS 4 and iOS 5 than you might believe, and Apple's + * documentation is once again misleading. It states that in iOS 4 this value was "ignored if + * -[delegate tableView:viewForHeaderInSection:] returned nil" but apparently a non-nil value for + * -[delegate tableView:titleForHeaderInSection:] is considered a valid value for height handling as well, + * provided it is NOT the empty string. + * + * So for parity with iOS 4, iOS 5 must similarly treat the empty string header as a 'nil' value and + * return a 0.0 height that is overridden by the system. + */ else if ([sectionProxy footerTitle] != nil) { if ([[sectionProxy footerTitle] isEqualToString:@""]) { return size; @@ -1905,12 +1905,12 @@ - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa return height.value; } else if (TiDimensionIsAutoSize(height) || TiDimensionIsUndefined(height) || TiDimensionIsAutoFill(height)) { TiUIListSectionProxy *theSection = [self.listViewProxy sectionForIndex:realPath.section]; - NSDictionary *item = [theSection itemAtIndex:realPath.row]; //get the item data + NSDictionary *item = [theSection itemAtIndex:realPath.row]; // get the item data id templateId = [item objectForKey:@"template"]; if (templateId == nil) { templateId = _defaultItemTemplate; } - //Ignore built in templates + // Ignore built in templates if (![templateId isKindOfClass:[NSNumber class]]) { TiUIListItem *theCell = [_measureProxies objectForKey:templateId]; if (theCell != nil) { @@ -1978,7 +1978,7 @@ - (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexP - (void)scrollViewDidScroll:(UIScrollView *)scrollView { - //Events - pull (maybe scroll later) + // Events - pull (maybe scroll later) if (![self.proxy _hasListeners:@"pull"] && ![self.proxy _hasListeners:@"scrolling"]) { return; } @@ -2175,7 +2175,7 @@ - (void)scrollViewDidScrollToTop:(UIScrollView *)scrollView } [self fireScrollEnd:(UITableView *)scrollView]; - //Events none (maybe scroll later) + // Events none (maybe scroll later) } #pragma mark - UISearchBarDelegate Methods @@ -2487,19 +2487,19 @@ - (CGFloat)contentHeightForWidth:(CGFloat)width CGFloat resultHeight = 0; - //Last Section rect + // Last Section rect NSInteger lastSectionIndex = [self numberOfSectionsInTableView:_tableView] - 1; if (lastSectionIndex >= 0) { CGRect refRect = [_tableView rectForSection:lastSectionIndex]; resultHeight += refRect.size.height + refRect.origin.y; } else { - //Header auto height when no sections + // Header auto height when no sections if (_headerViewProxy != nil) { resultHeight += [_headerViewProxy autoHeightForSize:refSize]; } } - //Footer auto height + // Footer auto height if (_footerViewProxy) { resultHeight += [_footerViewProxy autoHeightForSize:refSize]; } @@ -2535,7 +2535,7 @@ - (void)initSearchController:(id)sender - (void)fireEditEventWithName:(NSString *)name andSection:(TiUIListSectionProxy *)section atIndexPath:(NSIndexPath *)indexPath item:(NSDictionary *)item { - //Fire the delete Event if required + // Fire the delete Event if required if ([self.proxy _hasListeners:name]) { NSMutableDictionary *eventObject = [[NSMutableDictionary alloc] initWithObjectsAndKeys: diff --git a/iphone/Classes/TiUIListViewProxy.m b/iphone/Classes/TiUIListViewProxy.m index 1162ff1fdab..d98740c303a 100644 --- a/iphone/Classes/TiUIListViewProxy.m +++ b/iphone/Classes/TiUIListViewProxy.m @@ -578,7 +578,7 @@ - (NSIndexPath *)indexPathFromDictionary:(NSDictionary *)args - (BOOL)canAddMarker:(NSIndexPath *)marker { - //Checks if the marker is part of currently visible rows. + // Checks if the marker is part of currently visible rows. __block BOOL canAddMarker = YES; TiThreadPerformOnMainThread( ^{ @@ -602,7 +602,7 @@ - (void)setMarker:(id)args; [_markerArray addObject:marker]; pthread_rwlock_unlock(&_markerLock); } else if ([self _hasListeners:@"marker" checkParent:NO]) { - //Index path is currently visible. Fire + // Index path is currently visible. Fire NSMutableDictionary *eventObject = [[NSMutableDictionary alloc] initWithObjectsAndKeys: NUMINTEGER(marker.section), @"sectionIndex", NUMINTEGER(marker.row), @"itemIndex", @@ -623,7 +623,7 @@ - (void)addMarker:(id)args } pthread_rwlock_unlock(&_markerLock); } else if ([self _hasListeners:@"marker" checkParent:NO]) { - //Index path is currently visible. Fire + // Index path is currently visible. Fire NSMutableDictionary *eventObject = [[NSMutableDictionary alloc] initWithObjectsAndKeys: NUMINTEGER(marker.section), @"sectionIndex", NUMINTEGER(marker.row), @"itemIndex", @@ -636,7 +636,7 @@ - (void)addMarker:(id)args - (void)willDisplayCell:(NSIndexPath *)indexPath { if (([_markerArray count] > 0) && [self _hasListeners:@"marker" checkParent:NO]) { - //Never block the UI thread + // Never block the UI thread int result = pthread_rwlock_trywrlock(&_markerLock); if (result != 0) { return; diff --git a/iphone/Classes/TiUIMaskedImage.m b/iphone/Classes/TiUIMaskedImage.m index 64297b16728..87186c4f07d 100644 --- a/iphone/Classes/TiUIMaskedImage.m +++ b/iphone/Classes/TiUIMaskedImage.m @@ -78,7 +78,7 @@ - (void)configurationSet - (void)setImage_:(id)newImage { RELEASE_TO_NIL(imageURL); - imageURL = [[TiUtils toURL:newImage proxy:self.proxy] retain]; //If this results in a nil, then it's a proxy. + imageURL = [[TiUtils toURL:newImage proxy:self.proxy] retain]; // If this results in a nil, then it's a proxy. [self setNeedsDisplay]; } diff --git a/iphone/Classes/TiUINavBarButton.m b/iphone/Classes/TiUINavBarButton.m index 249549583dc..3c512094d30 100644 --- a/iphone/Classes/TiUINavBarButton.m +++ b/iphone/Classes/TiUINavBarButton.m @@ -101,7 +101,7 @@ - (id)initWithProxy:(TiUIButtonProxy *)proxy_ if ([[proxy_ view] isKindOfClass:[UIControl class]]) { [(UIControl *)[proxy_ view] addTarget:self action:@selector(clicked:) forControlEvents:UIControlEventTouchUpInside]; } - //Sanity check. If the view bounds are zero set the bounds to auto dimensions + // Sanity check. If the view bounds are zero set the bounds to auto dimensions CGRect bounds = [[proxy_ view] bounds]; if (bounds.size.width == 0) { CGFloat desiredWidth = [proxy_ autoWidthForSize:CGSizeMake(1000, 1000)]; @@ -136,9 +136,9 @@ - (id)initWithProxy:(TiUIButtonProxy *)proxy_ self.accessibilityIdentifier = [TiUtils composeAccessibilityIdentifier:self]; self.width = [TiUtils floatValue:[proxy_ valueForKey:@"width"] def:0.0]; - //A width of 0 is treated as Auto by the iPhone OS, so this is safe. - // we need to listen manually to proxy change events if we want to be - // able to change them dynamically + // A width of 0 is treated as Auto by the iPhone OS, so this is safe. + // we need to listen manually to proxy change events if we want to be + // able to change them dynamically proxy.modelDelegate = self; // we need to manually check for this property on init @@ -193,8 +193,8 @@ - (void)setEnabled_:(id)value UIView *buttonView = [self customView]; if ([buttonView isKindOfClass:[TiUIButton class]]) { - //TODO: when using a TiUIButton, for some reason the setEnabled doesn't work. - //So we're just going to let it do all the work of updating. + // TODO: when using a TiUIButton, for some reason the setEnabled doesn't work. + // So we're just going to let it do all the work of updating. [(TiUIButton *)buttonView setEnabled_:value]; } else { BOOL enabled = [TiUtils boolValue:value]; diff --git a/iphone/Classes/TiUINavigationWindowProxy.m b/iphone/Classes/TiUINavigationWindowProxy.m index 1204835e186..9e3f9fd2222 100644 --- a/iphone/Classes/TiUINavigationWindowProxy.m +++ b/iphone/Classes/TiUINavigationWindowProxy.m @@ -117,7 +117,7 @@ - (KrollPromise *)openWindow:(NSArray *)args [window setIsManaged:YES]; [window setTab:(TiViewProxy *)self]; [window setParentOrientationController:self]; - //Send to open. Will come back after _handleOpen returns true. + // Send to open. Will come back after _handleOpen returns true. if (![window opening]) { args = ([args count] > 1) ? [args objectAtIndex:1] : nil; if (args != nil) { @@ -172,7 +172,7 @@ - (void)popToRootWindow:(id)args - (void)windowClosing:(TiWindowProxy *)window animated:(BOOL)animated { - //NO OP NOW + // NO OP NOW } #pragma mark - UINavigationControllerDelegate @@ -220,9 +220,9 @@ - (void)navigationController:(UINavigationController *)navigationController will } } if (winclosing) { - //TIMOB-15033. Have to call windowWillClose so any keyboardFocussedProxies resign - //as first responders. This is ok since tab is not nil so no message will be sent to - //hosting controller. + // TIMOB-15033. Have to call windowWillClose so any keyboardFocussedProxies resign + // as first responders. This is ok since tab is not nil so no message will be sent to + // hosting controller. [current windowWillClose]; } } @@ -538,7 +538,7 @@ - (void)willChangeSize { [super willChangeSize]; - //TODO: Shouldn't this be not through UI? Shouldn't we retain the windows ourselves? + // TODO: Shouldn't this be not through UI? Shouldn't we retain the windows ourselves? for (UIViewController *thisController in [navController viewControllers]) { if ([thisController isKindOfClass:[TiViewController class]]) { TiViewProxy *thisProxy = [(TiViewController *)thisController proxy]; diff --git a/iphone/Classes/TiUIOptionDialogProxy.m b/iphone/Classes/TiUIOptionDialogProxy.m index 3bdec42a5d3..124ca9f7284 100644 --- a/iphone/Classes/TiUIOptionDialogProxy.m +++ b/iphone/Classes/TiUIOptionDialogProxy.m @@ -83,7 +83,7 @@ - (void)show:(id)args } int curIndex = 0; - //Configure the Buttons + // Configure the Buttons for (id btn in options) { NSString *btnName = [TiUtils stringValue:btn]; if (!IS_NULL_OR_NIL(btnName)) { @@ -200,7 +200,7 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover } } - //Fell through. + // Fell through. UIViewController *presentingController = [alertController presentingViewController]; popoverPresentationController.permittedArrowDirections = 0; popoverPresentationController.sourceView = [presentingController view]; @@ -210,7 +210,7 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover - (void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView **)view { - //This will never be called when using bar button item + // This will never be called when using bar button item BOOL canUseDialogRect = !CGRectEqualToRect(CGRectZero, dialogRect); UIView *theSourceView = *view; BOOL shouldUseViewBounds = ([theSourceView isKindOfClass:[UIToolbar class]] || [theSourceView isKindOfClass:[UITabBar class]]); diff --git a/iphone/Classes/TiUIPicker.m b/iphone/Classes/TiUIPicker.m index beb411bcb52..2d2cb7e384d 100644 --- a/iphone/Classes/TiUIPicker.m +++ b/iphone/Classes/TiUIPicker.m @@ -69,7 +69,7 @@ - (UIControl *)picker } if (type == -1) { - //TODO: this is not the way to abstract pickers, note the cast I had to add to the following line + // TODO: this is not the way to abstract pickers, note the cast I had to add to the following line picker = (UIControl *)[[UIPickerView alloc] initWithFrame:CGRectMake(0, 0, width, height)]; ((UIPickerView *)picker).delegate = self; ((UIPickerView *)picker).dataSource = self; @@ -119,11 +119,11 @@ - (void)didFirePropertyChanges - (void)reloadColumn:(id)column { - //TODO: DatePicker checking should have been done long before the main thread. + // TODO: DatePicker checking should have been done long before the main thread. if ([self isDatePicker]) { return; } - //Because the other logic checking and massaging is done in the proxy, we can jump to the chase. + // Because the other logic checking and massaging is done in the proxy, we can jump to the chase. [(UIPickerView *)[self picker] reloadAllComponents]; } @@ -135,7 +135,7 @@ - (NSArray *)columns - (TiProxy *)selectedRowForColumn:(NSInteger)column { if ([self isDatePicker]) { - //FIXME + // FIXME return nil; } NSInteger row = [(UIPickerView *)picker selectedRowInComponent:column]; @@ -251,7 +251,7 @@ - (void)setDateTimeColor_:(id)value } } -//TODO: minute interval +// TODO: minute interval - (void)setValue_:(id)date { @@ -331,7 +331,7 @@ - (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSIn // returns width of column and height of row for each component. - (CGFloat)pickerView:(UIPickerView *)pickerView widthForComponent:(NSInteger)component { - //TODO: add blain's super duper width algorithm + // TODO: add blain's super duper width algorithm NSArray *theColumns = [self columns]; if (component >= [theColumns count]) { return 0; @@ -376,10 +376,10 @@ - (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forC TiUIPickerRowProxy *rowproxy = [proxy rowAt:row]; CGRect frame = CGRectMake(0.0, 0.0, [self pickerView:pickerView widthForComponent:component] - 20, [self pickerView:pickerView rowHeightForComponent:component]); - //Get the View + // Get the View UIView *theView = [rowproxy viewWithFrame:frame reusingView:view]; - //Configure Accessibility + // Configure Accessibility theView.isAccessibilityElement = YES; theView.accessibilityLabel = [TiUtils stringValue:[rowproxy valueForUndefinedKey:@"accessibilityLabel"]]; theView.accessibilityValue = [TiUtils stringValue:[rowproxy valueForUndefinedKey:@"accessibilityValue"]]; diff --git a/iphone/Classes/TiUIPickerProxy.m b/iphone/Classes/TiUIPickerProxy.m index 2b5c4d84380..fa3fe08a825 100644 --- a/iphone/Classes/TiUIPickerProxy.m +++ b/iphone/Classes/TiUIPickerProxy.m @@ -50,7 +50,7 @@ - (void)_destroy - (void)viewDidAttach { - //Window might not have opened yet, so delay till we get windowDidOpen + // Window might not have opened yet, so delay till we get windowDidOpen if (selectOnLoad != nil && windowOpened) { [self setSelectedRow:selectOnLoad]; RELEASE_TO_NIL(selectOnLoad); @@ -274,7 +274,7 @@ - (void)add:(id)args - (void)remove:(id)args { - //TODO + // TODO } - (id)getSelectedRow:(id)args @@ -327,7 +327,7 @@ - (void)reloadColumn:(id)column return; } - //TODO: This is playing with fire here. + // TODO: This is playing with fire here. NSArray *columnArray = [self columns]; NSUInteger columnIndex = NSNotFound; diff --git a/iphone/Classes/TiUIPickerRowProxy.m b/iphone/Classes/TiUIPickerRowProxy.m index 9c59b169b65..79f22ddc818 100644 --- a/iphone/Classes/TiUIPickerRowProxy.m +++ b/iphone/Classes/TiUIPickerRowProxy.m @@ -23,12 +23,12 @@ - (NSString *)apiName - (UIView *)viewWithFrame:(CGRect)theFrame reusingView:(UIView *)theView { - //The picker on IOS seems to consist of 3 tableViews (or some derivative of it) each of which calls the - //delegate method. So we have a singleView from our proxy residing in 3 superViews. - //While older version of IOS somehow made this work, IOS7 seems to be completely broken. - //So what we are doing is creating a snapshot (toImage() -> UIImageView) and returning that. - //Downside -> No touch events from pickerrow or its children - //Upside -> It works and is performant. Accessibility is configured on the delegate + // The picker on IOS seems to consist of 3 tableViews (or some derivative of it) each of which calls the + // delegate method. So we have a singleView from our proxy residing in 3 superViews. + // While older version of IOS somehow made this work, IOS7 seems to be completely broken. + // So what we are doing is creating a snapshot (toImage() -> UIImageView) and returning that. + // Downside -> No touch events from pickerrow or its children + // Upside -> It works and is performant. Accessibility is configured on the delegate NSString *title = [TiUtils stringValue:[self valueForKey:@"title"]]; WebFont *pickerFont = [TiUtils fontValue:[self valueForKey:@"font"] def:[WebFont defaultFont]]; diff --git a/iphone/Classes/TiUIRefreshControlProxy.m b/iphone/Classes/TiUIRefreshControlProxy.m index 1d51007c5cc..58115bd7e41 100644 --- a/iphone/Classes/TiUIRefreshControlProxy.m +++ b/iphone/Classes/TiUIRefreshControlProxy.m @@ -28,7 +28,7 @@ - (void)dealloc #pragma mark - Internal Use - (UIRefreshControl *)control { - //Must be called on main thread + // Must be called on main thread if (_refreshControl == nil) { _refreshControl = [UIRefreshControl new]; [_refreshControl addTarget:self action:@selector(refreshingDidStart) forControlEvents:UIControlEventValueChanged]; diff --git a/iphone/Classes/TiUIScrollView.m b/iphone/Classes/TiUIScrollView.m index 290c36b6e63..d8a8f235d67 100644 --- a/iphone/Classes/TiUIScrollView.m +++ b/iphone/Classes/TiUIScrollView.m @@ -15,14 +15,14 @@ @implementation TiUIScrollViewImpl - (void)setTouchHandler:(TiUIView *)handler { - //Assign only. No retain + // Assign only. No retain touchHandler = handler; } - (BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContentView:(UIView *)view { - //If the content view is of type TiUIView touch events will automatically propagate - //If it is not of type TiUIView we will fire touch events with ourself as source + // If the content view is of type TiUIView touch events will automatically propagate + // If it is not of type TiUIView we will fire touch events with ourself as source if ([view isKindOfClass:[TiUIView class]]) { touchedContentView = view; } else { @@ -33,8 +33,8 @@ - (BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContent - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { - //When userInteractionEnabled is false we do nothing since touch events are automatically - //propagated. If it is dragging,tracking or zooming do not do anything. + // When userInteractionEnabled is false we do nothing since touch events are automatically + // propagated. If it is dragging,tracking or zooming do not do anything. if (!self.dragging && !self.zooming && !self.tracking && self.userInteractionEnabled && (touchedContentView == nil)) { [touchHandler processTouchesBegan:touches withEvent:event]; @@ -305,7 +305,7 @@ - (void)handleContentSize - (void)frameSizeChanged:(CGRect)frame bounds:(CGRect)visibleBounds { - //Treat this as a size change + // Treat this as a size change [(TiViewProxy *)[self proxy] willChangeSize]; [super frameSizeChanged:frame bounds:visibleBounds]; } @@ -313,9 +313,9 @@ - (void)frameSizeChanged:(CGRect)frame bounds:(CGRect)visibleBounds - (void)scrollToBottom { /* - * Calculate the bottom height & width and, sets the offset from the - * content view’s origin that corresponds to the receiver’s origin. - */ + * Calculate the bottom height & width and, sets the offset from the + * content view’s origin that corresponds to the receiver’s origin. + */ UIScrollView *currScrollView = [self scrollView]; CGSize svContentSize = currScrollView.contentSize; @@ -432,7 +432,7 @@ - (void)setZoomScale_:(id)value withObject:(id)property CGFloat scale = [TiUtils floatValue:value def:1.0]; BOOL animated = [TiUtils boolValue:@"animated" properties:property def:NO]; [[self scrollView] setZoomScale:scale animated:animated]; - scale = [[self scrollView] zoomScale]; //Why are we doing this? Because of minZoomScale or maxZoomScale. + scale = [[self scrollView] zoomScale]; // Why are we doing this? Because of minZoomScale or maxZoomScale. [[self proxy] replaceValue:NUMFLOAT(scale) forKey:@"zoomScale" notification:NO]; if ([self.proxy _hasListeners:@"scale"]) { [self.proxy fireEvent:@"scale" @@ -523,7 +523,7 @@ - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView_ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView_ willDecelerate:(BOOL)decelerate { - //Tells the delegate when dragging ended in the scroll view. + // Tells the delegate when dragging ended in the scroll view. [(id)[self proxy] scrollViewDidEndDragging:scrollView_ willDecelerate:decelerate]; } diff --git a/iphone/Classes/TiUIScrollViewProxy.m b/iphone/Classes/TiUIScrollViewProxy.m index a6df1eab8b0..e46ab41a4e3 100644 --- a/iphone/Classes/TiUIScrollViewProxy.m +++ b/iphone/Classes/TiUIScrollViewProxy.m @@ -17,7 +17,7 @@ @implementation TiUIScrollViewProxy - (NSArray *)keySequence { if (scrollViewKeySequence == nil) { - //URL has to be processed first since the spinner depends on URL being remote + // URL has to be processed first since the spinner depends on URL being remote scrollViewKeySequence = [[NSArray arrayWithObjects:@"minZoomScale", @"maxZoomScale", @"zoomScale", nil] retain]; } return scrollViewKeySequence; @@ -57,8 +57,8 @@ - (TiPoint *)contentOffset - (void)windowWillOpen { [super windowWillOpen]; - //Since layout children is overridden in scrollview need to make sure that - //a full layout occurs atleast once if view is attached + // Since layout children is overridden in scrollview need to make sure that + // a full layout occurs atleast once if view is attached if ([self viewAttached]) { [self contentsWillChange]; } @@ -126,7 +126,7 @@ - (CGFloat)autoWidthForSize:(CGSize)size CGFloat result = 0.0; if (TiLayoutRuleIsVertical(layoutProperties.layoutStyle)) { - //Vertical layout. Just get the maximum child width + // Vertical layout. Just get the maximum child width CGFloat thisWidth = 0.0; NSArray *subproxies = [self children]; for (TiViewProxy *thisChildProxy in subproxies) { @@ -136,11 +136,11 @@ - (CGFloat)autoWidthForSize:(CGSize)size } } } else if (TiLayoutRuleIsHorizontal(layoutProperties.layoutStyle)) { - //Horizontal Layout with auto width. Stretch Indefinitely. + // Horizontal Layout with auto width. Stretch Indefinitely. NSArray *subproxies = [self children]; for (TiViewProxy *thisChildProxy in subproxies) { if ([thisChildProxy widthIsAutoFill]) { - //result += size.width; + // result += size.width; result += [thisChildProxy minimumParentWidthForSize:size]; } else if (TiDimensionIsPercent(thisChildProxy->layoutProperties.width)) { result += [thisChildProxy minimumParentWidthForSize:size]; @@ -193,7 +193,7 @@ - (CGFloat)autoHeightForSize:(CGSize)size NSArray *subproxies = [self children]; for (TiViewProxy *thisChildProxy in subproxies) { if ([thisChildProxy heightIsAutoFill]) { - //result += size.height; + // result += size.height; result += [thisChildProxy minimumParentHeightForSize:size]; } else if (TiDimensionIsPercent(thisChildProxy->layoutProperties.height)) { result += [thisChildProxy minimumParentHeightForSize:size]; @@ -207,7 +207,7 @@ - (CGFloat)autoHeightForSize:(CGSize)size NSArray *subproxies = [self children]; for (TiViewProxy *thisChildProxy in subproxies) { if ([thisChildProxy heightIsAutoFill]) { - //thisHeight = size.height; + // thisHeight = size.height; thisHeight = [thisChildProxy minimumParentHeightForSize:contentSize]; } else if (TiDimensionIsPercent(thisChildProxy->layoutProperties.height)) { thisHeight = [thisChildProxy minimumParentHeightForSize:size]; @@ -219,7 +219,7 @@ - (CGFloat)autoHeightForSize:(CGSize)size } } } else { - //Not flexible width and wraps + // Not flexible width and wraps result = [super autoHeightForSize:contentSize]; } } else { @@ -269,7 +269,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds verticalLayoutBoundary += bounds.size.height; return bounds; } else if (flexibleContentHeight) { - //Match autoHeight behavior + // Match autoHeight behavior if ([child heightIsAutoFill]) { bounds.origin.y = verticalLayoutBoundary; bounds.size.height = [child minimumParentHeightForSize:viewBounds.size]; @@ -285,7 +285,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds } } else if (TiLayoutRuleIsHorizontal(layoutProperties.layoutStyle)) { if (flexibleContentWidth) { - //Match autoWidth behavior + // Match autoWidth behavior bounds.origin.x = horizontalLayoutBoundary; bounds.size.width = [child minimumParentWidthForSize:viewBounds.size]; horizontalLayoutBoundary += bounds.size.width; @@ -391,7 +391,7 @@ - (void)setZoomScale:(id)value withObject:(id)animated - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView_ // scrolling has ended { - if ([self _hasListeners:@"scrollEnd"]) { //TODO: Deprecate old event. + if ([self _hasListeners:@"scrollEnd"]) { // TODO: Deprecate old event. [self fireEvent:@"scrollEnd" withObject:nil]; } if ([self _hasListeners:@"scrollend"]) { @@ -430,7 +430,7 @@ - (void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)vi - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView { - if ([self _hasListeners:@"dragStart"]) { //TODO: Deprecate old event + if ([self _hasListeners:@"dragStart"]) { // TODO: Deprecate old event [self fireEvent:@"dragStart" withObject:nil]; } if ([self _hasListeners:@"dragstart"]) { @@ -438,11 +438,11 @@ - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView } } -//listerner which tells when dragging ended in the scroll view. +// listerner which tells when dragging ended in the scroll view. - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate { - if ([self _hasListeners:@"dragEnd"]) { //TODO: Deprecate old event + if ([self _hasListeners:@"dragEnd"]) { // TODO: Deprecate old event [self fireEvent:@"dragEnd" withObject:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:decelerate], @"decelerate", nil]]; } if ([self _hasListeners:@"dragend"]) { diff --git a/iphone/Classes/TiUIScrollableView.m b/iphone/Classes/TiUIScrollableView.m index 9e82238b540..59bd67a3fc4 100644 --- a/iphone/Classes/TiUIScrollableView.m +++ b/iphone/Classes/TiUIScrollableView.m @@ -180,27 +180,27 @@ - (void)removeSubview:(nonnull UIView *)view - (void)addSubview:(nonnull UIView *)view { WRAP_TI_VIEW(view) - [[self contentView] addSubview:wrapperView]; + [[self contentView] addSubview:wrapperView]; } - (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview { WRAP_TI_VIEW(view) - [[self contentView] insertSubview:wrapperView - aboveSubview:siblingSubview]; + [[self contentView] insertSubview:wrapperView + aboveSubview:siblingSubview]; } - (void)insertSubview:(UIView *)view atIndex:(NSInteger)index { WRAP_TI_VIEW(view) - [[self contentView] insertSubview:wrapperView - atIndex:index]; + [[self contentView] insertSubview:wrapperView + atIndex:index]; } - (void)insertSubview:(UIView *)view belowSubview:(UIView *)siblingSubview { WRAP_TI_VIEW(view) - [[self contentView] insertSubview:wrapperView - belowSubview:siblingSubview]; + [[self contentView] insertSubview:wrapperView + belowSubview:siblingSubview]; } #endif @@ -261,7 +261,7 @@ - (UIScrollView *)scrollview [scrollview setClipsToBounds:clipsToBounds]; [self insertSubview:scrollview atIndex:0]; - //Update clips to bounds only if cornerRadius and backgroundImage are not set + // Update clips to bounds only if cornerRadius and backgroundImage are not set if ((self.layer.cornerRadius == 0) && (self.backgroundImage == nil)) { [self setClipsToBounds:clipsToBounds]; } @@ -450,10 +450,10 @@ - (void)refreshScrollView:(CGRect)visibleBounds readd:(BOOL)readd NSUInteger viewsCount = [[self proxy] viewCount]; /* - Reset readd here since refreshScrollView is called from - frameSizeChanged with readd false and the views might - not yet have been added on first launch - */ + Reset readd here since refreshScrollView is called from + frameSizeChanged with readd false and the views might + not yet have been added on first launch + */ readd = ([[sv subviews] count] == 0); for (int c = 0; c < viewsCount; c++) { @@ -505,7 +505,7 @@ - (void)frameSizeChanged:(CGRect)frame bounds:(CGRect)visibleBounds [scrollview setContentOffset:CGPointMake(lastPage * visibleBounds.size.width, 0)]; [self manageCache:[self currentPage]]; } - //To make sure all subviews are properly resized. + // To make sure all subviews are properly resized. UIScrollView *sv = [self scrollview]; for (UIView *view in [sv subviews]) { for (TiUIView *sView in [view subviews]) { @@ -568,7 +568,7 @@ - (void)setShowPagingControl_:(id)args } if ((scrollview != nil) && ([[scrollview subviews] count] > 0)) { - //No need to readd. Just set up the correct frame bounds + // No need to readd. Just set up the correct frame bounds [self refreshScrollView:[self bounds] readd:NO]; } } @@ -584,7 +584,7 @@ - (void)setPagingControlHeight_:(id)args } if (showPageControl && (scrollview != nil) && ([[scrollview subviews] count] > 0)) { - //No need to readd. Just set up the correct frame bounds + // No need to readd. Just set up the correct frame bounds [self refreshScrollView:[self bounds] readd:NO]; } } @@ -680,7 +680,7 @@ - (void)setPagingControlOnTop_:(id)args #endif pagingControlOnTop = [TiUtils boolValue:args def:NO]; if (showPageControl && (scrollview != nil) && ([[scrollview subviews] count] > 0)) { - //No need to readd. Just set up the correct frame bounds + // No need to readd. Just set up the correct frame bounds [self refreshScrollView:[self bounds] readd:NO]; } } @@ -692,7 +692,7 @@ - (void)setOverlayEnabled_:(id)args #endif overlayEnabled = [TiUtils boolValue:args def:NO]; if (showPageControl && (scrollview != nil) && ([[scrollview subviews] count] > 0)) { - //No need to readd. Just set up the correct frame bounds + // No need to readd. Just set up the correct frame bounds [self refreshScrollView:[self bounds] readd:NO]; } } @@ -817,7 +817,7 @@ - (void)scrollViewDidScroll:(UIScrollView *)sender UIPageControl *pageControl = [self pagecontrol]; NSInteger currentPage = _currentPage; #endif - //switch page control at 50% across the center - this visually looks better + // switch page control at 50% across the center - this visually looks better CGFloat pageWidth = scrollview.frame.size.width; NSInteger page = currentPage; float nextPageAsFloat = ((scrollview.contentOffset.x - pageWidth / 2) / pageWidth) + 0.5; @@ -866,7 +866,7 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL UIScrollView *scrollview = [self scrollview]; UIPageControl *pageControl = [self pagecontrol]; #else - //Since we are now managing cache at end of scroll, ensure quick scroll is disabled to avoid blank screens. + // Since we are now managing cache at end of scroll, ensure quick scroll is disabled to avoid blank screens. if (pageChanged) { #endif [scrollview setUserInteractionEnabled:!decelerate]; @@ -903,7 +903,7 @@ - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView forKey:@"currentPage" notification:NO]; - if ([self.proxy _hasListeners:@"scrollEnd"]) { //TODO: Deprecate old event. + if ([self.proxy _hasListeners:@"scrollEnd"]) { // TODO: Deprecate old event. [self.proxy fireEvent:@"scrollEnd" withObject:[NSDictionary dictionaryWithObjectsAndKeys: NUMINTEGER(pageNum), @"currentPage", diff --git a/iphone/Classes/TiUIScrollableViewProxy.m b/iphone/Classes/TiUIScrollableViewProxy.m index 342dcecdd06..4a9ae0e08a3 100644 --- a/iphone/Classes/TiUIScrollableViewProxy.m +++ b/iphone/Classes/TiUIScrollableViewProxy.m @@ -156,7 +156,7 @@ - (void)_addView:(TiViewProxy *)proxy atIndex:(NSUInteger)index } - (void)removeView:(id)args -{ //TODO: Refactor this properly. +{ // TODO: Refactor this properly. #if defined(TI_USE_AUTOLAYOUT) ENSURE_UI_THREAD(removeView, args) #endif @@ -249,7 +249,7 @@ - (void)movePrevious:(id)unused - (void)willChangeSize { - //Ensure the size change signal goes to children + // Ensure the size change signal goes to children NSArray *curViews = [self views]; for (TiViewProxy *child in curViews) { [child parentSizeWillChange]; @@ -263,7 +263,7 @@ - (void)childWillResize:(TiViewProxy *)child if (!hasChild) { return; - //In the case of views added with addView, as they are not part of children, they should be ignored. + // In the case of views added with addView, as they are not part of children, they should be ignored. } [super childWillResize:child]; } @@ -295,14 +295,14 @@ - (UIView *)parentViewForChild:(TiViewProxy *)child if (index < [scrollWrappers count]) { return [scrollWrappers objectAtIndex:index]; } - //Hideous hack is hideous. This should stave off the bugs until layout is streamlined + // Hideous hack is hideous. This should stave off the bugs until layout is streamlined [ourView refreshScrollView:[[self view] bounds] readd:YES]; scrollWrappers = [[ourView scrollview] subviews]; if (index < [scrollWrappers count]) { return [scrollWrappers objectAtIndex:index]; } } - //Adding the view to a scrollable view is invalid. + // Adding the view to a scrollable view is invalid. return nil; } #endif diff --git a/iphone/Classes/TiUISearchBar.m b/iphone/Classes/TiUISearchBar.m index 58bb28a9ea6..deb298f9c09 100644 --- a/iphone/Classes/TiUISearchBar.m +++ b/iphone/Classes/TiUISearchBar.m @@ -234,7 +234,7 @@ - (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar NSString *text = [searchBar text]; [self.proxy replaceValue:text forKey:@"value" notification:NO]; - //No need to setValue, because it's already been set. + // No need to setValue, because it's already been set. if ([self.proxy _hasListeners:@"focus"]) { [self.proxy fireEvent:@"focus" withObject:[NSDictionary dictionaryWithObject:text forKey:@"value"] propagate:NO]; } @@ -250,7 +250,7 @@ - (void)searchBarTextDidEndEditing:(UISearchBar *)searchBar NSString *text = [searchBar text]; [self.proxy replaceValue:text forKey:@"value" notification:NO]; - //No need to setValue, because it's already been set. + // No need to setValue, because it's already been set. if ([self.proxy _hasListeners:@"blur"]) { [self.proxy fireEvent:@"blur" withObject:[NSDictionary dictionaryWithObject:text forKey:@"value"] propagate:NO]; } @@ -266,7 +266,7 @@ - (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText NSString *text = [searchBar text]; [self.proxy replaceValue:text forKey:@"value" notification:NO]; - //No need to setValue, because it's already been set. + // No need to setValue, because it's already been set. if ([self.proxy _hasListeners:@"change"]) { [self.proxy fireEvent:@"change" withObject:[NSDictionary dictionaryWithObject:text forKey:@"value"]]; } @@ -282,7 +282,7 @@ - (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar NSString *text = [searchBar text]; [self.proxy replaceValue:text forKey:@"value" notification:NO]; - //No need to setValue, because it's already been set. + // No need to setValue, because it's already been set. if ([self.proxy _hasListeners:@"return"]) { [self.proxy fireEvent:@"return" withObject:[NSDictionary dictionaryWithObject:text forKey:@"value"]]; } diff --git a/iphone/Classes/TiUISearchBarProxy.m b/iphone/Classes/TiUISearchBarProxy.m index e1b47107182..10b15ef15c8 100644 --- a/iphone/Classes/TiUISearchBarProxy.m +++ b/iphone/Classes/TiUISearchBarProxy.m @@ -47,12 +47,12 @@ - (void)setShowCancel:(id)value withObject:(id)object { BOOL boolValue = [TiUtils boolValue:value]; BOOL animated = [TiUtils boolValue:@"animated" properties:object def:NO]; - //TODO: Value checking and exception generation, if necessary. + // TODO: Value checking and exception generation, if necessary. [self replaceValue:value forKey:@"showCancel" notification:NO]; showsCancelButton = boolValue; - //ViewAttached gives a false negative when not attached to a window. + // ViewAttached gives a false negative when not attached to a window. TiThreadPerformOnMainThread( ^{ UISearchBar *search = [self searchBar]; diff --git a/iphone/Classes/TiUIShortcutItemProxy.h b/iphone/Classes/TiUIShortcutItemProxy.h index f3a56e91c69..642d25d8d21 100644 --- a/iphone/Classes/TiUIShortcutItemProxy.h +++ b/iphone/Classes/TiUIShortcutItemProxy.h @@ -1,9 +1,9 @@ /** -* Appcelerator Titanium Mobile -* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Appcelerator Titanium Mobile + * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import diff --git a/iphone/Classes/TiUIShortcutItemProxy.m b/iphone/Classes/TiUIShortcutItemProxy.m index 4680e6b5df4..2565c7808d5 100644 --- a/iphone/Classes/TiUIShortcutItemProxy.m +++ b/iphone/Classes/TiUIShortcutItemProxy.m @@ -1,9 +1,9 @@ /** -* Appcelerator Titanium Mobile -* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Appcelerator Titanium Mobile + * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import "TiUIShortcutItemProxy.h" diff --git a/iphone/Classes/TiUIShortcutProxy.h b/iphone/Classes/TiUIShortcutProxy.h index e7f96704a6f..a729589214a 100644 --- a/iphone/Classes/TiUIShortcutProxy.h +++ b/iphone/Classes/TiUIShortcutProxy.h @@ -1,9 +1,9 @@ /** -* Appcelerator Titanium Mobile -* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Appcelerator Titanium Mobile + * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) diff --git a/iphone/Classes/TiUIShortcutProxy.m b/iphone/Classes/TiUIShortcutProxy.m index 09784b097c6..bca2a3c8e1c 100644 --- a/iphone/Classes/TiUIShortcutProxy.m +++ b/iphone/Classes/TiUIShortcutProxy.m @@ -1,9 +1,9 @@ /** -* Appcelerator Titanium Mobile -* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Appcelerator Titanium Mobile + * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import "TiUIShortcutProxy.h" diff --git a/iphone/Classes/TiUISlider.h b/iphone/Classes/TiUISlider.h index 3d43fc9d656..1472f062936 100644 --- a/iphone/Classes/TiUISlider.h +++ b/iphone/Classes/TiUISlider.h @@ -25,7 +25,7 @@ /** * Internal method used to trigger the value-change from the proxy instead. - * This is required in order to handle complex arguments, e.g. number and + * This is required in order to handle complex arguments, e.g. number and * animated-flag in one command. */ - (void)_setValue:(id)value; diff --git a/iphone/Classes/TiUISlider.m b/iphone/Classes/TiUISlider.m index 1fdbc3ca168..0e1a01cfdf3 100644 --- a/iphone/Classes/TiUISlider.m +++ b/iphone/Classes/TiUISlider.m @@ -263,7 +263,7 @@ - (CGFloat)verifyHeight:(CGFloat)suggestedHeight { CGFloat result = [[self sliderView] sizeThatFits:CGSizeZero].height; - //IOS7 DP3 sizeThatFits always returns zero for regular slider + // IOS7 DP3 sizeThatFits always returns zero for regular slider if (result == 0) { result = 30.0; } diff --git a/iphone/Classes/TiUISwitch.m b/iphone/Classes/TiUISwitch.m index 2272549111d..6027613c9bc 100644 --- a/iphone/Classes/TiUISwitch.m +++ b/iphone/Classes/TiUISwitch.m @@ -156,7 +156,7 @@ - (IBAction)switchChanged:(id)sender id current = [self.proxy valueForUndefinedKey:@"value"]; [self.proxy replaceValue:newValue forKey:@"value" notification:NO]; - //No need to setValue, because it's already been set. + // No need to setValue, because it's already been set. if ([self.proxy _hasListeners:@"change"] && (current != newValue) && ![current isEqual:newValue]) { [self.proxy fireEvent:@"change" withObject:[NSDictionary dictionaryWithObject:newValue forKey:@"value"]]; } diff --git a/iphone/Classes/TiUITabGroup.h b/iphone/Classes/TiUITabGroup.h index aa7069d84d5..e98bba2366d 100644 --- a/iphone/Classes/TiUITabGroup.h +++ b/iphone/Classes/TiUITabGroup.h @@ -8,7 +8,7 @@ #import -//To handle the more tab, we're a delegate of it. +// To handle the more tab, we're a delegate of it. @class TiUITabProxy; @interface TiUITabGroup : TiUIView { @private diff --git a/iphone/Classes/TiUITabGroup.m b/iphone/Classes/TiUITabGroup.m index e616d2d5e20..7229a4abcb5 100644 --- a/iphone/Classes/TiUITabGroup.m +++ b/iphone/Classes/TiUITabGroup.m @@ -101,7 +101,7 @@ - (void)handleDidShowTab:(TiUITabProxy *)newFocus { // Do nothing if no tabs are being focused or blurred (or the window is opening) if (focusedTabProxy == nil && newFocus == nil) { - //TIMOB-10796. Ensure activeTab is set to focused on early return + // TIMOB-10796. Ensure activeTab is set to focused on early return if (focusedTabProxy != nil) { [self.proxy replaceValue:focusedTabProxy forKey:@"activeTab" notification:NO]; } @@ -156,7 +156,7 @@ - (void)handleDidShowTab:(TiUITabProxy *)newFocus [self.proxy fireEvent:@"focus" withObject:event]; } } - //TIMOB-15187. Dont fire focus of tabs if proxy does not have focus + // TIMOB-15187. Dont fire focus of tabs if proxy does not have focus if ([(TiUITabGroupProxy *)[self proxy] canFocusTabs]) { [focusedTabProxy handleDidFocus:event]; } @@ -180,7 +180,7 @@ - (void)updateMoreBar:(UINavigationController *)moreController if ([[moreController viewControllers] count] != 1) { return; } - //Update the actual nav bar here in case the windows changed the stuff. + // Update the actual nav bar here in case the windows changed the stuff. UINavigationBar *navBar = [moreController navigationBar]; [navBar setBarStyle:navBarStyle]; [navBar setTitleTextAttributes:theAttributes]; @@ -264,11 +264,11 @@ - (void)navigationController:(UINavigationController *)navigationController didS { NSArray *moreViewControllerStack = [navigationController viewControllers]; NSUInteger stackHeight = [moreViewControllerStack count]; - if (stackHeight < 2) { //No more faux roots. + if (stackHeight < 2) { // No more faux roots. if (focusedTabProxy != nil) { [self handleDidShowTab:nil]; } - //Ensure that the moreController has only top edge extended + // Ensure that the moreController has only top edge extended [TiUtils configureController:viewController withObject:[NSDictionary dictionaryWithObject:NUMINT(1) forKey:@"extendEdges"]]; return; } @@ -288,7 +288,7 @@ - (void)navigationController:(UINavigationController *)navigationController didS return; } - if (stackHeight == 2) { //One for the picker, one for the faux root. + if (stackHeight == 2) { // One for the picker, one for the faux root. if (tabProxy != focusedTabProxy) { [self handleDidShowTab:tabProxy]; } @@ -395,7 +395,7 @@ - (void)setTabsBackgroundColor_:(id)value { TiColor *color = [TiUtils colorValue:value]; UITabBar *tabBar = [controller tabBar]; - //A nil tintColor is fine, too. + // A nil tintColor is fine, too. [tabBar setBarTintColor:[color color]]; #if IS_SDK_IOS_15 if ([TiUtils isIOSVersionOrGreater:@"15.0"]) { @@ -442,14 +442,14 @@ - (void)setActiveTabBackgroundImage_:(id)value - (void)setShadowImage_:(id)value { - //Because we still support XCode 4.3, we cannot use the shadowImage property + // Because we still support XCode 4.3, we cannot use the shadowImage property [controller.tabBar setShadowImage:[self loadImage:value]]; } - (void)setActiveTabIconTint_:(id)value { TiColor *color = [TiUtils colorValue:value]; - //A nil tintColor is fine, too. + // A nil tintColor is fine, too. controller.tabBar.tintColor = color.color; } diff --git a/iphone/Classes/TiUITabGroupProxy.m b/iphone/Classes/TiUITabGroupProxy.m index 3269a4f603b..488401ff6a6 100644 --- a/iphone/Classes/TiUITabGroupProxy.m +++ b/iphone/Classes/TiUITabGroupProxy.m @@ -17,7 +17,7 @@ @implementation TiUITabGroupProxy - (NSArray *)keySequence { if (tabGroupKeySequence == nil) { - //URL has to be processed first since the spinner depends on URL being remote + // URL has to be processed first since the spinner depends on URL being remote tabGroupKeySequence = [[NSArray arrayWithObjects:@"tabs", @"activeTab", nil] retain]; } return tabGroupKeySequence; @@ -94,7 +94,7 @@ - (void)removeTab:(id)tabProxy } } - //TODO: close all the tabs and fire events + // TODO: close all the tabs and fire events [tabProxy removeFromTabGroup]; [tabProxy setParentOrientationController:nil]; @@ -328,7 +328,7 @@ - (void)willChangeSize [super willChangeSize]; [tabs makeObjectsPerformSelector:@selector(willChangeSize)]; - //TODO: Shouldn't tabs have a lock protecting them? + // TODO: Shouldn't tabs have a lock protecting them? } @end diff --git a/iphone/Classes/TiUITabProxy.h b/iphone/Classes/TiUITabProxy.h index 48268da59b2..69459348759 100644 --- a/iphone/Classes/TiUITabProxy.h +++ b/iphone/Classes/TiUITabProxy.h @@ -17,7 +17,7 @@ UINavigationController *controller; TiWindowProxy *rootWindow; TiWindowProxy *current; - //This is an assign only property. TabGroup retains instances of tab. + // This is an assign only property. TabGroup retains instances of tab. TiUITabGroupProxy *tabGroup; NSMutableArray *controllerStack; diff --git a/iphone/Classes/TiUITabProxy.m b/iphone/Classes/TiUITabProxy.m index 40d9214c193..561223b58be 100644 --- a/iphone/Classes/TiUITabProxy.m +++ b/iphone/Classes/TiUITabProxy.m @@ -16,11 +16,11 @@ #import #import -//NOTE: this proxy is a little different than normal Proxy/View pattern -//since it's not really backed by a view in the normal way. It's given -//a root level window proxy (and view) that are passed as the root controller -//to the Nav Controller. So, we do a few things that you'd normally not -//have to do in a Proxy/View pattern. +// NOTE: this proxy is a little different than normal Proxy/View pattern +// since it's not really backed by a view in the normal way. It's given +// a root level window proxy (and view) that are passed as the root controller +// to the Nav Controller. So, we do a few things that you'd normally not +// have to do in a Proxy/View pattern. @interface TiUITabProxy () - (void)openOnUIThread:(NSArray *)args; @@ -292,7 +292,7 @@ - (KrollPromise *)openWindow:(NSArray *)args [window setTab:self]; [window setParentOrientationController:self]; - //Send to open. Will come back after _handleOpen returns true. + // Send to open. Will come back after _handleOpen returns true. if (![window opening]) { args = ([args count] > 1) ? [args objectAtIndex:1] : nil; if (args != nil) { @@ -354,7 +354,7 @@ - (KrollPromise *)close:(NSArray *)args - (void)windowClosing:(TiWindowProxy *)window animated:(BOOL)animated { - //NO OP NOW + // NO OP NOW } #pragma mark - UINavigationControllerDelegate @@ -395,7 +395,7 @@ - (void)navigationController:(UINavigationController *)navigationController didS { id activeTab = [tabGroup valueForKey:@"activeTab"]; if (activeTab == nil || activeTab == [NSNull null]) { - //Make sure that the activeTab property is set + // Make sure that the activeTab property is set [self setActive:[NSNumber numberWithBool:YES]]; } transitionIsAnimating = NO; @@ -423,9 +423,9 @@ - (void)handleWillShowViewController:(UIViewController *)viewController animated } } if (winclosing) { - //TIMOB-15033. Have to call windowWillClose so any keyboardFocussedProxies resign - //as first responders. This is ok since tab is not nil so no message will be sent to - //hosting controller. + // TIMOB-15033. Have to call windowWillClose so any keyboardFocussedProxies resign + // as first responders. This is ok since tab is not nil so no message will be sent to + // hosting controller. [current windowWillClose]; } } @@ -433,8 +433,8 @@ - (void)handleWillShowViewController:(UIViewController *)viewController animated [theWindow processForSafeArea]; if (theWindow == rootWindow) { - //This is probably too late for the root view controller. - //Figure out how to call open before this callback + // This is probably too late for the root view controller. + // Figure out how to call open before this callback [theWindow open:nil]; } else if ([theWindow opening]) { [theWindow windowWillOpen]; @@ -452,7 +452,7 @@ - (void)handleDidShowViewController:(UIViewController *)viewController animated: [current setTab:nil]; [current setParentOrientationController:nil]; [current close:nil]; - //TIMOB-15188. Tab can switch to rootView anytime by tapping the selected tab again. + // TIMOB-15188. Tab can switch to rootView anytime by tapping the selected tab again. if ((viewController == [self rootController]) && ([controllerStack count] > 1)) { [controllerStack removeObject:[self rootController]]; for (TiViewController *theController in [controllerStack reverseObjectEnumerator]) { @@ -786,7 +786,7 @@ - (void)willChangeSize { [super willChangeSize]; - //TODO: Shouldn't this be not through UI? Shouldn't we retain the windows ourselves? + // TODO: Shouldn't this be not through UI? Shouldn't we retain the windows ourselves? for (UIViewController *thisController in [controller viewControllers]) { if ([thisController isKindOfClass:[TiViewController class]]) { TiViewProxy *thisProxy = [(TiViewController *)thisController proxy]; diff --git a/iphone/Classes/TiUITableView.m b/iphone/Classes/TiUITableView.m index 05b34491d38..156dc413a8c 100644 --- a/iphone/Classes/TiUITableView.m +++ b/iphone/Classes/TiUITableView.m @@ -193,7 +193,7 @@ - (void)updateGradientLayer:(BOOL)useSelected withAnimation:(BOOL)animated if (currentGradient == nil) { [gradientLayer removeFromSuperlayer]; - //Because there's the chance that the other state still has the gradient, let's keep it around. + // Because there's the chance that the other state still has the gradient, let's keep it around. return; } @@ -396,10 +396,10 @@ - (CGFloat)tableRowHeight:(CGFloat)height return height < 1 ? tableview.rowHeight : height; } -//Allows use of scrollsToTop property on a table. -//Useful when you have multiple tables in your view, you can -//set which table will respond to tap on status bar to scroll to top. -//http://developer.apple.com/library/ios/#documentation/uikit/reference/UIScrollView_Class/Reference/UIScrollView.html +// Allows use of scrollsToTop property on a table. +// Useful when you have multiple tables in your view, you can +// set which table will respond to tap on status bar to scroll to top. +// http://developer.apple.com/library/ios/#documentation/uikit/reference/UIScrollView_Class/Reference/UIScrollView.html - (void)setScrollsToTop_:(id)value { [[self tableView] setScrollsToTop:[TiUtils boolValue:value def:YES]]; @@ -459,7 +459,7 @@ - (UITableView *)tableView BOOL initBackGround = YES; id bgInitValue = [[self proxy] valueForKey:@"backgroundColor"]; if (style == UITableViewStyleGrouped) { - //If the style is grouped do not call this method unless a backgroundColor is specified + // If the style is grouped do not call this method unless a backgroundColor is specified initBackGround = (bgInitValue != nil); } if (initBackGround) { @@ -541,7 +541,7 @@ - (void)reloadDataFromCount:(NSUInteger)oldCount toCount:(NSUInteger)newCount an return; } - //Table views hate having 0 sections, so we have to act like it has at least 1. + // Table views hate having 0 sections, so we have to act like it has at least 1. oldCount = MAX(1, oldCount); newCount = MAX(1, newCount); @@ -567,8 +567,8 @@ - (void)reloadDataFromCount:(NSUInteger)oldCount toCount:(NSUInteger)newCount an - (void)replaceData:(NSMutableArray *)data animation:(UITableViewRowAnimation)animation { - //Technically, we should assert that sections is non-nil, but this code - //won't have any problems in the case that it is actually nil. + // Technically, we should assert that sections is non-nil, but this code + // won't have any problems in the case that it is actually nil. TiUITableViewProxy *ourProxy = (TiUITableViewProxy *)[self proxy]; NSUInteger oldCount = ourProxy.sectionCount.unsignedIntegerValue; @@ -588,13 +588,13 @@ - (void)replaceData:(NSMutableArray *)data animation:(UITableViewRowAnimation)an [ourProxy setInternalSections:data]; - int newCount = 0; //Since we're iterating anyways, we might as well not get count. + int newCount = 0; // Since we're iterating anyways, we might as well not get count. for (TiUITableViewSectionProxy *section in [(TiUITableViewProxy *)[self proxy] internalSections]) { [section setTable:self]; [section setSection:newCount++]; [ourProxy rememberSection:section]; - //TODO: Shouldn't this be done by Section itself? Doesn't it already? + // TODO: Shouldn't this be done by Section itself? Doesn't it already? for (TiUITableViewRowProxy *row in section) { row.section = section; row.parent = section; @@ -605,7 +605,7 @@ - (void)replaceData:(NSMutableArray *)data animation:(UITableViewRowAnimation)an } } -//Assertions no longer are needed; we ensure that the sections are not nil. +// Assertions no longer are needed; we ensure that the sections are not nil. - (void)updateRow:(TiUITableViewRowProxy *)row { row.table = self; @@ -676,10 +676,10 @@ - (void)appendRow:(TiUITableViewRowProxy *)row [row.section reorderRows]; } -//Because UITableView does not like having 0 sections, we MUST maintain the facade of having at least one section, -//albeit with 0 rows. Because of this, we might come across several times where this fictional first section will -//be asked about. Because we don't want the sections array throwing range exceptions, sectionForIndex MUST be used -//for this protection. +// Because UITableView does not like having 0 sections, we MUST maintain the facade of having at least one section, +// albeit with 0 rows. Because of this, we might come across several times where this fictional first section will +// be asked about. Because we don't want the sections array throwing range exceptions, sectionForIndex MUST be used +// for this protection. - (TiUITableViewSectionProxy *)sectionForIndex:(NSInteger)index { NSArray *sections = [(TiUITableViewProxy *)[self proxy] internalSections]; @@ -787,7 +787,7 @@ - (void)dispatchAction:(TiUITableViewAction *)action TiUITableViewRowProxy *moveRow = [[[updateSection rows] objectAtIndex:rowIndex] retain]; [removeRows addObject:[NSIndexPath indexPathForRow:i inSection:updateSectionIndex]]; - /*We need to save the row proxy before deleting it, as the KrollObject might get finalized + /*We need to save the row proxy before deleting it, as the KrollObject might get finalized before appendRow can happen and thus leaving the proxy with no KrollObject associated with it.*/ [(TiUITableViewProxy *)[self proxy] rememberProxy:moveRow]; [self deleteRow:moveRow]; @@ -808,7 +808,7 @@ - (void)dispatchAction:(TiUITableViewAction *)action [self appendRow:row]; for (TiUITableViewRowProxy *moveRow in addRows) { [self appendRow:moveRow]; - //Removing the temporarly saved proxy. + // Removing the temporarly saved proxy. [(TiUITableViewProxy *)[self proxy] forgetProxy:moveRow]; } if (![self isSearchStarted]) { @@ -1042,10 +1042,10 @@ - (void)triggerActionForIndexPath:(NSIndexPath *)indexPath [self hideSearchScreen:nil]; } else { /* - TIMOB-7397. Observed that `searchBarTextDidBeginEditing` delegate - method was being called on screen transition which was causing a - visual glitch. Checking for isFirstResponder at this point always - returns false. Calling blur here so that the UISearchBar resigns + TIMOB-7397. Observed that `searchBarTextDidBeginEditing` delegate + method was being called on screen transition which was causing a + visual glitch. Checking for isFirstResponder at this point always + returns false. Calling blur here so that the UISearchBar resigns as first responder on main thread */ [searchField performSelector:@selector(blur:) withObject:nil]; @@ -1057,8 +1057,8 @@ - (void)triggerActionForIndexPath:(NSIndexPath *)indexPath - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event { UIView *result = [super hitTest:point withEvent:event]; - if (result == self) { //There is no valid reason why the TiUITableView will get an - //touch event; it should ALWAYS be a child view. + if (result == self) { // There is no valid reason why the TiUITableView will get an + // touch event; it should ALWAYS be a child view. return nil; } return result; @@ -1143,7 +1143,7 @@ - (void)recognizedSwipe:(UISwipeGestureRecognizer *)recognizer [event setObject:NUMBOOL(viaSearch) forKey:@"search"]; if (indexPath != nil) { - //We have index path. Let us fill out section and row information. Also since the + // We have index path. Let us fill out section and row information. Also since the NSInteger sectionIdx = [indexPath section]; NSArray *sections = [(TiUITableViewProxy *)[self proxy] internalSections]; TiUITableViewSectionProxy *section = [self sectionForIndex:sectionIdx]; @@ -1183,7 +1183,7 @@ - (void)recognizedTap:(UITapGestureRecognizer *)recognizer [event setObject:NUMBOOL(viaSearch) forKey:@"search"]; if (indexPath != nil) { - //We have index path. Let us fill out section and row information. Also since the + // We have index path. Let us fill out section and row information. Also since the NSInteger sectionIdx = [indexPath section]; NSArray *sections = [(TiUITableViewProxy *)[self proxy] internalSections]; TiUITableViewSectionProxy *section = [self sectionForIndex:sectionIdx]; @@ -1202,7 +1202,7 @@ - (void)recognizedTap:(UITapGestureRecognizer *)recognizer [[self proxy] fireEvent:@"twofingertap" withObject:event]; } } else if ([recognizer numberOfTapsRequired] == 2) { - //Because double-tap suppresses touchStart and double-click, we must do this: + // Because double-tap suppresses touchStart and double-click, we must do this: if ([[self proxy] _hasListeners:@"touchstart"]) { [[self proxy] fireEvent:@"touchstart" withObject:event propagate:YES]; } @@ -1230,7 +1230,7 @@ - (void)longPressGesture:(UILongPressGestureRecognizer *)recognizer BOOL search = [searchController isActive]; if (indexPath == nil) { - //indexPath will also be nil if you click the header of the first section. TableView Bug?? + // indexPath will also be nil if you click the header of the first section. TableView Bug?? TiUITableViewSectionProxy *section = [self sectionForIndex:0]; if (section != nil) { CGRect headerRect = [ourTableView rectForHeaderInSection:0]; @@ -1257,7 +1257,7 @@ - (void)longPressGesture:(UILongPressGestureRecognizer *)recognizer } if (!search) { - //Make sure that the point does not fall into the rect for header or footer views + // Make sure that the point does not fall into the rect for header or footer views CGRect headerRect = [ourTableView rectForHeaderInSection:[indexPath section]]; CGRect footerRect = [ourTableView rectForFooterInSection:[indexPath section]]; if (CGRectContainsPoint(headerRect, point) || CGRectContainsPoint(footerRect, point)) { @@ -1321,8 +1321,8 @@ - (void)updateSearchResultIndexes if ([searchString length] == 0) { RELEASE_TO_NIL(searchResultIndexes); - //Need to reload the tableview, as some of the cells might be reused as part - //of a previous search and as a result may not be visible on screen. + // Need to reload the tableview, as some of the cells might be reused as part + // of a previous search and as a result may not be visible on screen. [tableview reloadData]; return; @@ -1336,7 +1336,7 @@ - (void)updateSearchResultIndexes searchResultIndexEnumerator = [searchResultIndexes objectEnumerator]; } - //TODO: If the search is adding letters to the previous search string, do it by elimination instead of adding. + // TODO: If the search is adding letters to the previous search string, do it by elimination instead of adding. NSString *ourSearchAttribute = filterAttribute; if (ourSearchAttribute == nil) { @@ -1348,7 +1348,7 @@ - (void)updateSearchResultIndexes for (TiUITableViewSectionProxy *thisSection in [(TiUITableViewProxy *)[self proxy] internalSections]) { NSMutableIndexSet *thisIndexSet = [searchResultIndexEnumerator nextObject]; if (thisIndexSet == nil) { - searchResultIndexEnumerator = nil; //Make sure we don't use the enumerator anymore. + searchResultIndexEnumerator = nil; // Make sure we don't use the enumerator anymore. thisIndexSet = [NSMutableIndexSet indexSet]; [searchResultIndexes addObject:thisIndexSet]; } else { @@ -1622,7 +1622,7 @@ - (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar - (TiUIView *)sectionView:(NSInteger)section forLocation:(NSString *)location section:(TiUITableViewSectionProxy **)sectionResult { TiUITableViewSectionProxy *proxy = [self sectionForIndex:section]; - //In the event that proxy is nil, this all flows out to returning nil safely anyways. + // In the event that proxy is nil, this all flows out to returning nil safely anyways. if (sectionResult != nil) { *sectionResult = proxy; } @@ -1653,7 +1653,7 @@ - (void)setKeyboardDismissMode_:(id)value - (void)setSeparatorInsets_:(id)arg { DEPRECATED_REPLACED(@"UI.TableView.separatorInsets", @"5.2.0", @"UI.TableView.tableSeparatorInsets") - [self setTableSeparatorInsets_:arg]; + [self setTableSeparatorInsets_:arg]; } - (void)setTableSeparatorInsets_:(id)arg @@ -1819,9 +1819,9 @@ - (void)setSearch_:(id)search isSearchBarInNavigation = [TiUtils boolValue:[self.proxy valueForKey:@"showSearchBarInNavBar"] def:NO]; if (search != nil) { - //TODO: now that we're using the search controller, we can move away from - //doing our own custom search screen since the controller gives this to us - //for free + // TODO: now that we're using the search controller, we can move away from + // doing our own custom search screen since the controller gives this to us + // for free searchField = [search retain]; if (!isSearchBarInNavigation) { [searchField windowWillOpen]; @@ -2136,12 +2136,12 @@ - (UITableViewCell *)tableView:(UITableView *)ourTableView cellForRowAtIndexPath if (cell == nil) { if (row.callbackCell != nil) { - //Ensure that the proxy is associated with one cell only + // Ensure that the proxy is associated with one cell only [row.callbackCell setProxy:nil]; } cell = [[[TiUITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:row.tableClass row:row] autorelease]; } else { - //Ensure that the row is detached if reusing cells did not do so. + // Ensure that the row is detached if reusing cells did not do so. [row prepareTableRowForReuse]; // Have to reset the proxy on the cell, and the row's callback cell, as it may have been cleared in reuse operations (or reassigned) [(TiUITableViewCell *)cell setProxy:row]; @@ -2162,7 +2162,7 @@ - (UITableViewCell *)tableView:(UITableView *)ourTableView cellForRowAtIndexPath - (NSInteger)numberOfSectionsInTableView:(UITableView *)ourTableView { - //TIMOB-15526 + // TIMOB-15526 if ([searchController isActive] && ourTableView.backgroundColor == [UIColor clearColor]) { ourTableView.backgroundColor = [UIColor whiteColor]; } @@ -2215,7 +2215,7 @@ - (void)tableView:(UITableView *)ourTableView commitEditingStyle:(UITableViewCel NSIndexSet *thisSectionSet = [NSIndexSet indexSetWithIndex:[indexPath section]]; if ([(TiUITableViewProxy *)[self proxy] sectionCount].unsignedIntegerValue > 0) { [table deleteSections:thisSectionSet withRowAnimation:UITableViewRowAnimationFade]; - } else //There always must be at least one section. So instead, we have it reload to clear out the header and footer, etc. + } else // There always must be at least one section. So instead, we have it reload to clear out the header and footer, etc. { [table reloadSections:thisSectionSet withRowAnimation:UITableViewRowAnimationFade]; } @@ -2235,23 +2235,23 @@ - (BOOL)tableView:(UITableView *)ourTableView canEditRowAtIndexPath:(NSIndexPath TiUITableViewRowProxy *row = [self rowForIndexPath:indexPath]; - //If editable, then this is always true. + // If editable, then this is always true. if ([TiUtils boolValue:[row valueForKey:@"editable"] def:editable]) { return YES; } - //Elsewhise, when not editing nor moving, return NO, so that swipes don't trigger. + // Elsewhise, when not editing nor moving, return NO, so that swipes don't trigger. if (!editing && !moving) { return NO; } - //Otherwise, when editing or moving, make sure that both can be done. + // Otherwise, when editing or moving, make sure that both can be done. return [TiUtils boolValue:[row valueForKey:@"moveable"] def:moving || moveable] || [TiUtils boolValue:[row valueForKey:@"editable"] def:editing]; - //Why are we checking editable twice? Well, once it's with the default of editable. The second time with the default of editing. - //Effectively, editable is being tri-state. + // Why are we checking editable twice? Well, once it's with the default of editable. The second time with the default of editing. + // Effectively, editable is being tri-state. } - (BOOL)tableView:(UITableView *)ourTableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath @@ -2277,9 +2277,9 @@ - (UITableViewCellEditingStyle)tableView:(UITableView *)ourTableView editingStyl RETURN_IF_SEARCH_TABLE_VIEW(UITableViewCellEditingStyleNone); TiUITableViewRowProxy *row = [self rowForIndexPath:indexPath]; - //Yes, this looks similar to canEdit, but here we need to make the distinction between moving and editing. + // Yes, this looks similar to canEdit, but here we need to make the distinction between moving and editing. - //Actually, it's easier than that. editable or editing causes this to default true. Otherwise, it's the editable flag. + // Actually, it's easier than that. editable or editing causes this to default true. Otherwise, it's the editable flag. if ([TiUtils boolValue:[row valueForKey:@"editable"] def:editable || editing]) { return UITableViewCellEditingStyleDelete; } @@ -2295,7 +2295,7 @@ - (void)tableView:(UITableView *)ourTableView moveRowAtIndexPath:(NSIndexPath *) NSInteger toRowIndex = [destinationIndexPath row]; if ((fromSectionIndex == toSectionIndex) && (fromRowIndex == toRowIndex)) { - //No need to fire a move event if the row never moved + // No need to fire a move event if the row never moved return; } @@ -2375,7 +2375,7 @@ - (void)selectRow:(id)args TiUITableViewRowProxy *rowProxy = [self rowForIndexPath:path]; if ([rowProxy callbackCell] == nil) { - //Not displayed at present. Go ahead and scroll to row and reperform selectRow after delay + // Not displayed at present. Go ahead and scroll to row and reperform selectRow after delay [[self tableView] scrollToRowAtIndexPath:path atScrollPosition:UITableViewScrollPositionMiddle animated:NO]; NSDictionary *dict = [NSDictionary dictionaryWithObject:NUMBOOL(NO) forKey:@"animated"]; NSArray *newArgs = [NSArray arrayWithObjects:NUMINTEGER(index), dict, nil]; @@ -2677,15 +2677,15 @@ - (CGFloat)tableView:(UITableView *)ourTableView heightForHeaderInSection:(NSInt #endif } /* - * This behavior is slightly more complex between iOS 4 and iOS 5 than you might believe, and Apple's - * documentation is once again misleading. It states that in iOS 4 this value was "ignored if - * -[delegate tableView:viewForHeaderInSection:] returned nil" but apparently a non-nil value for - * -[delegate tableView:titleForHeaderInSection:] is considered a valid value for height handling as well, - * provided it is NOT the empty string. - * - * So for parity with iOS 4, iOS 5 must similarly treat the empty string header as a 'nil' value and - * return a 0.0 height that is overridden by the system. - */ + * This behavior is slightly more complex between iOS 4 and iOS 5 than you might believe, and Apple's + * documentation is once again misleading. It states that in iOS 4 this value was "ignored if + * -[delegate tableView:viewForHeaderInSection:] returned nil" but apparently a non-nil value for + * -[delegate tableView:titleForHeaderInSection:] is considered a valid value for height handling as well, + * provided it is NOT the empty string. + * + * So for parity with iOS 4, iOS 5 must similarly treat the empty string header as a 'nil' value and + * return a 0.0 height that is overridden by the system. + */ else if ([sectionProxy headerTitle] != nil) { if ([[sectionProxy headerTitle] isEqualToString:@""]) { return size; @@ -2836,7 +2836,7 @@ - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView { // suspend image loader while we're scrolling to improve performance [[ImageLoader sharedLoader] suspend]; - if ([self.proxy _hasListeners:@"dragStart"]) { //TODO: Deprecate old event. + if ([self.proxy _hasListeners:@"dragStart"]) { // TODO: Deprecate old event. [self.proxy fireEvent:@"dragStart" withObject:nil]; } if ([self.proxy _hasListeners:@"dragstart"]) { @@ -2850,25 +2850,25 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL // resume image loader when we're done scrolling [[ImageLoader sharedLoader] resume]; } - if ([self.proxy _hasListeners:@"dragEnd"]) { //TODO: Deprecate old event + if ([self.proxy _hasListeners:@"dragEnd"]) { // TODO: Deprecate old event [self.proxy fireEvent:@"dragEnd" withObject:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:decelerate], @"decelerate", nil]]; } if ([self.proxy _hasListeners:@"dragend"]) { [self.proxy fireEvent:@"dragend" withObject:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:decelerate], @"decelerate", nil]]; } - //This section of code now moved to [TiUITextWidgetView updateKeyboardStatus] - // Update keyboard status to insure that any fields actively being edited remain in view - //if ([[[TiApp app] controller] keyboardVisible]) { - // [[[TiApp app] controller] performSelector:@selector(handleNewKeyboardStatus) withObject:nil afterDelay:0.0]; - //} + // This section of code now moved to [TiUITextWidgetView updateKeyboardStatus] + // Update keyboard status to insure that any fields actively being edited remain in view + // if ([[[TiApp app] controller] keyboardVisible]) { + // [[[TiApp app] controller] performSelector:@selector(handleNewKeyboardStatus) withObject:nil afterDelay:0.0]; + // } } - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView { // resume image loader when we're done scrolling [[ImageLoader sharedLoader] resume]; - if ([self.proxy _hasListeners:@"scrollEnd"]) { //TODO: Deprecate old event. + if ([self.proxy _hasListeners:@"scrollEnd"]) { // TODO: Deprecate old event. [self.proxy fireEvent:@"scrollEnd" withObject:[self eventObjectForScrollView:scrollView]]; } if ([self.proxy _hasListeners:@"scrollend"]) { diff --git a/iphone/Classes/TiUITableViewProxy.h b/iphone/Classes/TiUITableViewProxy.h index db64cd3aa04..a013e7e8891 100644 --- a/iphone/Classes/TiUITableViewProxy.h +++ b/iphone/Classes/TiUITableViewProxy.h @@ -19,12 +19,12 @@ } - (void)setData:(id)args withObject:(id)properties; - (NSArray *)data; -//Sections and Data are the sanitized version. +// Sections and Data are the sanitized version. @property (nonatomic, readwrite, copy) NSArray *sections; - (NSNumber *)sectionCount; #pragma mark NON-JS functionality -//internalSections is until TODO: Stop JS from using ValueForKey +// internalSections is until TODO: Stop JS from using ValueForKey @property (nonatomic, readwrite, retain) NSMutableArray *internalSections; - (NSInteger)indexForRow:(TiUITableViewRowProxy *)row; diff --git a/iphone/Classes/TiUITableViewProxy.m b/iphone/Classes/TiUITableViewProxy.m index 702852a664e..dcd92350d95 100644 --- a/iphone/Classes/TiUITableViewProxy.m +++ b/iphone/Classes/TiUITableViewProxy.m @@ -442,7 +442,7 @@ - (void)updateRow:(id)args newrow.row = rowProxy.row; newrow.parent = newrow.section; - //We now need to disconnect the old row proxy. + // We now need to disconnect the old row proxy. rowProxy.section = nil; rowProxy.parent = nil; rowProxy.table = nil; @@ -503,11 +503,11 @@ - (void)deleteRow:(id)args TiUITableViewAction *action = [[[TiUITableViewAction alloc] initWithObject:row animation:anim type:TiUITableViewActionDeleteRow] autorelease]; [table dispatchAction:action]; } else { - //No table, we have to do the data update ourselves. - // If we don't handle it, the row gets dropped on the ground, - // but if we create the tableview, there's this horrible issue where - // the uitableview isn't fully formed, it gets this message to do an action, - // and ends up throwing an exception because we're out of bounds. + // No table, we have to do the data update ourselves. + // If we don't handle it, the row gets dropped on the ground, + // but if we create the tableview, there's this horrible issue where + // the uitableview isn't fully formed, it gets this message to do an action, + // and ends up throwing an exception because we're out of bounds. [section remove:row]; } } @@ -558,7 +558,7 @@ - (void)insertRowBefore:(id)args } // Configure the new row - [newSection rememberProxy:newrow]; //If we wait until the main thread, it'll be too late! + [newSection rememberProxy:newrow]; // If we wait until the main thread, it'll be too late! newrow.section = newSection; newrow.parent = newSection; newrow.row = row.row; // HACK: Used to determine the row we're being placed before in the old section @@ -566,7 +566,7 @@ - (void)insertRowBefore:(id)args // Configure the action actionType = TiUITableViewActionInsertSectionBefore; } else { - [section rememberProxy:newrow]; //If we wait until the main thread, it'll be too late! + [section rememberProxy:newrow]; // If we wait until the main thread, it'll be too late! newrow.section = section; // TODO: Should we be updating every row after this one...? newrow.row = row.row == 0 ? 0 : row.row; @@ -577,8 +577,8 @@ - (void)insertRowBefore:(id)args TiUITableViewAction *action = [[[TiUITableViewAction alloc] initWithObject:newrow animation:anim type:actionType] autorelease]; [table dispatchAction:action]; } else { - //No table, we have to do the data update ourselves. - //TODO: Implement. Better yet, refactor. + // No table, we have to do the data update ourselves. + // TODO: Implement. Better yet, refactor. DebugLog(@"[WARN] Table view was not in place before insertRowBefore was called."); } } @@ -626,7 +626,7 @@ - (void)insertRowAfter:(id)args } // Configure the new row - [newSection rememberProxy:newrow]; //If we wait until the main thread, it'll be too late! + [newSection rememberProxy:newrow]; // If we wait until the main thread, it'll be too late! newrow.section = newSection; newrow.parent = newSection; newrow.row = row.row + 1; // HACK: Used to determine the row we're being placed after in the previous section; will be set to 0 later @@ -634,7 +634,7 @@ - (void)insertRowAfter:(id)args // Configure the action actionType = TiUITableViewActionInsertSectionAfter; } else { - [section rememberProxy:newrow]; //If we wait until the main thread, it'll be too late! + [section rememberProxy:newrow]; // If we wait until the main thread, it'll be too late! newrow.section = section; // TODO: Should we be updating every row index of the rows which appear after this row...? newrow.row = row.row + 1; @@ -645,8 +645,8 @@ - (void)insertRowAfter:(id)args TiUITableViewAction *action = [[[TiUITableViewAction alloc] initWithObject:newrow animation:anim type:actionType] autorelease]; [table dispatchAction:action]; } else { - //No table, we have to do the data update ourselves. - //TODO: Implement. Better yet, refactor. + // No table, we have to do the data update ourselves. + // TODO: Implement. Better yet, refactor. DebugLog(@"[WARN] Table view was not in place before insertRowAfter was called."); } } @@ -689,11 +689,11 @@ - (void)appendRow:(id)args row.parent = section; if (table != nil) { - [section rememberProxy:row]; //If we wait until the main thread, it'll be too late! + [section rememberProxy:row]; // If we wait until the main thread, it'll be too late! TiUITableViewAction *action = [[[TiUITableViewAction alloc] initWithObject:row animation:anim type:actionType] autorelease]; [table dispatchAction:action]; } else { - //No table, we have to do the data update ourselves. + // No table, we have to do the data update ourselves. [section add:row]; } } @@ -767,8 +767,8 @@ - (void)setData:(id)args - (NSArray *)data { __block NSArray *curSections = nil; - //TIMOB-9890. Ensure data is retrieved off of the main - //thread to ensure any pending operations are completed + // TIMOB-9890. Ensure data is retrieved off of the main + // thread to ensure any pending operations are completed TiThreadPerformOnMainThread( ^{ curSections = [sections copy]; @@ -828,7 +828,7 @@ - (void)setSections:(NSArray *)newSections withObject:(id)properties { ENSURE_TYPE_OR_NIL(newSections, NSArray); - //Step 1: Sanity check. This might be optional. + // Step 1: Sanity check. This might be optional. Class sectionClass = [TiUITableViewSectionProxy class]; int sectionIndex = 0; for (TiUITableViewSectionProxy *section in newSections) { @@ -841,13 +841,13 @@ - (void)setSections:(NSArray *)newSections withObject:(id)properties sectionIndex++; } - //Step 2: Prepare the sections for entry. Only things that will not affect + // Step 2: Prepare the sections for entry. Only things that will not affect // sections already in the table view. for (TiUITableViewSectionProxy *section in newSections) { [self rememberSection:section]; } - //Step 3: Apply on main thread. + // Step 3: Apply on main thread. TiThreadPerformOnMainThread( ^{ NSArray *oldSections = sections; @@ -891,7 +891,7 @@ - (void)willShow } - (NSNumber *)sectionCount -{ //TODO: Shouldn't this be in the main thread, too? +{ // TODO: Shouldn't this be in the main thread, too? return NUMUINTEGER((sections != nil) ? sections.count : 0); } @@ -914,7 +914,7 @@ - (TiUITableViewSectionProxy *)tableSectionFromArg:(id)arg - (void)appendSection:(id)args { - //Step one: sanity + // Step one: sanity NSUInteger argCount = [args count]; if (argCount < 1) { [self throwException:TiExceptionNotEnoughArguments @@ -922,7 +922,7 @@ - (void)appendSection:(id)args location:CODELOCATION]; } - //Step two: Prepare + // Step two: Prepare id appendum = [args objectAtIndex:0]; TiUITableViewSectionProxy *section = nil; NSMutableArray *sectionArray = nil; @@ -954,7 +954,7 @@ - (void)appendSection:(id)args options = [args objectAtIndex:1]; } - //Step three: Main thread + // Step three: Main thread TiThreadPerformOnMainThread( ^{ BOOL falseFirstSection = [sections count] == 0; @@ -967,7 +967,7 @@ - (void)appendSection:(id)args } [sections addObjectsFromArray:sectionArray]; } else { - //A nil array means a single section. + // A nil array means a single section. [section setSection:sectionRange.location]; [sections addObject:section]; } @@ -983,7 +983,7 @@ - (void)appendSection:(id)args } if (!falseFirstSection) { [ourTable insertSections:[NSIndexSet indexSetWithIndexesInRange:sectionRange] withRowAnimation:ourAnimation]; - } else { //UITableView doesn't know we had 0 sections. + } else { // UITableView doesn't know we had 0 sections. [ourTable beginUpdates]; [ourTable deleteSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:ourAnimation]; [ourTable insertSections:[NSIndexSet indexSetWithIndexesInRange:sectionRange] withRowAnimation:ourAnimation]; @@ -997,7 +997,7 @@ - (void)appendSection:(id)args - (void)deleteSection:(id)args { - //Step one: sanity + // Step one: sanity NSUInteger argCount = [args count]; if (argCount < 1) { [self throwException:TiExceptionNotEnoughArguments @@ -1027,7 +1027,7 @@ - (void)deleteSection:(id)args UITableViewRowAnimation ourAnimation = [TiUITableViewAction animationStyleForProperties:options]; TiUITableView *ourView = (TiUITableView *)[self view]; UITableView *ourTable = [ourView tableView]; - if ([sections count] == 0) { //UITableView can't handle 0 sections. + if ([sections count] == 0) { // UITableView can't handle 0 sections. [ourTable reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:ourAnimation]; } else { [ourTable deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex] withRowAnimation:ourAnimation]; @@ -1054,7 +1054,7 @@ - (void)insertSection:(TiUITableViewSectionProxy *)section atIndex:(int)sectionI TiUITableView *ourView = (TiUITableView *)[self view]; UITableView *ourTable = [ourView tableView]; [section setTable:ourView]; - if (oldSectionCount == 0) { //UITableView doesn't know we have 0 sections. + if (oldSectionCount == 0) { // UITableView doesn't know we have 0 sections. [ourTable reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:ourAnimation]; } else { [ourTable insertSections:[NSIndexSet indexSetWithIndex:boundSectionIndex] withRowAnimation:ourAnimation]; diff --git a/iphone/Classes/TiUITableViewRowProxy.h b/iphone/Classes/TiUITableViewRowProxy.h index 19a20e8e727..7ff6080e797 100644 --- a/iphone/Classes/TiUITableViewRowProxy.h +++ b/iphone/Classes/TiUITableViewRowProxy.h @@ -54,8 +54,8 @@ - (id)createEventObject:(id)initialObject; - (void)triggerAttach; - (void)updateRow:(NSDictionary *)data withObject:(NSDictionary *)properties; -- (UIView *)currentRowContainerView; //Private method :For internal use only. -- (void)triggerLayout; //Private method :For internal use only. Called from layoutSubviews of the cell. +- (UIView *)currentRowContainerView; // Private method :For internal use only. +- (void)triggerLayout; // Private method :For internal use only. Called from layoutSubviews of the cell. @end diff --git a/iphone/Classes/TiUITableViewRowProxy.m b/iphone/Classes/TiUITableViewRowProxy.m index da3ae5ebc34..b4983dd8b5c 100644 --- a/iphone/Classes/TiUITableViewRowProxy.m +++ b/iphone/Classes/TiUITableViewRowProxy.m @@ -57,7 +57,7 @@ - (void)clearHitTarget; } } - //By now, no subviews have claimed ownership. + // By now, no subviews have claimed ownership. if ([targetView respondsToSelector:@selector(proxy)]) { return [(TiUIView *)targetView proxy]; } @@ -230,7 +230,7 @@ - (void)setBackgroundTopCap:(id)value - (void)setValue:(id)value forUndefinedKey:(NSString *)key { if ([key isEqualToString:[@"lay" stringByAppendingString:@"out"]]) { - //CAN NOT USE THE MACRO + // CAN NOT USE THE MACRO if (ENFORCE_BATCH_UPDATE) { if (updateStarted) { [self setTempProperty:value forKey:key]; @@ -351,7 +351,7 @@ - (void)configureTitle:(UITableViewCell *)cell NSString *title = [TiUtils stringValue:[self valueForKey:@"title"]]; if (title != nil) { - [textLabel setText:title]; //UILabel already checks to see if it hasn't changed. + [textLabel setText:title]; // UILabel already checks to see if it hasn't changed. UIColor *textColor = [[TiUtils colorValue:[self valueForKey:@"color"]] _color]; [textLabel setTextColor:(textColor == nil) ? [UIColor blackColor] : textColor]; @@ -565,7 +565,7 @@ - (UIView *)view return rowContainerView; } -//Private method : For internal use only +// Private method : For internal use only - (TiUITableViewRowContainer *)currentRowContainerView { if (rowContainerView == nil) { @@ -573,7 +573,7 @@ - (TiUITableViewRowContainer *)currentRowContainerView } return (TiUITableViewRowContainer *)rowContainerView; } -//Private method :For internal use only. Called from layoutSubviews of the cell. +// Private method :For internal use only. Called from layoutSubviews of the cell. - (void)triggerLayout { if (modifyingRow) { @@ -866,7 +866,7 @@ - (id)createEventObject:(id)initialObject return dict; } -//TODO: Remove when deprication is done. +// TODO: Remove when deprication is done. - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(int)code message:(NSString *)message; { // merge in any row level properties for the event diff --git a/iphone/Classes/TiUITableViewSectionProxy.m b/iphone/Classes/TiUITableViewSectionProxy.m index b19a9c00ed5..26f10f374de 100644 --- a/iphone/Classes/TiUITableViewSectionProxy.m +++ b/iphone/Classes/TiUITableViewSectionProxy.m @@ -104,8 +104,8 @@ - (UIView *)view - (TiUITableViewRowProxy *)rowAtIndex:(NSUInteger)index { - //Because rowAtIndex is used internally, with an int, it can't be used by the Javascript. - //The javascript passes in an NSArray pointer, not an index. And things blow up. + // Because rowAtIndex is used internally, with an int, it can't be used by the Javascript. + // The javascript passes in an NSArray pointer, not an index. And things blow up. return [rows objectAtIndex:index]; } diff --git a/iphone/Classes/TiUITextArea.m b/iphone/Classes/TiUITextArea.m index 6994ecd7615..3dacf11de9a 100644 --- a/iphone/Classes/TiUITextArea.m +++ b/iphone/Classes/TiUITextArea.m @@ -34,7 +34,7 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender - (void)setTouchHandler:(TiUIView *)handler { - //Assign only. No retain + // Assign only. No retain touchHandler = handler; } @@ -52,8 +52,8 @@ - (NSComparisonResult)comparePosition:(UITextPosition *)position toPosition:(UIT - (BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContentView:(UIView *)view { - //If the content view is of type TiUIView touch events will automatically propagate - //If it is not of type TiUIView we will fire touch events with ourself as source + // If the content view is of type TiUIView touch events will automatically propagate + // If it is not of type TiUIView we will fire touch events with ourself as source if ([view isKindOfClass:[TiUIView class]]) { touchedContentView = view; } else { @@ -64,10 +64,10 @@ - (BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContent - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { - //When userInteractionEnabled is false we do nothing since touch events are automatically - //propagated. If it is dragging do not do anything. - //The reason we are not checking tracking (like in scrollview) is because for some - //reason UITextView always returns true for tracking after the initial focus + // When userInteractionEnabled is false we do nothing since touch events are automatically + // propagated. If it is dragging do not do anything. + // The reason we are not checking tracking (like in scrollview) is because for some + // reason UITextView always returns true for tracking after the initial focus UITouch *touch = [touches anyObject]; [(TiUITextArea *)touchHandler checkLinkForTouch:touch]; @@ -268,7 +268,7 @@ - (void)setAutoLink_:(id)type_ - (void)setBorderStyle_:(id)value { - //TODO + // TODO } - (void)setScrollsToTop_:(id)value @@ -296,7 +296,7 @@ - (BOOL)hasText return [(UITextView *)[self textWidgetView] hasText]; } -//TODO: scrollRangeToVisible +// TODO: scrollRangeToVisible #pragma mark UITextViewDelegate @@ -351,7 +351,7 @@ - (void)textViewDidChangeSelection:(UITextView *)tv NSDictionary *event = [NSDictionary dictionaryWithObject:rangeDict forKey:@"range"]; [self.proxy fireEvent:@"selected" withObject:event]; } - //TIMOB-15401. Workaround for UI artifact + // TIMOB-15401. Workaround for UI artifact if ((tv == textWidgetView) && (!NSEqualRanges(tv.selectedRange, lastSelectedRange))) { lastSelectedRange.location = tv.selectedRange.location; lastSelectedRange.length = tv.selectedRange.length; @@ -382,10 +382,10 @@ - (BOOL)textView:(UITextView *)tv shouldChangeTextInRange:(NSRange)range replace return NO; } - //TIMOB-15401. Workaround for UI artifact + // TIMOB-15401. Workaround for UI artifact if ([tv isScrollEnabled] && [text isEqualToString:@"\n"]) { if (curText.length - tv.selectedRange.location == 1) { - //Last line. Adjust + // Last line. Adjust [self adjustOffsetIfRequired:tv]; } } @@ -401,7 +401,7 @@ - (void)setHandleLinks_:(id)args } /* -Text area constrains the text event though the content offset and edge insets are set to 0 +Text area constrains the text event though the content offset and edge insets are set to 0 */ #define TXT_OFFSET 20 - (CGFloat)contentWidthForWidth:(CGFloat)value @@ -426,8 +426,8 @@ - (CGFloat)contentHeightForWidth:(CGFloat)value - (void)scrollViewDidScroll:(id)scrollView { - //Ensure that system messages that cause the scrollView to - //scroll are ignored if scrollable is set to false + // Ensure that system messages that cause the scrollView to + // scroll are ignored if scrollable is set to false UITextView *ourView = (UITextView *)[self textWidgetView]; if (![ourView isScrollEnabled]) { CGPoint origin = [scrollView contentOffset]; diff --git a/iphone/Classes/TiUITextField.m b/iphone/Classes/TiUITextField.m index 3c099f56134..3e6bdbb17af 100644 --- a/iphone/Classes/TiUITextField.m +++ b/iphone/Classes/TiUITextField.m @@ -58,7 +58,7 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender - (void)setTouchHandler:(TiUIView *)handler { - //Assign only. No retain + // Assign only. No retain touchHandler = handler; } @@ -269,7 +269,7 @@ - (void)initializeTiLayoutView - (void)dealloc { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] removeObserver:self name:UITextFieldTextDidChangeNotification object:nil]; [super dealloc]; } @@ -289,7 +289,7 @@ - (void)dealloc [(TiTextField *)textWidgetView setTouchHandler:self]; [self addSubview:textWidgetView]; self.clipsToBounds = YES; - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! NSNotificationCenter *theNC = [NSNotificationCenter defaultCenter]; [theNC addObserver:self selector:@selector(textFieldDidChange:) name:UITextFieldTextDidChangeNotification object:textWidgetView]; } @@ -441,7 +441,7 @@ - (void)setClearButtonMode_:(id)value [(TiTextField *)[self textWidgetView] setClearButtonMode:[TiUtils intValue:value]]; } -//TODO: rename +// TODO: rename - (void)setLeftButton_:(id)value { @@ -450,7 +450,7 @@ - (void)setLeftButton_:(id)value TiUIView *leftview = [vp view]; [(TiTextField *)[self textWidgetView] setLeftView:leftview]; } else { - //TODO: + // TODO: } } @@ -465,7 +465,7 @@ - (void)setRightButton_:(id)value TiViewProxy *vp = (TiViewProxy *)value; [(TiTextField *)[self textWidgetView] setRightView:[vp view]]; } else { - //TODO: + // TODO: } } @@ -503,7 +503,7 @@ - (void)textFieldDidBeginEditing:(UITextField *)tf { TiUITextWidgetProxy *ourProxy = (TiUITextWidgetProxy *)[self proxy]; - //TIMOB-14563. Set the right text value. + // TIMOB-14563. Set the right text value. if ([ourProxy suppressFocusEvents]) { NSString *theText = [ourProxy valueForKey:@"value"]; [tf setText:theText]; @@ -522,7 +522,7 @@ - (BOOL)textFieldShouldBeginEditing:(UITextField *)textField; // return NO to di - (BOOL)textField:(UITextField *)tf shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { - //sanity check for undo bug. Does nothing if undo pressed for certain keyboardsTypes and under some conditions. + // sanity check for undo bug. Does nothing if undo pressed for certain keyboardsTypes and under some conditions. if (range.length + range.location > [[tf text] length]) { return NO; } @@ -541,7 +541,7 @@ - (BOOL)textField:(UITextField *)tf shouldChangeCharactersInRange:(NSRange)range - (void)textFieldDidEndEditing:(UITextField *)tf { [self textWidget:tf didBlurWithText:[tf text]]; - //TIMOB-18365. Value not updated when autocorrect is up and return is pressed + // TIMOB-18365. Value not updated when autocorrect is up and return is pressed [self textFieldDidChange:nil]; } @@ -549,7 +549,7 @@ - (void)textFieldDidChange:(NSNotification *)notification { TiUITextWidgetProxy *ourProxy = (TiUITextWidgetProxy *)[self proxy]; - //TIMOB-14563. This is incorrect when passowrd mark is used. Just ignore. + // TIMOB-14563. This is incorrect when passowrd mark is used. Just ignore. if ([ourProxy suppressFocusEvents]) { return; } diff --git a/iphone/Classes/TiUITextWidget.m b/iphone/Classes/TiUITextWidget.m index 315e51c6f20..90b90bbcff7 100644 --- a/iphone/Classes/TiUITextWidget.m +++ b/iphone/Classes/TiUITextWidget.m @@ -75,7 +75,7 @@ - (void)setSuppressReturn_:(id)value - (void)dealloc { - //Because text fields MUST be played with on main thread, we cannot release if there's the chance we're on a BG thread + // Because text fields MUST be played with on main thread, we cannot release if there's the chance we're on a BG thread TiThreadPerformOnMainThread( ^{ [textWidgetView removeFromSuperview]; diff --git a/iphone/Classes/TiUITextWidgetProxy.h b/iphone/Classes/TiUITextWidgetProxy.h index 16bfe2ddb28..405c8c28d54 100644 --- a/iphone/Classes/TiUITextWidgetProxy.h +++ b/iphone/Classes/TiUITextWidgetProxy.h @@ -10,22 +10,22 @@ @interface TiUITextWidgetProxy : TiViewProxy { - //We can't have this in the view, because it's possible for the view to go away despite there being a reason to hold onto the toolbar - //Read: When a view in the toolbar has focus instead. + // We can't have this in the view, because it's possible for the view to go away despite there being a reason to hold onto the toolbar + // Read: When a view in the toolbar has focus instead. - //Toolbar properties that are semi-exposed + // Toolbar properties that are semi-exposed TiUIView *keyboardTiView; CGFloat keyboardAccessoryHeight; NSArray *keyboardToolbarItems; - //Toolbar properties derived from the exposed ones. + // Toolbar properties derived from the exposed ones. UIToolbar *keyboardUIToolbar; BOOL suppressFocusEvents; @private } -//Internal values +// Internal values - (void)noteValueChange:(NSString *)newValue:(NSNumber *)contentHeight; @property (nonatomic, readwrite, assign) BOOL suppressFocusEvents; diff --git a/iphone/Classes/TiUITextWidgetProxy.m b/iphone/Classes/TiUITextWidgetProxy.m index f28adee0fb0..4dbb9f233c3 100644 --- a/iphone/Classes/TiUITextWidgetProxy.m +++ b/iphone/Classes/TiUITextWidgetProxy.m @@ -136,7 +136,7 @@ - (void)noteValueChange:(NSString *)newValue:(NSNumber *)contentHeight [self contentsWillChange]; TiThreadPerformOnMainThread( ^{ - //Make sure the text widget is in view when editing. + // Make sure the text widget is in view when editing. [(TiUITextWidget *)[self view] updateKeyboardStatus]; }, NO); @@ -160,15 +160,15 @@ - (void)setKeyboardToolbarHeight:(id)value { ENSURE_UI_THREAD_1_ARG(value); keyboardAccessoryHeight = [TiUtils floatValue:value]; - //TODO: If we're focused or the toolbar is otherwise onscreen, we need to let the root view controller know and update. + // TODO: If we're focused or the toolbar is otherwise onscreen, we need to let the root view controller know and update. } - (void)setKeyboardToolbarColor:(id)value { - //Because views aren't lock-protected, ANY and all references, even checking if non-nil, should be done in the main thread. + // Because views aren't lock-protected, ANY and all references, even checking if non-nil, should be done in the main thread. ENSURE_UI_THREAD_1_ARG(value); [self replaceValue:value forKey:@"keyboardToolbarColor" notification:YES]; - if (keyboardUIToolbar != nil) { //It already exists, update it. + if (keyboardUIToolbar != nil) { // It already exists, update it. UIColor *newColor = [[TiUtils colorValue:value] _color]; [keyboardUIToolbar setBarTintColor:newColor]; } @@ -219,7 +219,7 @@ - (void)setKeyboardToolbar:(id)value } } - //Because views aren't lock-protected, ANY and all references, even checking if non-nil, should be done in the main thread. + // Because views aren't lock-protected, ANY and all references, even checking if non-nil, should be done in the main thread. // TODO: ENSURE_UI_THREAD needs to be deprecated in favor of more effective and concicse mechanisms // which use the main thread only when necessary to reduce latency. @@ -259,7 +259,7 @@ - (void)setKeyboardToolbar:(id)value if ([value isKindOfClass:[TiViewProxy class]]) { TiUIView *valueView = [(TiViewProxy *)value view]; - if (valueView == keyboardTiView) { //Nothing to do here. + if (valueView == keyboardTiView) { // Nothing to do here. return; } RELEASE_TO_NIL(keyboardTiView); diff --git a/iphone/Classes/TiUIToolbar.m b/iphone/Classes/TiUIToolbar.m index 60bc94a9d76..9af0f355694 100644 --- a/iphone/Classes/TiUIToolbar.m +++ b/iphone/Classes/TiUIToolbar.m @@ -98,9 +98,9 @@ - (void)setItems_:(id)value for (TiViewProxy *thisProxy in value) { ENSURE_CLASS(thisProxy, proxyClass); if (![thisProxy supportsNavBarPositioning]) { - //TODO: This is an exception that should have been raised long ago. + // TODO: This is an exception that should have been raised long ago. DebugLog(@"[ERROR] %@ does not support being in a toolbar!", thisProxy); - //continue; + // continue; } if ([thisProxy conformsToProtocol:@protocol(TiToolbarButton)]) { [(id)thisProxy setToolbar:(id)self.proxy]; diff --git a/iphone/Classes/TiUIToolbarProxy.m b/iphone/Classes/TiUIToolbarProxy.m index 686abdef510..36263bc87c6 100644 --- a/iphone/Classes/TiUIToolbarProxy.m +++ b/iphone/Classes/TiUIToolbarProxy.m @@ -58,10 +58,10 @@ - (void)setItems:(NSArray *)newItems NSString *errorString = [NSString stringWithFormat:@"%@ does not support being in a toolbar!", currentItem]; [self throwException:errorString subreason:nil location:CODELOCATION]; /* - * Note that this theoretically could mean proxies are improperly remembered - * if a later entry causes this exception to be thrown. However, the javascript - * should NOT be using nonproxy objects and the onus is on the Javascript - */ + * Note that this theoretically could mean proxies are improperly remembered + * if a later entry causes this exception to be thrown. However, the javascript + * should NOT be using nonproxy objects and the onus is on the Javascript + */ } if (![oldItems containsObject:currentItem]) { diff --git a/iphone/Classes/TiUIWebView.m b/iphone/Classes/TiUIWebView.m index 11eb593d193..686e0390c1b 100644 --- a/iphone/Classes/TiUIWebView.m +++ b/iphone/Classes/TiUIWebView.m @@ -746,7 +746,7 @@ - (void)loadLocalURL:(NSURL *)url html = [[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease]; } if (html != nil) { - //Because local HTML may rely on JS that's stored in the app: schema, we must kee the url in the app: format. + // Because local HTML may rely on JS that's stored in the app: schema, we must kee the url in the app: format. [[self webView] loadHTMLString:html baseURL:baseURL]; } else { NSLog(@"[WARN] couldn't load URL: %@", url); @@ -822,7 +822,7 @@ - (void)userContentController:(WKUserContentController *)userContentController d } } - //If there is a cookie with a stale value, update it now. + // If there is a cookie with a stale value, update it now. if (localCookie != nil) { NSMutableDictionary *cookieProperties = [localCookie.properties mutableCopy]; cookieProperties[NSHTTPCookieValue] = cookieValue; @@ -1107,8 +1107,8 @@ - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(nonnull WK } else { BOOL valid = !ignoreNextRequest; if ([scheme hasPrefix:@"http"]) { - //UIWebViewNavigationTypeOther means we are either in a META redirect - //or it is a js request from within the page + // UIWebViewNavigationTypeOther means we are either in a META redirect + // or it is a js request from within the page valid = valid && (navigationAction.navigationType != WKNavigationTypeOther); } if (valid) { @@ -1251,7 +1251,7 @@ - (void)frameSizeChanged:(CGRect)frame bounds:(CGRect)bounds - (CGFloat)contentWidthForWidth:(CGFloat)suggestedWidth { if (autoWidth > 0) { - //If height is DIP returned a scaled autowidth to maintain aspect ratio + // If height is DIP returned a scaled autowidth to maintain aspect ratio if (TiDimensionIsDip(height) && autoHeight > 0) { return roundf(autoWidth * height.value / autoHeight); } @@ -1324,11 +1324,11 @@ - (NSDictionary *)cookieMapForString:(NSString *)cokieStr NSArray *cookieKeyValueStrings = [cokieStr componentsSeparatedByString:@";"]; for (NSString *cookieKeyValueString in cookieKeyValueStrings) { - //Find the position of the first "=" + // Find the position of the first "=" NSRange separatorRange = [cookieKeyValueString rangeOfString:@"="]; if (separatorRange.location != NSNotFound && separatorRange.location > 0 && separatorRange.location < ([cookieKeyValueString length] - 1)) { - //The above conditions ensure that there is content before and after "=", and the key or value is not empty. + // The above conditions ensure that there is content before and after "=", and the key or value is not empty. NSRange keyRange = NSMakeRange(0, separatorRange.location); NSString *key = [cookieKeyValueString substringWithRange:keyRange]; @@ -1350,7 +1350,7 @@ - (NSDictionary *)cookiePropertiesForString:(NSString *)cookieStr for (NSString *key in [cookieMap allKeys]) { NSString *value = [cookieMap objectForKey:key]; - NSString *uppercaseKey = [key uppercaseString]; //Mainly to eliminate the problem of naming irregularities + NSString *uppercaseKey = [key uppercaseString]; // Mainly to eliminate the problem of naming irregularities if ([uppercaseKey isEqualToString:@"DOMAIN"]) { if (![value hasPrefix:@"."] && ![value hasPrefix:@"www"]) { @@ -1389,7 +1389,7 @@ - (NSDictionary *)cookiePropertiesForString:(NSString *)cookieStr } } - //Since the cookieWithProperties: method properties can not be without NSHTTPCookiePath, so you need to confirm this, if not, the default is "/" + // Since the cookieWithProperties: method properties can not be without NSHTTPCookiePath, so you need to confirm this, if not, the default is "/" if (![cookieProperties objectForKey:NSHTTPCookiePath]) { [cookieProperties setObject:@"/" forKey:NSHTTPCookiePath]; } diff --git a/iphone/Classes/TiUIiOSBlurView.m b/iphone/Classes/TiUIiOSBlurView.m index c1eebe3090b..9f222b606ea 100644 --- a/iphone/Classes/TiUIiOSBlurView.m +++ b/iphone/Classes/TiUIiOSBlurView.m @@ -91,7 +91,7 @@ - (void)frameSizeChanged:(CGRect)frame bounds:(CGRect)bounds - (CGFloat)contentWidthForWidth:(CGFloat)suggestedWidth { if (autoWidth > 0) { - //If height is DIP returned a scaled autowidth to maintain aspect ratio + // If height is DIP returned a scaled autowidth to maintain aspect ratio if (TiDimensionIsDip(height) && autoHeight > 0) { return roundf(autoWidth * height.value / autoHeight); } diff --git a/iphone/Classes/TiUIiOSDocumentViewerProxy.m b/iphone/Classes/TiUIiOSDocumentViewerProxy.m index 14feec8d44f..cf231ff9d7b 100644 --- a/iphone/Classes/TiUIiOSDocumentViewerProxy.m +++ b/iphone/Classes/TiUIiOSDocumentViewerProxy.m @@ -88,10 +88,10 @@ - (void)setUrl:(id)value { ENSURE_TYPE(value, NSString); NSURL *url = [self _toURL:value proxy:self]; - //UIDocumentInteractionController is recommended to be a new instance for every different url - //instead of having titanium developer create a new instance every time a new document url is loaded - //we assume that setUrl is called to change doc, so we go ahead and release the controller and create - //a new one when asked to present + // UIDocumentInteractionController is recommended to be a new instance for every different url + // instead of having titanium developer create a new instance every time a new document url is loaded + // we assume that setUrl is called to change doc, so we go ahead and release the controller and create + // a new one when asked to present RELEASE_TO_NIL(controller); [self replaceValue:url forKey:@"url" notification:NO]; } diff --git a/iphone/Classes/TiUIiOSLivePhotoView.m b/iphone/Classes/TiUIiOSLivePhotoView.m index 31457d56184..7139868bc00 100644 --- a/iphone/Classes/TiUIiOSLivePhotoView.m +++ b/iphone/Classes/TiUIiOSLivePhotoView.m @@ -108,7 +108,7 @@ - (void)frameSizeChanged:(CGRect)frame bounds:(CGRect)bounds - (CGFloat)contentWidthForWidth:(CGFloat)suggestedWidth { if (autoWidth > 0) { - //If height is DIP returned a scaled autowidth to maintain aspect ratio + // If height is DIP returned a scaled autowidth to maintain aspect ratio if (TiDimensionIsDip(height) && autoHeight > 0) { return roundf(autoWidth * height.value / autoHeight); } diff --git a/iphone/Classes/TiUIiOSProxy.h b/iphone/Classes/TiUIiOSProxy.h index b847978aa7e..ab0eda39bd2 100644 --- a/iphone/Classes/TiUIiOSProxy.h +++ b/iphone/Classes/TiUIiOSProxy.h @@ -90,7 +90,7 @@ @property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_HINT; @property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_FULL; -//Modules +// Modules #ifdef USE_TI_UIIOSANIMATIONSTYLE @property (nonatomic, readwrite, assign) TiUIiOSAnimationStyleProxy *animationStyleProxy; #endif @@ -148,7 +148,7 @@ - (NSNumber *)ALERT_SEVERITY_CRITICAL; #endif -//Modal Presentation & Transition +// Modal Presentation & Transition @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FULLSCREEN; @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_PAGESHEET; @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FORMSHEET; diff --git a/iphone/Classes/TiUIiOSProxy.m b/iphone/Classes/TiUIiOSProxy.m index a20a4753ae6..371f1e9346e 100644 --- a/iphone/Classes/TiUIiOSProxy.m +++ b/iphone/Classes/TiUIiOSProxy.m @@ -702,7 +702,7 @@ - (id)createPushBehavior:(id)args { return [[[TiPushBehavior alloc] _initWithPageContext:[self executionContext] args:args] autorelease]; } -//TiPushBehavior Constants +// TiPushBehavior Constants MAKE_SYSTEM_PROP(PUSH_MODE_CONTINUOUS, 0); MAKE_SYSTEM_PROP(PUSH_MODE_INSTANTANEOUS, 1); #endif @@ -733,7 +733,7 @@ - (id)createCollisionBehavior:(id)args { return [[[TiCollisionBehavior alloc] _initWithPageContext:[self executionContext] args:args] autorelease]; } -//TiCollisionBehavior Constants +// TiCollisionBehavior Constants MAKE_SYSTEM_PROP(COLLISION_MODE_ITEM, 0); MAKE_SYSTEM_PROP(COLLISION_MODE_BOUNDARY, 1); MAKE_SYSTEM_PROP(COLLISION_MODE_ALL, 2); @@ -790,7 +790,7 @@ - (id)createApplicationShortcuts:(id)args MAKE_SYSTEM_PROP(SHORTCUT_ICON_TYPE_UPDATE, UIApplicationShortcutIconTypeUpdate); #endif -//Modal Transition and Presentatiom +// Modal Transition and Presentatiom MAKE_SYSTEM_PROP(MODAL_TRANSITION_STYLE_COVER_VERTICAL, UIModalTransitionStyleCoverVertical); MAKE_SYSTEM_PROP(MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL, UIModalTransitionStyleFlipHorizontal); MAKE_SYSTEM_PROP(MODAL_TRANSITION_STYLE_CROSS_DISSOLVE, UIModalTransitionStyleCrossDissolve); diff --git a/iphone/Classes/TiUIiOSSplitWindow.m b/iphone/Classes/TiUIiOSSplitWindow.m index 7c2785a8f68..02ab4dca0c0 100644 --- a/iphone/Classes/TiUIiOSSplitWindow.m +++ b/iphone/Classes/TiUIiOSSplitWindow.m @@ -133,8 +133,8 @@ - (void)layoutSubviewsForOrientation:(UIInterfaceOrientation)orientation if (showMasterInPortrait) { if (masterIsOverlayed) { /* - * Detail occupies visible area. Master on top. - */ + * Detail occupies visible area. Master on top. + */ detailSize = CGSizeMake(refSize.width, refSize.height); masterSize = CGSizeMake(masterWidth, refSize.height); masterRect = CGRectMake(0, 0, masterSize.width, masterSize.height); @@ -143,8 +143,8 @@ - (void)layoutSubviewsForOrientation:(UIInterfaceOrientation)orientation detailCenter = CGPointMake(detailSize.width / 2, detailSize.height / 2); } else { /* - * Side by side. Master+Detail occupy visible area - */ + * Side by side. Master+Detail occupy visible area + */ masterSize = CGSizeMake(masterWidth, refSize.height); masterRect = CGRectMake(0, 0, masterSize.width, masterSize.height); masterCenter = CGPointMake(masterSize.width / 2, masterSize.height / 2); @@ -155,8 +155,8 @@ - (void)layoutSubviewsForOrientation:(UIInterfaceOrientation)orientation } else { /* - * Side by side. Detail in visible area. Master off screen to left. - */ + * Side by side. Detail in visible area. Master off screen to left. + */ detailSize = CGSizeMake(refSize.width, refSize.height); masterSize = CGSizeMake(masterWidth, refSize.height); masterRect = CGRectMake(0, 0, masterSize.width, masterSize.height); @@ -166,8 +166,8 @@ - (void)layoutSubviewsForOrientation:(UIInterfaceOrientation)orientation } } else { /* - * Side by side. Master+Detail occupy visible area - */ + * Side by side. Master+Detail occupy visible area + */ CGFloat masterWidth = roundf(splitRatioLandscape * refSize.width); detailSize = CGSizeMake(refSize.width - masterWidth, refSize.height); masterSize = CGSizeMake(masterWidth, refSize.height); diff --git a/iphone/Classes/TiUIiOSStepper.m b/iphone/Classes/TiUIiOSStepper.m index d9176440f0f..9d062d5d652 100644 --- a/iphone/Classes/TiUIiOSStepper.m +++ b/iphone/Classes/TiUIiOSStepper.m @@ -245,9 +245,9 @@ - (void)controlAction:(id)sender forEvent:(UIEvent *)event - (UIImage *)imageWithImage:(UIImage *)image fullScale:(bool)full { - //UIGraphicsBeginImageContext(newSize); - // In next line, pass 0.0 to use the current device's pixel scaling factor (and thus account for Retina resolution). - // Pass 1.0 to force exact pixel size. + // UIGraphicsBeginImageContext(newSize); + // In next line, pass 0.0 to use the current device's pixel scaling factor (and thus account for Retina resolution). + // Pass 1.0 to force exact pixel size. [self stepper]; CGRect bounds = [stepper bounds]; diff --git a/iphone/Classes/TiUIiPadPopoverProxy.h b/iphone/Classes/TiUIiPadPopoverProxy.h index d5ba6fb6487..20b7304aeb5 100644 --- a/iphone/Classes/TiUIiPadPopoverProxy.h +++ b/iphone/Classes/TiUIiPadPopoverProxy.h @@ -9,15 +9,15 @@ #import #import -//The iPadPopoverProxy should be seen more as like a window or such, because -//The popover controller will contain the viewController, which has the view. -//If the view had the logic, you get some nasty dependency loops. +// The iPadPopoverProxy should be seen more as like a window or such, because +// The popover controller will contain the viewController, which has the view. +// If the view had the logic, you get some nasty dependency loops. @interface TiUIiPadPopoverProxy : TiProxy { @private UIViewController *viewController; TiViewProxy *contentViewProxy; - //We need to hold onto this information for whenever the status bar rotates. + // We need to hold onto this information for whenever the status bar rotates. TiViewProxy *popoverView; CGRect popoverRect; BOOL animated; diff --git a/iphone/Classes/TiUIiPadPopoverProxy.m b/iphone/Classes/TiUIiPadPopoverProxy.m index 6cddf3f0361..7b212be5426 100644 --- a/iphone/Classes/TiUIiPadPopoverProxy.m +++ b/iphone/Classes/TiUIiPadPopoverProxy.m @@ -53,7 +53,7 @@ - (id)init - (void)dealloc { if (currentPopover == self) { - //This shouldn't happen because we clear it on hide. + // This shouldn't happen because we clear it on hide. currentPopover = nil; } [[NSNotificationCenter defaultCenter] removeObserver:self]; @@ -241,7 +241,7 @@ - (void)cleanup [contentViewProxy windowWillClose]; popoverInitialized = NO; - [self fireEvent:@"hide" withObject:nil]; //Checking for listeners are done by fireEvent anyways. + [self fireEvent:@"hide" withObject:nil]; // Checking for listeners are done by fireEvent anyways. [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationWillChangeStatusBarOrientationNotification object:nil]; [contentViewProxy windowDidClose]; @@ -293,7 +293,7 @@ - (void)initAndShowPopOver - (void)updatePopover:(NSNotification *)notification; { - //This may be due to a possible race condition of rotating the iPad while another popover is coming up. + // This may be due to a possible race condition of rotating the iPad while another popover is coming up. if ((currentPopover != self)) { return; } @@ -425,7 +425,7 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover } } - //Fell through. + // Fell through. UIViewController *presentingController = [[self viewController] presentingViewController]; popoverPresentationController.sourceView = [presentingController view]; popoverPresentationController.sourceRect = (CGRectEqualToRect(CGRectZero, popoverRect) ? CGRectMake(presentingController.view.bounds.size.width / 2, presentingController.view.bounds.size.height / 2, 1, 1) : popoverRect); @@ -447,7 +447,7 @@ - (void)popoverPresentationControllerDidDismissPopover:(UIPopoverPresentationCon - (void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView **)view { - //This will never be called when using bar button item + // This will never be called when using bar button item BOOL canUseDialogRect = !CGRectEqualToRect(CGRectZero, popoverRect); UIView *theSourceView = *view; diff --git a/iphone/Classes/TiViewAttachBehavior.m b/iphone/Classes/TiViewAttachBehavior.m index 74468d9f7fe..a3d83a859b2 100644 --- a/iphone/Classes/TiViewAttachBehavior.m +++ b/iphone/Classes/TiViewAttachBehavior.m @@ -61,7 +61,7 @@ - (UIDynamicBehavior *)behaviorObject - (void)updateItems { - //Nothing to do here + // Nothing to do here } - (void)updatePositioning diff --git a/iphone/Classes/UIModule.h b/iphone/Classes/UIModule.h index 10c02369f6a..9fe4db52ca8 100644 --- a/iphone/Classes/UIModule.h +++ b/iphone/Classes/UIModule.h @@ -43,7 +43,7 @@ NSNumber *lastEmittedMode; } -//TODO: review these, maybe they need to go on iPhone Animation Style - however, they are platform generic +// TODO: review these, maybe they need to go on iPhone Animation Style - however, they are platform generic @property (nonatomic, readonly) NSNumber *ANIMATION_CURVE_EASE_IN_OUT; @property (nonatomic, readonly) NSNumber *ANIMATION_CURVE_EASE_IN; diff --git a/iphone/Classes/UIModule.m b/iphone/Classes/UIModule.m index 1af07c58a1a..c8477b0780c 100644 --- a/iphone/Classes/UIModule.m +++ b/iphone/Classes/UIModule.m @@ -394,12 +394,12 @@ - (void)setOrientation:(id)mode MAKE_SYSTEM_PROP(FACE_UP, UIDeviceOrientationFaceUp); MAKE_SYSTEM_PROP(FACE_DOWN, UIDeviceOrientationFaceDown); -MAKE_SYSTEM_PROP(EXTEND_EDGE_NONE, 0); //UIRectEdgeNone -MAKE_SYSTEM_PROP(EXTEND_EDGE_TOP, 1); //UIRectEdgeTop -MAKE_SYSTEM_PROP(EXTEND_EDGE_LEFT, 2); //UIEdgeRectLeft -MAKE_SYSTEM_PROP(EXTEND_EDGE_BOTTOM, 4); //UIEdgeRectBottom -MAKE_SYSTEM_PROP(EXTEND_EDGE_RIGHT, 8); //UIEdgeRectRight -MAKE_SYSTEM_PROP(EXTEND_EDGE_ALL, 15); //UIEdgeRectAll +MAKE_SYSTEM_PROP(EXTEND_EDGE_NONE, 0); // UIRectEdgeNone +MAKE_SYSTEM_PROP(EXTEND_EDGE_TOP, 1); // UIRectEdgeTop +MAKE_SYSTEM_PROP(EXTEND_EDGE_LEFT, 2); // UIEdgeRectLeft +MAKE_SYSTEM_PROP(EXTEND_EDGE_BOTTOM, 4); // UIEdgeRectBottom +MAKE_SYSTEM_PROP(EXTEND_EDGE_RIGHT, 8); // UIEdgeRectRight +MAKE_SYSTEM_PROP(EXTEND_EDGE_ALL, 15); // UIEdgeRectAll - (NSString *)TEXT_STYLE_HEADLINE { @@ -449,9 +449,9 @@ - (NSString *)TEXT_STYLE_LARGE_TITLE - (void)setOverrideUserInterfaceStyle:(id)args { ENSURE_SINGLE_ARG(args, NSNumber) - [self replaceValue:args - forKey:@"overrideUserInterfaceStyle" - notification:NO]; + [self replaceValue:args + forKey:@"overrideUserInterfaceStyle" + notification:NO]; int style = [TiUtils intValue:args def:UIUserInterfaceStyleUnspecified]; TiApp.app.window.overrideUserInterfaceStyle = style; } @@ -640,7 +640,7 @@ - (NSNumber *)convertUnits:(id)args float result = 0.0; if (convertFromValue != nil && convertToUnits != nil) { - //Convert to DIP first + // Convert to DIP first TiDimension fromVal = TiDimensionFromObject(convertFromValue); if (TiDimensionIsDip(fromVal)) { diff --git a/iphone/Classes/WatchSessionModule.m b/iphone/Classes/WatchSessionModule.m index 93bcf6be0c5..d5c832ef703 100644 --- a/iphone/Classes/WatchSessionModule.m +++ b/iphone/Classes/WatchSessionModule.m @@ -164,7 +164,7 @@ - (NSNumber *)activationState return nil; } -//copy of most recent app context sent to watch +// copy of most recent app context sent to watch - (NSDictionary *)recentApplicationContext { if ([WCSession isSupported]) { @@ -210,7 +210,7 @@ - (void)sendMessage:(id)args #endif }]; } -//sent to watch so that it can update its state when it wakes +// sent to watch so that it can update its state when it wakes - (void)updateApplicationContext:(id)value { if (![WCSession isSupported]) { @@ -230,7 +230,7 @@ - (void)updateApplicationContext:(id)value } } -//sent in background +// sent in background - (void)transferUserInfo:(id)value { if (![WCSession isSupported]) { @@ -243,10 +243,10 @@ - (void)transferUserInfo:(id)value } ENSURE_SINGLE_ARG(value, NSDictionary) - [[self watchSession] transferUserInfo:value]; + [[self watchSession] transferUserInfo:value]; } -//sent in background +// sent in background - (void)transferFile:(id)value { if (![WCSession isSupported]) { @@ -280,7 +280,7 @@ - (void)transferCurrentComplication:(id)value } ENSURE_SINGLE_ARG(value, NSDictionary) - [[self watchSession] transferCurrentComplicationUserInfo:value]; + [[self watchSession] transferCurrentComplicationUserInfo:value]; } - (void)cancelAllUserInfoTransfers:(id)value @@ -330,7 +330,7 @@ - (void)session:(nonnull WCSession *)session didReceiveMessage:(nonnull NSDictio [self fireEvent:@"receivemessage" withObject:@{ @"message" : message }]; } } -//these are context updates received right after [watchSession activateSession] +// these are context updates received right after [watchSession activateSession] - (void)session:(nonnull WCSession *)session didReceiveApplicationContext:(nonnull NSDictionary *)applicationContext { if ([self _hasListeners:@"receiveapplicationcontext"]) { diff --git a/iphone/Classes/XMLModule.m b/iphone/Classes/XMLModule.m index 84f016a8fda..c84a76e45ed 100644 --- a/iphone/Classes/XMLModule.m +++ b/iphone/Classes/XMLModule.m @@ -36,10 +36,10 @@ - (id)serializeToString:(id)arg return xmlString; } - //Strip out all the xmlns:xmlns="http://www.w3.org/2000/xmlns/" definitions + // Strip out all the xmlns:xmlns="http://www.w3.org/2000/xmlns/" definitions NSString *strippedString = [xmlString stringByReplacingOccurrencesOfString:@" xmlns:xmlns=\"http://www.w3.org/2000/xmlns/\"" withString:@""]; - //Clean out duplicate namespace definitions + // Clean out duplicate namespace definitions NSString *cleanString = [self cleanDuplicateNS:strippedString]; return cleanString; @@ -52,7 +52,7 @@ - (id)serializeToString:(id)arg var doc = Ti.XML.parseString(''); var feed = doc.implementation.createDocument('http://www.test.org/myns', 'myns:feed', null); feed.documentElement.setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:myns', 'http://www.test.org/myns'); - + When you print out feed it will print out the NS myns twice. This method cleans out the duplicate NS definitions */ - (NSString *)cleanDuplicateNS:(NSString *)xmlString @@ -64,25 +64,25 @@ - (NSString *)cleanDuplicateNS:(NSString *)xmlString searchRange.location = result.location + result.length; searchRange.length = [xmlString length] - (searchRange.location); - //Search for end of element + // Search for end of element NSRange endOfElement = [xmlString rangeOfString:@">" options:0 range:searchRange]; - //Search for end of NS definition + // Search for end of NS definition NSRange endOfNS = [xmlString rangeOfString:@" " options:0 range:searchRange]; if (endOfNS.location < endOfElement.location) { - //Get the actual xmlns definition + // Get the actual xmlns definition NSRange subStringRange = NSMakeRange(result.location, endOfNS.location - result.location); NSString *subString = [xmlString substringWithRange:subStringRange]; - //Set up a search range + // Set up a search range subStringRange.location = endOfNS.location; subStringRange.length = endOfElement.location - endOfNS.location; xmlString = [xmlString stringByReplacingOccurrencesOfString:subString withString:@"" options:0 range:subStringRange]; - //Update search range + // Update search range searchRange.location = subStringRange.location + 1; searchRange.length = [xmlString length] - searchRange.location; } else { - //Not in this element. Update search range. + // Not in this element. Update search range. searchRange.location = endOfElement.location + 1; searchRange.length = [xmlString length] - searchRange.location; } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.h index 1d5fb8274b1..f7365667391 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.h @@ -117,7 +117,7 @@ typedef enum { /** The ImageLoader class provides a centralized point for loading images in Titanium. Using ImageLoader is the preferred way for getting images from remote sources. - + The class is singleton and not supposed to be subclassed. The instance should not be instantiated directly, but lazily created with . */ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m index e8db133c23d..8b28c29ffe7 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m @@ -159,7 +159,7 @@ - (UIImage *)imageForSize:(CGSize)imageSize scalingStyle:(TiImageScalingStyle)sc return recentlyResizedImage; } - //TODO: Tweak quality depending on how large the result will be. + // TODO: Tweak quality depending on how large the result will be. CGInterpolationQuality quality = kCGInterpolationDefault; [self setRecentlyResizedImage:[UIImageResize @@ -319,7 +319,7 @@ @implementation ImageLoader - (id)init { if (self = [super init]) { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didReceiveMemoryWarning:) name:UIApplicationDidReceiveMemoryWarningNotification @@ -331,7 +331,7 @@ - (id)init - (void)dealloc { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidReceiveMemoryWarningNotification object:nil]; @@ -440,7 +440,7 @@ - (ImageCacheEntry *)entryForKey:(NSURL *)url NSDate *currentTimeStamp = [[[NSFileManager defaultManager] attributesOfItemAtPath:result.localPath error:&error] objectForKey:NSFileModificationDate]; if (![currentTimeStamp isEqualToDate:result.lastModified]) { - //We should remove the cached image as the local file backing cached image has changed. + // We should remove the cached image as the local file backing cached image has changed. [self purge:url]; result = nil; } @@ -463,12 +463,12 @@ - (ImageCacheEntry *)entryForKey:(NSURL *)url NSString *imageArg = nil; if (range.location != NSNotFound) { if ([TiUtils isMacOS]) { - imageArg = [path substringFromIndex:range.location + 24]; //Contents/Resources/ for mac + imageArg = [path substringFromIndex:range.location + 24]; // Contents/Resources/ for mac } else { imageArg = [path substringFromIndex:range.location + 5]; } } - //remove suffixes. + // remove suffixes. imageArg = [imageArg stringByReplacingOccurrencesOfString:@"@3x" withString:@""]; imageArg = [imageArg stringByReplacingOccurrencesOfString:@"@2x" withString:@""]; imageArg = [imageArg stringByReplacingOccurrencesOfString:@"~iphone" withString:@""]; @@ -649,8 +649,8 @@ - (void)suspend - (void)cancel { - //NOTE: this should only be called on suspend - //to cause the queue to be stopped + // NOTE: this should only be called on suspend + // to cause the queue to be stopped [lock lock]; if (queue != nil) { [queue cancelAllOperations]; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h index 055a604094c..180f3b4b3f0 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h @@ -1,9 +1,9 @@ /** -* Appcelerator Titanium Mobile -* Copyright (c) 2018-Present by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Appcelerator Titanium Mobile + * Copyright (c) 2018-Present by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ @import JavaScriptCore; NS_ASSUME_NONNULL_BEGIN diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m index 8b2465774a5..0be443a4c81 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m @@ -1,9 +1,9 @@ /** -* Appcelerator Titanium Mobile -* Copyright (c) 2018-Present by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Appcelerator Titanium Mobile + * Copyright (c) 2018-Present by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #import "JSValue+Addons.h" diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.h index 05dc0a8522d..2e22f61810e 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.h @@ -27,8 +27,8 @@ extern NSString *TitaniumModuleRequireFormat; NSDictionary *preload; BOOL shutdown; BOOL evaluationError; - //NOTE: Do NOT treat registeredProxies like a mutableDictionary; mutable dictionaries copy keys, - //CFMutableDictionaryRefs only retain keys, which lets them work with proxies properly. + // NOTE: Do NOT treat registeredProxies like a mutableDictionary; mutable dictionaries copy keys, + // CFMutableDictionaryRefs only retain keys, which lets them work with proxies properly. CFMutableDictionaryRef registeredProxies; NSCondition *shutdownCondition; os_unfair_lock proxyLock; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.m index dff5e81bfbb..6316a417387 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.m @@ -26,7 +26,7 @@ "if(module.exports !== __OXP){return module.exports;}" "return exports;})({})"; -//Defined private method inside TiBindingRunLoop.m (Perhaps to move to .c?) +// Defined private method inside TiBindingRunLoop.m (Perhaps to move to .c?) void TiBindingRunLoopAnnounceStart(TiBindingRunLoop runLoop); os_unfair_lock krollBridgeRegistryLock = OS_UNFAIR_LOCK_INIT; @@ -47,7 +47,7 @@ + (void)initialize - (void)registerForMemoryWarning { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didReceiveMemoryWarning:) name:UIApplicationDidReceiveMemoryWarningNotification @@ -56,7 +56,7 @@ - (void)registerForMemoryWarning - (void)unregisterForMemoryWarning { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidReceiveMemoryWarningNotification object:nil]; } @@ -300,7 +300,7 @@ - (void)shutdown:(NSCondition *)condition shutdownCondition = [condition retain]; shutdown = YES; // fire a notification event to our listeners - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! NSNotification *notification = [NSNotification notificationWithName:kTiContextShutdownNotification object:self]; [[NSNotificationCenter defaultCenter] postNotification:notification]; @@ -383,7 +383,7 @@ - (void)didStartNewContext:(KrollContext *)kroll } NSURL *startURL = nil; - //if we have a preload dictionary, register those static key/values into our namespace + // if we have a preload dictionary, register those static key/values into our namespace if (preload != nil) { // Guard for top level Titanium object being unassigned. likley means we had issues // setting up ti.kernel.js, so we likely need to skip most everything here. @@ -437,7 +437,7 @@ - (void)willStopNewContext:(KrollContext *)kroll if (!shutdown) { shutdown = YES; // fire a notification event to our listeners - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! NSNotification *notification = [NSNotification notificationWithName:kTiContextShutdownNotification object:self]; [[NSNotificationCenter defaultCenter] postNotification:notification]; } @@ -474,8 +474,8 @@ - (void)registerProxy:(id)proxy krollObject:(KrollObject *)ourKrollObject if (registeredProxies == NULL) { registeredProxies = CFDictionaryCreateMutable(NULL, 10, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); } - //NOTE: Do NOT treat registeredProxies like a mutableDictionary; mutable dictionaries copy keys, - //CFMutableDictionaryRefs only retain keys, which lets them work with proxies properly. + // NOTE: Do NOT treat registeredProxies like a mutableDictionary; mutable dictionaries copy keys, + // CFMutableDictionaryRefs only retain keys, which lets them work with proxies properly. CFDictionaryAddValue(registeredProxies, proxy, ourKrollObject); os_unfair_lock_unlock(&proxyLock); @@ -507,7 +507,7 @@ - (void)unregisterProxy:(id)proxy os_unfair_lock_lock(&proxyLock); if (registeredProxies != NULL) { CFDictionaryRemoveValue(registeredProxies, proxy); - //Don't bother with removing the empty registry. It's small and leaves on dealloc anyways. + // Don't bother with removing the empty registry. It's small and leaves on dealloc anyways. } os_unfair_lock_unlock(&proxyLock); [proxy unboundBridge:self]; @@ -579,8 +579,8 @@ + (NSArray *)krollBridgesUsingProxy:(id)proxy [results addObject:currentBridge]; } - //Why do we wait so long? In case someone tries to dealloc the krollBridge while we're looking at it. - //registryObjects nor the registry does a retain here! + // Why do we wait so long? In case someone tries to dealloc the krollBridge while we're looking at it. + // registryObjects nor the registry does a retain here! os_unfair_lock_unlock(&krollBridgeRegistryLock); return results; } @@ -620,8 +620,8 @@ + (BOOL)krollBridgeExists:(KrollBridge *)bridge break; } } - //Why not CFSetContainsValue? Because bridge may not be a valid pointer, and SetContainsValue - //will ask it for a hash! + // Why not CFSetContainsValue? Because bridge may not be a valid pointer, and SetContainsValue + // will ask it for a hash! os_unfair_lock_unlock(&krollBridgeRegistryLock); return result; @@ -648,7 +648,7 @@ + (KrollBridge *)krollBridgeForThreadName:(NSString *)threadName; - (int)forceGarbageCollectNow; { [context gc]; - //Actually forcing garbage collect now will cause a deadlock. + // Actually forcing garbage collect now will cause a deadlock. return 0; } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/LayoutConstraint.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/LayoutConstraint.m index 736b1ade5f4..9ad5156d355 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/LayoutConstraint.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/LayoutConstraint.m @@ -23,24 +23,24 @@ Okay, see if we have a width. If so, look to see if we have x. If so, we're done for horizontal. If width is valid: - if x is constant or percent: - create a valid x - else if left and right are defined: - Balance springily. - else if left is defined - x = left + width*anchorpoint - else if right is defined - x = superviewwidth - right - width*anchorpoint - else (left and right are undefined) - x = superviewwidth/2 - width*anchorpoint + if x is constant or percent: + create a valid x + else if left and right are defined: + Balance springily. + else if left is defined + x = left + width*anchorpoint + else if right is defined + x = superviewwidth - right - width*anchorpoint + else (left and right are undefined) + x = superviewwidth/2 - width*anchorpoint else (width is invalid) - (Same as before) + (Same as before) */ CGSize SizeConstraintViewWithSizeAddingResizing(LayoutConstraint *constraint, NSObject *autoSizer, CGSize referenceSize, UIViewAutoresizing *resultResizing) { - //TODO: Refactor for elegance. + // TODO: Refactor for elegance. CGFloat width; BOOL ignorePercent = NO; CGSize parentSize = CGSizeZero; @@ -48,7 +48,7 @@ CGSize SizeConstraintViewWithSizeAddingResizing(LayoutConstraint *constraint, NS if ([autoSizer isKindOfClass:[TiViewProxy class]]) { TiViewProxy *parent = [(TiViewProxy *)autoSizer parent]; if (parent != nil && (!TiLayoutRuleIsAbsolute([parent layoutProperties]->layoutStyle))) { - //Sandbox with percent values is garbage + // Sandbox with percent values is garbage ignorePercent = YES; parentSize = [parent size].rect.size; } @@ -85,9 +85,9 @@ CGSize SizeConstraintViewWithSizeAddingResizing(LayoutConstraint *constraint, NS case TiDimensionTypeAutoFill: { width = TiDimensionCalculateMargins(constraint->left, constraint->right, referenceSize.width); BOOL autoFill = NO; - //Undefined falls to auto behavior + // Undefined falls to auto behavior if (TiDimensionIsUndefined(constraint->width) || TiDimensionIsAuto(constraint->width)) { - //Check if default auto behavior is fill + // Check if default auto behavior is fill if ([autoSizer respondsToSelector:@selector(defaultAutoWidthBehavior:)]) { if (TiDimensionIsAutoFill([autoSizer defaultAutoWidthBehavior:nil])) { autoFill = YES; @@ -100,7 +100,7 @@ CGSize SizeConstraintViewWithSizeAddingResizing(LayoutConstraint *constraint, NS } break; } - //If it comes here it has to follow SIZE behavior + // If it comes here it has to follow SIZE behavior if ([autoSizer respondsToSelector:@selector(autoWidthForSize:)]) { CGFloat desiredWidth = [autoSizer autoWidthForSize:CGSizeMake(width, referenceSize.height)]; width = width < desiredWidth ? width : desiredWidth; @@ -111,7 +111,7 @@ CGSize SizeConstraintViewWithSizeAddingResizing(LayoutConstraint *constraint, NS } } - //Should we always do this or only for auto + // Should we always do this or only for auto if ([autoSizer respondsToSelector:@selector(verifyWidth:)]) { width = [autoSizer verifyWidth:width]; } @@ -145,9 +145,9 @@ CGSize SizeConstraintViewWithSizeAddingResizing(LayoutConstraint *constraint, NS case TiDimensionTypeAutoFill: { height = TiDimensionCalculateMargins(constraint->top, constraint->bottom, referenceSize.height); BOOL autoFill = NO; - //Undefined falls to auto behavior + // Undefined falls to auto behavior if (TiDimensionIsUndefined(constraint->height) || TiDimensionIsAuto(constraint->height)) { - //Check if default auto behavior is fill + // Check if default auto behavior is fill if ([autoSizer respondsToSelector:@selector(defaultAutoHeightBehavior:)]) { if (TiDimensionIsAutoFill([autoSizer defaultAutoHeightBehavior:nil])) { autoFill = YES; @@ -160,7 +160,7 @@ CGSize SizeConstraintViewWithSizeAddingResizing(LayoutConstraint *constraint, NS } break; } - //If it comes here it has to follow size behavior + // If it comes here it has to follow size behavior if ([autoSizer respondsToSelector:@selector(autoHeightForSize:)]) { CGFloat desiredHeight = [autoSizer autoHeightForSize:CGSizeMake(width, height)]; height = height < desiredHeight ? height : desiredHeight; @@ -171,7 +171,7 @@ CGSize SizeConstraintViewWithSizeAddingResizing(LayoutConstraint *constraint, NS } } - //Should we always do this or only for auto + // Should we always do this or only for auto if ([autoSizer respondsToSelector:@selector(verifyHeight:)]) { height = [autoSizer verifyHeight:height]; } @@ -194,7 +194,7 @@ CGPoint PositionConstraintGivenSizeBoundsAddingResizing(LayoutConstraint *constr BOOL clearMargins = NO; TiViewProxy *parent = [viewProxy parent]; if (parent != nil && (!TiLayoutRuleIsAbsolute([parent layoutProperties]->layoutStyle))) { - //Calculated Sandbox implies fixed margins + // Calculated Sandbox implies fixed margins clearMargins = YES; } @@ -217,7 +217,7 @@ CGPoint PositionConstraintGivenSizeBoundsAddingResizing(LayoutConstraint *constr } if (!ignoreMargins) { - //Either the view has flexible width or pins were not defined for positioning + // Either the view has flexible width or pins were not defined for positioning int marginSuggestions = 0; if (TiDimensionDidCalculateValue(constraint->left, referenceSize.width, &frameLeft)) { @@ -259,7 +259,7 @@ CGPoint PositionConstraintGivenSizeBoundsAddingResizing(LayoutConstraint *constr } if (!ignoreMargins) { - //Either the view has flexible height or pins were not defined for positioning + // Either the view has flexible height or pins were not defined for positioning int marginSuggestions = 0; if (TiDimensionDidCalculateValue(constraint->top, referenceSize.height, &frameTop)) { diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/Mimetypes.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/Mimetypes.h index a13bf38bec9..dd410bf3db9 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/Mimetypes.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/Mimetypes.h @@ -16,7 +16,7 @@ extern const NSString *svgMimeType; /** Converts a file extension into a mime type. - + @param ext The extension to convert. @return The mime-type converted from the extension. */ @@ -24,7 +24,7 @@ extern const NSString *svgMimeType; /** Converts a mime type into a file extension. - + @param mimetype The mime type to convert. @return The file extension converted from the mime-type. */ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/Mimetypes.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/Mimetypes.m index 1c5bf825f7a..87a7715762e 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/Mimetypes.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/Mimetypes.m @@ -16,8 +16,8 @@ @implementation Mimetypes + (void)initialize { - //This dictionary contains info on mimetypes surrently missing on IOS platform. - //This should be updated on a case by case basis. + // This dictionary contains info on mimetypes surrently missing on IOS platform. + // This should be updated on a case by case basis. if (mimeTypeFromExtensionDict == nil) { mimeTypeFromExtensionDict = [[NSDictionary alloc] initWithObjectsAndKeys: @"text/css", @"css", @@ -28,18 +28,18 @@ + (void)initialize + (NSString *)extensionForMimeType:(NSString *)mimetype { - //Get info from the system + // Get info from the system CFStringRef uti = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, (CFStringRef)mimetype, NULL); CFStringRef extension = UTTypeCopyPreferredTagWithClass(uti, kUTTagClassFilenameExtension); - //Release the UTI - //CFRelease should not be used on a NULL object. + // Release the UTI + // CFRelease should not be used on a NULL object. if (uti != NULL) { CFRelease(uti); } if (extension == NULL) { - //Missing info is retrieved from dictionary + // Missing info is retrieved from dictionary [Mimetypes initialize]; for (NSString *key in mimeTypeFromExtensionDict) { NSString *value = [mimeTypeFromExtensionDict objectForKey:key]; @@ -55,18 +55,18 @@ + (NSString *)extensionForMimeType:(NSString *)mimetype + (NSString *)mimeTypeForExtension:(NSString *)ext { - //Get info from the system + // Get info from the system CFStringRef uti = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, (CFStringRef)[ext pathExtension], NULL); CFStringRef mimetype = UTTypeCopyPreferredTagWithClass(uti, kUTTagClassMIMEType); - //Release the UTI - //CFRelease should not be used on a NULL object. + // Release the UTI + // CFRelease should not be used on a NULL object. if (uti != NULL) { CFRelease(uti); } if (mimetype == NULL) { - //Missing info is retrieved from dictionary + // Missing info is retrieved from dictionary [Mimetypes initialize]; NSString *result = [mimeTypeFromExtensionDict objectForKey:[ext pathExtension]]; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/NSData+Additions.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/NSData+Additions.m index 8c9ad0e4dcc..037d2d060c6 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/NSData+Additions.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/NSData+Additions.m @@ -11,12 +11,12 @@ #pragma mark Hex /* HEX specific routines are copyright: - + Copyright (c) 2006, Big Nerd Ranch, Inc. All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - + Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Big Nerd Ranch, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -94,9 +94,9 @@ NSUInteger dataLength = [thedata length]; - //See the doc: For block ciphers, the output size will always be less than or - //equal to the input size plus the size of one block. - //That's why we need to add the size of one block here + // See the doc: For block ciphers, the output size will always be less than or + // equal to the input size plus the size of one block. + // That's why we need to add the size of one block here size_t bufferSize = dataLength + kCCBlockSizeAES128; void *buffer = malloc(bufferSize); if (buffer == NULL) { @@ -110,11 +110,11 @@ buffer, bufferSize, /* output */ &numBytesEncrypted); if (cryptStatus == kCCSuccess) { - //the returned NSData takes ownership of the buffer and will free it on deallocation + // the returned NSData takes ownership of the buffer and will free it on deallocation return [NSData dataWithBytesNoCopy:buffer length:numBytesEncrypted]; } - free(buffer); //free the buffer; + free(buffer); // free the buffer; return nil; } #endif diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/ObjcProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/ObjcProxy.m index 3c80dd18ef6..13f2111bb05 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/ObjcProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/ObjcProxy.m @@ -297,7 +297,7 @@ - (void)_fireEventToListener:(NSString *)type withObject:(id)obj listener:(JSVal } } -//For subclasses to override +// For subclasses to override - (NSString *)apiName { DebugLog(@"[ERROR] Subclasses must override the apiName API endpoint."); diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/OperationQueue.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/OperationQueue.h index c972edc925a..d2a21c957e9 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/OperationQueue.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/OperationQueue.h @@ -24,7 +24,7 @@ /** Queues an operation. - + Queues an operation that targets selector on target invoke after (if not nil) on when completed pass YES to ui to invoke after on UI main thread diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/OperationQueue.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/OperationQueue.m index 248c8d66487..b1cca1f1a2b 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/OperationQueue.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/OperationQueue.m @@ -49,7 +49,7 @@ - (void)main NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; @try { - //The nice thing about performSelector is that providing extra arguments is quite safe. + // The nice thing about performSelector is that providing extra arguments is quite safe. id result = [target performSelector:selector withObject:arg]; if (afterTarget != nil && after != nil) { diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/SBJSON.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/SBJSON.h index 9624798dc80..db6e78d1cd6 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/SBJSON.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/SBJSON.h @@ -83,7 +83,7 @@ accepts and what it generates. (Other than the above mentioned support for JSON fragments.) For example, it does not support trailing commas in arrays or objects. Nor does it support embedded comments, or anything else not in the JSON specification. - + */ // In order to preserve our SBJSON modifications while allowing modules to use their own (and updated) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/SBJSON.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/SBJSON.m index a8173b9d812..a665731e68b 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/SBJSON.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/SBJSON.m @@ -1,20 +1,20 @@ /* Copyright (C) 2008 Stig Brautaset. All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - + Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - + Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - + Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -182,7 +182,7 @@ - (id)init /** Returns a string containing JSON representation of the passed in value, or nil on error. If nil is returned and @p error is not NULL, @p *error can be interrogated to find the cause of the error. - + @param value any instance that can be represented as a JSON fragment @param allowScalar wether to return json fragments for scalar objects @param error used to return an error by reference (pass NULL if this is not desired) @@ -208,7 +208,7 @@ - (NSString *)stringWithObject:(id)value allowScalar:(BOOL)allowScalar error:(NS /** Returns a string containing JSON representation of the passed in value, or nil on error. If nil is returned and @p error is not NULL, @p error can be interrogated to find the cause of the error. - + @param value any instance that can be represented as a JSON fragment @param error used to return an error by reference (pass NULL if this is not desired) */ @@ -220,7 +220,7 @@ - (NSString *)stringWithFragment:(id)value error:(NSError **)error /** Returns a string containing JSON representation of the passed in value, or nil on error. If nil is returned and @p error is not NULL, @p error can be interrogated to find the cause of the error. - + @param value a NSDictionary or NSArray instance @param error used to return an error by reference (pass NULL if this is not desired) */ @@ -414,7 +414,7 @@ - (BOOL)appendString:(NSString *)fragment into:(NSMutableString *)json error:(NS /** Returns the object represented by the passed-in string or nil on error. The returned object can be a string, number, boolean, null, array or dictionary. - + @param repr the json string to parse @param allowScalar whether to return objects for JSON fragments @param error used to return an error by reference (pass NULL if this is not desired) @@ -460,7 +460,7 @@ - (id)objectWithString:(id)repr allowScalar:(BOOL)allowScalar error:(NSError **) /** Returns the object represented by the passed-in string or nil on error. The returned object can be a string, number, boolean, null, array or dictionary. - + @param repr the json string to parse @param error used to return an error by reference (pass NULL if this is not desired) */ @@ -472,7 +472,7 @@ - (id)fragmentWithString:(NSString *)repr error:(NSError **)error /** Returns the object represented by the passed-in string or nil on error. The returned object will be either a dictionary or an array. - + @param repr the json string to parse @param error used to return an error by reference (pass NULL if this is not desired) */ @@ -922,10 +922,10 @@ - (BOOL)scanHexQuad:(unichar *)x error:(NSError **)error int d = (uc >= '0' && uc <= '9') ? uc - '0' : (uc >= 'a' && uc <= 'f') - ? (uc - 'a' + 10) - : (uc >= 'A' && uc <= 'F') - ? (uc - 'A' + 10) - : -1; + ? (uc - 'a' + 10) + : (uc >= 'A' && uc <= 'F') + ? (uc - 'A' + 10) + : -1; if (d == -1) { if (error) *error = err(EUNICODE, @"Missing hex digit in quad"); diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiAnimation.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiAnimation.h index 7f66bec502d..45ea9adec6e 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiAnimation.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiAnimation.h @@ -23,7 +23,7 @@ /** Whether or not the animation should transition. - + The method is only called if the animation is a transition animation type. @param animation The animation this delegate is assigned to. @return _YES_ if the animation should transition, _NO_ otherwise. @@ -57,7 +57,7 @@ @end /** - A type of proxy representing an animation to apply to a view. + A type of proxy representing an animation to apply to a view. */ @interface TiAnimation : TiProxy { @private diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiAnimation.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiAnimation.m index d9e2a84eeaf..d36db6a2703 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiAnimation.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiAnimation.m @@ -268,7 +268,7 @@ - (void)animationCompleted:(NSString *)animationID finished:(NSNumber *)finished if ([animation isReverse]) { animation = [animation reverseAnimation]; // Use the original animation for correct eventing - //Make sure we have the animatedViewProxy so we can correctly signal end of animation + // Make sure we have the animatedViewProxy so we can correctly signal end of animation if ([(id)animation.animatedView isKindOfClass:[TiUIView class]]) { RELEASE_TO_NIL(animatedViewProxy); TiUIView *v = (TiUIView *)animation.animatedView; @@ -493,7 +493,7 @@ - (void)animate:(id)args [(TiUIView *)view_ setTransform_:transform]; } - if ([view_ isKindOfClass:[TiUIView class]]) { //TODO: Shouldn't we be updating the proxy's properties to reflect this? + if ([view_ isKindOfClass:[TiUIView class]]) { // TODO: Shouldn't we be updating the proxy's properties to reflect this? TiUIView *uiview = (TiUIView *)view_; #ifndef TI_USE_AUTOLAYOUT LayoutConstraint *layoutProperties = [(TiViewProxy *)[uiview proxy] layoutProperties]; @@ -537,7 +537,7 @@ - (void)animate:(id)args BOOL hasBackgroundImage = (bgdLayer != nil); if (hasGradient && hasBackgroundImage) { - //Avoid duplicte animations on the same layer + // Avoid duplicte animations on the same layer hasBackgroundImage = gradientLayer != bgdLayer; } @@ -673,8 +673,8 @@ - (void)animate:(id)args // and then we need to add our new view for (UIView *subview in [transitionView subviews]) { if (subview != view_) { - //Making sure the view being transitioned off is properly removed - //from the view hierarchy. + // Making sure the view being transitioned off is properly removed + // from the view hierarchy. if ([subview isKindOfClass:[TiUIView class]]) { TiUIView *subView = (TiUIView *)subview; TiViewProxy *ourProxy = (TiViewProxy *)subView.proxy; @@ -686,9 +686,9 @@ - (void)animate:(id)args } [transitionView addSubview:view_]; - //AnimationStarted needs to be called here, otherwise the animation flags for - //the view being transitioned will end up in a improper state, resulting in - //layout warning. + // AnimationStarted needs to be called here, otherwise the animation flags for + // the view being transitioned will end up in a improper state, resulting in + // layout warning. [self animationStarted:[NSString stringWithFormat:@"%@", (void *)theview] context:self]; } @@ -697,7 +697,7 @@ - (void)animate:(id)args finished:[NSNumber numberWithBool:finished] context:self]; - //Adding the new view to the transition view's hierarchy. + // Adding the new view to the transition view's hierarchy. TiViewProxy *parentProxy = (TiViewProxy *)transitionView.proxy; TiViewProxy *child = (TiViewProxy *)view_.proxy; [parentProxy add:child]; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h index a2178550351..598e8b279c5 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h @@ -16,7 +16,7 @@ extern BOOL applicationInMemoryPanic; // TODO: Remove in SDK 9.0+ // TODO: Remove in SDK 9.0+ -TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on main thread, or else there is a risk of deadlock! +TI_INLINE void waitForMemoryPanicCleared() // WARNING: This must never be run on main thread, or else there is a risk of deadlock! { } @@ -90,7 +90,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Returns application's primary window. - + Convenience method to access the application's primary window */ @property (nonatomic, retain) IBOutlet UIWindow *window; @@ -107,14 +107,14 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Returns details for the last remote notification. - + Dictionary containing details about remote notification, or _nil_. */ @property (nonatomic, readonly) NSDictionary *remoteNotification; /** Returns local notification that has bees sent on the application. - + @return Dictionary containing details about local notification, or _nil_. */ @property (nonatomic, readonly) NSDictionary *localNotification; @@ -163,14 +163,14 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Returns the queued boot events scheduled with `tryToPostNotification:withNotificationName:completionHandler:``. - + @return The dictionary of queued boot events. */ - (NSMutableDictionary *)queuedBootEvents; /** Returns application launch options - + The method provides access to application launch options that became available when application just launched. @return The launch options dictionary. */ @@ -178,14 +178,14 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Returns remote UUID for the current running device. - + @return Current device UUID. */ - (NSString *)remoteDeviceUUID; /** Tells application to show network activity indicator. - + Every call of startNetwork should be paired with . @see stopNetwork */ @@ -193,7 +193,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Tells application to hide network activity indicator. - + Every call of stopNetwork should have corresponding call. @see startNetwork */ @@ -201,14 +201,14 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Generates a native notification from the given dictionary. - + @param dict The dictionary to use to generate the native notification. */ - (void)generateNotification:(NSDictionary *)dict; /** Tells application to display modal error. - + @param message The message to show in the modal error screen. */ - (void)showModalError:(NSString *)message; @@ -220,7 +220,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Tells application to display modal view controller. - + @param controller The view controller to display. @param animated If _YES_, animates the view controller as it’s presented; otherwise, does not. */ @@ -228,7 +228,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Tells application to hide modal view controller. - + @param controller The view controller to hide. @param animated If _YES_, animates the view controller as it’s hidden; otherwise, does not. */ @@ -236,7 +236,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Returns unique identifier for the current application launch. - + @return Current session id. */ - (NSString *)sessionId; @@ -269,7 +269,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Tries to invoke a given selector with the given arguments. If the app did not finish launching so far, it will be queued and processed once the JSCore bridge is ready. - + @param selector The selector to invoke. @param arguments The arguments to pass to the selector. */ @@ -278,7 +278,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Tries to post a given notification with the given name. If the app did not finish launching so far, it will be queued and processed once the JSCore bridge is ready. - + @param _notification The dictionary of user-info to pass to the notification. @param _notificationName The name of the notification to schedule. @param completionHandler The optional completion handler to invoke if requried. @@ -288,7 +288,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on /** Tries to post a given background-mode notification with the given name. If the app did not finish launching so far, it will be queued and processed once the JSCore bridge is ready. - + @param userInfo The dictionary of user-info to pass to the notification. @param notificationName The name of the notification to schedule. */ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m index f1954fcdd1d..ac6adba818e 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m @@ -36,7 +36,7 @@ BOOL applicationInMemoryPanic = NO; // TODO: Remove in SDK 9.0+ // TODO: Remove in SDK 9.0+ -TI_INLINE void waitForMemoryPanicCleared(void); //WARNING: This must never be run on main thread, or else there is a risk of deadlock! +TI_INLINE void waitForMemoryPanicCleared(void); // WARNING: This must never be run on main thread, or else there is a risk of deadlock! @interface TiApp () - (void)checkBackgroundServices; @@ -496,7 +496,7 @@ - (void)application:(UIApplication *)application performFetchWithCompletionHandl [self tryToInvokeSelector:@selector(application:performFetchWithCompletionHandler:) withArguments:[NSOrderedSet orderedSetWithObjects:application, [completionHandler copy], nil]]; - //Only for simulator builds + // Only for simulator builds NSArray *backgroundModes = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIBackgroundModes"]; if ([backgroundModes containsObject:@"fetch"]) { @@ -585,7 +585,7 @@ - (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNoti [self application:[UIApplication sharedApplication] handleActionWithIdentifier:response.actionIdentifier forRemoteNotification:response.notification.request.content.userInfo withResponseInfo:responseInfo completionHandler:completionHandler]; } } else { - //NOTE Local notifications should be handled similar to BG above which ultimately calls handleRemoteNotificationWithIdentifier as this will allow BG Actions to execute. + // NOTE Local notifications should be handled similar to BG above which ultimately calls handleRemoteNotificationWithIdentifier as this will allow BG Actions to execute. RELEASE_TO_NIL(localNotification); localNotification = [[[self class] dictionaryWithUserNotification:response.notification withIdentifier:response.actionIdentifier] retain]; @@ -796,7 +796,7 @@ - (void)performCompletionHandlerWithKey:(NSString *)key andResult:(UIBackgroundF } } -//Called to mark the end of background transfer while in the background. +// Called to mark the end of background transfer while in the background. - (void)performCompletionHandlerForBackgroundTransferWithKey:(NSString *)key { if ([backgroundTransferCompletionHandlers objectForKey:key] != nil) { @@ -847,7 +847,7 @@ - (void)application:(UIApplication *)application didReceiveRemoteNotification:(N #pragma mark Background Transfer Service -//Delegate callback for Background Transfer completes. +// Delegate callback for Background Transfer completes. - (void)application:(UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)(void))completionHandler { // Generate unique key with timestamp. @@ -870,7 +870,7 @@ - (void)application:(UIApplication *)application handleEventsForBackgroundURLSes #pragma mark Background Transfer Service Delegates. -//TODO: Move these delegates to the module post 3.2.0 +// TODO: Move these delegates to the module post 3.2.0 - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didFinishDownloadingToURL:(NSURL *)location { @@ -938,7 +938,7 @@ - (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)data if (!uploadTaskResponses) { uploadTaskResponses = [[NSMutableDictionary alloc] init]; } - //This dictionary will mutate if delegate is called + // This dictionary will mutate if delegate is called NSMutableDictionary *responseObj = [uploadTaskResponses objectForKey:@(dataTask.taskIdentifier)]; if (!responseObj) { NSMutableData *responseData = [NSMutableData dataWithData:data]; @@ -1012,7 +1012,7 @@ - (void)applicationWillTerminate:(UIApplication *)application NSNotificationCenter *theNotificationCenter = [NSNotificationCenter defaultCenter]; _willTerminate = YES; - //This will send out the 'close' message. + // This will send out the 'close' message. [theNotificationCenter postNotificationName:kTiWillShutdownNotification object:self]; NSCondition *condition = [[NSCondition alloc] init]; @@ -1023,7 +1023,7 @@ - (void)applicationWillTerminate:(UIApplication *)application [[TiLogServer defaultLogServer] stop]; } - //This will shut down the modules. + // This will shut down the modules. [theNotificationCenter postNotificationName:kTiShutdownNotification object:self]; RELEASE_TO_NIL(condition); RELEASE_TO_NIL(kjsBridge); @@ -1117,7 +1117,7 @@ - (void)applicationWillEnterForeground:(UIApplication *)application [sessionId release]; sessionId = [[TiUtils createUUID] retain]; - //TIMOB-3432. Ensure url is cleared when resume event is fired. + // TIMOB-3432. Ensure url is cleared when resume event is fired. [launchOptions removeObjectForKey:@"url"]; [launchOptions removeObjectForKey:@"source"]; @@ -1130,7 +1130,7 @@ - (void)applicationWillEnterForeground:(UIApplication *)application [self endBackgrounding]; } -//TODO: this should be compiled out in production mode +// TODO: this should be compiled out in production mode - (void)showModalError:(NSString *)message { NSLog(@"[ERROR] Application received error: %@", message); @@ -1370,7 +1370,7 @@ - (void)registerBackgroundService:(TiProxy *)proxy backgroundServices = [[NSMutableArray alloc] initWithCapacity:1]; } - //Only add if it isn't already added + // Only add if it isn't already added if (![backgroundServices containsObject:proxy]) { [backgroundServices addObject:proxy]; } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBase.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBase.h index 9d48041fc93..aaa7d12cc15 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBase.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBase.h @@ -147,10 +147,10 @@ NSString *JavascriptNameForClass(Class c); #define ENSURE_TYPE(x, t) ENSURE_CLASS(x, [t class]) -//NOTE: these checks can be pulled out of production build type +// NOTE: these checks can be pulled out of production build type -//Question: Given that some of these silently massage the data during development but not production, -//Should the data massage either be kept in production or removed in development? --Blain. +// Question: Given that some of these silently massage the data during development but not production, +// Should the data massage either be kept in production or removed in development? --Blain. #define ENSURE_STRING_OR_NIL(x) \ if ([x respondsToSelector:@selector(stringValue)]) { \ @@ -248,7 +248,7 @@ NSString *JavascriptNameForClass(Class c); } \ } -//Because both NSString and NSNumber respond to intValue, etc, this is a wider net +// Because both NSString and NSNumber respond to intValue, etc, this is a wider net #define ENSURE_METHOD(x, t) \ if (![x respondsToSelector:@selector(t)]) { \ [self throwException:TiExceptionInvalidType subreason:[NSString stringWithFormat:@"%@ doesn't respond to method: %@", OBJTYPE2JS(x), @ #t] location:CODELOCATION]; \ @@ -421,7 +421,7 @@ void TiExceptionThrowWithNameAndReason(NSString *exceptionName, NSString *reason #define NUMUINTEGER(x) \ [NSNumber numberWithUnsignedInteger:x] -//MUST BE NEGATIVE, as it inhabits the same space as UIBarButtonSystemItem +// MUST BE NEGATIVE, as it inhabits the same space as UIBarButtonSystemItem enum { UITitaniumNativeItemNone = -1, UITitaniumNativeItemSpinner = -2, diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBindingEvent.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBindingEvent.m index 0fc6124a4bd..7d7391dd195 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBindingEvent.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBindingEvent.m @@ -17,46 +17,46 @@ extern JSStringRef kTiStringLength; /** Event lifecycle, a documentation. - + The event structures are designed to be threadsafe, yet don't have a lock. How is this so? The trick is the lifecycle and atomic transactions on pendingEvents: - + Creation: - Immutable variables can be set, only one thread has access. - Can call FireEvent. + Immutable variables can be set, only one thread has access. + Can call FireEvent. FireEvent: - While searching for new targetProxy, only one thread has access. - pendingEvents is set to the number of threads that will be accessing it. - Once targetProxy found, the event becomes fully immutable again, and event - is sent to multiple run loops. + While searching for new targetProxy, only one thread has access. + pendingEvents is set to the number of threads that will be accessing it. + Once targetProxy found, the event becomes fully immutable again, and event + is sent to multiple run loops. EventProcess: - Event is immutable during processing - cancelBubble is mutable, but blindly set during processing, thus no race - Once done processing, the pendingEvents is atomically decrimented. - Once pendingEvents reaches 0, we are certain that no other threads are using - this event. During this time, the event is again mutable for purposes of - propagation- caching and then fireEvent. - This also means that while processing, the event will NOT be deallocated - under us. + Event is immutable during processing + cancelBubble is mutable, but blindly set during processing, thus no race + Once done processing, the pendingEvents is atomically decrimented. + Once pendingEvents reaches 0, we are certain that no other threads are using + this event. During this time, the event is again mutable for purposes of + propagation- caching and then fireEvent. + This also means that while processing, the event will NOT be deallocated + under us. */ struct TiBindingEventOpaque { - //Abstraction values and tread safety. - int pendingEvents; //Mutable, acts as lock of sorts due to atomic decrement - bool bubbles; //Immutable - bool cancelBubble; //Mutable, set to true - bool reportError; //Immutable - NSInteger errorCode; //Immutable - //Objective C version - TiProxy *targetProxy; //Immutable in-event, mutable for bubbling. - TiProxy *sourceProxy; //Immutable - NSString *eventString; //Immutable - NSDictionary *payloadDictionary; //Immutable - NSString *errorMessageString; //Immutable - //Immutable caching. - JSStringRef eventStringRef; //Immutable - JSStringRef errorMessageStringRef; //Immutable - //Mutable caching in future. + // Abstraction values and tread safety. + int pendingEvents; // Mutable, acts as lock of sorts due to atomic decrement + bool bubbles; // Immutable + bool cancelBubble; // Mutable, set to true + bool reportError; // Immutable + NSInteger errorCode; // Immutable + // Objective C version + TiProxy *targetProxy; // Immutable in-event, mutable for bubbling. + TiProxy *sourceProxy; // Immutable + NSString *eventString; // Immutable + NSDictionary *payloadDictionary; // Immutable + NSString *errorMessageString; // Immutable + // Immutable caching. + JSStringRef eventStringRef; // Immutable + JSStringRef errorMessageStringRef; // Immutable + // Mutable caching in future. JSContextRef contextRef; JSObjectRef eventObjectRef; }; @@ -117,7 +117,7 @@ void TiBindingEventSetBubbles(TiBindingEvent event, bool bubbles) parentOnly = false; currentTarget = [currentTarget parentForBubbling]; - //TIMOB-11691. Ensure that tableviewrowproxy modifies the event object before passing it along. + // TIMOB-11691. Ensure that tableviewrowproxy modifies the event object before passing it along. if ([currentTarget respondsToSelector:@selector(createEventObject:)]) { NSDictionary *curPayload = event->payloadDictionary; NSDictionary *modifiedPayload = [currentTarget performSelector:@selector(createEventObject:) withObject:curPayload]; @@ -158,7 +158,7 @@ void TiBindingEventFire(TiBindingEvent event) pthread_once(&jsBindingRunOnce, TiBindingInitialize); TiProxy *targetProxy = TiBindingEventNextBubbleTargetProxy(event, event->targetProxy, false); - if (targetProxy == nil) { //Nobody to target, we're done here. + if (targetProxy == nil) { // Nobody to target, we're done here. TiBindingEventDispose(event); return; } @@ -170,17 +170,17 @@ void TiBindingEventFire(TiBindingEvent event) event->targetProxy = [targetProxy retain]; } event->pendingEvents = runloopcount; - if (runloopcount == 1) { //Main case: One run loop. + if (runloopcount == 1) { // Main case: One run loop. TiBindingRunLoop ourRunLoop = [targetProxy primaryBindingRunLoop]; if (ourRunLoop != nil) { // It's possible that the one remaining runloop - //Was not the primaryBindingRunLoop. In which case, we flow to the - //multiple run loops as an edge case. + // Was not the primaryBindingRunLoop. In which case, we flow to the + // multiple run loops as an edge case. TiBindingRunLoopEnqueue(ourRunLoop, TiBindingEventProcess, event); return; } } - if (runloopcount > 0) { //Edge case: Multiple run loops. + if (runloopcount > 0) { // Edge case: Multiple run loops. NSArray *runLoopArray = [targetProxy bindingRunLoopArray]; for (TiBindingRunLoop thisRunLoop in runLoopArray) { TiBindingRunLoopEnqueue(thisRunLoop, TiBindingEventProcess, event); @@ -188,7 +188,7 @@ void TiBindingEventFire(TiBindingEvent event) return; } - //Extreme edge case. Proxy thinks it still has listeners, but no run loops?! + // Extreme edge case. Proxy thinks it still has listeners, but no run loops?! TiProxy *newTarget = TiBindingEventNextBubbleTargetProxy(event, targetProxy, YES); if (event->targetProxy != newTarget) { [event->targetProxy release]; @@ -216,7 +216,7 @@ void TiBindingEventProcess(TiBindingRunLoop runloop, void *payload) } if (callbackCount > 0) { - //Convert to JSObjectRefs + // Convert to JSObjectRefs if (eventObjectRef == NULL) { eventObjectRef = TiBindingTiValueFromNSDictionary(context, event->payloadDictionary); } @@ -236,7 +236,7 @@ void TiBindingEventProcess(TiBindingRunLoop runloop, void *payload) JSObjectSetProperty(context, eventObjectRef, jsEventTypeStringRef, eventStringRef, kJSPropertyAttributeReadOnly, NULL); JSObjectSetProperty(context, eventObjectRef, jsEventSourceStringRef, eventSourceRef, kJSPropertyAttributeReadOnly, NULL); - //Error reporting + // Error reporting if (event->reportError) { JSValueRef successValue = JSValueMakeBoolean(context, (event->errorCode == 0)); JSValueRef codeValue = JSValueMakeNumber(context, (double)event->errorCode); @@ -269,25 +269,25 @@ void TiBindingEventProcess(TiBindingRunLoop runloop, void *payload) // Note cancel bubble cancelBubbleValue = JSObjectGetProperty(context, eventObjectRef, jsEventCancelBubbleStringRef, NULL); if (JSValueToBoolean(context, cancelBubbleValue)) { - event->cancelBubble = true; //Because we only set true, not read nor set false, there's no race condition? + event->cancelBubble = true; // Because we only set true, not read nor set false, there's no race condition? } } } int pendingEvents = OSAtomicDecrement32Barrier(&event->pendingEvents); if (pendingEvents > 0) { - //Only the last event process gets to do propagation. + // Only the last event process gets to do propagation. return; } - //Last one processing the event for this proxy, pass it on to the parent. + // Last one processing the event for this proxy, pass it on to the parent. TiProxy *newTarget = TiBindingEventNextBubbleTargetProxy(event, event->targetProxy, YES); if (event->targetProxy != newTarget) { [event->targetProxy release]; event->targetProxy = [newTarget retain]; } TiBindingEventFire(event); - //See who gets it next. + // See who gets it next. } void TiBindingEventDispose(TiBindingEvent event) @@ -307,7 +307,7 @@ void TiBindingEventDispose(TiBindingEvent event) JSValueUnprotect(event->contextRef, event->eventObjectRef); } if (event->contextRef != NULL) { - //TODO: Do we protect and release the context ref? + // TODO: Do we protect and release the context ref? } free(event); } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBindingTiValue.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBindingTiValue.m index 6b05c8bfedf..08220e92196 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBindingTiValue.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBindingTiValue.m @@ -158,7 +158,7 @@ for (uint c = 0; c < len; ++c) { JSValueRef valueRef = JSObjectGetPropertyAtIndex(jsContext, obj, c, NULL); id value = TiBindingTiValueToNSObject(jsContext, valueRef); - //TODO: This is a temprorary workaround for the time being. We have to properly take care of [undefined] objects. + // TODO: This is a temprorary workaround for the time being. We have to properly take care of [undefined] objects. if (value == nil) { [resultArray addObject:[NSNull null]]; } else { diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.h index 664e3625b64..f073fa7988c 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.h @@ -44,13 +44,13 @@ READONLY_PROPERTY(NSString *, mimeType, MimeType); READONLY_PROPERTY(NSString *, nativePath, NativePath); /** Return the data size. - + For file, data returns the size in bytes, for image, returns the width x height. */ READONLY_PROPERTY(NSUInteger, size, Size); /** Return a textual representation of the blob. - + The method converts data into a textual representation. Appropriate only for types TiBlobTypeFile and TiBlobTypeData. */ READONLY_PROPERTY(NSString *, text, Text); diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.m index 34447d35cfb..c58e769551f 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.m @@ -11,7 +11,7 @@ #import "UIImage+Alpha.h" #import "UIImage+Resize.h" #import "UIImage+RoundedCorner.h" -//NOTE:FilesystemFile is conditionally compiled based on the filesystem module. +// NOTE:FilesystemFile is conditionally compiled based on the filesystem module. #import "KrollPromise.h" #import "TiFilesystemFileProxy.h" diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBuffer.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBuffer.h index c1a778a77e6..489e0da154f 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBuffer.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBuffer.h @@ -27,9 +27,9 @@ - (NSNumber *)append:(id)args; - (NSNumber *)insert:(id)args; -//This API is meant for the Javascript, and because of ARC conflating this with -//copy from NSObject(UIResponderStandardEditActions), we can't declare it here. -//Note that this does not affect calling from JS. +// This API is meant for the Javascript, and because of ARC conflating this with +// copy from NSObject(UIResponderStandardEditActions), we can't declare it here. +// Note that this does not affect calling from JS. #if !__has_feature(objc_arc) - (NSNumber *)copy:(id)args; #endif diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBuffer.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBuffer.m index 5afebcf4135..bba6dcf0b9c 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBuffer.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBuffer.m @@ -187,7 +187,7 @@ - (NSNumber *)copy:(id)args const void *source = [[sourceBuffer data] bytes]; NSRange replacement = NSMakeRange(offset, sourceLength); [data replaceBytesInRange:replacement withBytes:(source + sourceOffset)]; -//ignore leak, Xcode getting confused over the function name +// ignore leak, Xcode getting confused over the function name #ifndef __clang_analyzer__ return NUMUINTEGER(replacement.length); #else @@ -278,7 +278,7 @@ - (void)release:(id)_void - (TiBlob *)toBlob:(id)_void { - //TODO: Static analysis finds we're leaking the [data copy]. We should have an autorelease here, but for later. + // TODO: Static analysis finds we're leaking the [data copy]. We should have an autorelease here, but for later. return [[[TiBlob alloc] initWithData:[[data copy] autorelease] mimetype:@"application/octet-stream"] autorelease]; } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiColor.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiColor.m index f50d464c780..bbfe6b874c5 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiColor.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiColor.m @@ -9,7 +9,7 @@ #import "TiBase.h" #import "TiUtils.h" #import "Webcolor.h" -//TODO: Move all of Webcolor into TiColor. +// TODO: Move all of Webcolor into TiColor. @implementation TiColor @@ -20,7 +20,7 @@ + (id)colorNamed:(NSString *)name TiColor *result; UIColor *translatedColor = nil; - if ([name caseInsensitiveCompare:@"default"] != NSOrderedSame) { //Default is allowed nil, while still counting as a color to stop inheritance. + if ([name caseInsensitiveCompare:@"default"] != NSOrderedSame) { // Default is allowed nil, while still counting as a color to stop inheritance. translatedColor = [Webcolor webColorNamed:name]; if (translatedColor == nil) { return nil; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiControllerProtocols.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiControllerProtocols.h index e1febc01f1c..c0032ee33fa 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiControllerProtocols.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiControllerProtocols.h @@ -69,7 +69,7 @@ @required - (BOOL)canHostWindows; - (UIView *)hostingView; -//Called by light weight windows from their windowWillOpen, windowWillClose, windowDidOpen, windowDidClose methods +// Called by light weight windows from their windowWillOpen, windowWillClose, windowDidOpen, windowDidClose methods - (void)willOpenWindow:(id)theWindow; - (void)willCloseWindow:(id)theWindow; - (void)didOpenWindow:(id)theWindow; @@ -87,18 +87,18 @@ @required -//Background Control +// Background Control - (void)setBackgroundImage:(UIImage *)arg; - (void)setBackgroundColor:(UIColor *)arg; - (void)dismissDefaultImage; -//Keyboard stuff +// Keyboard stuff - (BOOL)keyboardVisible; - (void)dismissKeyboard; - (void)didKeyboardFocusOnProxy:(TiViewProxy *)visibleProxy; - (void)didKeyboardBlurOnProxy:(TiViewProxy *)blurredProxy; -//ViewController stuff +// ViewController stuff - (TiOrientationFlags)getDefaultOrientations; - (UIViewController *)topPresentedController; - (UIViewController *)topContainerController; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiDimension.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiDimension.h index d3d3790b71e..99438149765 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiDimension.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiDimension.h @@ -16,7 +16,7 @@ #define INCH_IN_CM 2.54 #define INCH_IN_MM 25.4 -//Not a class for speed reasons, like LayoutConstraint. +// Not a class for speed reasons, like LayoutConstraint. typedef enum { TiDimensionTypeUndefined, @@ -33,8 +33,8 @@ typedef enum { struct TiDimension { TiDimensionType type; CGFloat value; - //If type is TiDimensionTypeDip, value is a Dip constant, - //If type is TiDimensionTypePercent, value ranges from 0 (0%) to 1.0 (100%) + // If type is TiDimensionTypeDip, value is a Dip constant, + // If type is TiDimensionTypePercent, value ranges from 0 (0%) to 1.0 (100%) }; typedef struct TiDimension TiDimension; @@ -144,7 +144,7 @@ TI_INLINE CGFloat TiDimensionCalculateMargins(TiDimension dimension1, TiDimensio return boundingValue - (TiDimensionCalculateValue(dimension1, boundingValue) + TiDimensionCalculateValue(dimension2, boundingValue)); } -//TODO: Do these ALL have to be TI_INLINE? +// TODO: Do these ALL have to be TI_INLINE? TI_INLINE CGRect TiDimensionLayerContentCenter(TiDimension top, TiDimension left, TiDimension bottom, TiDimension right, CGSize imageSize) { CGRect result; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiErrorController.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiErrorController.m index ca26e8b25ee..793c11f8677 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiErrorController.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiErrorController.m @@ -3,7 +3,7 @@ * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. - * + * * WARNING: This is generated code. Modify at your own risk and without support. */ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiEvaluator.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiEvaluator.h index dff6d7efc8b..b96b35c0f07 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiEvaluator.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiEvaluator.h @@ -32,16 +32,16 @@ - (KrollContext *)krollContext; -//Creates a kroll object to be used with the proxy. +// Creates a kroll object to be used with the proxy. - (id)registerProxy:(id)proxy; -//Removes the kroll object and the proxy. +// Removes the kroll object and the proxy. - (void)unregisterProxy:(id)proxy; -//Returns YES if and only iff the proxy has been registered. +// Returns YES if and only iff the proxy has been registered. - (BOOL)usesProxy:(id)proxy; -//Returns the kroll object created iff the proxy has been registered. Otherwise, returns nil. +// Returns the kroll object created iff the proxy has been registered. Otherwise, returns nil. - (id)krollObjectForProxy:(id)proxy; @end diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.h index adfbb2898b4..dc96936c2ba 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.h @@ -82,7 +82,7 @@ #pragma mark - TiExceptionHandlerDelegate /** - * Exception handler delegate protocol. + * Exception handler delegate protocol. */ @protocol TiExceptionHandlerDelegate diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiFile.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiFile.m index 39c193b9a1e..9091dcfc55f 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiFile.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiFile.m @@ -80,7 +80,7 @@ + (TiFile *)createTempFile:(NSString *)extension if (![fm fileExistsAtPath:tempDir]) { [fm createDirectoryAtPath:tempDir withIntermediateDirectories:YES attributes:nil error:&error]; if (error != nil) { - //TODO: ? + // TODO: ? return nil; } } @@ -96,7 +96,7 @@ + (TiFile *)createTempFile:(NSString *)extension [[NSData data] writeToFile:resultPath options:NSDataWritingFileProtectionComplete | NSDataWritingAtomic error:&error]; if (error != nil) { - //TODO: ? + // TODO: ? return nil; } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h index 381e33b410e..9feddf2f094 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h @@ -32,7 +32,7 @@ typedef enum { CGGradientRef cachedGradient; CFMutableArrayRef colorValues; - CGFloat *colorOffsets; //A -1 indicates a lack of entry. + CGFloat *colorOffsets; // A -1 indicates a lack of entry. NSUInteger arraySize; int offsetsDefined; @private diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.m index 952a01b3e64..6e1dbbedcc2 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.m @@ -52,7 +52,7 @@ - (CGGradientRef)cachedGradient } else { tempOffsets = NULL; } - //TODO: Between these extremes, we should do intelligent gradient computation. + // TODO: Between these extremes, we should do intelligent gradient computation. cachedGradient = CGGradientCreateWithColors(rgb, colorValues, tempOffsets); @@ -189,7 +189,7 @@ - (void)setColors:(NSArray *)newColors; } CGColorSpaceRef colorspace = CGColorGetColorSpace([thisColor CGColor]); - if (CGColorSpaceGetModel(colorspace) == kCGColorSpaceModelMonochrome) //Colorize this! Where's Ted Turner? + if (CGColorSpaceGetModel(colorspace) == kCGColorSpaceModelMonochrome) // Colorize this! Where's Ted Turner? { const CGFloat *components = CGColorGetComponents([thisColor CGColor]); thisColor = [UIColor colorWithRed:components[0] diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiHost.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiHost.m index d0398463077..4bc8ed16683 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiHost.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiHost.m @@ -46,7 +46,7 @@ + (NSString *)resourceRelativePath:(NSURL *)url + (NSURL *)resolveFilePathForAppUrl:(NSURL *)appUrl { - if (![[appUrl scheme] isEqualToString:@"app"]) { //Whoops! We don't need to translate! + if (![[appUrl scheme] isEqualToString:@"app"]) { // Whoops! We don't need to translate! return appUrl; } @@ -135,7 +135,7 @@ - (void)unregisterContext:(id)context forToken:(NSString *)token - (KrollBridge *)krollBridge { - //For subclasses + // For subclasses return nil; } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiLayoutQueue.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiLayoutQueue.m index 3a6ffc5d53b..aede59a0385 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiLayoutQueue.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiLayoutQueue.m @@ -30,7 +30,7 @@ void performLayoutRefresh(CFRunLoopTimerRef timer, void *info) layoutArray = nil; if ((layoutTimer != NULL) && ([localLayoutArray count] == 0)) { - //Might as well stop the timer for now. + // Might as well stop the timer for now. CFRunLoopTimerInvalidate(layoutTimer); CFRelease(layoutTimer); layoutTimer = NULL; @@ -82,13 +82,13 @@ + (void)addViewProxy:(TiViewProxy *)newViewProxy if (layoutArray == nil) { layoutArray = [[NSMutableArray alloc] initWithObjects:newViewProxy, nil]; - } else if ([layoutArray containsObject:newViewProxy]) { //Nothing to do here. Already added. + } else if ([layoutArray containsObject:newViewProxy]) { // Nothing to do here. Already added. pthread_mutex_unlock(&layoutMutex); return; - } else if ([layoutArray containsObject:[newViewProxy parent]]) { //For safety reasons, we do add this to the list. But since the parent's already here, - //We add it to the FIRST so that children draw before parents, giving us good layout values for later! + } else if ([layoutArray containsObject:[newViewProxy parent]]) { // For safety reasons, we do add this to the list. But since the parent's already here, + // We add it to the FIRST so that children draw before parents, giving us good layout values for later! [layoutArray insertObject:newViewProxy atIndex:0]; - } else { //We might be someone's parent... but that means that children should draw FIRST. + } else { // We might be someone's parent... but that means that children should draw FIRST. // This is because in many cases, parent size is determined by child size (e.g. auto, vert. layout, etc.) [layoutArray addObject:newViewProxy]; } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiLocale.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiLocale.h index 4d6f69581ba..9e2b55e74a9 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiLocale.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiLocale.h @@ -23,7 +23,7 @@ /** Returns the bundle associated with the locale. - + Read-only property. */ @property (nonatomic, readwrite, retain) NSBundle *bundle; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiModule.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiModule.m index 5a32abfa159..11891d8d113 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiModule.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiModule.m @@ -52,7 +52,7 @@ - (void)contextShutdown:(id)sender pageContext = nil; pageKrollObject = nil; } - //DO NOT run super shutdown here, as we want to change the behavior that TiProxy does. + // DO NOT run super shutdown here, as we want to change the behavior that TiProxy does. } - (void)setPageContext:(id)evaluator @@ -99,7 +99,7 @@ - (void)errored:(id)sender - (void)registerForNotifications { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(shutdown:) name:kTiShutdownNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(suspend:) name:kTiSuspendNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(paused:) name:kTiPausedNotification object:nil]; @@ -112,7 +112,7 @@ - (void)startup { if (classNameLookup == NULL) { classNameLookup = CFDictionaryCreateMutable(kCFAllocatorDefault, 1, &kCFTypeDictionaryKeyCallBacks, NULL); - //We do not retain the Class, but simply assign them. + // We do not retain the Class, but simply assign them. } TiThreadPerformOnMainThread( ^{ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.h index 17b1cf0ea2b..093a706215f 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.h @@ -91,7 +91,7 @@ SEL SetterWithObjectForKrollProperty(NSString *key); void DoProxyDelegateChangedValuesWithProxy(UIView *target, NSString *key, id oldValue, id newValue, TiProxy *proxy); void DoProxyDelegateReadValuesWithKeysFromProxy(UIView *target, id keys, TiProxy *proxy); -//Why are these here? Because they can be commonly used between TiUIView and TiUITableViewCell. +// Why are these here? Because they can be commonly used between TiUIView and TiUITableViewCell. /** The base class for Titanium proxies. @@ -206,7 +206,7 @@ void DoProxyDelegateReadValuesWithKeysFromProxy(UIView *target, Return nil if the class does not bubble or there is no parent. Optionally return nil if bubbleParent is false -- i.e., bubbleParent must be checked as well. - + Override this method for views that do not follow the standard children/parent model (e.g., table rows). Note that this is NOT for use by JS, because this is intentionally an iOS-only solution. @@ -216,7 +216,7 @@ void DoProxyDelegateReadValuesWithKeysFromProxy(UIView *target, /** Returns an array of properties that must be set on the proxy object in a specific order, ordered from first to last. Any properties which are not in this list are set after the listed properties, and are set in undefined order. - + Override this method if the order in which properties are set is significant. @return The array of property keys. */ @@ -236,13 +236,13 @@ void DoProxyDelegateReadValuesWithKeysFromProxy(UIView *target, - (BOOL)retainsJsObjectForKey:(NSString *)key; -//TODO: Find everywhere were we retain a proxy in a non-assignment way, and do remember/forget properly. +// TODO: Find everywhere were we retain a proxy in a non-assignment way, and do remember/forget properly. /** Tells the proxy to associate another proxy with it. - + The associated proxy will be retained. - Note: rememberProxy/forgetProxy are not reference counted - multiple calls to are all undone by a single call to + Note: rememberProxy/forgetProxy are not reference counted - multiple calls to are all undone by a single call to @param rememberedProxy The proxy to remember. @see forgetProxy: */ @@ -250,15 +250,15 @@ void DoProxyDelegateReadValuesWithKeysFromProxy(UIView *target, /** Tells the proxy to disassociate another proxy from it. - + The deassociated proxy will be released. - Note: rememberProxy/forgetProxy are not reference counted - multiple calls to are all undone by a single call to + Note: rememberProxy/forgetProxy are not reference counted - multiple calls to are all undone by a single call to @param forgottenProxy The proxy to forget. @see rememberProxy: */ - (void)forgetProxy:(TiProxy *)forgottenProxy; -//These are when, say, a window is opened, so you want to do JSValueProtect to make SURE it doesn't go away. +// These are when, say, a window is opened, so you want to do JSValueProtect to make SURE it doesn't go away. /** Tells the proxy to retain associated JS object. @@ -270,7 +270,7 @@ void DoProxyDelegateReadValuesWithKeysFromProxy(UIView *target, */ - (void)forgetSelf; -//SetCallback is done internally by setValue:forUndefinedKey: +// SetCallback is done internally by setValue:forUndefinedKey: - (void)fireCallback:(NSString *)type withArg:(NSDictionary *)argDict withSource:(id)source; - (void)fireCallback:(NSString *)type withArg:(NSDictionary *)argDict withSource:(id)source withHandler:(void (^)(id result))handler; @@ -290,16 +290,16 @@ void DoProxyDelegateReadValuesWithKeysFromProxy(UIView *target, - (void)fireEvent:(id)args; - (void)fireEvent:(NSString *)type withObject:(id)obj; -//For UI events: +// For UI events: - (void)fireEvent:(NSString *)type withObject:(id)obj propagate:(BOOL)yn; -//For events that report an error or success +// For events that report an error or success - (void)fireEvent:(NSString *)type withObject:(id)obj errorCode:(NSInteger)code message:(NSString *)message; -//What classes should actually override: +// What classes should actually override: - (void)fireEvent:(NSString *)type withObject:(id)obj propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(NSInteger)code message:(NSString *)message; -//Temporary override point during the transition. Both the one below AND the one above should be overridden if needed. +// Temporary override point during the transition. Both the one below AND the one above should be overridden if needed. - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(int)code message:(NSString *)message; //** Deprecated: bubbling is done at a lower point so source is always 'self' at this point. diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m index d5c8ec61e1e..977afb981cb 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m @@ -20,17 +20,17 @@ #include -//Common exceptions to throw when the function call was improper +// Common exceptions to throw when the function call was improper NSString *const TiExceptionInvalidType = @"Invalid type passed to function"; NSString *const TiExceptionNotEnoughArguments = @"Invalid number of arguments to function"; NSString *const TiExceptionRangeError = @"Value passed to function exceeds allowed range"; NSString *const TiExceptionOSError = @"The iOS reported an error"; -//Should be rare, but also useful if arguments are used improperly. +// Should be rare, but also useful if arguments are used improperly. NSString *const TiExceptionInternalInconsistency = @"Value was not the value expected"; -//Rare exceptions to indicate a bug in the titanium code (Eg, method that a subclass should have implemented) +// Rare exceptions to indicate a bug in the titanium code (Eg, method that a subclass should have implemented) NSString *const TiExceptionUnimplementedFunction = @"Subclass did not implement required method"; NSString *const TiExceptionMemoryFailure = @"Memory allocation failed"; @@ -235,7 +235,7 @@ - (id)_initWithPageContext:(id)context { if (self = [self init]) { pageContext = (id)context; // do not retain - executionContext = context; //To ensure there is an execution context during _configure. + executionContext = context; // To ensure there is an execution context during _configure. if ([[self class] shouldRegisterOnInit]) // && ![NSThread isMainThread]) { [pageContext registerProxy:self]; @@ -298,9 +298,9 @@ - (void)contextShutdown:(id)sender [self contextWasShutdown:context]; if (pageContext == context) { - //TODO: Should we really stay bug compatible with the old behavior? - //I think we should instead have it that the proxy stays around until - //it's no longer referenced by any contexts at all. + // TODO: Should we really stay bug compatible with the old behavior? + // I think we should instead have it that the proxy stays around until + // it's no longer referenced by any contexts at all. [self _destroy]; pageContext = nil; pageKrollObject = nil; @@ -321,12 +321,12 @@ - (void)setExecutionContext:(id)context // /* - * In theory, if two contexts are both using the proxy at the same time, - * bad things could happen since this value will be overwritten. - * TODO: Investigate thread safety of this, or to moot it. - */ + * In theory, if two contexts are both using the proxy at the same time, + * bad things could happen since this value will be overwritten. + * TODO: Investigate thread safety of this, or to moot it. + */ - executionContext = context; //don't retain + executionContext = context; // don't retain } - (void)_initWithProperties:(NSDictionary *)properties @@ -477,7 +477,7 @@ - (BOOL)inReproxy - (BOOL)_hasListeners:(NSString *)type { pthread_rwlock_rdlock(&listenerLock); - //If listeners is nil at this point, result is still false. + // If listeners is nil at this point, result is still false. BOOL result = [[listeners objectForKey:type] intValue] > 0; pthread_rwlock_unlock(&listenerLock); return result; @@ -673,9 +673,9 @@ - (void)forgetProxy:(TiProxy *)forgottenProxy return; } if (bridgeCount < 1) { - //While this may be of concern and there used to be a - //warning here, too many false alarms were raised during - //multi-context cleanups. + // While this may be of concern and there used to be a + // warning here, too many false alarms were raised during + // multi-context cleanups. return; } @@ -705,7 +705,7 @@ - (void)forgetSelf - (void)setCallback:(KrollCallback *)eventCallback forKey:(NSString *)key { - BOOL isCallback = [eventCallback isKindOfClass:[KrollCallback class]]; //Also check against nil. + BOOL isCallback = [eventCallback isKindOfClass:[KrollCallback class]]; // Also check against nil. if ((bridgeCount == 1) && (pageKrollObject != nil)) { if (!isCallback || ([eventCallback context] != [pageKrollObject context])) { [pageKrollObject forgetCallbackForKey:key]; @@ -761,8 +761,8 @@ - (void)addEventListener:(NSArray *)args KrollObject *ourObject = [self krollObjectForContext:([listener isKindOfClass:[KrollCallback class]] ? [(KrollCallback *)listener context] : [(KrollWrapper *)listener bridge].krollContext)]; [ourObject storeListener:listener forEvent:type]; - //TODO: You know, we can probably nip this in the bud and do this at a lower level, - //Or make this less onerous. + // TODO: You know, we can probably nip this in the bud and do this at a lower level, + // Or make this less onerous. int ourCallbackCount = 0; pthread_rwlock_wrlock(&listenerLock); @@ -785,8 +785,8 @@ - (void)removeEventListener:(NSArray *)args KrollObject *ourObject = [self krollObjectForContext:[listener context]]; [ourObject removeListener:listener forEvent:type]; - //TODO: You know, we can probably nip this in the bud and do this at a lower level, - //Or make this less onerous. + // TODO: You know, we can probably nip this in the bud and do this at a lower level, + // Or make this less onerous. pthread_rwlock_wrlock(&listenerLock); int ourCallbackCount = [[listeners objectForKey:type] intValue]; @@ -821,44 +821,44 @@ - (void)fireEvent:(id)args type = (NSString *)args; } id bubbleObject = [params objectForKey:@"bubbles"]; - //TODO: Yes is the historical default. Is this the right thing to do, given the expense? + // TODO: Yes is the historical default. Is this the right thing to do, given the expense? BOOL bubble = [TiUtils boolValue:bubbleObject def:YES]; if ((bubbleObject != nil) && ([params count] == 1)) { - params = nil; //No need to propagate when we already have this information + params = nil; // No need to propagate when we already have this information } if ([self doesntOverrideFireEventWithSource]) { - //TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. - // For now, we're shortcutting to suppress false warnings. + // TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. + // For now, we're shortcutting to suppress false warnings. [self fireEvent:type withObject:params propagate:bubble reportSuccess:NO errorCode:0 message:nil]; return; } DebugLog(@"[WARN] The Objective-C class %@ has overridden -[fireEvent:withObject:withSource:propagate:].", [self class]); - [self fireEvent:type withObject:params withSource:self propagate:bubble]; //In case of not debugging, we don't change behavior, just in case. + [self fireEvent:type withObject:params withSource:self propagate:bubble]; // In case of not debugging, we don't change behavior, just in case. } - (void)fireEvent:(NSString *)type withObject:(id)obj { if ([self doesntOverrideFireEventWithSource]) { - //TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. - // For now, we're shortcutting to suppress false warnings. + // TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. + // For now, we're shortcutting to suppress false warnings. [self fireEvent:type withObject:obj propagate:YES reportSuccess:NO errorCode:0 message:nil]; return; } DebugLog(@"[WARN] The Objective-C class %@ has overridden -[fireEvent:withObject:withSource:propagate:].", [self class]); - [self fireEvent:type withObject:obj withSource:self propagate:YES]; //In case of not debugging, we don't change behavior, just in case. + [self fireEvent:type withObject:obj withSource:self propagate:YES]; // In case of not debugging, we don't change behavior, just in case. } - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source { - //The warning for this is in the propagate version. + // The warning for this is in the propagate version. [self fireEvent:type withObject:obj withSource:source propagate:YES]; } - (void)fireEvent:(NSString *)type withObject:(id)obj propagate:(BOOL)yn { if ([self doesntOverrideFireEventWithSource]) { - //TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. - // For now, we're shortcutting to suppress false warnings. + // TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. + // For now, we're shortcutting to suppress false warnings. [self fireEvent:type withObject:obj propagate:yn reportSuccess:NO errorCode:0 message:nil]; return; } @@ -880,7 +880,7 @@ - (void)fireEvent:(NSString *)type withObject:(id)obj errorCode:(NSInteger)code [self fireEvent:type withObject:obj propagate:YES reportSuccess:YES errorCode:code message:message]; } -//What classes should actually use. +// What classes should actually use. - (void)fireEvent:(NSString *)type withObject:(id)obj propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(NSInteger)code message:(NSString *)message; { if (![self _hasListeners:type]) { @@ -910,7 +910,7 @@ - (void)fireEvent:(NSString *)type withObject:(id)obj propagate:(BOOL)propagate NSThread.isMainThread); } -//Temporary method until source is removed, for our subclasses. +// Temporary method until source is removed, for our subclasses. - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(int)code message:(NSString *)message; { if (![self _hasListeners:type]) { @@ -936,8 +936,8 @@ - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source prop - (void)setValuesForKeysWithDictionary:(NSDictionary *)dictionary { - //It's possible that the 'setvalueforkey' has its own plans of what should be in the JS object, - //so we should do this first as to not overwrite the subclass's setter. + // It's possible that the 'setvalueforkey' has its own plans of what should be in the JS object, + // so we should do this first as to not overwrite the subclass's setter. NSDictionary *keyedValues = [dictionary copy]; if ((bridgeCount == 1) && (pageKrollObject != nil)) { for (NSString *currentKey in keyedValues) { @@ -963,12 +963,12 @@ - (void)setValuesForKeysWithDictionary:(NSDictionary *)dictionary for (NSString *thisKey in keySequence) { id thisValue = [keyedValues objectForKey:thisKey]; - if (thisValue == nil) //Dictionary doesn't have this key. Skip. + if (thisValue == nil) // Dictionary doesn't have this key. Skip. { continue; } if (thisValue == [NSNull null]) { - //When a null, we want to write a nil. + // When a null, we want to write a nil. thisValue = nil; } [self setValue:thisValue forKey:thisKey]; @@ -980,12 +980,12 @@ - (void)setValuesForKeysWithDictionary:(NSDictionary *)dictionary continue; id thisValue = [keyedValues objectForKey:thisKey]; - if (thisValue == nil) //Dictionary doesn't have this key. Skip. + if (thisValue == nil) // Dictionary doesn't have this key. Skip. { continue; } if (thisValue == [NSNull null]) { - //When a null, we want to write a nil. + // When a null, we want to write a nil. thisValue = nil; } [self setValue:thisValue forKey:thisKey]; @@ -1027,8 +1027,8 @@ - (id)valueForUndefinedKey:(NSString *)key } return result; } - //NOTE: we need to return nil here since in JS you can ask for properties - //that don't exist and it should return undefined, not an exception + // NOTE: we need to return nil here since in JS you can ask for properties + // that don't exist and it should return undefined, not an exception return nil; } @@ -1039,8 +1039,8 @@ - (void)replaceValue:(id)value forKey:(NSString *)key notification:(BOOL)notify } if ([value isKindOfClass:[KrollCallback class]]) { [self setCallback:value forKey:key]; - //As a wrapper, we hold onto a KrollWrapper tuple so that other contexts - //may access the function. + // As a wrapper, we hold onto a KrollWrapper tuple so that other contexts + // may access the function. KrollWrapper *newValue = [[[KrollWrapper alloc] init] autorelease]; [newValue setBridge:(KrollBridge *)[[(KrollCallback *)value context] delegate]]; [newValue setJsobject:[(KrollCallback *)value function]]; @@ -1120,7 +1120,7 @@ - (void)setValue:(id)value forUndefinedKey:(NSString *)key - (void)applyProperties:(id)args { ENSURE_SINGLE_ARG(args, NSDictionary) - [self setValuesForKeysWithDictionary:args]; + [self setValuesForKeysWithDictionary:args]; } - (NSDictionary *)allProperties @@ -1152,16 +1152,16 @@ - (id)sanitizeURL:(id)value - (void)didReceiveMemoryWarning:(NSNotification *)notification { - //FOR NOW, we're not dropping anything but we'll want to do before release - //subclasses need to call super if overriden + // FOR NOW, we're not dropping anything but we'll want to do before release + // subclasses need to call super if overriden } #pragma mark Dispatching Helper -//TODO: Now that we have TiThreadPerform, we should optimize this out. +// TODO: Now that we have TiThreadPerform, we should optimize this out. - (void)_dispatchWithObjectOnUIThread:(NSArray *)args { - //NOTE: this is called by ENSURE_UI_THREAD_WITH_OBJ and will always be on UI thread when we get here + // NOTE: this is called by ENSURE_UI_THREAD_WITH_OBJ and will always be on UI thread when we get here id method = [args objectAtIndex:0]; id firstobj = [args count] > 1 ? [args objectAtIndex:1] : nil; id secondobj = [args count] > 2 ? [args objectAtIndex:2] : nil; @@ -1207,7 +1207,7 @@ - (id)toJSON return [NSNull null]; } -//For subclasses to override +// For subclasses to override - (NSString *)apiName { DebugLog(@"[ERROR] Subclasses must override the apiName API endpoint."); diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiPublicAPI.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiPublicAPI.h index 6ad6257e543..ded5a4394b2 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiPublicAPI.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiPublicAPI.h @@ -61,12 +61,12 @@ #else #define TI_PUBLIC_METHOD(methodName, returnType) \ - //No-op + // No-op #define TI_PUBLIC_METHOD_ARG_OBJECT(argPosition, argName, argType, argOptional, argCheck) \ - //No-op + // No-op #define TI_PUBLIC_METHOD_END_ARGS(methodName, returnType) \ -(returnType)methodName : (id)args -#endif //Debug +#endif // Debug diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiRootViewController.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiRootViewController.h index 893ab282bf6..14c5e1902d7 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiRootViewController.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiRootViewController.h @@ -9,7 +9,7 @@ #import @interface TiRootViewController : UIViewController { - //Default background properties + // Default background properties UIColor *bgColor; UIImage *bgImage; UIView *hostView; @@ -17,23 +17,23 @@ BOOL forceLayout; UIView *defaultImageView; - //Keyboard stuff + // Keyboard stuff BOOL updatingAccessoryView; - UIView *enteringAccessoryView; //View that will enter. - UIView *accessoryView; //View that is onscreen. - UIView *leavingAccessoryView; //View that is leaving the screen. - TiViewProxy *keyboardFocusedProxy; //View whose becoming key affects things. + UIView *enteringAccessoryView; // View that will enter. + UIView *accessoryView; // View that is onscreen. + UIView *leavingAccessoryView; // View that is leaving the screen. + TiViewProxy *keyboardFocusedProxy; // View whose becoming key affects things. - CGRect startFrame; //Where the keyboard was before the handling - CGRect targetedFrame; //The keyboard place relative to where the accessoryView is moving; - CGRect endFrame; //Where the keyboard will be after the handling - BOOL keyboardVisible; //If false, use enterCurve. If true, use leaveCurve. + CGRect startFrame; // Where the keyboard was before the handling + CGRect targetedFrame; // The keyboard place relative to where the accessoryView is moving; + CGRect endFrame; // Where the keyboard will be after the handling + BOOL keyboardVisible; // If false, use enterCurve. If true, use leaveCurve. UIViewAnimationCurve enterCurve; CGFloat enterDuration; UIViewAnimationCurve leaveCurve; CGFloat leaveDuration; - //Orientation Stuff + // Orientation Stuff UIInterfaceOrientation orientationHistory[4]; BOOL forcingStatusBarOrientation; BOOL isCurrentlyVisible; @@ -52,7 +52,7 @@ NSInteger activeAlertControllerCount; } -//Titanium Support +// Titanium Support - (CGRect)resizeView; - (void)repositionSubviews; - (UIView *)topWindowProxyView; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiRootViewController.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiRootViewController.m index d5a12cebe59..d08c3479a48 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiRootViewController.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiRootViewController.m @@ -92,7 +92,7 @@ - (void)dealloc RELEASE_TO_NIL(modalWindows); RELEASE_TO_NIL(hostView); - WARN_IF_BACKGROUND_THREAD; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD; // NSNotificationCenter is not threadsafe! NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc removeObserver:self]; [super dealloc]; @@ -159,16 +159,16 @@ - (UIStatusBarStyle)styleFromString:(NSString *)theString - (void)processInfoPlist { - //read the default orientations + // read the default orientations [self getDefaultOrientations]; - //read the default value of UIStatusBarHidden + // read the default value of UIStatusBarHidden id statHidden = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIStatusBarHidden"]; statusBarInitiallyHidden = [TiUtils boolValue:statHidden]; - //read the value of UIViewControllerBasedStatusBarAppearance + // read the value of UIViewControllerBasedStatusBarAppearance id vcbasedStatHidden = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIViewControllerBasedStatusBarAppearance"]; viewControllerControlsStatusBar = [TiUtils boolValue:vcbasedStatHidden def:YES]; - //read the value of statusBarStyle + // read the value of statusBarStyle id statusStyle = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIStatusBarStyle"]; defaultStatusBarStyle = [self styleFromString:statusStyle]; } @@ -206,7 +206,7 @@ - (void)remoteControlReceivedWithEvent:(UIEvent *)event } #pragma mark - TiRootControllerProtocol -//Background Control +// Background Control - (void)updateBackground { UIView *ourView = [self view]; @@ -394,11 +394,11 @@ - (void)rotateDefaultImageViewToOrientation:(UIInterfaceOrientation)newOrientati UIUserInterfaceIdiom imageIdiom; UIUserInterfaceIdiom deviceIdiom = [[UIDevice currentDevice] userInterfaceIdiom]; /* - * This code could stand for some refinement, but it is rarely called during - * an application's lifetime and is meant to recreate the quirks and edge cases - * that iOS uses during application startup, including Apple's own - * inconsistencies between iPad and iPhone. - */ + * This code could stand for some refinement, but it is rarely called during + * an application's lifetime and is meant to recreate the quirks and edge cases + * that iOS uses during application startup, including Apple's own + * inconsistencies between iPad and iPhone. + */ UIImage *defaultImage = [self defaultImageForOrientation: (UIDeviceOrientation)newOrientation @@ -531,14 +531,14 @@ - (void)extractKeyboardInfo:(NSDictionary *)userInfo - (UIView *)keyboardAccessoryViewForProxy:(TiViewProxy *)visibleProxy withView:(UIView **)proxyView { - //If the toolbar actually contains the view, then we have to give that precidence. + // If the toolbar actually contains the view, then we have to give that precidence. if ([visibleProxy viewInitialized]) { UIView *ourView = [visibleProxy view]; *proxyView = ourView; while (ourView != nil) { if ((ourView == enteringAccessoryView) || (ourView == accessoryView) || (ourView == leavingAccessoryView)) { - //We found a match! + // We found a match! *proxyView = nil; return ourView; } @@ -556,13 +556,13 @@ - (void)handleNewKeyboardStatus UIView *ourView = [self viewForKeyboardAccessory]; CGRect endingFrame = [ourView convertRect:endFrame fromView:nil]; - //Sanity check. Look at our focused proxy, and see if we mismarked it as leaving. - TiUIView *scrolledView; //We check at the update anyways. + // Sanity check. Look at our focused proxy, and see if we mismarked it as leaving. + TiUIView *scrolledView; // We check at the update anyways. UIView *focusedToolbar = [self keyboardAccessoryViewForProxy:keyboardFocusedProxy withView:&scrolledView]; CGRect focusedToolbarBounds; - //special case for undocked split keyboard + // special case for undocked split keyboard if (CGRectEqualToRect(CGRectZero, endingFrame)) { focusedToolbarBounds = CGRectMake(0, 0, targetedFrame.size.width, [keyboardFocusedProxy keyboardAccessoryHeight]); } else { @@ -572,7 +572,7 @@ - (void)handleNewKeyboardStatus CGFloat keyboardHeight = endingFrame.origin.y; - if ((scrolledView != nil) && (keyboardHeight > 0)) //If this isn't IN the toolbar, then we update the scrollviews to compensate. + if ((scrolledView != nil) && (keyboardHeight > 0)) // If this isn't IN the toolbar, then we update the scrollviews to compensate. { UIView *possibleScrollView = [scrolledView superview]; UIView *confirmedScrollView = nil; @@ -605,13 +605,13 @@ - (void)didKeyboardFocusOnProxy:(TiViewProxy *)visibleP keyboardFocusedProxy = [visibleProxy retain]; - TiUIView *unused; //We check at the update anyways. + TiUIView *unused; // We check at the update anyways. UIView *newView = [self keyboardAccessoryViewForProxy:visibleProxy withView:&unused]; if ((newView == enteringAccessoryView) || (newView == accessoryView)) { - //We're already up or soon will be. - //Note that this is valid where newView can be accessoryView despite a new visibleProxy. - //Specifically, if one proxy's view is a subview of another's toolbar. + // We're already up or soon will be. + // Note that this is valid where newView can be accessoryView despite a new visibleProxy. + // Specifically, if one proxy's view is a subview of another's toolbar. } else { if (enteringAccessoryView != nil) { DebugLog(@"[WARN] Moving in view %@, despite %@ already in line to move in.", newView, enteringAccessoryView); @@ -619,7 +619,7 @@ - (void)didKeyboardFocusOnProxy:(TiViewProxy *)visibleP } if (newView == leavingAccessoryView) { - //Hold on, you're not leaving YET! We don't need to release you since we're going to retain right afterwards. + // Hold on, you're not leaving YET! We don't need to release you since we're going to retain right afterwards. enteringAccessoryView = newView; leavingAccessoryView = nil; } else { @@ -641,7 +641,7 @@ - (void)didKeyboardBlurOnProxy:(TiViewProxy *)blurredPr return; } - TiUIView *scrolledView; //We check at the update anyways. + TiUIView *scrolledView; // We check at the update anyways. UIView *doomedView = [self keyboardAccessoryViewForProxy:blurredProxy withView:&scrolledView]; if (doomedView != accessoryView) { @@ -650,7 +650,7 @@ - (void)didKeyboardBlurOnProxy:(TiViewProxy *)blurredPr } if ((doomedView == nil) || (leavingAccessoryView == doomedView)) { - //Nothing to worry about. No toolbar or it's on its way out. + // Nothing to worry about. No toolbar or it's on its way out. return; } @@ -696,7 +696,7 @@ - (void)shutdownUi:(id)arg if (![TiSharedConfig defaultConfig].debugEnabled) { return; } - //FIRST DISMISS ALL MODAL WINDOWS + // FIRST DISMISS ALL MODAL WINDOWS UIViewController *topVC = [self topPresentedController]; if (topVC != self) { UIViewController *presenter = [topVC presentingViewController]; @@ -706,7 +706,7 @@ - (void)shutdownUi:(id)arg }]; return; } - //At this point all modal stuff is done. Go ahead and clean up proxies. + // At this point all modal stuff is done. Go ahead and clean up proxies. NSArray *modalCopy = [modalWindows copy]; NSArray *windowCopy = [containedWindows copy]; @@ -860,7 +860,7 @@ - (void)hideControllerModal:(UIViewController *)theController animated:(BOOL)ani [(id)theProxy gainFocus]; } } else { - //This code block will only execute when errorController is presented on top of an alert + // This code block will only execute when errorController is presented on top of an alert if ([presenter isKindOfClass:[UIAlertController class]] && (((UIAlertController *)presenter).preferredStyle == UIAlertControllerStyleAlert)) { UIViewController *alertPresenter = [presenter presentingViewController]; [alertPresenter dismissViewControllerAnimated:NO @@ -974,8 +974,8 @@ - (CGRect)resizeView - (void)repositionSubviews { - //Since the window relayout is now driven from viewDidLayoutSubviews - //this is not required. Leaving it in place in case someone is using it now. + // Since the window relayout is now driven from viewDidLayoutSubviews + // this is not required. Leaving it in place in case someone is using it now. /* for (id thisWindow in [containedWindows reverseObjectEnumerator]) { [TiLayoutQueue layoutProxy:(TiViewProxy*)thisWindow]; @@ -994,7 +994,7 @@ - (UIInterfaceOrientation)lastValidOrientation:(TiOrientationFlags)orientationFl } } - //This line should never happen, but just in case... + // This line should never happen, but just in case... return UIInterfaceOrientationPortrait; } @@ -1014,7 +1014,7 @@ - (void)adjustFrameForUpSideDownOrientation:(NSNotification *)notification CGRect mainScreenBounds = [[UIScreen mainScreen] bounds]; CGRect viewBounds = [[self view] bounds]; - //Need to do this to force navigation bar to draw correctly on iOS7 + // Need to do this to force navigation bar to draw correctly on iOS7 [[NSNotificationCenter defaultCenter] postNotificationName:kTiFrameAdjustNotification object:nil]; if (statusBarFrame.size.height > 20) { if (viewBounds.size.height != (mainScreenBounds.size.height - statusBarFrame.size.height)) { @@ -1066,7 +1066,7 @@ - (void)viewDidLayoutSubviews [self adjustFrameForUpSideDownOrientation:nil]; } -//IOS5 support. Begin Section. Drop in 3.2 +// IOS5 support. Begin Section. Drop in 3.2 - (BOOL)automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers { return YES; @@ -1076,9 +1076,9 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfa { return [self shouldRotateToInterfaceOrientation:toInterfaceOrientation checkModal:YES]; } -//IOS5 support. End Section +// IOS5 support. End Section -//IOS6 new stuff. +// IOS6 new stuff. - (BOOL)shouldAutomaticallyForwardRotationMethods { @@ -1129,18 +1129,18 @@ - (NSUInteger)supportedOrientationsForAppDelegate; return [self supportedInterfaceOrientations]; } - //Since this is used just for intersection, ok to return UIInterfaceOrientationMaskAll - return 30; //UIInterfaceOrientationMaskAll + // Since this is used just for intersection, ok to return UIInterfaceOrientationMaskAll + return 30; // UIInterfaceOrientationMaskAll } - (UIInterfaceOrientationMask)supportedInterfaceOrientations { - //IOS6. If forcing status bar orientation, this must return 0. + // IOS6. If forcing status bar orientation, this must return 0. if (forcingStatusBarOrientation) { return 0; } - //IOS6. If we are presenting a modal view controller, get the supported - //orientations from the modal view controller + // IOS6. If we are presenting a modal view controller, get the supported + // orientations from the modal view controller UIViewController *topmostController = [self topPresentedControllerCheckingPopover:YES]; if (topmostController != self) { NSUInteger retVal = [topmostController supportedInterfaceOrientations]; @@ -1189,7 +1189,7 @@ - (void)refreshOrientationWithDuration:(id)unused } UIInterfaceOrientation target = [self lastValidOrientation:[self getFlags:NO]]; - //Device Orientation takes precedence. + // Device Orientation takes precedence. if (target != deviceOrientation) { if ([self shouldRotateToInterfaceOrientation:deviceOrientation checkModal:NO]) { target = deviceOrientation; @@ -1216,12 +1216,12 @@ - (void)refreshOrientationWithDuration:(id)unused - (void)updateOrientationHistory:(UIInterfaceOrientation)newOrientation { /* - * And now, to push the orientation onto the history stack. This could be - * expressed as a for loop, but the loop is so small that it might as well - * be unrolled. The end result of this push is that only other orientations - * are copied back, ensuring the newOrientation will be unique when it's - * placed at the top of the stack. - */ + * And now, to push the orientation onto the history stack. This could be + * expressed as a for loop, but the loop is so small that it might as well + * be unrolled. The end result of this push is that only other orientations + * are copied back, ensuring the newOrientation will be unique when it's + * placed at the top of the stack. + */ int i = 0; for (int j = 0; j < 4; j++) { if (orientationHistory[j] == newOrientation) { @@ -1325,10 +1325,10 @@ - (void)rotateHostingViewToOrientation:(UIInterfaceOrientation)newOrientation fr } break; } - //Blur out keyboard + // Blur out keyboard [keyboardFocusedProxy blur:nil]; - //Rotate statusbar + // Rotate statusbar /* We will not rotae the status bar here but will temporarily force hide it. That way we will get correct size in viewWillTransitionToSize and re-enable visibility there. If we force the status @@ -1377,12 +1377,12 @@ - (void)childOrientationControllerChangedFlags:(id)orie - (void)setParentOrientationController:(id)newParent { - //Blank method since we never have a parent. + // Blank method since we never have a parent. } - (id)parentOrientationController { - //Blank method since we never have a parent. + // Blank method since we never have a parent. return nil; } @@ -1426,7 +1426,7 @@ - (void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection; [super traitCollectionDidChange:previousTraitCollection]; } -//Containing controller will call these callbacks(appearance/rotation) on contained windows when it receives them. +// Containing controller will call these callbacks(appearance/rotation) on contained windows when it receives them. - (void)viewWillAppear:(BOOL)animated { for (id thisWindow in containedWindows) { diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m index ca672ef7725..a51f005a193 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m @@ -62,11 +62,11 @@ - (id)stylesheet:(NSString *)objectId density:(NSString *)density basename:(NSSt #endif /* - CSS selector priority order (lowest to highest) is - - Tag selectors - - Classes - - ID selectors - */ + CSS selector priority order (lowest to highest) is + - Tag selectors + - Classes + - ID selectors + */ NSMutableDictionary *result = [NSMutableDictionary dictionary]; if (tags != nil) { diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiThreading.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiThreading.h index e3a475d81b6..8cedbba3102 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiThreading.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiThreading.h @@ -20,10 +20,10 @@ #define ENSURE_UI_THREAD_0_ARGS ENSURE_UI_THREAD_1_ARG(nil) -//TODO: Is there any time where @selector(x:) is not _sel (IE, the called method for 1 arg? -//Similarly, if we already have x:withObject: as a selector in _sel, could we -//We may want phase out asking the method explicitly when the compiler can do it for us -//For now, leaving it unchanged and using _X_ARG(S) to denote no method name used. +// TODO: Is there any time where @selector(x:) is not _sel (IE, the called method for 1 arg? +// Similarly, if we already have x:withObject: as a selector in _sel, could we +// We may want phase out asking the method explicitly when the compiler can do it for us +// For now, leaving it unchanged and using _X_ARG(S) to denote no method name used. #define ENSURE_UI_THREAD(x, y) \ if (![NSThread isMainThread]) { \ @@ -41,7 +41,7 @@ return; \ } -//TODO: Now that we have TiThreadPerform, we should optimize this out. +// TODO: Now that we have TiThreadPerform, we should optimize this out. #define ENSURE_UI_THREAD_WITH_OBJ(x, y, z) \ if (![NSThread isMainThread]) { \ id o = [NSArray arrayWithObjects:@"" #x, NULL_IF_NIL(y), NULL_IF_NIL(z), nil]; \ @@ -100,4 +100,4 @@ { \ } -#endif //VERBOSE +#endif // VERBOSE diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.h index c8cb1ec0bc7..790f10259bf 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.h @@ -11,7 +11,7 @@ #ifdef TI_USE_AUTOLAYOUT #import "TiLayoutView.h" #endif -//By declaring a scrollView protocol, TiUITextWidget can access +// By declaring a scrollView protocol, TiUITextWidget can access @class TiUIView; /** @@ -88,7 +88,7 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll UISwipeGestureRecognizer *downSwipeRecognizer; UILongPressGestureRecognizer *longPressRecognizer; - //Resizing handling + // Resizing handling CGSize oldSize; // Image capping/backgrounds @@ -105,13 +105,13 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll - (BOOL)animating; /** - Provides access to a proxy object of the view. + Provides access to a proxy object of the view. */ @property (nonatomic, readwrite, assign) TiProxy *proxy; /** Provides access to touch delegate of the view. - + Touch delegate is the control that receives all touch events. */ @property (nonatomic, readwrite, assign) UIView *touchDelegate; @@ -242,7 +242,7 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll /** Returns default enablement for interactions. - + Subclasses may override. @return _YES_ if the control has interactions enabled by default, _NO_ otherwise. */ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m index 262329471d2..156072af13f 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m @@ -22,15 +22,15 @@ void InsetScrollViewForKeyboard(UIScrollView *scrollView, CGFloat keyboardTop, C VerboseLog(@"ScrollView:%@, keyboardTop:%f minimumContentHeight:%f", scrollView, keyboardTop, minimumContentHeight); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - //First, find out how much we have to compensate. + // First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. CGFloat unimportantArea = MAX(scrollVisibleRect.size.height - minimumContentHeight, 0); - //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. CGFloat bottomInset = MAX(0, obscuredHeight - unimportantArea); [scrollView setContentInset:UIEdgeInsetsMake(0, 0, bottomInset, 0)]; @@ -54,14 +54,14 @@ void OffsetScrollViewForRect(UIScrollView *scrollView, CGFloat keyboardTop, CGFl responderRect.origin.x, responderRect.origin.y, responderRect.size.width, responderRect.size.height); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - //First, find out how much we have to compensate. + // First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. - //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. VerboseLog(@"ScrollVisibleRect(%f,%f),%fx%f; obscuredHeight:%f;", scrollVisibleRect.origin.x, scrollVisibleRect.origin.y, scrollVisibleRect.size.width, scrollVisibleRect.size.height, @@ -69,7 +69,7 @@ void OffsetScrollViewForRect(UIScrollView *scrollView, CGFloat keyboardTop, CGFl scrollVisibleRect.size.height -= MAX(0, obscuredHeight); - //Okay, the scrollVisibleRect.size now represents the actually visible area. + // Okay, the scrollVisibleRect.size now represents the actually visible area. CGPoint offsetPoint = [scrollView contentOffset]; @@ -98,15 +98,15 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll responderRect.origin.x, responderRect.origin.y, responderRect.size.width, responderRect.size.height); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - //First, find out how much we have to compensate. + // First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. CGFloat unimportantArea = MAX(scrollVisibleRect.size.height - minimumContentHeight, 0); - //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. [scrollView setContentInset:UIEdgeInsetsMake(0, 0, MAX(0, obscuredHeight - unimportantArea), 0)]; @@ -116,7 +116,7 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll scrollVisibleRect.size.height -= MAX(0, obscuredHeight); - //Okay, the scrollVisibleRect.size now represents the actually visible area. + // Okay, the scrollVisibleRect.size now represents the actually visible area. CGPoint offsetPoint = [scrollView contentOffset]; @@ -449,7 +449,7 @@ - (void)checkBounds CGRect newBounds = [self bounds]; if (!CGSizeEqualToSize(oldSize, newBounds.size)) { oldSize = newBounds.size; - //TIMOB-11197, TC-1264 + // TIMOB-11197, TC-1264 if (!animating) { [CATransaction begin]; [CATransaction setValue:(id)kCFBooleanTrue forKey:kCATransactionDisableActions]; @@ -667,7 +667,7 @@ - (void)renderRepeatedBackground:(id)image UIGraphicsBeginImageContextWithOptions(self.bounds.size, NO, bgImage.scale); CGContextRef background = UIGraphicsGetCurrentContext(); if (background == nil) { - //TIMOB-11564. Either width or height of the bounds is zero + // TIMOB-11564. Either width or height of the bounds is zero UIGraphicsEndImageContext(); return; } @@ -903,7 +903,7 @@ - (void)setVisible_:(id)visible { BOOL oldVal = self.hidden; self.hidden = ![TiUtils boolValue:visible]; - //Redraw ourselves if changing from invisible to visible, to handle any changes made + // Redraw ourselves if changing from invisible to visible, to handle any changes made if (!self.hidden && oldVal) { TiViewProxy *viewProxy = (TiViewProxy *)[self proxy]; [viewProxy willEnqueue]; @@ -954,14 +954,14 @@ - (void)setBackgroundGradient_:(id)arg - (void)updateClipping { if (clipMode != 0) { - //Explicitly overridden + // Explicitly overridden self.clipsToBounds = (clipMode > 0); } else { if (_shadowLayer.shadowOpacity > 0) { - //If shadow is visible, disble clipping + // If shadow is visible, disble clipping self.clipsToBounds = NO; } else if (self.layer.borderWidth > 0 || self.layer.cornerRadius > 0 || [proxy valueForUndefinedKey:@"borderRadius"]) { - //If borderWidth > 0, or borderRadius > 0 enable clipping + // If borderWidth > 0, or borderRadius > 0 enable clipping self.clipsToBounds = YES; } else if ([[self proxy] isKindOfClass:[TiViewProxy class]]) { self.clipsToBounds = ([[((TiViewProxy *)self.proxy) children] count] > 0); @@ -1086,7 +1086,7 @@ - (void)setVerticalMotionEffect_:(id)motionEffect - (void)updateViewShadowPath { if (_shadowLayer.shadowOpacity > 0.0f) { - //to speedup things + // to speedup things UIBezierPath *bezierPath = [self bezierPathOfView]; if (_shadowLayer != self.layer) { _shadowLayer.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, self.bounds.size.width, self.bounds.size.height); @@ -1180,7 +1180,7 @@ - (void)propertyChanged:(NSString *)key oldValue:(id)oldValue newValue:(id)newVa DoProxyDelegateChangedValuesWithProxy(self, key, oldValue, newValue, proxy_); } -//Todo: Generalize. +// Todo: Generalize. - (void)setKrollValue:(id)value forKey:(NSString *)key withObject:(id)props { if (value == [NSNull null]) { @@ -1217,7 +1217,7 @@ - (void)transferProxy:(TiViewProxy *)newProxy deep:(BOOL)deep [newProxy setView:self]; [self setProxy:[newProxy retain]]; - //The important sequence first: + // The important sequence first: for (NSString *thisKey in keySequence) { id newValue = [newProxy valueForKey:thisKey]; id oldValue = [oldProxy valueForKey:thisKey]; @@ -1420,7 +1420,7 @@ - (void)recognizedTap:(UITapGestureRecognizer *)recognizer if ([recognizer numberOfTouchesRequired] == 2) { [proxy fireEvent:@"twofingertap" withObject:event]; } else if ([recognizer numberOfTapsRequired] == 2) { - //Because double-tap suppresses touchStart and double-click, we must do this: + // Because double-tap suppresses touchStart and double-click, we must do this: if ([proxy _hasListeners:@"touchstart"]) { [proxy fireEvent:@"touchstart" withObject:event propagate:YES]; } @@ -1516,11 +1516,11 @@ - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event // The touch never reaches the button, because the touchDelegate is as deep as the touch goes. /* - // delegate to our touch delegate if we're hit but it's not for us - if (hasTouchListeners==NO && touchDelegate!=nil) - { - return touchDelegate; - } + // delegate to our touch delegate if we're hit but it's not for us + if (hasTouchListeners==NO && touchDelegate!=nil) + { + return touchDelegate; + } */ return [super hitTest:point withEvent:event]; @@ -1737,7 +1737,7 @@ - (void)listenerRemoved:(NSString *)event count:(int)count } } -- (void)sanitycheckListeners //TODO: This can be optimized and unwound later. +- (void)sanitycheckListeners // TODO: This can be optimized and unwound later. { if (listenerArray == nil) { listenerArray = [[NSArray alloc] initWithObjects:@"singletap", diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUtils.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUtils.m index 65c120ed4fe..c3a9d09e5a7 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUtils.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUtils.m @@ -268,7 +268,7 @@ + (NSString *)UTCDateForDate:(NSDate *)data [dateFormatter setLocale:USLocale]; [USLocale release]; - //Example UTC full format: 2009-06-15T21:46:28.685+0000 + // Example UTC full format: 2009-06-15T21:46:28.685+0000 [dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ss'.'SSS+0000"]; return [dateFormatter stringFromDate:data]; } @@ -684,7 +684,7 @@ + (UIImage *)toImage:(id)object proxy:(TiProxy *)proxy size:(CGSize)imageSize NSURL *urlAttempt = [self toURL:object proxy:proxy]; UIImage *image = [[ImageLoader sharedLoader] loadImmediateImage:urlAttempt withSize:imageSize]; return image; - //Note: If url is a nonimmediate image, this returns nil. + // Note: If url is a nonimmediate image, this returns nil. } + (UIImage *)toImage:(id)object proxy:(TiProxy *)proxy @@ -702,7 +702,7 @@ + (UIImage *)toImage:(id)object proxy:(TiProxy *)proxy NSURL *urlAttempt = [self toURL:object proxy:proxy]; UIImage *image = [[ImageLoader sharedLoader] loadImmediateImage:urlAttempt]; return image; - //Note: If url is a nonimmediate image, this returns nil. + // Note: If url is a nonimmediate image, this returns nil. } + (UIImage *)adjustRotation:(UIImage *)image @@ -718,26 +718,26 @@ + (UIImage *)adjustRotation:(UIImage *)image UIImageOrientation orient = image.imageOrientation; switch (orient) { - case UIImageOrientationUp: //EXIF = 1 + case UIImageOrientationUp: // EXIF = 1 transform = CGAffineTransformIdentity; break; - case UIImageOrientationUpMirrored: //EXIF = 2 + case UIImageOrientationUpMirrored: // EXIF = 2 transform = CGAffineTransformMakeTranslation(imageSize.width, 0.0); transform = CGAffineTransformScale(transform, -1.0, 1.0); break; - case UIImageOrientationDown: //EXIF = 3 + case UIImageOrientationDown: // EXIF = 3 transform = CGAffineTransformMakeTranslation(imageSize.width, imageSize.height); transform = CGAffineTransformRotate(transform, M_PI); break; - case UIImageOrientationDownMirrored: //EXIF = 4 + case UIImageOrientationDownMirrored: // EXIF = 4 transform = CGAffineTransformMakeTranslation(0.0, imageSize.height); transform = CGAffineTransformScale(transform, 1.0, -1.0); break; - case UIImageOrientationLeftMirrored: //EXIF = 5 + case UIImageOrientationLeftMirrored: // EXIF = 5 boundHeight = bounds.size.height; bounds.size.height = bounds.size.width; bounds.size.width = boundHeight; @@ -746,7 +746,7 @@ + (UIImage *)adjustRotation:(UIImage *)image transform = CGAffineTransformRotate(transform, 3.0 * M_PI / 2.0); break; - case UIImageOrientationLeft: //EXIF = 6 + case UIImageOrientationLeft: // EXIF = 6 boundHeight = bounds.size.height; bounds.size.height = bounds.size.width; bounds.size.width = boundHeight; @@ -754,7 +754,7 @@ + (UIImage *)adjustRotation:(UIImage *)image transform = CGAffineTransformRotate(transform, 3.0 * M_PI / 2.0); break; - case UIImageOrientationRightMirrored: //EXIF = 7 + case UIImageOrientationRightMirrored: // EXIF = 7 boundHeight = bounds.size.height; bounds.size.height = bounds.size.width; bounds.size.width = boundHeight; @@ -762,7 +762,7 @@ + (UIImage *)adjustRotation:(UIImage *)image transform = CGAffineTransformRotate(transform, M_PI / 2.0); break; - case UIImageOrientationRight: //EXIF = 8 + case UIImageOrientationRight: // EXIF = 8 boundHeight = bounds.size.height; bounds.size.height = bounds.size.width; bounds.size.width = boundHeight; @@ -808,13 +808,13 @@ + (NSURL *)checkFor2XImage:(NSURL *)url path = [url path]; } - if ([[url scheme] isEqualToString:@"app"]) { //Technically, this will have an extra /, but iOS ignores this. + if ([[url scheme] isEqualToString:@"app"]) { // Technically, this will have an extra /, but iOS ignores this. path = [url resourceSpecifier]; } NSString *ext = [path pathExtension]; - if (![ext isEqualToString:@"png"] && ![ext isEqualToString:@"jpg"] && ![ext isEqualToString:@"jpeg"]) { //It's not an image. + if (![ext isEqualToString:@"png"] && ![ext isEqualToString:@"jpg"] && ![ext isEqualToString:@"jpeg"]) { // It's not an image. return url; } @@ -1447,7 +1447,7 @@ + (CGRect)screenRect return UIScreen.mainScreen.bounds; } -//TODO: rework these to be more accurate and multi-device +// TODO: rework these to be more accurate and multi-device + (CGRect)navBarRect { @@ -1694,7 +1694,7 @@ + (NSUInteger)extendedEdgesFromProp:(id)prop + (void)setVolume:(float)volume onObject:(id)theObject { - //Must be called on the main thread + // Must be called on the main thread if ([NSThread isMainThread]) { if ([theObject respondsToSelector:@selector(setVolume:)]) { [(id)theObject setVolume:volume]; @@ -1706,7 +1706,7 @@ + (void)setVolume:(float)volume onObject:(id)theObject + (float)volumeFromObject:(id)theObject default:(float)def { - //Must be called on the main thread + // Must be called on the main thread float returnValue = def; if ([NSThread isMainThread]) { if ([theObject respondsToSelector:@selector(volume)]) { @@ -1743,7 +1743,7 @@ + (CGRect)frameForController:(UIViewController *)theController CGRect mainScreen = UIScreen.mainScreen.bounds; CGRect rect = UIApplication.sharedApplication.keyWindow.frame; NSUInteger edges = [theController edgesForExtendedLayout]; - //Check if I cover status bar + // Check if I cover status bar if (((edges & UIRectEdgeTop) != 0)) { return mainScreen; } @@ -1761,7 +1761,7 @@ + (void)applyColor:(TiColor *)color toNavigationController:(UINavigationControll [navBar setTranslucent:isTranslucent]; [navBar setBarTintColor:barColor]; - //This should not be here but in setToolBar. But keeping in place. Clean in 3.2.0 + // This should not be here but in setToolBar. But keeping in place. Clean in 3.2.0 UIToolbar *toolBar = [navController toolbar]; [toolBar setBarStyle:barStyle]; [toolBar setTranslucent:isTranslucent]; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewController.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewController.m index ded1b3763aa..d637c683298 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewController.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewController.m @@ -70,7 +70,7 @@ - (void)viewDidLayoutSubviews [super viewDidLayoutSubviews]; } -//IOS5 support. Begin Section. Drop in 3.2 +// IOS5 support. Begin Section. Drop in 3.2 - (BOOL)automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers { return YES; @@ -80,9 +80,9 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfa { return TI_ORIENTATION_ALLOWED(_supportedOrientations, toInterfaceOrientation) ? YES : NO; } -//IOS5 support. End Section +// IOS5 support. End Section -//IOS6 new stuff. +// IOS6 new stuff. - (BOOL)shouldAutomaticallyForwardRotationMethods { return YES; @@ -101,7 +101,7 @@ - (BOOL)shouldAutorotate - (UIInterfaceOrientationMask)supportedInterfaceOrientations { /* - If we are in a navigation controller, let us match so it doesn't get freaked + If we are in a navigation controller, let us match so it doesn't get freaked out in when pushing/popping. We are going to force orientation anyways. */ /* @@ -110,7 +110,7 @@ - (UIInterfaceOrientationMask)supportedInterfaceOrientations if ([self navigationController] != nil && [[self navigationController] topViewController] != self) { return [[[self navigationController] topViewController] supportedInterfaceOrientations]; } - //This would be for modal. + // This would be for modal. return (UIInterfaceOrientationMask)_supportedOrientations; } @@ -126,8 +126,8 @@ - (void)loadView } [self updateOrientations]; [self setHidesBottomBarWhenPushed:[TiUtils boolValue:[_proxy valueForUndefinedKey:@"tabBarHidden"] def:NO]]; - //Always wrap proxy view with a wrapperView. - //This way proxy always has correct sandbox when laying out + // Always wrap proxy view with a wrapperView. + // This way proxy always has correct sandbox when laying out [_proxy parentWillShow]; UIView *wrapperView = [[UIView alloc] initWithFrame:UIApplication.sharedApplication.keyWindow.frame]; wrapperView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.h index 4cf31dd15ab..f385ddefb66 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.h @@ -71,7 +71,7 @@ #pragma mark dirtyflags used by TiViewProxy #define NEEDS_LAYOUT_CHILDREN 1 -//Set this flag to true to disable instant updates +// Set this flag to true to disable instant updates static const BOOL ENFORCE_BATCH_UPDATE = NO; enum { @@ -84,7 +84,7 @@ enum { }; @class TiAction, TiBlob; -//For TableRows, we need to have minimumParentHeightForWidth: +// For TableRows, we need to have minimumParentHeightForWidth: /** The class represents a proxy that is attached to a view. @@ -92,8 +92,8 @@ enum { */ @interface TiViewProxy : TiProxy { @protected - //TODO: Actually have a rhyme and reason on keeping things @protected vs @private. - //For now, for sake of proper value grouping, we're all under one roof. + // TODO: Actually have a rhyme and reason on keeping things @protected vs @private. + // For now, for sake of proper value grouping, we're all under one roof. #ifndef TI_USE_AUTOLAYOUT #pragma mark Layout properties @@ -116,19 +116,19 @@ enum { #pragma mark Layout caches that can be recomputed CGFloat verticalLayoutBoundary; CGFloat horizontalLayoutBoundary; - CGFloat horizontalLayoutRowHeight; //Note, this has nothing to do with table views. + CGFloat horizontalLayoutRowHeight; // Note, this has nothing to do with table views. int lastChildArranged; CGRect sandboxBounds; - CGPoint positionCache; //Recomputed and stored when position changes. - CGRect sizeCache; //Recomputed and stored when size changes. - UIViewAutoresizing autoresizeCache; //Changed by repositioning or resizing. + CGPoint positionCache; // Recomputed and stored when position changes. + CGRect sizeCache; // Recomputed and stored when size changes. + UIViewAutoresizing autoresizeCache; // Changed by repositioning or resizing. BOOL parentVisible; - //In most cases, this is the same as [parent parentVisible] && ![parent hidden] - //However, in the case of windows attached to the root view, the parent is ALWAYS visible. - //That is, will be true if and only if all parents are visible or are the root controller. - //Use parentWillShow and parentWillHide to set this. + // In most cases, this is the same as [parent parentVisible] && ![parent hidden] + // However, in the case of windows attached to the root view, the parent is ALWAYS visible. + // That is, will be true if and only if all parents are visible or are the root controller. + // Use parentWillShow and parentWillHide to set this. #pragma mark Housecleaning that is set and used NSRecursiveLock *destroyLock; @@ -136,11 +136,11 @@ enum { BOOL windowOpened; BOOL windowOpening; - int dirtyflags; //For atomic actions, best to be explicit about the 32 bitness. + int dirtyflags; // For atomic actions, best to be explicit about the 32 bitness. BOOL viewInitialized; BOOL repositioning; BOOL isUsingBarButtonItem; - //This flag is set to true on beginning of _initWithProperties() call and false near the end of the method + // This flag is set to true on beginning of _initWithProperties() call and false near the end of the method BOOL updateStarted; BOOL allowLayoutUpdate; @@ -254,7 +254,7 @@ enum { @see children */ @property (nonatomic, assign) TiViewProxy *parent; -//TODO: make this a proper readwrite property declaration. +// TODO: make this a proper readwrite property declaration. #ifndef TI_USE_AUTOLAYOUT /** @@ -267,22 +267,22 @@ enum { Provides access to sandbox bounds of the underlying view. */ @property (nonatomic, readwrite, assign) CGRect sandboxBounds; -//This is unaffected by parentVisible. So if something is truely visible, it'd be [self visible] && parentVisible. +// This is unaffected by parentVisible. So if something is truely visible, it'd be [self visible] && parentVisible. - (void)setHidden:(BOOL)newHidden withArgs:(id)args; @property (nonatomic, retain) UIBarButtonItem *barButtonItem; - (TiUIView *)barButtonViewForSize:(CGSize)bounds; -//NOTE: DO NOT SET VIEW UNLESS IN A TABLE VIEW, AND EVEN THEN. +// NOTE: DO NOT SET VIEW UNLESS IN A TABLE VIEW, AND EVEN THEN. @property (nonatomic, readwrite, retain) TiUIView *view; @property (nonatomic, readwrite, assign) id eventOverrideDelegate; /** Returns language conversion table. - + Subclasses may override. - @return The dictionary + @return The dictionary */ - (NSMutableDictionary *)langConversionTable; @@ -298,7 +298,7 @@ enum { /** Whether or not the view proxy needs to suppress relayout. - + Subclasses may override. @return _YES_ if relayout should be suppressed, _NO_ otherwise. */ @@ -306,7 +306,7 @@ enum { /** Whether or not the view proxy supports navigation bar positioning. - + Subclasses may override. @return _YES_ if navigation bar positioning is supported, _NO_ otherwise. */ @@ -314,7 +314,7 @@ enum { /** Whether or not the view proxy can have a UIController object in its parent view. - + Subclasses may override. @return _YES_ if the view proxy can have a UIController object in its parent view */ @@ -322,7 +322,7 @@ enum { /** Whether or not the view proxy should detach its view on unload. - + Subclasses may override. @return _YES_ if the view should be detached, _NO_ otherwise. */ @@ -330,7 +330,7 @@ enum { /** Returns parent view for child proxy. - + The method is used in cases when proxies hierarchy is different from views hierarchy. Subclasses may override. @param child The child view proxy for which return the parent view. @@ -401,7 +401,7 @@ enum { - (void)viewDidDetach; #pragma mark Housecleaning state accessors -//TODO: Sounds like the redundancy department of redundancy was here. +// TODO: Sounds like the redundancy department of redundancy was here. /** Whether or not a view is attached to the view proxy. @return _YES_ if the view proxy has a view attached to it, _NO_ otherwise. @@ -438,7 +438,7 @@ enum { */ - (BOOL)isUsingBarButtonItem; -- (CGRect)appFrame; //TODO: Why is this here? It doesn't have anything to do with a specific instance. +- (CGRect)appFrame; // TODO: Why is this here? It doesn't have anything to do with a specific instance. #pragma mark Building up and tearing down - (void)firePropertyChanges; @@ -553,8 +553,8 @@ enum { */ - (void)willEnqueue; -//Unlike the other layout actions, this one is done by the parent of the one called by refreshView. -//This is the effect of refreshing the Z index via careful view placement. +// Unlike the other layout actions, this one is done by the parent of the one called by refreshView. +// This is the effect of refreshing the Z index via careful view placement. - (void)insertSubview:(UIView *)childView forProxy:(TiViewProxy *)childProxy; #pragma mark Layout commands that need refactoring out @@ -581,7 +581,7 @@ enum { */ - (void)relayout; -- (void)reposition; //Todo: Replace +- (void)reposition; // Todo: Replace /** Tells if the view is enqueued in the LayoutQueue */ @@ -597,7 +597,7 @@ enum { Tells the view that its child view size will change. @param child The child view */ -- (void)childWillResize:(TiViewProxy *)child; //Todo: Replace +- (void)childWillResize:(TiViewProxy *)child; // Todo: Replace - (void)unarchiveFromTemplate:(id)viewTemplate; + (TiViewProxy *)unarchiveFromTemplate:(id)viewTemplate inContext:(id)context; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m index fc9f5b8b93b..02edbcee6d3 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m @@ -422,9 +422,9 @@ - (void)animate:(id)arg } - (void)setAnimation:(id)arg -{ //We don't actually store the animation this way. - //Because the setter doesn't have the argument array, we will be passing a nonarray to animate: - //In this RARE case, this is okay, because TiAnimation animationFromArg handles with or without array. +{ // We don't actually store the animation this way. + // Because the setter doesn't have the argument array, we will be passing a nonarray to animate: + // In this RARE case, this is okay, because TiAnimation animationFromArg handles with or without array. [self animate:arg]; } @@ -485,7 +485,7 @@ -(void)methodName : (id)value \ LAYOUTPROPERTIES_SETTER(setHeight, height, TiDimensionFromObject, [self willChangeSize]) // See below for how we handle setLayout -//LAYOUTPROPERTIES_SETTER(setLayout,layoutStyle,TiLayoutRuleFromObject,[self willChangeLayout]) +// LAYOUTPROPERTIES_SETTER(setLayout,layoutStyle,TiLayoutRuleFromObject,[self willChangeLayout]) LAYOUTPROPERTIES_SETTER(setMinWidth, minimumWidth, TiFixedValueRuleFromObject, [self willChangeSize]) LAYOUTPROPERTIES_SETTER(setMinHeight, minimumHeight, TiFixedValueRuleFromObject, [self willChangeSize]) @@ -496,7 +496,7 @@ -(void)methodName : (id)value \ - (void)setValue:(id)value forUndefinedKey:(NSString *)key { if ([key isEqualToString:[@"lay" stringByAppendingString:@"out"]]) { - //CAN NOT USE THE MACRO + // CAN NOT USE THE MACRO if (ENFORCE_BATCH_UPDATE) { if (updateStarted) { [self setTempProperty:value forKey:key]; @@ -659,8 +659,8 @@ - (id)animatedCenter } }, YES); - //TODO: Should this be a TiPoint? If so, the accessor fetcher might try to - //hold onto the point, which is undesired. + // TODO: Should this be a TiPoint? If so, the accessor fetcher might try to + // hold onto the point, which is undesired. return [NSDictionary dictionaryWithObjectsAndKeys:NUMFLOAT(result.x), @"x", NUMFLOAT(result.y), @"y", nil]; } @@ -802,7 +802,7 @@ - (void)setHidden:(BOOL)newHidden withArgs:(id)args } hidden = newHidden; - //TODO: If we have an animated show, hide, or setVisible, here's the spot for it. + // TODO: If we have an animated show, hide, or setVisible, here's the spot for it. if (parentVisible) { if (hidden) { @@ -817,7 +817,7 @@ - (void)setHidden:(BOOL)newHidden withArgs:(id)args - (CGFloat)autoWidthForSize:(CGSize)size { CGFloat suggestedWidth = size.width; - //This is the content width, which is implemented by widgets + // This is the content width, which is implemented by widgets CGFloat contentWidth = -1.0; if ([self respondsToSelector:@selector(contentWidthForWidth:)]) { contentWidth = [self contentWidthForWidth:suggestedWidth]; @@ -866,7 +866,7 @@ - (CGFloat)autoWidthForSize:(CGSize)size - (CGFloat)autoHeightForSize:(CGSize)size { CGFloat width = size.width; - //This is the content width, which is implemented by widgets + // This is the content width, which is implemented by widgets CGFloat contentHeight = -1.0; if ([self respondsToSelector:@selector(contentHeightForWidth:)]) { contentHeight = [self contentHeightForWidth:width]; @@ -900,7 +900,7 @@ - (CGFloat)autoHeightForSize:(CGSize)size result = thisHeight; } } - //result += currentRowHeight; + // result += currentRowHeight; if (result < contentHeight) { result = contentHeight; @@ -962,7 +962,7 @@ - (CGFloat)minimumParentHeightForSize:(CGSize)size BOOL followsFillBehavior = TiDimensionIsAutoFill([self defaultAutoHeightBehavior:nil]); BOOL recheckForFill = NO; - //Ensure that autoHeightForSize is called with the lowest limiting bound + // Ensure that autoHeightForSize is called with the lowest limiting bound CGFloat desiredWidth = MIN([self minimumParentWidthForSize:size], size.width); CGFloat offset = TiDimensionCalculateValue(layoutProperties.left, size.width) @@ -1012,7 +1012,7 @@ - (TiUIView *)barButtonViewForSize:(CGSize)bounds { TiUIView *barButtonView = [self view]; #ifndef TI_USE_AUTOLAYOUT - //TODO: This logic should have a good place in case that refreshLayout is used. + // TODO: This logic should have a good place in case that refreshLayout is used. LayoutConstraint barButtonLayout = layoutProperties; if (TiDimensionIsUndefined(barButtonLayout.width)) { barButtonLayout.width = TiDimensionAutoSize; @@ -1035,7 +1035,7 @@ - (TiUIView *)barButtonViewForSize:(CGSize)bounds [TiUtils setView:barButtonView positionRect:barBounds]; [barButtonView setAutoresizingMask:UIViewAutoresizingNone]; - //Ensure all the child views are laid out as well + // Ensure all the child views are laid out as well [self windowWillOpen]; [self setParentVisible:YES]; [self layoutChildren:NO]; @@ -1098,7 +1098,7 @@ - (TiUIView *)view #ifndef TI_USE_AUTOLAYOUT // If parent has a non absolute layout signal the parent that - //contents will change else just lay ourselves out + // contents will change else just lay ourselves out if (parent != nil && (!TiLayoutRuleIsAbsolute([parent layoutProperties]->layoutStyle))) { [parent contentsWillChange]; } else { @@ -1119,7 +1119,7 @@ - (TiUIView *)view return view; } -//CAUTION: TO BE USED ONLY WITH TABLEVIEW MAGIC +// CAUTION: TO BE USED ONLY WITH TABLEVIEW MAGIC - (void)setView:(TiUIView *)newView { if (view != newView) { @@ -1145,7 +1145,7 @@ - (NSMutableDictionary *)langConversionTable #pragma mark Methods subclasses should override for behavior changes - (BOOL)optimizeSubviewInsertion { - //Return YES for any view that implements a wrapperView that is a TiUIView (Button and ScrollView currently) and a basic view + // Return YES for any view that implements a wrapperView that is a TiUIView (Button and ScrollView currently) and a basic view return ([view isMemberOfClass:[TiUIView class]]); } @@ -1180,7 +1180,7 @@ - (UIView *)parentViewForChild:(TiViewProxy *)child - (void)windowWillOpen { - //TODO: This should be properly handled and moved, but for now, let's force it (Redundantly, I know.) + // TODO: This should be properly handled and moved, but for now, let's force it (Redundantly, I know.) if (parent != nil) { [self parentWillShow]; } @@ -1219,7 +1219,7 @@ - (void)windowWillOpen pthread_rwlock_unlock(&childrenLock); #ifndef TI_USE_AUTOLAYOUT - //TIMOB-17923 - Do a full layout pass (set proper sandbox) if non absolute layout + // TIMOB-17923 - Do a full layout pass (set proper sandbox) if non absolute layout if (!absoluteLayout) { [self layoutChildren:NO]; } @@ -1316,7 +1316,7 @@ - (BOOL)viewAttached return view != nil && windowOpened; } -//TODO: When swapping about proxies, views are uninitialized, aren't they? +// TODO: When swapping about proxies, views are uninitialized, aren't they? - (BOOL)viewInitialized { return viewInitialized && (view != nil); @@ -1360,7 +1360,7 @@ - (BOOL)isUsingBarButtonItem return isUsingBarButtonItem; } -- (CGRect)appFrame //TODO: Why is this here? It doesn't have anything to do with a specific instance. +- (CGRect)appFrame // TODO: Why is this here? It doesn't have anything to do with a specific instance. { CGRect result = [[[[TiApp app] controller] view] bounds]; return result; @@ -1490,7 +1490,7 @@ - (void)dealloc RELEASE_TO_NIL(destroyLock); pthread_rwlock_destroy(&childrenLock); - //Dealing with children is in _destroy, which is called by super dealloc. + // Dealing with children is in _destroy, which is called by super dealloc. RELEASE_TO_NIL(barButtonItem); [super dealloc]; } @@ -1571,9 +1571,9 @@ - (void)_destroy pthread_rwlock_unlock(&childrenLock); [super _destroy]; - //Part of super's _destroy is to release the modelDelegate, which in our case is ALSO the view. - //As such, we need to have the super happen before we release the view, so that we can insure that the - //release that triggers the dealloc happens on the main thread. + // Part of super's _destroy is to release the modelDelegate, which in our case is ALSO the view. + // As such, we need to have the super happen before we release the view, so that we can insure that the + // release that triggers the dealloc happens on the main thread. if (barButtonItem != nil) { if ([NSThread isMainThread]) { @@ -1604,7 +1604,7 @@ - (void)_destroy - (void)destroy { - //FIXME- me already have a _destroy, refactor this + // FIXME- me already have a _destroy, refactor this [self _destroy]; } @@ -1623,14 +1623,14 @@ - (void)didReceiveMemoryWarning:(NSNotification *)notification // view if it doesn't yet exist (thus defeating the purpose of // this method) - //NOTE: for now, we're going to have to turn this off until post - //1.4 where we can figure out why the drawing is screwed up since - //the views aren't reattaching. + // NOTE: for now, we're going to have to turn this off until post + // 1.4 where we can figure out why the drawing is screwed up since + // the views aren't reattaching. /* - if (view!=nil && [view retainCount]==1) - { - [self detachView]; - }*/ + if (view!=nil && [view retainCount]==1) + { + [self detachView]; + }*/ [super didReceiveMemoryWarning:notification]; } @@ -1638,7 +1638,7 @@ - (void)animationCompleted:(TiAnimation *)animation { [self forgetProxy:animation]; [[self view] animationCompleted]; - //Let us add ourselves to the queue to cleanup layout + // Let us add ourselves to the queue to cleanup layout OSAtomicTestAndClearBarrier(TiRefreshViewEnqueued, &dirtyflags); [self willEnqueue]; } @@ -1698,15 +1698,15 @@ - (BOOL)checkTouchEvent:(NSString *)event return [touchEventsArray containsObject:event]; } -//TODO: Remove once we've properly deprecated. +// TODO: Remove once we've properly deprecated. - (void)fireEvent:(NSString *)type withObject:(id)obj withSource:(id)source propagate:(BOOL)propagate reportSuccess:(BOOL)report errorCode:(int)code message:(NSString *)message; { // Note that some events (like movie 'complete') are fired after the view is removed/dealloc'd. // Because of the handling below, we can safely set the view to 'nil' in this case. TiUIView *proxyView = [self viewAttached] ? view : nil; - //TODO: We have to do view instead of [self view] because of a freaky race condition that can - //happen in the background (See bug 2809). This assumes that view == [self view], which may - //not always be the case in the future. Then again, we shouldn't be dealing with view in the BG... + // TODO: We have to do view instead of [self view] because of a freaky race condition that can + // happen in the background (See bug 2809). This assumes that view == [self view], which may + // not always be the case in the future. Then again, we shouldn't be dealing with view in the BG... // Have to handle the situation in which the proxy's view might be nil... like, for example, // with table rows. Automagically assume any nil view we're firing an event for is A-OK. @@ -1722,9 +1722,9 @@ - (void)fireEvent:(NSString *)type withObject:(id)obj propagate:(BOOL)propagate // Note that some events (like movie 'complete') are fired after the view is removed/dealloc'd. // Because of the handling below, we can safely set the view to 'nil' in this case. TiUIView *proxyView = [self viewAttached] ? view : nil; - //TODO: We have to do view instead of [self view] because of a freaky race condition that can - //happen in the background (See bug 2809). This assumes that view == [self view], which may - //not always be the case in the future. Then again, we shouldn't be dealing with view in the BG... + // TODO: We have to do view instead of [self view] because of a freaky race condition that can + // happen in the background (See bug 2809). This assumes that view == [self view], which may + // not always be the case in the future. Then again, we shouldn't be dealing with view in the BG... // Have to handle the situation in which the proxy's view might be nil... like, for example, // with table rows. Automagically assume any nil view we're firing an event for is A-OK. @@ -1760,7 +1760,7 @@ - (void)_listenerAdded:(NSString *)type count:(int)count } } - //TIMOB-15991 Update children as well + // TIMOB-15991 Update children as well NSArray *childrenArray = [[self children] retain]; for (id child in childrenArray) { if ([child respondsToSelector:@selector(parentListenersChanged)]) { @@ -1781,7 +1781,7 @@ - (void)_listenerRemoved:(NSString *)type count:(int)count } } - //TIMOB-15991 Update children as well + // TIMOB-15991 Update children as well NSArray *childrenArray = [[self children] retain]; for (id child in childrenArray) { if ([child respondsToSelector:@selector(parentListenersChanged)]) { @@ -1845,7 +1845,7 @@ - (void)willChangePosition #ifndef TI_USE_AUTOLAYOUT SET_AND_PERFORM(TiRefreshViewPosition, return ); - if (TiDimensionIsUndefined(layoutProperties.width) || TiDimensionIsUndefined(layoutProperties.height)) { //The only time size can be changed by the margins is if the margins define the size. + if (TiDimensionIsUndefined(layoutProperties.width) || TiDimensionIsUndefined(layoutProperties.height)) { // The only time size can be changed by the margins is if the margins define the size. [self willChangeSize]; } [self willEnqueueIfVisible]; @@ -1857,14 +1857,14 @@ - (void)willChangeZIndex { #ifndef TI_USE_AUTOLAYOUT SET_AND_PERFORM(TiRefreshViewZIndex, ); - //Nothing cascades from here. + // Nothing cascades from here. [self willEnqueueIfVisible]; #endif } - (void)willShow; { - if (dirtyflags) { //If we have any need for changes, let's enroll ourselves. + if (dirtyflags) { // If we have any need for changes, let's enroll ourselves. [self willEnqueue]; } @@ -2022,8 +2022,8 @@ - (void)contentsWillChange if (isAutoSize) { [self willChangeSize]; - } else if (!TiLayoutRuleIsAbsolute(layoutProperties.layoutStyle)) { //Since changing size already does this, we only need to check - //Layout if the changeSize didn't + } else if (!TiLayoutRuleIsAbsolute(layoutProperties.layoutStyle)) { // Since changing size already does this, we only need to check + // Layout if the changeSize didn't [self willChangeLayout]; } #endif @@ -2056,11 +2056,11 @@ - (void)parentWillRelay - (void)parentWillShow { VerboseLog(@"[INFO] Parent Will Show for %@", self); - if (parentVisible) { //Nothing to do here, we're already visible here. + if (parentVisible) { // Nothing to do here, we're already visible here. return; } parentVisible = YES; - if (!hidden) { //We should propagate this new status! Note this does not change the visible property. + if (!hidden) { // We should propagate this new status! Note this does not change the visible property. [self willShow]; } } @@ -2068,11 +2068,11 @@ - (void)parentWillShow - (void)parentWillHide { VerboseLog(@"[INFO] Parent Will Hide for %@", self); - if (!parentVisible) { //Nothing to do here, we're already visible here. + if (!parentVisible) { // Nothing to do here, we're already visible here. return; } parentVisible = NO; - if (!hidden) { //We should propagate this new status! Note this does not change the visible property. + if (!hidden) { // We should propagate this new status! Note this does not change the visible property. [self willHide]; } } @@ -2085,7 +2085,7 @@ - (void)determineSandboxBounds #ifndef TI_USE_AUTOLAYOUT UIView *ourSuperview = [[self view] superview]; if (ourSuperview == nil) { - //TODO: Should we even be relaying out? I guess so. + // TODO: Should we even be relaying out? I guess so. sandboxBounds = CGRectZero; } else { sandboxBounds = [ourSuperview bounds]; @@ -2113,12 +2113,12 @@ - (void)refreshView:(TiUIView *)transferView } BOOL changedFrame = NO; - //BUG BARRIER: Code in this block is legacy code that should be factored out. + // BUG BARRIER: Code in this block is legacy code that should be factored out. if (windowOpened && [self viewAttached]) { CGRect oldFrame = [[self view] frame]; BOOL relayout = ![self suppressesRelayout]; if (parent != nil && (!TiLayoutRuleIsAbsolute([parent layoutProperties]->layoutStyle))) { - //Do not mess up the sandbox in vertical/horizontal layouts + // Do not mess up the sandbox in vertical/horizontal layouts relayout = NO; } if (relayout) { @@ -2132,7 +2132,7 @@ - (void)refreshView:(TiUIView *)transferView } } - //END BUG BARRIER + // END BUG BARRIER if (OSAtomicTestAndClearBarrier(TiRefreshViewSize, &dirtyflags)) { [self refreshSize]; @@ -2153,18 +2153,18 @@ - (void)refreshView:(TiUIView *)transferView [transferView setCenter:positionCache]; } - //We should only recurse if we're a non-absolute layout. Otherwise, the views can take care of themselves. + // We should only recurse if we're a non-absolute layout. Otherwise, the views can take care of themselves. if (OSAtomicTestAndClearBarrier(TiRefreshViewChildrenPosition, &dirtyflags) && (transferView == nil)) - //If transferView is non-nil, this will be managed by the table row. + // If transferView is non-nil, this will be managed by the table row. { } if (transferView != nil) { - //TODO: Better handoff of view + // TODO: Better handoff of view [self setView:transferView]; } - //By now, we MUST have our view set to transferView. + // By now, we MUST have our view set to transferView. if (changedFrame || (transferView != nil)) { [view setAutoresizingMask:autoresizeCache]; } @@ -2366,7 +2366,7 @@ - (void)reposition VerboseLog(@"[INFO] Reposition is exiting early in %@.", self); return; } - if ([NSThread isMainThread]) { //NOTE: This will cause problems with ScrollableView, or is a new wrapper needed? + if ([NSThread isMainThread]) { // NOTE: This will cause problems with ScrollableView, or is a new wrapper needed? [self willChangeSize]; [self willChangePosition]; @@ -2393,7 +2393,7 @@ - (NSArray *)measureChildren:(NSArray *)childArray int i, count = (int)[childArray count]; int maxHeight = 0; - //First measure the sandbox bounds + // First measure the sandbox bounds for (id child in childArray) { TiRect *childRect = [[TiRect alloc] init]; CGRect childBounds = CGRectZero; @@ -2416,8 +2416,8 @@ - (NSArray *)measureChildren:(NSArray *)childArray [childRect release]; } - //If it is a horizontal layout ensure that all the children in a row have the - //same height for the sandbox + // If it is a horizontal layout ensure that all the children in a row have the + // same height for the sandbox if (horizontalNoWrap) { for (i = 0; i < count; i++) { [(TiRect *)[measuredBounds objectAtIndex:i] setHeight:[NSNumber numberWithInt:maxHeight]]; @@ -2428,13 +2428,13 @@ - (NSArray *)measureChildren:(NSArray *)childArray for (i = 0; i < count; i++) { CGRect childSandbox = (CGRect)[(TiRect *)[measuredBounds objectAtIndex:i] rect]; if (startIndex == -1) { - //FIRST ELEMENT + // FIRST ELEMENT startIndex = i; maxHeight = childSandbox.size.height; currentTop = childSandbox.origin.y; } else { if (childSandbox.origin.y != currentTop) { - //MOVED TO NEXT ROW + // MOVED TO NEXT ROW endIndex = i; for (int j = startIndex; j < endIndex; j++) { [(TiRect *)[measuredBounds objectAtIndex:j] setHeight:[NSNumber numberWithInt:maxHeight]]; @@ -2444,13 +2444,13 @@ - (NSArray *)measureChildren:(NSArray *)childArray maxHeight = childSandbox.size.height; currentTop = childSandbox.origin.y; } else if (childSandbox.size.height > maxHeight) { - //SAME ROW HEIGHT CHANGED + // SAME ROW HEIGHT CHANGED maxHeight = childSandbox.size.height; } } } if (endIndex == -1) { - //LAST ROW + // LAST ROW for (i = startIndex; i < count; i++) { [(TiRect *)[measuredBounds objectAtIndex:i] setHeight:[NSNumber numberWithInt:maxHeight]]; } @@ -2473,13 +2473,13 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds boundingValue = 0; } - //Ensure that autoHeightForSize is called with the lowest limiting bound + // Ensure that autoHeightForSize is called with the lowest limiting bound CGFloat desiredWidth = MIN([child minimumParentWidthForSize:bounds.size], bounds.size.width); - //TOP + BOTTOM + // TOP + BOTTOM CGFloat offsetV = TiDimensionCalculateValue([child layoutProperties]->top, bounds.size.height) + TiDimensionCalculateValue([child layoutProperties]->bottom, bounds.size.height); - //LEFT + RIGHT + // LEFT + RIGHT CGFloat offsetH = TiDimensionCalculateValue([child layoutProperties]->left, bounds.size.width) + TiDimensionCalculateValue([child layoutProperties]->right, bounds.size.width); @@ -2489,7 +2489,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds bounds.size.height = TiDimensionCalculateValue(constraint, bounds.size.height) + offsetV; verticalLayoutBoundary += bounds.size.height; } else if (TiDimensionIsAutoFill(constraint)) { - //Fill up the remaining + // Fill up the remaining bounds.size.height = boundingValue; verticalLayoutBoundary += bounds.size.height; } else if (TiDimensionIsAutoSize(constraint)) { @@ -2497,11 +2497,11 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds verticalLayoutBoundary += bounds.size.height; } else if (TiDimensionIsAuto(constraint)) { if (followsFillBehavior) { - //FILL behavior + // FILL behavior bounds.size.height = boundingValue + offsetV; verticalLayoutBoundary += bounds.size.height; } else { - //SIZE behavior + // SIZE behavior bounds.size.height = [child autoHeightForSize:CGSizeMake(desiredWidth - offsetH, boundingValue)] + offsetV; verticalLayoutBoundary += bounds.size.height; } @@ -2518,11 +2518,11 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds bounds.size.height = height + offsetV; verticalLayoutBoundary += bounds.size.height; } else if (followsFillBehavior) { - //FILL behavior + // FILL behavior bounds.size.height = boundingValue + offsetV; verticalLayoutBoundary += bounds.size.height; } else { - //SIZE behavior + // SIZE behavior bounds.size.height = [child autoHeightForSize:CGSizeMake(desiredWidth - offsetH, boundingValue)] + offsetV; verticalLayoutBoundary += bounds.size.height; } @@ -2533,10 +2533,10 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds CGFloat boundingWidth = bounds.size.width - horizontalLayoutBoundary; CGFloat boundingHeight = bounds.size.height - verticalLayoutBoundary; - //LEFT + RIGHT + // LEFT + RIGHT CGFloat offsetH = TiDimensionCalculateValue([child layoutProperties]->left, bounds.size.width) + TiDimensionCalculateValue([child layoutProperties]->right, bounds.size.width); - //TOP + BOTTOM + // TOP + BOTTOM CGFloat offsetV = TiDimensionCalculateValue([child layoutProperties]->top, bounds.size.height) + TiDimensionCalculateValue([child layoutProperties]->bottom, bounds.size.height); @@ -2565,7 +2565,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds desiredWidth = [child autoWidthForSize:CGSizeMake(boundingWidth - offsetH, boundingHeight - offsetV)] + offsetH; } } else { - //This block takes care of auto,SIZE and FILL. If it is size ensure followsFillBehavior is set to false + // This block takes care of auto,SIZE and FILL. If it is size ensure followsFillBehavior is set to false recalculateWidth = YES; desiredWidth = [child autoWidthForSize:CGSizeMake(boundingWidth - offsetH, boundingHeight - offsetV)] + offsetH; if (TiDimensionIsAutoSize(constraint)) { @@ -2577,18 +2577,18 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds CGFloat desiredHeight; BOOL childIsFixedHeight = TiDimensionIsPercent([child layoutProperties]->height) || TiDimensionIsDip([child layoutProperties]->height); if (childIsFixedHeight) { - //For percent width is irrelevant + // For percent width is irrelevant desiredHeight = [child minimumParentHeightForSize:CGSizeMake(0, bounds.size.height)]; bounds.size.height = desiredHeight; } if (horizontalWrap && (desiredWidth > boundingWidth)) { if (horizontalLayoutBoundary == 0.0) { - //This is start of row + // This is start of row bounds.origin.x = horizontalLayoutBoundary; bounds.origin.y = verticalLayoutBoundary; if (!childIsFixedHeight) { - //TIMOB-11998. minimumParentHeightForSize:CGSize will limit width anyways. Pass bounding width here - //desiredHeight = [child minimumParentHeightForSize:CGSizeMake(desiredWidth,boundingHeight)]; + // TIMOB-11998. minimumParentHeightForSize:CGSize will limit width anyways. Pass bounding width here + // desiredHeight = [child minimumParentHeightForSize:CGSizeMake(desiredWidth,boundingHeight)]; if (isPercent) { desiredHeight = [child minimumParentHeightForSize:CGSizeMake(bounds.size.width, boundingHeight)]; } else { @@ -2599,7 +2599,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds verticalLayoutBoundary += bounds.size.height; horizontalLayoutRowHeight = 0.0; } else { - //This is not the start of row. Move to next row + // This is not the start of row. Move to next row horizontalLayoutBoundary = 0.0; verticalLayoutBoundary += horizontalLayoutRowHeight; horizontalLayoutRowHeight = 0; @@ -2612,8 +2612,8 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds if (!recalculateWidth) { if (desiredWidth < boundingWidth) { if (!childIsFixedHeight) { - //TIMOB-11998. minimumParentHeightForSize:CGSize will limit width anyways. Pass bounding width here - //desiredHeight = [child minimumParentHeightForSize:CGSizeMake(desiredWidth,boundingHeight)]; + // TIMOB-11998. minimumParentHeightForSize:CGSize will limit width anyways. Pass bounding width here + // desiredHeight = [child minimumParentHeightForSize:CGSizeMake(desiredWidth,boundingHeight)]; if (isPercent) { desiredHeight = [child minimumParentHeightForSize:CGSizeMake(bounds.size.width, boundingHeight)]; } else { @@ -2625,7 +2625,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds bounds.size.width = desiredWidth; horizontalLayoutRowHeight = bounds.size.height; } else { - //Will take up whole row + // Will take up whole row if (!childIsFixedHeight) { if (isPercent) { desiredHeight = [child minimumParentHeightForSize:CGSizeMake(bounds.size.width, boundingHeight)]; @@ -2637,7 +2637,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds verticalLayoutBoundary += bounds.size.height; } } else if (followsFillBehavior) { - //Will take up whole row + // Will take up whole row if (!childIsFixedHeight) { desiredHeight = [child minimumParentHeightForSize:CGSizeMake(boundingWidth, boundingHeight)]; bounds.size.height = desiredHeight; @@ -2647,8 +2647,8 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds desiredWidth = [child autoWidthForSize:CGSizeMake(boundingWidth - offsetH, boundingHeight - offsetV)] + offsetH; if (desiredWidth < boundingWidth) { if (!childIsFixedHeight) { - //TIMOB-11998. minimumParentHeightForSize:CGSize will limit width anyways. Pass bounding width here - //desiredHeight = [child minimumParentHeightForSize:CGSizeMake(desiredWidth,boundingHeight)]; + // TIMOB-11998. minimumParentHeightForSize:CGSize will limit width anyways. Pass bounding width here + // desiredHeight = [child minimumParentHeightForSize:CGSizeMake(desiredWidth,boundingHeight)]; if (isPercent) { desiredHeight = [child minimumParentHeightForSize:CGSizeMake(bounds.size.width, boundingHeight)]; } else { @@ -2660,7 +2660,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds horizontalLayoutBoundary = bounds.size.width; horizontalLayoutRowHeight = bounds.size.height; } else { - //Will take up whole row + // Will take up whole row if (!childIsFixedHeight) { if (isPercent) { desiredHeight = [child minimumParentHeightForSize:CGSizeMake(bounds.size.width, boundingHeight)]; @@ -2674,10 +2674,10 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds } } } else { - //If it fits update the horizontal layout row height + // If it fits update the horizontal layout row height if (!childIsFixedHeight) { - //TIMOB-11998. minimumParentHeightForSize:CGSize will limit width anyways. Pass bounding width here - //desiredHeight = [child minimumParentHeightForSize:CGSizeMake(desiredWidth,boundingHeight)]; + // TIMOB-11998. minimumParentHeightForSize:CGSize will limit width anyways. Pass bounding width here + // desiredHeight = [child minimumParentHeightForSize:CGSizeMake(desiredWidth,boundingHeight)]; if (isPercent) { desiredHeight = [child minimumParentHeightForSize:CGSizeMake(bounds.size.width, boundingHeight)]; } else { @@ -2692,11 +2692,11 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds horizontalLayoutRowHeight = bounds.size.height; } if (!recalculateWidth) { - //DIP,PERCENT,UNDEFINED WITH ATLEAST 2 PINS one of them being centerX + // DIP,PERCENT,UNDEFINED WITH ATLEAST 2 PINS one of them being centerX bounds.size.width = desiredWidth; horizontalLayoutBoundary += bounds.size.width; } else if (followsFillBehavior) { - //FILL that fits in left over space. Move to next row + // FILL that fits in left over space. Move to next row bounds.size.width = boundingWidth; if (horizontalWrap) { horizontalLayoutBoundary = 0.0; @@ -2706,7 +2706,7 @@ - (CGRect)computeChildSandbox:(TiViewProxy *)child withBounds:(CGRect)bounds horizontalLayoutBoundary += bounds.size.width; } } else { - //SIZE behavior + // SIZE behavior bounds.size.width = desiredWidth; horizontalLayoutBoundary += bounds.size.width; } @@ -2757,7 +2757,7 @@ - (void)layoutChildren:(BOOL)optimize OSAtomicTestAndSetBarrier(NEEDS_LAYOUT_CHILDREN, &dirtyflags); } - //TODO: This is really expensive, but what can you do? Laying out the child needs the lock again. + // TODO: This is really expensive, but what can you do? Laying out the child needs the lock again. NSArray *childrenArray = [[self children] retain]; NSUInteger childCount = [childrenArray count]; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiWindowProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiWindowProxy.m index c96301ae48b..624b2ee47b1 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiWindowProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiWindowProxy.m @@ -86,9 +86,9 @@ - (TiUIView *)newView - (BOOL)suppressesRelayout { if (controller != nil) { - //If controller view is not loaded, sandbox bounds will become zero. - //In that case we do not want to mess up our sandbox, which is by default - //mainscreen bounds. It will adjust when view loads. + // If controller view is not loaded, sandbox bounds will become zero. + // In that case we do not want to mess up our sandbox, which is by default + // mainscreen bounds. It will adjust when view loads. return ![controller isViewLoaded]; } return [super suppressesRelayout]; @@ -206,7 +206,7 @@ - (BOOL)isRootViewLoaded - (BOOL)isRootViewAttached { - //When a modal window is up, just return yes + // When a modal window is up, just return yes if ([[[TiApp app] controller] presentedViewController] != nil) { return YES; } @@ -237,7 +237,7 @@ - (KrollPromise *)open:(id)args openPromise = [[KrollPromise alloc] initInContext:context]; } - //Make sure our RootView Controller is attached + // Make sure our RootView Controller is attached if (![self isRootViewLoaded]) { DebugLog(@"[WARN] ROOT VIEW NOT LOADED. WAITING"); [self performSelector:@selector(open:) withObject:args afterDelay:0.1]; @@ -271,11 +271,11 @@ - (KrollPromise *)open:(id)args openAnimation = [[TiAnimation animationFromArg:args context:[self pageContext] create:NO] retain]; [self rememberProxy:openAnimation]; } - //TODO Argument Processing + // TODO Argument Processing id object = [self valueForUndefinedKey:@"orientationModes"]; _supportedOrientations = [TiUtils TiOrientationFlagsFromObject:object]; - //GO ahead and call open on the UI thread + // GO ahead and call open on the UI thread TiThreadPerformOnMainThread( ^{ [self openOnUIThread:args]; @@ -698,7 +698,7 @@ - (void)hideNavBar:(NSArray *)args BOOL animated = [TiUtils boolValue:@"animated" properties:properties def:YES]; [[controller navigationController] setNavigationBarHidden:YES animated:animated]; [self processForSafeArea]; - //TODO: need to fix height + // TODO: need to fix height } } @@ -729,7 +729,7 @@ - (void)hideToolbar:(NSArray *)args } #pragma mark - Appearance and Rotation Callbacks. For subclasses to override. -//Containing controller will call these callbacks(appearance/rotation) on contained windows when it receives them. +// Containing controller will call these callbacks(appearance/rotation) on contained windows when it receives them. - (void)viewWillAppear:(BOOL)animated { id navBarHidden = [self valueForUndefinedKey:@"navBarHidden"]; @@ -848,7 +848,7 @@ - (void)setHidesBackButton:(id)value - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id)coordinator { - //For various views (scrollableView, NavGroup etc this info neeeds to be forwarded) + // For various views (scrollableView, NavGroup etc this info neeeds to be forwarded) NSArray *childProxies = [self children]; for (TiViewProxy *thisProxy in childProxies) { if ([thisProxy respondsToSelector:@selector(viewWillTransitionToSize:withTransitionCoordinator:)]) { @@ -859,7 +859,7 @@ - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id)coordinator { - //For various views (scrollableView, NavGroup etc this info neeeds to be forwarded) + // For various views (scrollableView, NavGroup etc this info neeeds to be forwarded) NSArray *childProxies = [self children]; for (TiViewProxy *thisProxy in childProxies) { if ([thisProxy respondsToSelector:@selector(willTransitionToTraitCollection:withTransitionCoordinator:)]) { @@ -870,7 +870,7 @@ - (void)willTransitionToTraitCollection:(UITraitCollection *)newCollection withT - (void)systemLayoutFittingSizeDidChangeForChildContentContainer:(id)container { - //For various views (scrollableView, NavGroup etc this info neeeds to be forwarded) + // For various views (scrollableView, NavGroup etc this info neeeds to be forwarded) NSArray *childProxies = [self children]; for (TiViewProxy *thisProxy in childProxies) { if ([thisProxy respondsToSelector:@selector(systemLayoutFittingSizeDidChangeForChildContentContainer:)]) { @@ -881,7 +881,7 @@ - (void)systemLayoutFittingSizeDidChangeForChildContentContainer:(id)container { - //For various views (scrollableView, NavGroup etc this info neeeds to be forwarded) + // For various views (scrollableView, NavGroup etc this info neeeds to be forwarded) NSArray *childProxies = [self children]; for (TiViewProxy *thisProxy in childProxies) { if ([thisProxy respondsToSelector:@selector(preferredContentSizeDidChangeForChildContentContainer:)]) { diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/WebFont.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/WebFont.m index a07aaa70d7d..7782976a068 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/WebFont.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/WebFont.m @@ -126,12 +126,12 @@ - (UIFont *)font } } } else { - //family points to a fully qualified font name (so we hope) + // family points to a fully qualified font name (so we hope) font = [[UIFont fontWithName:family size:self.size] retain]; } } if (font == nil) { - //NO valid family specified. Just check for characteristics. Semi bold is ignored here. + // NO valid family specified. Just check for characteristics. Semi bold is ignored here. if (self.isBoldWeight) { UIFont *theFont = [UIFont systemFontOfSize:self.size weight:UIFontWeightBold]; if (self.isItalicStyle) { @@ -196,7 +196,7 @@ - (BOOL)updateWithDict:(NSDictionary *)fontDict inherits:(WebFont *)inheritedFon didChange = YES; } - float multiplier = 1.0; //Default is px. + float multiplier = 1.0; // Default is px. id sizeObject = [fontDict objectForKey:@"fontSize"]; if ([sizeObject isKindOfClass:[NSString class]]) { @@ -204,7 +204,7 @@ - (BOOL)updateWithDict:(NSDictionary *)fontDict inherits:(WebFont *)inheritedFon if ([sizeObject hasSuffix:@"px"]) { sizeObject = [sizeObject substringToIndex:[sizeObject length] - 2]; } - //TODO: Mod multipler with different suffixes (in, cm, etc) + // TODO: Mod multipler with different suffixes (in, cm, etc) } if ([sizeObject respondsToSelector:@selector(floatValue)]) { diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/Webcolor.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/Webcolor.h index ac36a135c7a..a91603a3dc1 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/Webcolor.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/Webcolor.h @@ -39,7 +39,7 @@ + (void)flushCache; + (BOOL)isDarkColor:(UIColor *)color; -//constants for iOS background texture colors. +// constants for iOS background texture colors. extern NSString *const IOS_COLOR_SCROLLVIEW_TEXTURED_BACKGROUND; extern NSString *const IOS_COLOR_VIEW_FLIPSIDE_BACKGROUND; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/Webcolor.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/Webcolor.m index fc2acb9d75c..0062cd91089 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/Webcolor.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/Webcolor.m @@ -194,7 +194,7 @@ + (UIColor *)colorForRGBFunction:(NSString *)functionString return nil; } - //Last char must be terminating ). + // Last char must be terminating ). if ([functionString characterAtIndex:stringLength - 1] != ')') { return nil; } @@ -203,7 +203,7 @@ + (UIColor *)colorForRGBFunction:(NSString *)functionString NSRange nextTokenRange; NSUInteger segmentLength; - searchRange.location = openParensRange.location + 1; //Skipping starting ( + searchRange.location = openParensRange.location + 1; // Skipping starting ( searchRange.length = stringLength - searchRange.location - 1; //-1 for terminating ). nextTokenRange = [functionString rangeOfString:@"," options:NSLiteralSearch range:searchRange]; @@ -211,7 +211,7 @@ + (UIColor *)colorForRGBFunction:(NSString *)functionString return nil; } - segmentLength = nextTokenRange.location - searchRange.location; //This does NOT include a comma. + segmentLength = nextTokenRange.location - searchRange.location; // This does NOT include a comma. float firstArg = [[functionString substringWithRange:NSMakeRange(searchRange.location, segmentLength)] floatValue]; searchRange.location += segmentLength + 1; @@ -222,7 +222,7 @@ + (UIColor *)colorForRGBFunction:(NSString *)functionString return nil; } - segmentLength = nextTokenRange.location - searchRange.location; //This does NOT include a comma. + segmentLength = nextTokenRange.location - searchRange.location; // This does NOT include a comma. float secondArg = [[functionString substringWithRange:NSMakeRange(searchRange.location, segmentLength)] floatValue]; searchRange.location += segmentLength + 1; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollCallback.m b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollCallback.m index 641b133ed14..036a46a527e 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollCallback.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollCallback.m @@ -89,7 +89,7 @@ - (BOOL)isEqual:(id)anObject return NO; } KrollCallback *otherCallback = (KrollCallback *)anObject; - if (function != NULL) { //TODO: Is there ever two functions with diffent memory pointers + if (function != NULL) { // TODO: Is there ever two functions with diffent memory pointers // that represent the exact same function? I'm thinking not. JSObjectRef ref1 = function; JSObjectRef ref2 = [otherCallback function]; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollContext.h b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollContext.h index e99a5636fa9..bda97b19cc2 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollContext.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollContext.h @@ -31,7 +31,7 @@ id delegate; BOOL stopped; - //Garbage collection variables. + // Garbage collection variables. BOOL gcrequest; unsigned int loopCount; @@ -130,7 +130,7 @@ KrollContext *GetKrollContext(JSContextRef context); -//TODO: After 1.7, move to individual file and convert KrollInvocation and Callbacks to ExpandedInvocationOperation. +// TODO: After 1.7, move to individual file and convert KrollInvocation and Callbacks to ExpandedInvocationOperation. @interface ExpandedInvocationOperation : NSOperation { @private id invocationTarget; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollContext.m b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollContext.m index 86e417fdfc2..27848644072 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollContext.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollContext.m @@ -618,7 +618,7 @@ - (id)init stopped = YES; KrollContextCount++; - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! } return self; } @@ -647,7 +647,7 @@ - (oneway void)release - (void)unregisterForNotifications { - WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe! + WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe! [[NSNotificationCenter defaultCenter] removeObserver:self]; } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollMethod.m b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollMethod.m index a7572715b1a..cb01166aa3a 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollMethod.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollMethod.m @@ -24,7 +24,7 @@ JSValueRef KrollCallAsFunction(JSContextRef jsContext, JSObjectRef func, JSObjec args = [[NSMutableArray alloc] initWithCapacity:argCount]; for (size_t c = 0; c < argCount; c++) { id value = [KrollObject toID:[o context] value:arguments[c]]; - //TODO: This is a temprorary workaround for the time being. We have to properly take care of [undefined] objects. + // TODO: This is a temprorary workaround for the time being. We have to properly take care of [undefined] objects. if (value == nil) { [args addObject:[NSNull null]]; } else { @@ -82,7 +82,7 @@ JSValueRef KrollCallAsNamedFunction(JSContextRef jsContext, JSObjectRef func, JS args = [[NSMutableArray alloc] initWithCapacity:argCount]; for (size_t c = 0; c < argCount; c++) { id value = [KrollObject toID:[o context] value:arguments[c]]; - //TODO: This is a temprorary workaround for the time being. We have to properly take care of [undefined] objects. + // TODO: This is a temprorary workaround for the time being. We have to properly take care of [undefined] objects. if (value == nil) { [args addObject:[NSNull null]]; } else { @@ -226,7 +226,7 @@ - (id)call:(NSArray *)args { // special generic factory for creating proxy objects for modules if (type == KrollMethodFactory) { - //TODO: This likely could be further optimized later + // TODO: This likely could be further optimized later // BOOL useResult = [_methodSignature methodReturnLength] == sizeof(id); id result = nil; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollObject.h b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollObject.h index 053c38acd55..c63c5b239ae 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollObject.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollObject.h @@ -35,7 +35,7 @@ bool KrollDeleteProperty(JSContextRef ctx, JSObjectRef object, JSStringRef prope id target; KrollContext *context; JSContextRef jsContext; - KrollBridge *bridge; //Used only in finalizing for sake of safe lookup. + KrollBridge *bridge; // Used only in finalizing for sake of safe lookup. } @property (nonatomic, assign) BOOL finalized; @property (nonatomic, readonly) KrollBridge *bridge; @@ -52,10 +52,10 @@ bool KrollDeleteProperty(JSContextRef ctx, JSObjectRef object, JSStringRef prope /** Checks if a property with the given name exists on our target. - + Contains all the magic of valueForKey withouth trying to retrieve any actual value. - + The checks for property existance are done in the following order: * The Kroll object's own statics and properties cache * Dynamic getter and setter in the form of getSomeProperty or setSomeProperty @@ -66,11 +66,11 @@ bool KrollDeleteProperty(JSContextRef ctx, JSObjectRef object, JSStringRef prope * Method with the same name on the target and single parameter * Method with the same name on the target and no parameter * Create factory method - + As soon as one of the above checks passes this method returns true, meaning the property exists. If none of the checks passed the property does not exists and the method returns false. - + @param propertyName The property name to check for. */ - (BOOL)hasProperty:(NSString *)propertyName; @@ -80,7 +80,7 @@ bool KrollDeleteProperty(JSContextRef ctx, JSObjectRef object, JSStringRef prope - (void)setStaticValue:(id)value forKey:(NSString *)key purgable:(BOOL)purgable; - (id)target; -//TODO: Lots of copypasted code in these methods could be refactored out. +// TODO: Lots of copypasted code in these methods could be refactored out. @property (nonatomic, assign) JSObjectRef propsObject; - (JSObjectRef)jsobject; - (JSValueRef)jsvalueForUndefinedKey:(NSString *)key; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollObject.m b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollObject.m index 0931c6f1dd1..e325a87fda7 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollObject.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollObject.m @@ -179,7 +179,7 @@ bool KrollHasProperty(JSContextRef jsContext, JSObjectRef object, JSStringRef pr // callback for handling retrieving an objects property (in JS land) // -//TODO: We should fetch from the props object and shortcut some of this. Especially now that callbacks are CURRENTLY write-only. +// TODO: We should fetch from the props object and shortcut some of this. Especially now that callbacks are CURRENTLY write-only. JSValueRef KrollGetProperty(JSContextRef jsContext, JSObjectRef object, JSStringRef prop, JSValueRef *exception) { // Debugger may actually try to get properties off global Kroll property (which is a special case KrollContext singleton) @@ -208,14 +208,14 @@ JSValueRef KrollGetProperty(JSContextRef jsContext, JSObjectRef object, JSString if ([result isKindOfClass:[KrollWrapper class]]) { if (![KrollBridge krollBridgeExists:[(KrollWrapper *)result bridge]]) { - //This remote object no longer exists. + // This remote object no longer exists. [o deleteKey:name]; result = nil; } else { JSObjectRef cachedObject = [o objectForTiString:prop context:jsContext]; JSObjectRef remoteFunction = [(KrollWrapper *)result jsobject]; if ((cachedObject != NULL) && (cachedObject != remoteFunction)) { - [o forgetObjectForTiString:prop context:jsContext]; //Clean up the old property. + [o forgetObjectForTiString:prop context:jsContext]; // Clean up the old property. } if (remoteFunction != NULL) { [o noteObject:remoteFunction forTiString:prop context:jsContext]; @@ -409,7 +409,7 @@ - (id)initWithTarget:(id)target_ context:(KrollContext *)context_ { if (self = [self init]) { #if DEBUG - //TODO: See if this actually happens, and if not, remove this extra check. + // TODO: See if this actually happens, and if not, remove this extra check. if ([(KrollBridge *)[context_ delegate] usesProxy:target_] && [self isMemberOfClass:[KrollObject class]]) { DeveloperLog(@"[WARN] Bridge %@ already has target %@!", [context_ delegate], target_); } @@ -866,7 +866,7 @@ - (void)setValue:(id)value forKey:(NSString *)key return; } selector = NSSelectorFromString([NSString stringWithFormat:@"set%@:", name]); - if ([target respondsToSelector:selector] && ![name isEqualToString:@"ZIndex"]) //TODO: Quick hack is quick. + if ([target respondsToSelector:selector] && ![name isEqualToString:@"ZIndex"]) // TODO: Quick hack is quick. { [target performSelector:selector withObject:value]; } else { @@ -1200,7 +1200,7 @@ - (void)storeListener:(id)eventCallbackOrWrapper forEvent:(NSString *)eventName JSObjectSetPropertyAtIndex(jsContext, jsCallbackArray, arrayLength, callbackFunction, &exception); } - //TODO: Call back to the proxy? + // TODO: Call back to the proxy? JSStringRelease(jsEventTypeString); } @@ -1211,7 +1211,7 @@ - (JSObjectRef)callbacksForEvent:(JSStringRef)jsEventTypeString } JSObjectRef jsEventHash = (JSObjectRef)JSObjectGetProperty(jsContext, self.propsObject, kTiStringEventKey, NULL); - if ((jsEventHash == NULL) || (JSValueGetType(jsContext, jsEventHash) != kJSTypeObject)) { //We did not have any event listeners on this proxy. Perfectly normal. + if ((jsEventHash == NULL) || (JSValueGetType(jsContext, jsEventHash) != kJSTypeObject)) { // We did not have any event listeners on this proxy. Perfectly normal. return NULL; } @@ -1291,11 +1291,11 @@ - (void)triggerEvent:(NSString *)eventName withObject:(NSDictionary *)eventData /** Protects the underlying JSObjectRef from being accidentally GC'ed. - + The KrollObject's JSObjectRef is stored on the heap and therefore not automatically protected against GC unless it is referenced via a variable on the stack or inside the JS object graph! - + If JSC's garbage collection runs while the JSObjectRef is not protected it is lost and eventually leads to crashes inside the JSC runtime. */ @@ -1315,7 +1315,7 @@ - (void)applyGarbageCollectionSafeguard /** Removes the garbage collection safeguard by unprotecting the JSObjectRef again. - + This may only be called when the JSObjectRef is referenced on the stack or in the JS object graph. */ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollPromise.h b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollPromise.h index b9b649ed457..e52a26489bb 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollPromise.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Kroll/KrollPromise.h @@ -3,7 +3,7 @@ * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. -*/ + */ #ifndef KrollPromise_h #define KrollPromise_h diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiFilesystemFileProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiFilesystemFileProxy.m index b7c495083a9..7d68867b721 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiFilesystemFileProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiFilesystemFileProxy.m @@ -371,8 +371,8 @@ - (NSNumber *)append:(id)args id arg = [args objectAtIndex:0]; if ([arg isKindOfClass:[TiFile class]]) { - //allow the ability to append files to another file - //e.g. file.append(Ti.Filesystem.getFile('somewhere')); + // allow the ability to append files to another file + // e.g. file.append(Ti.Filesystem.getFile('somewhere')); TiFile *file_arg = (TiFile *)arg; NSError *err = nil; @@ -400,7 +400,7 @@ - (NSNumber *)append:(id)args } if (![[NSFileManager defaultManager] fileExistsAtPath:path]) { - //create the file if it doesn't exist already + // create the file if it doesn't exist already NSError *writeError = nil; [data writeToFile:path options:NSDataWritingFileProtectionComplete | NSDataWritingAtomic error:&writeError]; if (writeError != nil) { @@ -429,7 +429,7 @@ - (NSNumber *)write:(id)args ENSURE_TYPE(args, NSArray); id arg = [args objectAtIndex:0]; - //Short-circuit against non-supported types + // Short-circuit against non-supported types if (!([arg isKindOfClass:[TiFile class]] || [arg isKindOfClass:[TiBlob class]] || [arg isKindOfClass:[NSString class]])) { return NUMBOOL(NO); @@ -438,8 +438,8 @@ - (NSNumber *)write:(id)args if ([args count] > 1) { ENSURE_TYPE([args objectAtIndex:1], NSNumber); - //We have a second argument, is it truthy? - //If yes, we'll hand the args to -append: + // We have a second argument, is it truthy? + // If yes, we'll hand the args to -append: NSNumber *append = [args objectAtIndex:1]; if ([append boolValue]) { return [self append:[args subarrayWithRange:NSMakeRange(0, 1)]]; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiFilesystemFileStreamProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiFilesystemFileStreamProxy.m index ed313930ebe..31b1ad97a5a 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiFilesystemFileStreamProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiFilesystemFileStreamProxy.m @@ -33,8 +33,8 @@ - (id)_initWithPageContext:(id)context args:(NSArray *)args } @try { - //If the mode is *not* TI_WRITE and the file path is non-existent, throw exception - //Otherwise, create a blank file at the specified path + // If the mode is *not* TI_WRITE and the file path is non-existent, throw exception + // Otherwise, create a blank file at the specified path NSFileManager *fileManager = [NSFileManager defaultManager]; if (![fileManager fileExistsAtPath:filePath]) { @@ -46,7 +46,7 @@ - (id)_initWithPageContext:(id)context args:(NSArray *)args [NSException raise:NSInternalInconsistencyException format:@"An error occurred while trying to create the file."]; } } else { - //If the file exists and the mode is TI_WRITE, truncate the file. + // If the file exists and the mode is TI_WRITE, truncate the file. if (mode == TI_WRITE) { NSError *error = nil; [[NSData data] writeToFile:filePath options:NSDataWritingFileProtectionComplete | NSDataWritingAtomic error:&error]; @@ -63,7 +63,7 @@ - (id)_initWithPageContext:(id)context args:(NSArray *)args } if (handle == nil) { - //something went wrong with creating the file handle + // something went wrong with creating the file handle [NSException raise:NSInternalInconsistencyException format:@""]; } } @@ -73,7 +73,7 @@ - (id)_initWithPageContext:(id)context args:(NSArray *)args location:CODELOCATION]; } - //we made it, retain the file handle. + // we made it, retain the file handle. fileHandle = [handle retain]; @@ -109,7 +109,7 @@ - (unsigned long long)currentFileSize { unsigned long long offset = [fileHandle offsetInFile]; unsigned long long size = [fileHandle seekToEndOfFile]; - [fileHandle seekToFileOffset:offset]; //revert to previous position + [fileHandle seekToFileOffset:offset]; // revert to previous position return size; } @@ -136,7 +136,7 @@ - (NSInteger)readToBuffer:(TiBuffer *)buffer offset:(NSInteger)offset length:(NS } if ([fileHandle offsetInFile] >= [self currentFileSize]) { - //out of bounds + // out of bounds if (callback != nil) { NSMutableDictionary *event = [TiUtils dictionaryWithCode:-1 message:nil]; [event setObject:NUMINT(-1) forKey:@"bytesProcessed"]; @@ -203,7 +203,7 @@ - (NSInteger)writeFromBuffer:(TiBuffer *)buffer offset:(NSInteger)offset length: if (slicedData != nil) { @try { [fileHandle writeData:slicedData]; - [fileHandle synchronizeFile]; //force immediate save to disk + [fileHandle synchronizeFile]; // force immediate save to disk if (callback != nil) { NSMutableDictionary *event = [TiUtils dictionaryWithCode:0 message:nil]; @@ -258,7 +258,7 @@ - (NSInteger)writeToStream:(id)output chunkSize:(NSInteger)siz [tempBuffer setData:[NSMutableData dataWithBytesNoCopy:bytes length:readLength freeWhenDone:YES]]; bytesWritten = [output writeFromBuffer:tempBuffer offset:0 length:readLength callback:nil]; - //call callback + // call callback if (callback != nil) { NSMutableDictionary *event = [TiUtils dictionaryWithCode:0 message:nil]; [event setObject:self forKey:@"fromStream"]; @@ -267,7 +267,7 @@ - (NSInteger)writeToStream:(id)output chunkSize:(NSInteger)siz [self _fireEventToListener:@"writeToStream" withObject:event listener:callback thisObject:nil]; } } else { - //EOF + // EOF return totalBytes; } } @@ -317,12 +317,12 @@ - (void)pumpToCallback:(KrollCallback *)callback chunkSize:(NSInteger)maxSize as unsigned long long totalBytes = 0; if (maxSize > remaining) { - //truncate to avoid buffer overruns + // truncate to avoid buffer overruns maxSize = (int)remaining; } while ([fileHandle offsetInFile] < [self currentFileSize]) { - //create temporary buffer + // create temporary buffer unsigned long long readLengthMax = MIN(maxSize, [self currentFileSize] - [fileHandle offsetInFile]); if (readLengthMax > INT_MAX) { readLengthMax = INT_MAX; @@ -337,7 +337,7 @@ - (void)pumpToCallback:(KrollCallback *)callback chunkSize:(NSInteger)maxSize as VerboseLog(@"pumping data: %@", buffer); - //invoke callback, passing the chunked data + // invoke callback, passing the chunked data NSMutableDictionary *event = [TiUtils dictionaryWithCode:0 message:nil]; [event setObject:self forKey:@"source"]; [event setObject:buffer forKey:@"buffer"]; @@ -350,7 +350,7 @@ - (void)pumpToCallback:(KrollCallback *)callback chunkSize:(NSInteger)maxSize as maxSize = (int)remaining; } - //are we going to hit EOF? if so, invoke the callback with a -1 bytesProcessed event dict + // are we going to hit EOF? if so, invoke the callback with a -1 bytesProcessed event dict if (remaining == 0) { [event setObject:NUMINT(-1) forKey:@"bytesProcessed"]; [self _fireEventToListener:@"pump" withObject:event listener:callback thisObject:nil]; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h index aec548efee7..82e798a3801 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h @@ -10,7 +10,7 @@ #import "TiViewProxy.h" #import "TiWindowProxy.h" -//TODO: we probably should split this ViewProxy into a a separate TiUIView like normal +// TODO: we probably should split this ViewProxy into a a separate TiUIView like normal @interface TiUIWindowProxy : TiWindowProxy { @private diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.m index 2eb03590520..09542cd49df 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.m @@ -20,13 +20,13 @@ // much smoother on the new window during a tab transition #define EXTERNAL_JS_WAIT_TIME (150 / 1000) -/** +/** * This class is a helper that will be used when we have an external * window w/ JS so that we can attempt to wait for the window context * to be fully loaded on the UI thread (since JS runs in a different * thread) and attempt to wait up til EXTERNAL_JS_WAIT_TIME before * timing out. If timed out, will go ahead and start opening the window - * and as the JS context finishes, will continue opening from there - + * and as the JS context finishes, will continue opening from there - * this has a nice effect of immediately opening if fast but not delaying * if slow (so you get weird button delay effects for example) * @@ -325,7 +325,7 @@ - (void)setNavTintColor:(id)color ^{ if (controller != nil) { if (newColor == nil) { - //Get from TabGroup + // Get from TabGroup newColor = [TiUtils colorValue:[[self tabGroup] valueForKey:@"navTintColor"]]; } UINavigationBar *navBar = [[controller navigationController] navigationBar]; @@ -447,7 +447,7 @@ - (void)updateBarImage [ourNB setBackgroundImage:resizableImage forBarMetrics:UIBarMetricsDefault]; - //You can only set up the shadow image with a custom background image. + // You can only set up the shadow image with a custom background image. id shadowImageValue = [self valueForUndefinedKey:@"shadowImage"]; theImage = [TiUtils toImage:shadowImageValue proxy:self]; @@ -461,7 +461,7 @@ - (void)updateBarImage } else { BOOL clipValue = [TiUtils boolValue:[self valueForUndefinedKey:@"hideShadow"] def:NO]; if (clipValue) { - //Set an empty Image. + // Set an empty Image. ourNB.shadowImage = [[[UIImage alloc] init] autorelease]; if ([self shouldUseNavBarApperance]) { ourNB.standardAppearance.shadowColor = nil; @@ -521,7 +521,7 @@ - (void)setTranslucent:(id)value - (void)updateNavButtons { - //Update LeftNavButton + // Update LeftNavButton NSDictionary *lProperties = [self valueForUndefinedKey:@"leftNavSettings"]; id leftNavButtons = [self valueForUndefinedKey:@"leftNavButtons"]; if (!IS_NULL_OR_NIL(leftNavButtons)) { @@ -530,7 +530,7 @@ - (void)updateNavButtons leftNavButtons = [self valueForUndefinedKey:@"leftNavButton"]; [self setLeftNavButton:leftNavButtons withObject:lProperties]; } - //Update RightNavButton + // Update RightNavButton NSDictionary *rProperties = [self valueForUndefinedKey:@"rightNavSettings"]; id rightNavButtons = [self valueForUndefinedKey:@"rightNavButtons"]; if (!IS_NULL_OR_NIL(rightNavButtons)) { @@ -579,7 +579,7 @@ - (void)setRightNavButtons:(id)arg withObject:(id)properties NSArray *curValues = [self valueForUndefinedKey:@"rightNavButtons"]; ENSURE_TYPE_OR_NIL(curValues, NSArray); - //Clean up current values + // Clean up current values for (TiViewProxy *curProxy in curValues) { if (![(NSArray *)arg containsObject:curProxy]) { [curProxy removeBarButtonView]; @@ -649,7 +649,7 @@ - (void)setLeftNavButtons:(id)arg withObject:(id)properties NSArray *curValues = [self valueForUndefinedKey:@"leftNavButtons"]; ENSURE_TYPE_OR_NIL(curValues, NSArray); - //Clean up current values + // Clean up current values for (TiViewProxy *curProxy in curValues) { if (![(NSArray *)arg containsObject:curProxy]) { [curProxy removeBarButtonView]; @@ -742,8 +742,8 @@ - (void)setBackButtonTitle:(id)proxy ENSURE_UI_THREAD_1_ARG(proxy); [self replaceValue:proxy forKey:@"backButtonTitle" notification:NO]; if (controller != nil) { - [self refreshBackButton]; //Because this is actually a property of a DIFFERENT view controller, - //we can't attach this until we're in the navbar stack. + [self refreshBackButton]; // Because this is actually a property of a DIFFERENT view controller, + // we can't attach this until we're in the navbar stack. } } @@ -752,15 +752,15 @@ - (void)setBackButtonTitleImage:(id)proxy ENSURE_UI_THREAD_1_ARG(proxy); [self replaceValue:proxy forKey:@"backButtonTitleImage" notification:NO]; if (controller != nil) { - [self refreshBackButton]; //Because this is actually a property of a DIFFERENT view controller, - //we can't attach this until we're in the navbar stack. + [self refreshBackButton]; // Because this is actually a property of a DIFFERENT view controller, + // we can't attach this until we're in the navbar stack. } } - (void)updateNavBar { - //Called from the view when the screen rotates. - //Resize titleControl and barImage based on navbar bounds + // Called from the view when the screen rotates. + // Resize titleControl and barImage based on navbar bounds if (!shouldUpdateNavBar || controller == nil || [controller navigationController] == nil) { return; // No need to update the title if not in a nav controller } @@ -788,7 +788,7 @@ - (void)updateTitleView availableTitleSize.width = barFrame.size.width - (2 * TI_NAVBAR_BUTTON_WIDTH); availableTitleSize.height = barFrame.size.height; - //Check for titlePrompt. Ugly hack. Assuming 50% for prompt height. + // Check for titlePrompt. Ugly hack. Assuming 50% for prompt height. if (ourNavItem.prompt != nil) { availableTitleSize.height /= 2.0f; barFrame.origin.y = barFrame.size.height = availableTitleSize.height; @@ -800,7 +800,7 @@ - (void)updateTitleView if ([oldView isKindOfClass:[TiUIView class]]) { TiViewProxy *oldProxy = (TiViewProxy *)[(TiUIView *)oldView proxy]; if (oldProxy == titleControl) { - //relayout titleControl + // relayout titleControl CGRect barBounds; barBounds.origin = CGPointZero; #ifndef TI_USE_AUTOLAYOUT @@ -809,7 +809,7 @@ - (void)updateTitleView [oldView setBounds:barBounds]; [oldView setAutoresizingMask:UIViewAutoresizingNone]; - //layout the titleControl children + // layout the titleControl children [titleControl layoutChildren:NO]; return; @@ -821,7 +821,7 @@ - (void)updateTitleView newTitleView = [titleControl barButtonViewForSize:availableTitleSize]; } else { NSURL *path = [TiUtils toURL:[self valueForKey:@"titleImage"] proxy:self]; - //Todo: This should be [TiUtils navBarTitleViewSize] with the thumbnail scaling. For now, however, we'll go with auto. + // Todo: This should be [TiUtils navBarTitleViewSize] with the thumbnail scaling. For now, however, we'll go with auto. UIImage *image = [[ImageLoader sharedLoader] loadImmediateImage:path withSize:CGSizeZero]; if (image != nil) { if ([oldView isKindOfClass:[UIImageView class]]) { @@ -1013,7 +1013,7 @@ - (void)setupWindowDecorations return; } - //Need to clear title for titleAttributes to apply correctly on iOS6. + // Need to clear title for titleAttributes to apply correctly on iOS6. [[controller navigationItem] setTitle:nil]; SETPROP(@"titleAttributes", setTitleAttributes); SETPROP(@"title", setTitle); @@ -1064,7 +1064,7 @@ - (void)updateStatusBarView if (view) { id top = [[self safeAreaViewProxy] valueForKey:@"top"]; if (top && [top floatValue] != frame.size.height) { - //TIMOB-28323: Once fixed by apple, remove it. + // TIMOB-28323: Once fixed by apple, remove it. frame = CGRectMake(frame.origin.x, frame.origin.y, frame.size.width, [top floatValue]); } view.frame = frame; From f2a325ed9f5baaecb74d4ebe0bc581f4d9edd48c Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sun, 31 Dec 2023 17:16:57 +0100 Subject: [PATCH 04/23] update --- package-lock.json | 7291 +++++++++++++++++++++++++++------------------ package.json | 30 +- 2 files changed, 4397 insertions(+), 2924 deletions(-) diff --git a/package-lock.json b/package-lock.json index 40ed2cb3856..6be8c8e2239 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,25 +11,25 @@ "license": "Apache-2.0", "dependencies": { "@babel/core": "7.11.6", - "@babel/types": "7.11.5", - "@npmcli/arborist": "2.10.0", + "@babel/types": "7.23.6", + "@npmcli/arborist": "7.2.2", "always-tail": "0.2.0", "ansi-escapes": "4.3.2", "appc-tasks": "1.0.3", - "archiver": "5.3.1", - "async": "3.2.4", + "archiver": "6.0.1", + "async": "3.2.5", "boxen": "5.1.2", "buffer-equal": "1.0.1", - "clean-css": "5.3.2", + "clean-css": "5.3.3", "colors": "1.4.0", "ejs": "3.1.9", "fields": "0.1.24", - "fs-extra": "11.1.1", + "fs-extra": "11.2.0", "ioslib": "1.7.32", "liveview": "1.5.6", "lodash.merge": "4.6.2", "markdown": "0.5.0", - "moment": "2.29.4", + "moment": "2.30.1", "node-appc": "1.1.6", "node-titanium-sdk": "5.1.9", "node-uuid": "1.4.8", @@ -57,18 +57,18 @@ "@seadub/danger-plugin-eslint": "2.0.0", "@seadub/danger-plugin-junit": "0.3.0", "babel-plugin-transform-titanium": "0.1.1", - "chai": "4.3.7", - "clang-format": "1.6.0", - "commander": "11.0.0", + "chai": "5.0.0", + "clang-format": "1.8.0", + "commander": "11.1.0", "commitizen": "4.3.0", - "conventional-changelog-cli": "3.0.0", + "conventional-changelog-cli": "4.1.0", "core-js": "3.27.2", "core-js-compat": "3.6.5", "cz-conventional-changelog": "3.3.0", - "danger": "11.2.7", + "danger": "11.3.1", "eslint": "8.13.0", - "eslint-config-axway": "7.0.0", - "eslint-plugin-mocha": "10.0.4", + "eslint-config-axway": "8.0.0", + "eslint-plugin-mocha": "10.2.0", "folder-hash": "4.0.4", "glob": "8.1.0", "husky": "8.0.3", @@ -84,18 +84,19 @@ "stream-splitter": "0.3.2", "strip-ansi": "7.1.0", "titanium": "6.1.1", - "titanium-docgen": "4.10.3" + "titanium-docgen": "4.10.4" }, "engines": { "node": ">=12.13.0" } }, "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", "dependencies": { - "@babel/highlight": "^7.18.6" + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" }, "engines": { "node": ">=6.9.0" @@ -161,19 +162,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/generator/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-annotate-as-pure": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz", @@ -185,19 +173,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-annotate-as-pure/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { "version": "7.18.9", "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz", @@ -210,19 +185,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-compilation-targets": { "version": "7.20.7", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz", @@ -317,19 +279,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-explode-assignable-expression/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-function-name": { "version": "7.21.0", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz", @@ -342,19 +291,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-function-name/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-hoist-variables": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", @@ -366,19 +302,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-hoist-variables/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-member-expression-to-functions": { "version": "7.21.0", "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.0.tgz", @@ -390,19 +313,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", @@ -414,19 +324,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-module-imports/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-transforms": { "version": "7.21.2", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz", @@ -445,19 +342,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-module-transforms/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-optimise-call-expression": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz", @@ -469,19 +353,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-optimise-call-expression/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-plugin-utils": { "version": "7.20.2", "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz", @@ -507,19 +378,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-remap-async-to-generator/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-replace-supers": { "version": "7.20.7", "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz", @@ -536,19 +394,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-replace-supers/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-simple-access": { "version": "7.20.2", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz", @@ -560,19 +405,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-simple-access/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { "version": "7.20.0", "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz", @@ -584,19 +416,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-split-export-declaration": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", @@ -608,31 +427,18 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-split-export-declaration/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-string-parser": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", - "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", "engines": { "node": ">=6.9.0" } @@ -659,19 +465,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-wrap-function/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helpers": { "version": "7.21.0", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz", @@ -685,26 +478,13 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helpers/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "dependencies": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, "engines": { @@ -1604,19 +1384,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/template/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/traverse": { "version": "7.21.3", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.3.tgz", @@ -1637,29 +1404,19 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/traverse/node_modules/@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", + "node_modules/@babel/types": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/types": { - "version": "7.11.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz", - "integrity": "sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q==", - "dependencies": { - "@babel/helper-validator-identifier": "^7.10.4", - "lodash": "^4.17.19", - "to-fast-properties": "^2.0.0" - } - }, "node_modules/@commitlint/cli": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-13.2.0.tgz", @@ -2187,55 +1944,67 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" - }, "node_modules/@gitbeaker/core": { - "version": "21.7.0", - "resolved": "https://registry.npmjs.org/@gitbeaker/core/-/core-21.7.0.tgz", - "integrity": "sha512-cw72rE7tA27wc6JJe1WqeAj9v/6w0S7XJcEji+bRNjTlUfE1zgfW0Gf1mbGUi7F37SOABGCosQLfg9Qe63aIqA==", + "version": "35.8.1", + "resolved": "https://registry.npmjs.org/@gitbeaker/core/-/core-35.8.1.tgz", + "integrity": "sha512-KBrDykVKSmU9Q9Gly8KeHOgdc0lZSa435srECxuO0FGqqBcUQ82hPqUc13YFkkdOI9T1JRA3qSFajg8ds0mZKA==", "dev": true, "dependencies": { - "@gitbeaker/requester-utils": "^21.7.0", - "form-data": "^3.0.0", + "@gitbeaker/requester-utils": "^35.8.1", + "form-data": "^4.0.0", "li": "^1.3.0", + "mime": "^3.0.0", + "query-string": "^7.0.0", "xcase": "^2.0.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.2.0" } }, "node_modules/@gitbeaker/node": { - "version": "21.7.0", - "resolved": "https://registry.npmjs.org/@gitbeaker/node/-/node-21.7.0.tgz", - "integrity": "sha512-OdM3VcTKYYqboOsnbiPcO0XimXXpYK4gTjARBZ6BWc+1LQXKmqo+OH6oUbyxOoaFu9hHECafIt3WZU3NM4sZTg==", + "version": "35.8.1", + "resolved": "https://registry.npmjs.org/@gitbeaker/node/-/node-35.8.1.tgz", + "integrity": "sha512-g6rX853y61qNhzq9cWtxIEoe2KDeFBtXAeWMGWJnc3nz3WRump2pIICvJqw/yobLZqmTNt+ea6w3/n92Mnbn3g==", "deprecated": "Please use its successor @gitbeaker/rest", "dev": true, "dependencies": { - "@gitbeaker/core": "^21.7.0", - "@gitbeaker/requester-utils": "^21.7.0", - "form-data": "^3.0.0", - "got": "^11.1.4", + "@gitbeaker/core": "^35.8.1", + "@gitbeaker/requester-utils": "^35.8.1", + "delay": "^5.0.0", + "got": "^11.8.3", "xcase": "^2.0.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.2.0" } }, "node_modules/@gitbeaker/requester-utils": { - "version": "21.7.0", - "resolved": "https://registry.npmjs.org/@gitbeaker/requester-utils/-/requester-utils-21.7.0.tgz", - "integrity": "sha512-eLTaVXlBnh8Qimj6QuMMA06mu/mLcJm3dy8nqhhn/Vm/D25sPrvpGwmbfFyvzj6QujPqtHvFfsCHtyZddL01qA==", + "version": "35.8.1", + "resolved": "https://registry.npmjs.org/@gitbeaker/requester-utils/-/requester-utils-35.8.1.tgz", + "integrity": "sha512-MFzdH+Z6eJaCZA5ruWsyvm6SXRyrQHjYVR6aY8POFraIy7ceIHOprWCs1R+0ydDZ8KtBnd8OTHjlJ0sLtSFJCg==", "dev": true, "dependencies": { - "form-data": "^3.0.0", - "query-string": "^6.12.1", + "form-data": "^4.0.0", + "qs": "^6.10.1", "xcase": "^2.0.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.2.0" + } + }, + "node_modules/@gitbeaker/requester-utils/node_modules/qs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", + "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", + "dev": true, + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/@humanwhocodes/config-array": { @@ -2259,12 +2028,76 @@ "dev": true }, "node_modules/@hutson/parse-repository-url": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", - "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-5.0.0.tgz", + "integrity": "sha512-e5+YUKENATs1JgYHMzTr2MW/NDcXGfYFAuOQU8gJgF/kEh4EqKgfGrfLI67bMD4tbhZVlkigz/9YYwWcbOFthg==", "dev": true, "engines": { - "node": ">=6.9.0" + "node": ">=10.13.0" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, "node_modules/@isaacs/string-locale-compare": { @@ -2517,192 +2350,617 @@ "node": ">=8" } }, - "node_modules/@npmcli/arborist": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.10.0.tgz", - "integrity": "sha512-CLnD+zXG9oijEEzViimz8fbOoFVb7hoypiaf7p6giJhvYtrxLAyY3cZAMPIFQvsG731+02eMDp3LqVBNo7BaZA==", - "dependencies": { - "@isaacs/string-locale-compare": "^1.0.1", - "@npmcli/installed-package-contents": "^1.0.7", - "@npmcli/map-workspaces": "^1.0.2", - "@npmcli/metavuln-calculator": "^1.1.0", - "@npmcli/move-file": "^1.1.0", - "@npmcli/name-from-folder": "^1.0.1", - "@npmcli/node-gyp": "^1.0.1", - "@npmcli/package-json": "^1.0.1", - "@npmcli/run-script": "^1.8.2", - "bin-links": "^2.2.1", - "cacache": "^15.0.3", - "common-ancestor-path": "^1.0.1", - "json-parse-even-better-errors": "^2.3.1", - "json-stringify-nice": "^1.1.4", - "mkdirp": "^1.0.4", - "mkdirp-infer-owner": "^2.0.0", - "npm-install-checks": "^4.0.0", - "npm-package-arg": "^8.1.5", - "npm-pick-manifest": "^6.1.0", - "npm-registry-fetch": "^11.0.0", - "pacote": "^11.3.5", - "parse-conflict-json": "^1.1.1", - "proc-log": "^1.0.0", - "promise-all-reject-late": "^1.0.0", - "promise-call-limit": "^1.0.1", - "read-package-json-fast": "^2.0.2", - "readdir-scoped-modules": "^1.1.0", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "ssri": "^8.0.1", - "treeverse": "^1.0.4", - "walk-up-path": "^1.0.0" - }, - "bin": { - "arborist": "bin/index.js" + "node_modules/@npmcli/agent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.0.tgz", + "integrity": "sha512-2yThA1Es98orMkpSLVqlDZAMPK3jHJhifP2gnNUdk1754uZ8yI5c+ulCoVG+WlntQA6MzhrURMXjSd9Z7dJ2/Q==", + "dependencies": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.1" }, "engines": { - "node": ">= 10" + "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/@npmcli/arborist/node_modules/ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "node_modules/@npmcli/agent/node_modules/agent-base": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", + "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", "dependencies": { - "minipass": "^3.1.1" + "debug": "^4.3.4" }, "engines": { - "node": ">= 8" + "node": ">= 14" } }, - "node_modules/@npmcli/fs": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", - "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", + "node_modules/@npmcli/agent/node_modules/http-proxy-agent": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz", + "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==", "dependencies": { - "@gar/promisify": "^1.0.1", - "semver": "^7.3.5" - } + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } }, - "node_modules/@npmcli/git": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz", - "integrity": "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==", + "node_modules/@npmcli/agent/node_modules/https-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", + "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", "dependencies": { - "@npmcli/promise-spawn": "^1.3.2", - "lru-cache": "^6.0.0", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^6.1.1", + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@npmcli/agent/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/@npmcli/arborist": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-7.2.2.tgz", + "integrity": "sha512-dIIzyhy1zS2dYPS8bdM/8qA8W2evQE9KENBxVOhFthm/2RKqf2ninRWQc8xfc5f1gsiTxTP20Y9flIfziHfSKA==", + "dependencies": { + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/fs": "^3.1.0", + "@npmcli/installed-package-contents": "^2.0.2", + "@npmcli/map-workspaces": "^3.0.2", + "@npmcli/metavuln-calculator": "^7.0.0", + "@npmcli/name-from-folder": "^2.0.0", + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/package-json": "^5.0.0", + "@npmcli/query": "^3.0.1", + "@npmcli/run-script": "^7.0.2", + "bin-links": "^4.0.1", + "cacache": "^18.0.0", + "common-ancestor-path": "^1.0.1", + "hosted-git-info": "^7.0.1", + "json-parse-even-better-errors": "^3.0.0", + "json-stringify-nice": "^1.1.4", + "minimatch": "^9.0.0", + "nopt": "^7.0.0", + "npm-install-checks": "^6.2.0", + "npm-package-arg": "^11.0.1", + "npm-pick-manifest": "^9.0.0", + "npm-registry-fetch": "^16.0.0", + "npmlog": "^7.0.1", + "pacote": "^17.0.4", + "parse-conflict-json": "^3.0.0", + "proc-log": "^3.0.0", + "promise-all-reject-late": "^1.0.0", + "promise-call-limit": "^1.0.2", + "read-package-json-fast": "^3.0.2", + "semver": "^7.3.7", + "ssri": "^10.0.5", + "treeverse": "^3.0.0", + "walk-up-path": "^3.0.1" + }, + "bin": { + "arborist": "bin/index.js" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/arborist/node_modules/abbrev": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", + "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/arborist/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@npmcli/arborist/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/arborist/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/arborist/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/@npmcli/arborist/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/arborist/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@npmcli/arborist/node_modules/nopt": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz", + "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==", + "dependencies": { + "abbrev": "^2.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/arborist/node_modules/ssri": { + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", + "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/fs": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", + "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.3.tgz", + "integrity": "sha512-UZp9NwK+AynTrKvHn5k3KviW/hA5eENmFsu3iAPe7sWRt0lFUdsY/wXIYjpDFe7cdSNwOIzbObfwgt6eL5/2zw==", + "dependencies": { + "@npmcli/promise-spawn": "^7.0.0", + "lru-cache": "^10.0.1", + "npm-pick-manifest": "^9.0.0", + "proc-log": "^3.0.0", "promise-inflight": "^1.0.1", "promise-retry": "^2.0.1", "semver": "^7.3.5", - "which": "^2.0.2" + "which": "^4.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git/node_modules/isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/@npmcli/git/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/@npmcli/git/node_modules/which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/installed-package-contents": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz", + "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==", "dependencies": { - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" + "npm-bundled": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" }, "bin": { - "installed-package-contents": "index.js" + "installed-package-contents": "lib/index.js" }, "engines": { - "node": ">= 10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/map-workspaces": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-1.0.4.tgz", - "integrity": "sha512-wVR8QxhyXsFcD/cORtJwGQodeeaDf0OxcHie8ema4VgFeqwYkFsDPnSrIRSytX8xR6nKPAH89WnwTcaU608b/Q==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-3.0.4.tgz", + "integrity": "sha512-Z0TbvXkRbacjFFLpVpV0e2mheCh+WzQpcqL+4xp49uNJOxOnIAPZyXtUxZ5Qn3QBTGKA11Exjd9a5411rBrhDg==", "dependencies": { - "@npmcli/name-from-folder": "^1.0.1", - "glob": "^7.1.6", - "minimatch": "^3.0.4", - "read-package-json-fast": "^2.0.1" + "@npmcli/name-from-folder": "^2.0.0", + "glob": "^10.2.2", + "minimatch": "^9.0.0", + "read-package-json-fast": "^3.0.0" }, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/map-workspaces/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@npmcli/map-workspaces/node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/@npmcli/map-workspaces/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@npmcli/metavuln-calculator": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-1.1.1.tgz", - "integrity": "sha512-9xe+ZZ1iGVaUovBVFI9h3qW+UuECUzhvZPxK9RaEA2mjU26o5D0JloGYWwLYvQELJNmBdQB6rrpuN8jni6LwzQ==", + "node_modules/@npmcli/map-workspaces/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { - "cacache": "^15.0.5", - "pacote": "^11.1.11", - "semver": "^7.3.2" + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@npmcli/move-file": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", - "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", - "deprecated": "This functionality has been moved to @npmcli/fs", + "node_modules/@npmcli/map-workspaces/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@npmcli/map-workspaces/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/metavuln-calculator": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-7.0.0.tgz", + "integrity": "sha512-Pw0tyX02VkpqlIQlG2TeiJNsdrecYeUU0ubZZa9pi3N37GCsxI+en43u4hYFdq+eSx1A9a9vwFAUyqEtKFsbHQ==", "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" + "cacache": "^18.0.0", + "json-parse-even-better-errors": "^3.0.0", + "pacote": "^17.0.0", + "semver": "^7.3.5" }, "engines": { - "node": ">=10" + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/metavuln-calculator/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/name-from-folder": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz", - "integrity": "sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-2.0.0.tgz", + "integrity": "sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/@npmcli/node-gyp": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz", - "integrity": "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", + "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/@npmcli/package-json": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-1.0.1.tgz", - "integrity": "sha512-y6jnu76E9C23osz8gEMBayZmaZ69vFOIk8vR1FJL/wbEJ54+9aVG9rLTjQKSXfgYZEr50nw1txBBFfBZZe+bYg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.0.0.tgz", + "integrity": "sha512-OI2zdYBLhQ7kpNPaJxiflofYIpkNLi+lnGdzqUOfRmCF3r2l1nadcjtCYMJKv/Utm/ZtlffaUuTiAktPHbc17g==", + "dependencies": { + "@npmcli/git": "^5.0.0", + "glob": "^10.2.2", + "hosted-git-info": "^7.0.0", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.5.3" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/package-json/node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/package-json/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/@npmcli/package-json/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { - "json-parse-even-better-errors": "^2.3.1" + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/package-json/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@npmcli/package-json/node_modules/normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "dependencies": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/@npmcli/promise-spawn": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz", - "integrity": "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-7.0.0.tgz", + "integrity": "sha512-wBqcGsMELZna0jDblGd7UXgOby45TQaMWmbFwWX+SEotk4HV6zG2t6rT9siyLhPk4P6YYqgfL1UO8nMWDBVJXQ==", + "dependencies": { + "which": "^4.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/promise-spawn/node_modules/isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/@npmcli/promise-spawn/node_modules/which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/query": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/query/-/query-3.0.1.tgz", + "integrity": "sha512-0jE8iHBogf/+bFDj+ju6/UMLbJ39c8h6nSe6qile+dB7PJ0iV3gNqcb2vtt6WWCBrxv9uAjzUT/8vroluulidA==", "dependencies": { - "infer-owner": "^1.0.4" + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/run-script": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz", - "integrity": "sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-7.0.2.tgz", + "integrity": "sha512-Omu0rpA8WXvcGeY6DDzyRoY1i5DkCBkzyJ+m2u7PD6quzb0TvSqdIPOkTn8ZBOj7LbbcbMfZ3c5skwSu6m8y2w==", + "dependencies": { + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^7.0.0", + "node-gyp": "^10.0.0", + "read-package-json-fast": "^3.0.0", + "which": "^4.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script/node_modules/isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/@npmcli/run-script/node_modules/which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", "dependencies": { - "@npmcli/node-gyp": "^1.0.2", - "@npmcli/promise-spawn": "^1.3.2", - "node-gyp": "^7.1.0", - "read-package-json-fast": "^2.0.1" + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" } }, "node_modules/@octokit/auth-token": { @@ -3014,6 +3272,15 @@ "@octokit/openapi-types": "^12.11.0" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@rollup/plugin-babel": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz", @@ -3259,6 +3526,50 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@sigstore/bundle": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.1.0.tgz", + "integrity": "sha512-89uOo6yh/oxaU8AeOUnVrTdVMcGk9Q1hJa7Hkvalc6G3Z3CupWk4Xe9djSgJm9fMkH69s0P0cVHUoKSOemLdng==", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/protobuf-specs": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz", + "integrity": "sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.2.0.tgz", + "integrity": "sha512-AAbmnEHDQv6CSfrWA5wXslGtzLPtAtHZleKOgxdQYvx/s76Fk6T6ZVt7w2IGV9j1UrFeBocTTQxaXG2oRrDhYA==", + "dependencies": { + "@sigstore/bundle": "^2.1.0", + "@sigstore/protobuf-specs": "^0.2.1", + "make-fetch-happen": "^13.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/tuf": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-2.2.0.tgz", + "integrity": "sha512-KKATZ5orWfqd9ZG6MN8PtCIx4eevWSuGRKQvofnWXRpyMyUEpmrzg5M5BrCpjM+NfZ0RbNGOh5tCz/P2uoRqOA==", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.1", + "tuf-js": "^2.1.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, "node_modules/@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", @@ -3283,12 +3594,46 @@ "node": ">=10" } }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "node_modules/@tufjs/canonical-json": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz", + "integrity": "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==", "engines": { - "node": ">= 6" + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-2.0.0.tgz", + "integrity": "sha512-c8nj8BaOExmZKO2DXhDfegyhSGcG9E/mPN3U13L+/PsoWm1uaGiHHjxqSHQiasDBQwDA3aHuw9+9spYAP1qvvg==", + "dependencies": { + "@tufjs/canonical-json": "2.0.0", + "minimatch": "^9.0.3" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/@types/cacheable-request": { @@ -3432,6 +3777,17 @@ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, "node_modules/acorn": { "version": "8.8.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", @@ -3478,19 +3834,6 @@ "node": ">= 6.0.0" } }, - "node_modules/agentkeepalive": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", - "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", - "dependencies": { - "debug": "^4.1.0", - "depd": "^2.0.0", - "humanize-ms": "^1.2.1" - }, - "engines": { - "node": ">= 8.0.0" - } - }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -3569,7 +3912,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, "engines": { "node": ">=12" }, @@ -3644,86 +3986,36 @@ "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" }, "node_modules/archiver": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.1.tgz", - "integrity": "sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/archiver/-/archiver-6.0.1.tgz", + "integrity": "sha512-CXGy4poOLBKptiZH//VlWdFuUC1RESbdZjGjILwBuZ73P7WkAUN0htfSfBq/7k6FRFlpu7bg4JOkj1vU9G6jcQ==", "dependencies": { - "archiver-utils": "^2.1.0", - "async": "^3.2.3", + "archiver-utils": "^4.0.1", + "async": "^3.2.4", "buffer-crc32": "^0.2.1", "readable-stream": "^3.6.0", - "readdir-glob": "^1.0.0", - "tar-stream": "^2.2.0", - "zip-stream": "^4.1.0" + "readdir-glob": "^1.1.2", + "tar-stream": "^3.0.0", + "zip-stream": "^5.0.1" }, "engines": { - "node": ">= 10" + "node": ">= 12.0.0" } }, "node_modules/archiver-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz", - "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-4.0.1.tgz", + "integrity": "sha512-Q4Q99idbvzmgCTEAAhi32BkOyq8iVI5EwdO0PmBDSGIzzjYNdcFn7Q7k3OzbLy4kLUPXfJtG6fO2RjftXbobBg==", "dependencies": { - "glob": "^7.1.4", + "glob": "^8.0.0", "graceful-fs": "^4.2.0", "lazystream": "^1.0.0", - "lodash.defaults": "^4.2.0", - "lodash.difference": "^4.5.0", - "lodash.flatten": "^4.4.0", - "lodash.isplainobject": "^4.0.6", - "lodash.union": "^4.6.0", + "lodash": "^4.17.15", "normalize-path": "^3.0.0", - "readable-stream": "^2.0.0" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/archiver-utils/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "readable-stream": "^3.6.0" }, "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/archiver-utils/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/archiver-utils/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/archiver-utils/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" + "node": ">= 12.0.0" } }, "node_modules/archy": { @@ -3733,39 +4025,53 @@ "dev": true }, "node_modules/are-we-there-yet": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", - "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-4.0.1.tgz", + "integrity": "sha512-2zuA+jpOYBRgoBCfa+fB87Rk0oGJjDX6pxGzqH6f33NzUhG25Xur6R0u0Z9VVAq8Z5JvQpQI6j6rtonuivC8QA==", "dependencies": { "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "readable-stream": "^4.1.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/are-we-there-yet/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "node_modules/are-we-there-yet/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" } }, - "node_modules/are-we-there-yet/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/are-we-there-yet/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "node_modules/are-we-there-yet/node_modules/readable-stream": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", + "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==", "dependencies": { - "safe-buffer": "~5.1.0" + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/arg": { @@ -3863,11 +4169,6 @@ "node": ">=0.10.0" } }, - "node_modules/asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" - }, "node_modules/asn1": { "version": "0.2.6", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", @@ -3885,12 +4186,12 @@ } }, "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", "dev": true, "engines": { - "node": "*" + "node": ">=12" } }, "node_modules/astral-regex": { @@ -3903,9 +4204,9 @@ } }, "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" }, "node_modules/async-retry": { "version": "1.2.3", @@ -3954,6 +4255,11 @@ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.12.0.tgz", "integrity": "sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==" }, + "node_modules/b4a": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz", + "integrity": "sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==" + }, "node_modules/babel-helper-evaluate-path": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.5.0.tgz", @@ -4215,19 +4521,40 @@ } }, "node_modules/bin-links": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-2.3.0.tgz", - "integrity": "sha512-JzrOLHLwX2zMqKdyYZjkDgQGT+kHDkIhv2/IK2lJ00qLxV4TmFoHi8drDBb6H5Zrz1YfgHkai4e2MGPqnoUhqA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-4.0.3.tgz", + "integrity": "sha512-obsRaULtJurnfox/MDwgq6Yo9kzbv1CPTk/1/s7Z/61Lezc8IKkFCOXNeVLXz0456WRzBQmSsDWlai2tIhBsfA==", "dependencies": { - "cmd-shim": "^4.0.1", - "mkdirp-infer-owner": "^2.0.0", - "npm-normalize-package-bin": "^1.0.0", - "read-cmd-shim": "^2.0.0", - "rimraf": "^3.0.0", - "write-file-atomic": "^3.0.3" + "cmd-shim": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "read-cmd-shim": "^4.0.0", + "write-file-atomic": "^5.0.0" }, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/bin-links/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/bin-links/node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/binary-extensions": { @@ -4242,6 +4569,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -4420,6 +4748,7 @@ "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, "funding": [ { "type": "github", @@ -4491,66 +4820,129 @@ } }, "node_modules/builtins": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==" + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dependencies": { + "semver": "^7.0.0" + } }, "node_modules/cacache": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", - "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", - "dependencies": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", + "version": "18.0.1", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.1.tgz", + "integrity": "sha512-g4Uf2CFZPaxtJKre6qr4zqLDOOPU7bNVhWjlNhvzc51xaTOx2noMOLhfFkTAqwtrAZAKQUuDfyjitzilpA8WsQ==", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", + "minipass-pipeline": "^1.2.4", "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" }, "engines": { - "node": ">= 10" + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/cacache/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/cacache/node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/cacache/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/cacache/node_modules/ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "node_modules/cacache/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/cacache/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { - "minipass": "^3.1.1" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">= 8" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/cacache/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/cacheable-lookup": { @@ -4703,21 +5095,19 @@ "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" }, "node_modules/chai": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", - "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.0.0.tgz", + "integrity": "sha512-HO5p0oEKd5M6HEcwOkNAThAE3j960vIZvVcc0t2tI06Dd0ATu69cEnMB2wOhC5/ZyQ6m67w3ePjU/HzXsSsdBA==", "dev": true, "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^4.1.2", - "get-func-name": "^2.0.0", - "loupe": "^2.3.1", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" + "assertion-error": "^2.0.1", + "check-error": "^2.0.0", + "deep-eql": "^5.0.1", + "loupe": "^3.0.0", + "pathval": "^2.0.0" }, "engines": { - "node": ">=4" + "node": ">=12" } }, "node_modules/chalk": { @@ -4740,12 +5130,12 @@ "dev": true }, "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.0.0.tgz", + "integrity": "sha512-tjLAOBHKVxtPoHe/SA7kNOMvhCRdCJ3vETdeY0RuAc9popf+hyaSV6ZEg9hr4cpWF7jmo/JSWEnLDrnijS9Tog==", "dev": true, "engines": { - "node": "*" + "node": ">= 16" } }, "node_modules/chokidar": { @@ -4799,12 +5189,12 @@ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" }, "node_modules/clang-format": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.6.0.tgz", - "integrity": "sha512-W3/L7fWkA8DoLkz9UGjrRnNi+J5a5TuS2HDLqk6WsicpOzb66MBu4eY/EcXhicHriVnAXWQVyk5/VeHWY6w4ow==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz", + "integrity": "sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==", "dev": true, "dependencies": { - "async": "^1.5.2", + "async": "^3.2.3", "glob": "^7.0.0", "resolve": "^1.1.6" }, @@ -4814,12 +5204,6 @@ "git-clang-format": "bin/git-clang-format" } }, - "node_modules/clang-format/node_modules/async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==", - "dev": true - }, "node_modules/clang-format/node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -4841,9 +5225,9 @@ } }, "node_modules/clean-css": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", - "integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.3.tgz", + "integrity": "sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==", "dependencies": { "source-map": "~0.6.0" }, @@ -4984,22 +5368,11 @@ } }, "node_modules/cmd-shim": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz", - "integrity": "sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw==", - "dependencies": { - "mkdirp-infer-owner": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.2.tgz", + "integrity": "sha512-+FFYbB0YLaAkhkcrjkyNLYDiOsFSfRjwjY19LXk/psmMx1z00xlCv7hhQoTGXXIKi+YXHL/iiFo8NqMVQX9nOw==", "engines": { - "node": ">=0.10.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/color-convert": { @@ -5054,9 +5427,9 @@ } }, "node_modules/commander": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", - "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", + "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", "dev": true, "engines": { "node": ">=16" @@ -5149,271 +5522,474 @@ } }, "node_modules/compress-commons": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.1.tgz", - "integrity": "sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-5.0.1.tgz", + "integrity": "sha512-MPh//1cERdLtqwO3pOFLeXtpuai0Y2WCd5AhtKxznqM7WtaMYaOEMSgn45d9D10sIHSfIKE603HlOp8OPGrvag==", "dependencies": { - "buffer-crc32": "^0.2.13", - "crc32-stream": "^4.0.2", + "crc-32": "^1.2.0", + "crc32-stream": "^5.0.0", "normalize-path": "^3.0.0", "readable-stream": "^3.6.0" }, "engines": { - "node": ">= 10" + "node": ">= 12.0.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" + }, + "node_modules/conventional-changelog": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-5.1.0.tgz", + "integrity": "sha512-aWyE/P39wGYRPllcCEZDxTVEmhyLzTc9XA6z6rVfkuCD2UBnhV/sgSOKbQrEG5z9mEZJjnopjgQooTKxEg8mAg==", + "dev": true, + "dependencies": { + "conventional-changelog-angular": "^7.0.0", + "conventional-changelog-atom": "^4.0.0", + "conventional-changelog-codemirror": "^4.0.0", + "conventional-changelog-conventionalcommits": "^7.0.2", + "conventional-changelog-core": "^7.0.0", + "conventional-changelog-ember": "^4.0.0", + "conventional-changelog-eslint": "^5.0.0", + "conventional-changelog-express": "^4.0.0", + "conventional-changelog-jquery": "^5.0.0", + "conventional-changelog-jshint": "^4.0.0", + "conventional-changelog-preset-loader": "^4.1.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-angular": { + "version": "5.0.13", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", + "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0", + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-atom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-4.0.0.tgz", + "integrity": "sha512-q2YtiN7rnT1TGwPTwjjBSIPIzDJCRE+XAUahWxnh+buKK99Kks4WLMHoexw38GXx9OUxAsrp44f9qXe5VEMYhw==", + "dev": true, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-cli": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-4.1.0.tgz", + "integrity": "sha512-MscvILWZ6nWOoC+p/3Nn3D2cVLkjeQjyZPUr0bQ+vUORE/SPrkClJh8BOoMNpS4yk+zFJ5LlgXACxH6XGQoRXA==", + "dev": true, + "dependencies": { + "add-stream": "^1.0.0", + "conventional-changelog": "^5.1.0", + "meow": "^12.0.1", + "tempfile": "^5.0.0" + }, + "bin": { + "conventional-changelog": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-cli/node_modules/meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true, + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-codemirror": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-4.0.0.tgz", + "integrity": "sha512-hQSojc/5imn1GJK3A75m9hEZZhc3urojA5gMpnar4JHmgLnuM3CUIARPpEk86glEKr3c54Po3WV/vCaO/U8g3Q==", + "dev": true, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-conventionalcommits": { + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", + "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-core": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-7.0.0.tgz", + "integrity": "sha512-UYgaB1F/COt7VFjlYKVE/9tTzfU3VUq47r6iWf6lM5T7TlOxr0thI63ojQueRLIpVbrtHK4Ffw+yQGduw2Bhdg==", + "dev": true, + "dependencies": { + "@hutson/parse-repository-url": "^5.0.0", + "add-stream": "^1.0.0", + "conventional-changelog-writer": "^7.0.0", + "conventional-commits-parser": "^5.0.0", + "git-raw-commits": "^4.0.0", + "git-semver-tags": "^7.0.0", + "hosted-git-info": "^7.0.0", + "normalize-package-data": "^6.0.0", + "read-pkg": "^8.0.0", + "read-pkg-up": "^10.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-core/node_modules/conventional-commits-parser": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz", + "integrity": "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==", + "dev": true, + "dependencies": { + "is-text-path": "^2.0.0", + "JSONStream": "^1.3.5", + "meow": "^12.0.1", + "split2": "^4.0.0" + }, + "bin": { + "conventional-commits-parser": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-core/node_modules/dargs": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-8.1.0.tgz", + "integrity": "sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/git-raw-commits": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-4.0.0.tgz", + "integrity": "sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==", + "dev": true, + "dependencies": { + "dargs": "^8.0.0", + "meow": "^12.0.1", + "split2": "^4.0.0" + }, + "bin": { + "git-raw-commits": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-core/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" - }, - "node_modules/conventional-changelog": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-4.0.0.tgz", - "integrity": "sha512-JbZjwE1PzxQCvm+HUTIr+pbSekS8qdOZzMakdFyPtdkEWwFvwEJYONzjgMm0txCb2yBcIcfKDmg8xtCKTdecNQ==", + "node_modules/conventional-changelog-core/node_modules/is-text-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz", + "integrity": "sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==", "dev": true, "dependencies": { - "conventional-changelog-angular": "^6.0.0", - "conventional-changelog-atom": "^3.0.0", - "conventional-changelog-codemirror": "^3.0.0", - "conventional-changelog-conventionalcommits": "^6.0.0", - "conventional-changelog-core": "^5.0.0", - "conventional-changelog-ember": "^3.0.0", - "conventional-changelog-eslint": "^4.0.0", - "conventional-changelog-express": "^3.0.0", - "conventional-changelog-jquery": "^4.0.0", - "conventional-changelog-jshint": "^3.0.0", - "conventional-changelog-preset-loader": "^3.0.0" + "text-extensions": "^2.0.0" }, "engines": { - "node": ">=14" + "node": ">=8" } }, - "node_modules/conventional-changelog-angular": { - "version": "5.0.13", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", - "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", + "node_modules/conventional-changelog-core/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", "dev": true, - "dependencies": { - "compare-func": "^2.0.0", - "q": "^1.5.1" - }, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/conventional-changelog-atom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-3.0.0.tgz", - "integrity": "sha512-pnN5bWpH+iTUWU3FaYdw5lJmfWeqSyrUkG+wyHBI9tC1dLNnHkbAOg1SzTQ7zBqiFrfo55h40VsGXWMdopwc5g==", + "node_modules/conventional-changelog-core/node_modules/lines-and-columns": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz", + "integrity": "sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==", "dev": true, "engines": { - "node": ">=14" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, - "node_modules/conventional-changelog-cli": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-3.0.0.tgz", - "integrity": "sha512-3zMYi0IrfNd6AAHdPMrcgCg5DbcffiqNaEBf8cYrlntXPbBIXaELTbnRmUy5TQAe0Hkgi0J6+/VmRCkkJQflcQ==", + "node_modules/conventional-changelog-core/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", "dev": true, - "dependencies": { - "add-stream": "^1.0.0", - "conventional-changelog": "^4.0.0", - "meow": "^8.1.2", - "tempfile": "^3.0.0" - }, - "bin": { - "conventional-changelog": "cli.js" - }, "engines": { - "node": ">=14" + "node": "14 || >=16.14" } }, - "node_modules/conventional-changelog-codemirror": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-3.0.0.tgz", - "integrity": "sha512-wzchZt9HEaAZrenZAUUHMCFcuYzGoZ1wG/kTRMICxsnW5AXohYMRxnyecP9ob42Gvn5TilhC0q66AtTPRSNMfw==", + "node_modules/conventional-changelog-core/node_modules/meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", "dev": true, "engines": { - "node": ">=14" + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/conventional-changelog-conventionalcommits": { - "version": "4.6.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", - "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", + "node_modules/conventional-changelog-core/node_modules/normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", "dev": true, "dependencies": { - "compare-func": "^2.0.0", - "lodash": "^4.17.15", - "q": "^1.5.1" + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" }, "engines": { - "node": ">=10" + "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/conventional-changelog-core": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-5.0.2.tgz", - "integrity": "sha512-RhQOcDweXNWvlRwUDCpaqXzbZemKPKncCWZG50Alth72WITVd6nhVk9MJ6w1k9PFNBcZ3YwkdkChE+8+ZwtUug==", + "node_modules/conventional-changelog-core/node_modules/parse-json": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-7.1.1.tgz", + "integrity": "sha512-SgOTCX/EZXtZxBE5eJ97P4yGM5n37BwRU+YMsH4vNzFqJV/oWFXXCmwFlgWUM4PrakybVOueJJ6pwHqSVhTFDw==", "dev": true, "dependencies": { - "add-stream": "^1.0.0", - "conventional-changelog-writer": "^6.0.0", - "conventional-commits-parser": "^4.0.0", - "dateformat": "^3.0.3", - "get-pkg-repo": "^4.2.1", - "git-raw-commits": "^3.0.0", - "git-remote-origin-url": "^2.0.0", - "git-semver-tags": "^5.0.0", - "normalize-package-data": "^3.0.3", - "read-pkg": "^3.0.0", - "read-pkg-up": "^3.0.0" + "@babel/code-frame": "^7.21.4", + "error-ex": "^1.3.2", + "json-parse-even-better-errors": "^3.0.0", + "lines-and-columns": "^2.0.3", + "type-fest": "^3.8.0" }, "engines": { - "node": ">=14" + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/conventional-changelog-core/node_modules/conventional-commits-parser": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz", - "integrity": "sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg==", + "node_modules/conventional-changelog-core/node_modules/parse-json/node_modules/type-fest": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", + "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", + "dev": true, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/read-pkg": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-8.1.0.tgz", + "integrity": "sha512-PORM8AgzXeskHO/WEv312k9U03B8K9JSiWF/8N9sUuFjBa+9SF2u6K7VClzXwDXab51jCd8Nd36CNM+zR97ScQ==", "dev": true, "dependencies": { - "is-text-path": "^1.0.1", - "JSONStream": "^1.3.5", - "meow": "^8.1.2", - "split2": "^3.2.2" + "@types/normalize-package-data": "^2.4.1", + "normalize-package-data": "^6.0.0", + "parse-json": "^7.0.0", + "type-fest": "^4.2.0" }, - "bin": { - "conventional-commits-parser": "cli.js" + "engines": { + "node": ">=16" }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "dev": true, "engines": { - "node": ">=14" + "node": ">= 10.x" } }, - "node_modules/conventional-changelog-core/node_modules/git-raw-commits": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-3.0.0.tgz", - "integrity": "sha512-b5OHmZ3vAgGrDn/X0kS+9qCfNKWe4K/jFnhwzVWWg0/k5eLa3060tZShrRg8Dja5kPc+YjS0Gc6y7cRr44Lpjw==", + "node_modules/conventional-changelog-core/node_modules/text-extensions": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz", + "integrity": "sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==", "dev": true, - "dependencies": { - "dargs": "^7.0.0", - "meow": "^8.1.2", - "split2": "^3.2.2" - }, - "bin": { - "git-raw-commits": "cli.js" + "engines": { + "node": ">=8" }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/type-fest": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.9.0.tgz", + "integrity": "sha512-KS/6lh/ynPGiHD/LnAobrEFq3Ad4pBzOlJ1wAnJx9N4EYoqFhMfLIBjUT2UEx4wg5ZE+cC1ob6DCSpppVo+rtg==", + "dev": true, "engines": { - "node": ">=14" + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/conventional-changelog-ember": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-3.0.0.tgz", - "integrity": "sha512-7PYthCoSxIS98vWhVcSphMYM322OxptpKAuHYdVspryI0ooLDehRXWeRWgN+zWSBXKl/pwdgAg8IpLNSM1/61A==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-4.0.0.tgz", + "integrity": "sha512-D0IMhwcJUg1Y8FSry6XAplEJcljkHVlvAZddhhsdbL1rbsqRsMfGx/PIkPYq0ru5aDgn+OxhQ5N5yR7P9mfsvA==", "dev": true, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-changelog-eslint": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-4.0.0.tgz", - "integrity": "sha512-nEZ9byP89hIU0dMx37JXQkE1IpMmqKtsaR24X7aM3L6Yy/uAtbb+ogqthuNYJkeO1HyvK7JsX84z8649hvp43Q==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-5.0.0.tgz", + "integrity": "sha512-6JtLWqAQIeJLn/OzUlYmzd9fKeNSWmQVim9kql+v4GrZwLx807kAJl3IJVc3jTYfVKWLxhC3BGUxYiuVEcVjgA==", "dev": true, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-changelog-express": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-3.0.0.tgz", - "integrity": "sha512-HqxihpUMfIuxvlPvC6HltA4ZktQEUan/v3XQ77+/zbu8No/fqK3rxSZaYeHYant7zRxQNIIli7S+qLS9tX9zQA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-4.0.0.tgz", + "integrity": "sha512-yWyy5c7raP9v7aTvPAWzqrztACNO9+FEI1FSYh7UP7YT1AkWgv5UspUeB5v3Ibv4/o60zj2o9GF2tqKQ99lIsw==", "dev": true, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-changelog-jquery": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-4.0.0.tgz", - "integrity": "sha512-TTIN5CyzRMf8PUwyy4IOLmLV2DFmPtasKN+x7EQKzwSX8086XYwo+NeaeA3VUT8bvKaIy5z/JoWUvi7huUOgaw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-5.0.0.tgz", + "integrity": "sha512-slLjlXLRNa/icMI3+uGLQbtrgEny3RgITeCxevJB+p05ExiTgHACP5p3XiMKzjBn80n+Rzr83XMYfRInEtCPPw==", "dev": true, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-changelog-jshint": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-3.0.0.tgz", - "integrity": "sha512-bQof4byF4q+n+dwFRkJ/jGf9dCNUv4/kCDcjeCizBvfF81TeimPZBB6fT4HYbXgxxfxWXNl/i+J6T0nI4by6DA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-4.0.0.tgz", + "integrity": "sha512-LyXq1bbl0yG0Ai1SbLxIk8ZxUOe3AjnlwE6sVRQmMgetBk+4gY9EO3d00zlEt8Y8gwsITytDnPORl8al7InTjg==", "dev": true, "dependencies": { "compare-func": "^2.0.0" }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-changelog-preset-loader": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-3.0.0.tgz", - "integrity": "sha512-qy9XbdSLmVnwnvzEisjxdDiLA4OmV3o8db+Zdg4WiFw14fP3B6XNz98X0swPPpkTd/pc1K7+adKgEDM1JCUMiA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-4.1.0.tgz", + "integrity": "sha512-HozQjJicZTuRhCRTq4rZbefaiCzRM2pr6u2NL3XhrmQm4RMnDXfESU6JKu/pnKwx5xtdkYfNCsbhN5exhiKGJA==", "dev": true, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-changelog-writer": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz", - "integrity": "sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-7.0.1.tgz", + "integrity": "sha512-Uo+R9neH3r/foIvQ0MKcsXkX642hdm9odUp7TqgFS7BsalTcjzRlIfWZrZR1gbxOozKucaKt5KAbjW8J8xRSmA==", "dev": true, "dependencies": { - "conventional-commits-filter": "^3.0.0", - "dateformat": "^3.0.3", + "conventional-commits-filter": "^4.0.0", "handlebars": "^4.7.7", "json-stringify-safe": "^5.0.1", - "meow": "^8.1.2", - "semver": "^7.0.0", - "split": "^1.0.1" + "meow": "^12.0.1", + "semver": "^7.5.2", + "split2": "^4.0.0" }, "bin": { - "conventional-changelog-writer": "cli.js" + "conventional-changelog-writer": "cli.mjs" }, "engines": { - "node": ">=14" + "node": ">=16" + } + }, + "node_modules/conventional-changelog-writer/node_modules/meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true, + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-writer/node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "dev": true, + "engines": { + "node": ">= 10.x" } }, "node_modules/conventional-changelog/node_modules/conventional-changelog-angular": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz", - "integrity": "sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz", + "integrity": "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==", "dev": true, "dependencies": { "compare-func": "^2.0.0" }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-6.1.0.tgz", - "integrity": "sha512-3cS3GEtR78zTfMzk0AizXKKIdN4OvSh7ibNz6/DPbhWWQu7LqE/8+/GqSodV+sywUR2gpJAdP/1JFf4XtN7Zpw==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", + "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", "dev": true, "dependencies": { "compare-func": "^2.0.0" }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-commit-types": { @@ -5423,16 +5999,12 @@ "dev": true }, "node_modules/conventional-commits-filter": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz", - "integrity": "sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-4.0.0.tgz", + "integrity": "sha512-rnpnibcSOdFcdclpFwWa+pPlZJhXE7l+XK04zxhbWrhgpR96h33QLz8hITTXbcYICxVr3HZFtbtUAQ+4LdBo9A==", "dev": true, - "dependencies": { - "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.1" - }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-commits-parser": { @@ -5525,15 +6097,15 @@ } }, "node_modules/crc32-stream": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.2.tgz", - "integrity": "sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-5.0.0.tgz", + "integrity": "sha512-B0EPa1UK+qnpBZpG+7FgPCu0J2ETLpXq09o9BkLkEAhdB6Z61Qo4pJ3JYu0c+Qi+/SAL7QThqnzS06pmSSyZaw==", "dependencies": { "crc-32": "^1.2.0", "readable-stream": "^3.4.0" }, "engines": { - "node": ">= 10" + "node": ">= 12.0.0" } }, "node_modules/create-require": { @@ -5546,7 +6118,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -5556,6 +6127,17 @@ "node": ">= 8" } }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/cycle": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz", @@ -5586,12 +6168,13 @@ } }, "node_modules/danger": { - "version": "11.2.7", - "resolved": "https://registry.npmjs.org/danger/-/danger-11.2.7.tgz", - "integrity": "sha512-Oqkrh6cqvJx+hVE/UHUFmkw/HqQ4as83lFvj37RDLfRQcJ4f4jnOtcci2heb5ik+NcR0GZwPJksAyfIhOc21ng==", + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/danger/-/danger-11.3.1.tgz", + "integrity": "sha512-+slkGnbf0czY7g4LSuYpYkKJgFrb9YIXFJvV5JAuLLF39CXLlUw0iebgeL3ASK1t6RDb8xe+Rk2F5ilh2Hdv2w==", "dev": true, "dependencies": { - "@gitbeaker/node": "^21.3.0", + "@gitbeaker/core": "^35.8.1", + "@gitbeaker/node": "^35.8.1", "@octokit/rest": "^18.12.0", "async-retry": "1.2.3", "chalk": "^2.3.0", @@ -5698,15 +6281,6 @@ "url": "https://opencollective.com/date-fns" } }, - "node_modules/dateformat": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", - "dev": true, - "engines": { - "node": "*" - } - }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -5723,14 +6297,6 @@ } } }, - "node_modules/debuglog": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", - "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", - "engines": { - "node": "*" - } - }, "node_modules/decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", @@ -5808,13 +6374,10 @@ "dev": true }, "node_modules/deep-eql": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", - "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.1.tgz", + "integrity": "sha512-nwQCf6ne2gez3o1MxWifqkciwt0zhl0LO1/UwVu4uMBuPmflWM4oQ70XMqHqnBJA+nhzncaqL9HVL6KkHJ28lw==", "dev": true, - "dependencies": { - "type-detect": "^4.0.0" - }, "engines": { "node": ">=6" } @@ -5886,6 +6449,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/delay": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", + "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -5899,14 +6474,6 @@ "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==" }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/deprecation": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", @@ -5939,15 +6506,6 @@ "node": ">=8" } }, - "node_modules/dezalgo": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", - "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", - "dependencies": { - "asap": "^2.0.0", - "wrappy": "1" - } - }, "node_modules/diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -5981,6 +6539,11 @@ "node": ">=8" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/ecc-jsbn": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", @@ -6048,6 +6611,7 @@ "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, "dependencies": { "once": "^1.4.0" } @@ -6258,18 +6822,18 @@ } }, "node_modules/eslint-config-axway": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-axway/-/eslint-config-axway-7.0.0.tgz", - "integrity": "sha512-qeoE9UZxGttQfy9YyIEiGa1l33tzciztRul46COWGGOCRnMyU1fqJChOvkp7Ek5VvWqSqwU511qH1i+9CD2olw==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-axway/-/eslint-config-axway-8.0.0.tgz", + "integrity": "sha512-k0YDZb1TxFTgU1qxN5d/LWpypio7IpLo86spW4LjvSJIIv3QaeuIllTizvuP5HT16ExFQl8oloMUNXVDjqGpsA==", "dev": true, "dependencies": { "eslint-plugin-chai-expect": "^3.0.0", - "eslint-plugin-import": "^2.25.4", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^6.0.0", - "eslint-plugin-security": "^1.4.0", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-n": "^15.6.1", + "eslint-plugin-promise": "^6.1.1", + "eslint-plugin-security": "^1.7.1", "find-root": "^1.1.0", - "semver": "^7.3.4" + "semver": "^7.3.8" }, "peerDependencies": { "eslint": "8.x" @@ -6334,9 +6898,9 @@ } }, "node_modules/eslint-plugin-es": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", - "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz", + "integrity": "sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==", "dev": true, "dependencies": { "eslint-utils": "^2.0.0", @@ -6436,13 +7000,13 @@ } }, "node_modules/eslint-plugin-mocha": { - "version": "10.0.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.0.4.tgz", - "integrity": "sha512-8wzAeepVY027oBHz/TmBmUr7vhVqoC1KTFeDybFLhbaWKx+aQ7fJJVuUsqcUy+L+G+XvgQBJY+cbAf7hl5DF7Q==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.2.0.tgz", + "integrity": "sha512-ZhdxzSZnd1P9LqDPF0DBcFLpRIGdh1zkF2JHnQklKQOvrQtT73kdP5K9V2mzvbLR+cCAO9OI48NXK/Ax9/ciCQ==", "dev": true, "dependencies": { "eslint-utils": "^3.0.0", - "ramda": "^0.28.0" + "rambda": "^7.4.0" }, "engines": { "node": ">=14.0.0" @@ -6451,57 +7015,29 @@ "eslint": ">=7.0.0" } }, - "node_modules/eslint-plugin-node": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", - "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", + "node_modules/eslint-plugin-n": { + "version": "15.7.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.7.0.tgz", + "integrity": "sha512-jDex9s7D/Qial8AGVIHq4W7NswpUD5DPDL2RH8Lzd9EloWUuvUkHfv4FRLMipH5q2UtyurorBkPeNi1wVWNh3Q==", "dev": true, "dependencies": { - "eslint-plugin-es": "^3.0.0", - "eslint-utils": "^2.0.0", + "builtins": "^5.0.1", + "eslint-plugin-es": "^4.1.0", + "eslint-utils": "^3.0.0", "ignore": "^5.1.1", - "minimatch": "^3.0.4", - "resolve": "^1.10.1", - "semver": "^6.1.0" - }, - "engines": { - "node": ">=8.10.0" - }, - "peerDependencies": { - "eslint": ">=5.16.0" - } - }, - "node_modules/eslint-plugin-node/node_modules/eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^1.1.0" + "is-core-module": "^2.11.0", + "minimatch": "^3.1.2", + "resolve": "^1.22.1", + "semver": "^7.3.8" }, "engines": { - "node": ">=6" + "node": ">=12.22.0" }, "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, - "node_modules/eslint-plugin-node/node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-node/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=7.0.0" } }, "node_modules/eslint-plugin-promise": { @@ -6784,6 +7320,22 @@ "node": ">=0.10.0" } }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "engines": { + "node": ">=0.8.x" + } + }, "node_modules/execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", @@ -6819,6 +7371,11 @@ "node": ">=0.10.0" } }, + "node_modules/exponential-backoff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", + "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==" + }, "node_modules/extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", @@ -6860,6 +7417,11 @@ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, + "node_modules/fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==" + }, "node_modules/fast-json-patch": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz", @@ -7173,9 +7735,9 @@ } }, "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dev": true, "dependencies": { "asynckit": "^0.4.0", @@ -7206,11 +7768,6 @@ } ] }, - "node_modules/fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" - }, "node_modules/fs-exists-sync": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz", @@ -7221,9 +7778,9 @@ } }, "node_modules/fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -7301,61 +7858,51 @@ } }, "node_modules/gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-5.0.1.tgz", + "integrity": "sha512-CmykPMJGuNan/3S4kZOpvvPYSNqSHANiWnh9XcMU2pSjtBfF0XzZ2p1bFAxTbnFxyBuPxQYHhzwaoOmUdqzvxQ==", "dependencies": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^4.0.1", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/gauge/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/gauge/node_modules/is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==", - "dependencies": { - "number-is-nan": "^1.0.0" - }, + "node_modules/gauge/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/gauge/node_modules/string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==", - "dependencies": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "node": ">=14" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/gauge/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dependencies": { - "ansi-regex": "^2.0.0" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, "node_modules/gensync": { @@ -7376,9 +7923,9 @@ } }, "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", "dev": true, "engines": { "node": "*" @@ -7413,114 +7960,6 @@ "node": ">=8.0.0" } }, - "node_modules/get-pkg-repo": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", - "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", - "dev": true, - "dependencies": { - "@hutson/parse-repository-url": "^3.0.0", - "hosted-git-info": "^4.0.0", - "through2": "^2.0.0", - "yargs": "^16.2.0" - }, - "bin": { - "get-pkg-repo": "src/cli.js" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-pkg-repo/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/get-pkg-repo/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/get-pkg-repo/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/get-pkg-repo/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/get-pkg-repo/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/get-pkg-repo/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/get-pkg-repo/node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/get-pkg-repo/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/get-stdin": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", @@ -7620,49 +8059,38 @@ "node": ">=10" } }, - "node_modules/git-remote-origin-url": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", - "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", - "dev": true, - "dependencies": { - "gitconfiglocal": "^1.0.0", - "pify": "^2.3.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/git-semver-tags": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-5.0.1.tgz", - "integrity": "sha512-hIvOeZwRbQ+7YEUmCkHqo8FOLQZCEn18yevLHADlFPZY02KJGsu5FZt9YW/lybfK2uhWFI7Qg/07LekJiTv7iA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-7.0.1.tgz", + "integrity": "sha512-NY0ZHjJzyyNXHTDZmj+GG7PyuAKtMsyWSwh07CR2hOZFa+/yoTsXci/nF2obzL8UDhakFNkD9gNdt/Ed+cxh2Q==", "dev": true, "dependencies": { - "meow": "^8.1.2", - "semver": "^7.0.0" + "meow": "^12.0.1", + "semver": "^7.5.2" }, "bin": { - "git-semver-tags": "cli.js" + "git-semver-tags": "cli.mjs" }, "engines": { - "node": ">=14" + "node": ">=16" } }, - "node_modules/gitconfiglocal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", + "node_modules/git-semver-tags/node_modules/meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", "dev": true, - "dependencies": { - "ini": "^1.3.2" + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/glob": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -7693,7 +8121,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, "dependencies": { "balanced-match": "^1.0.0" } @@ -7702,7 +8129,6 @@ "version": "5.1.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, @@ -7839,13 +8265,13 @@ } }, "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", "dev": true, "dependencies": { "minimist": "^1.2.5", - "neo-async": "^2.6.0", + "neo-async": "^2.6.2", "source-map": "^0.6.1", "wordwrap": "^1.0.0" }, @@ -8032,6 +8458,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -8142,14 +8569,6 @@ "node": "*" } }, - "node_modules/humanize-ms": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", - "dependencies": { - "ms": "^2.0.0" - } - }, "node_modules/husky": { "version": "8.0.3", "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", @@ -8231,11 +8650,36 @@ } }, "node_modules/ignore-walk": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", - "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.4.tgz", + "integrity": "sha512-t7sv42WkwFkyKbivUCglsQW5YWMskWtbEf4MNKX5u/CCWHKSPzN4FtBQGsQZgCLbxOzpVlcbWVK5KB3auIOjSw==", "dependencies": { - "minimatch": "^3.0.4" + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ignore-walk/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/import-fresh": { @@ -8279,11 +8723,6 @@ "node": ">=8" } }, - "node_modules/infer-owner": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==" - }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -9053,6 +9492,23 @@ "node": ">=8" } }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jake": { "version": "10.8.5", "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", @@ -9182,7 +9638,8 @@ "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true }, "node_modules/json-schema": { "version": "0.4.0", @@ -9299,14 +9756,14 @@ } }, "node_modules/just-diff": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-3.1.1.tgz", - "integrity": "sha512-sdMWKjRq8qWZEjDcVA6llnUT8RDEBIfOiGpYFPYa9u+2c39JCsejktSP7mj5eRid5EIvTzIpQ2kDOCw1Nq9BjQ==" + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-6.0.2.tgz", + "integrity": "sha512-S59eriX5u3/QhMNq3v/gm8Kd0w8OS6Tz2FS1NG4blv+z0MuQcBRJyFWjdovM0Rad4/P4aUPFtnkNjMjyMlMSYA==" }, "node_modules/just-diff-apply": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-3.1.2.tgz", - "integrity": "sha512-TCa7ZdxCeq6q3Rgms2JCRHTCfWAETPZ8SzYUbkYF6KR3I03sN29DaOIC+xyWboIcMvjAsD5iG2u/RWzHD8XpgQ==" + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-5.5.0.tgz", + "integrity": "sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw==" }, "node_modules/jwa": { "version": "1.4.1", @@ -9949,16 +10406,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "node_modules/lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" - }, - "node_modules/lodash.difference": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", - "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==" - }, "node_modules/lodash.find": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.find/-/lodash.find-4.6.0.tgz", @@ -9968,7 +10415,8 @@ "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "dev": true }, "node_modules/lodash.flattendeep": { "version": "4.4.0", @@ -9988,23 +10436,12 @@ "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", "dev": true }, - "node_modules/lodash.ismatch": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", - "dev": true - }, "node_modules/lodash.isobject": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz", "integrity": "sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA==", "dev": true }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" - }, "node_modules/lodash.keys": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-4.2.0.tgz", @@ -10034,11 +10471,6 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, - "node_modules/lodash.union": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", - "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" - }, "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", @@ -10249,12 +10681,12 @@ } }, "node_modules/loupe": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", - "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.0.2.tgz", + "integrity": "sha512-Tzlkbynv7dtqxTROe54Il+J4e/zG2iehtJGZUYpTv8WzlkW9qyEcE83UhGJCeuF3SCfzHuM5VWhBi47phV3+AQ==", "dev": true, "dependencies": { - "get-func-name": "^2.0.0" + "get-func-name": "^2.0.1" } }, "node_modules/lowercase-keys": { @@ -10315,53 +10747,32 @@ "dev": true }, "node_modules/make-fetch-happen": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", - "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-13.0.0.tgz", + "integrity": "sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A==", "dependencies": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.2.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.2", + "negotiator": "^0.6.3", "promise-retry": "^2.0.1", - "socks-proxy-agent": "^6.0.0", - "ssri": "^8.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/make-fetch-happen/node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" + "ssri": "^10.0.0" }, "engines": { - "node": ">= 6" + "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/make-fetch-happen/node_modules/ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "dependencies": { - "minipass": "^3.1.1" - }, + "node_modules/make-fetch-happen/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", "engines": { - "node": ">= 8" + "node": ">=16 || 14 >=14.17" } }, "node_modules/map-obj": { @@ -10617,7 +11028,19 @@ "picomatch": "^2.3.1" }, "engines": { - "node": ">=8.6" + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", + "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", + "dev": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=10.0.0" } }, "node_modules/mime-db": { @@ -10711,30 +11134,46 @@ } }, "node_modules/minipass-collect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", + "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", "dependencies": { - "minipass": "^3.0.0" + "minipass": "^7.0.3" }, "engines": { - "node": ">= 8" + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minipass-collect/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" } }, "node_modules/minipass-fetch": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", - "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", "dependencies": { - "minipass": "^3.1.0", + "minipass": "^7.0.3", "minipass-sized": "^1.0.3", - "minizlib": "^2.0.0" + "minizlib": "^2.1.2" }, "engines": { - "node": ">=8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "optionalDependencies": { - "encoding": "^0.1.12" + "encoding": "^0.1.13" + } + }, + "node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" } }, "node_modules/minipass-flush": { @@ -10802,19 +11241,6 @@ "node": ">=10" } }, - "node_modules/mkdirp-infer-owner": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz", - "integrity": "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==", - "dependencies": { - "chownr": "^2.0.0", - "infer-owner": "^1.0.4", - "mkdirp": "^1.0.3" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/mocha": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", @@ -11058,19 +11484,10 @@ "node": ">=10" } }, - "node_modules/modify-values": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/moment": { - "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", "engines": { "node": "*" } @@ -11210,59 +11627,147 @@ } }, "node_modules/node-gyp": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz", - "integrity": "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.0.1.tgz", + "integrity": "sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg==", "dependencies": { "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.3", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "request": "^2.88.2", - "rimraf": "^3.0.2", - "semver": "^7.3.2", - "tar": "^6.0.2", - "which": "^2.0.2" + "exponential-backoff": "^3.1.1", + "glob": "^10.3.10", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^13.0.0", + "nopt": "^7.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^4.0.0" }, "bin": { "node-gyp": "bin/node-gyp.js" }, "engines": { - "node": ">= 10.12.0" + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/node-gyp/node_modules/abbrev": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", + "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/node-gyp/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/node-gyp/node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/node-gyp/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/node-gyp/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/node-gyp/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/node-gyp/node_modules/nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz", + "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==", "dependencies": { - "abbrev": "1" + "abbrev": "^2.0.0" }, "bin": { "nopt": "bin/nopt.js" }, "engines": { - "node": ">=6" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/node-gyp/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" } }, "node_modules/node-ios-device": { @@ -11341,6 +11846,24 @@ "node": ">=6.0.0" } }, + "node_modules/node-titanium-sdk/node_modules/async": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", + "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" + }, + "node_modules/node-titanium-sdk/node_modules/fs-extra": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, "node_modules/node-uuid": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz", @@ -11406,103 +11929,116 @@ } }, "node_modules/npm-bundled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", - "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz", + "integrity": "sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ==", "dependencies": { - "npm-normalize-package-bin": "^1.0.1" + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/npm-install-checks": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz", - "integrity": "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", + "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", "dependencies": { "semver": "^7.1.1" }, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/npm-normalize-package-bin": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", - "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/npm-package-arg": { - "version": "8.1.5", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz", - "integrity": "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz", + "integrity": "sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==", "dependencies": { - "hosted-git-info": "^4.0.1", - "semver": "^7.3.4", - "validate-npm-package-name": "^3.0.0" + "hosted-git-info": "^7.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" }, "engines": { - "node": ">=10" + "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/npm-packlist": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz", - "integrity": "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==", + "node_modules/npm-package-arg/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", "dependencies": { - "glob": "^7.1.6", - "ignore-walk": "^3.0.3", - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - }, - "bin": { - "npm-packlist": "bin/index.js" + "lru-cache": "^10.0.1" }, "engines": { - "node": ">=10" + "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/npm-packlist/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "node_modules/npm-package-arg/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/npm-packlist": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.1.tgz", + "integrity": "sha512-MQpL27ZrsJQ2kiAuQPpZb5LtJwydNRnI15QWXsf3WHERu4rzjRj6Zju/My2fov7tLuu3Gle/uoIX/DDZ3u4O4Q==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "ignore-walk": "^6.0.4" }, "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/npm-pick-manifest": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz", - "integrity": "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.0.tgz", + "integrity": "sha512-VfvRSs/b6n9ol4Qb+bDwNGUXutpy76x6MARw/XssevE0TnctIKcmklJZM5Z7nqs5z5aW+0S63pgCNbpkUNNXBg==", "dependencies": { - "npm-install-checks": "^4.0.0", - "npm-normalize-package-bin": "^1.0.1", - "npm-package-arg": "^8.1.2", - "semver": "^7.3.4" + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^11.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm-registry-fetch": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", - "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.1.0.tgz", + "integrity": "sha512-PQCELXKt8Azvxnt5Y85GseQDJJlglTFM9L9U9gkv2y4e9s0k3GVDdOx3YoB6gm2Do0hlkzC39iCGXby+Wve1Bw==", "dependencies": { - "make-fetch-happen": "^9.0.1", - "minipass": "^3.1.3", - "minipass-fetch": "^1.3.0", + "make-fetch-happen": "^13.0.0", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", "minipass-json-stream": "^1.0.1", - "minizlib": "^2.0.0", - "npm-package-arg": "^8.0.0" + "minizlib": "^2.1.2", + "npm-package-arg": "^11.0.0", + "proc-log": "^3.0.0" }, "engines": { - "node": ">=10" + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" } }, "node_modules/npm-run-all": { @@ -11610,22 +12146,17 @@ } }, "node_modules/npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-7.0.1.tgz", + "integrity": "sha512-uJ0YFk/mCQpLBt+bxN88AKd+gyqZvZDbtiNxk6Waqcj2aPRyfVx8ITawkyQynxUagInjdYT1+qj4NfA5KJJUxg==", "dependencies": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "node_modules/number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==", + "are-we-there-yet": "^4.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^5.0.0", + "set-blocking": "^2.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/nyc": { @@ -12242,46 +12773,53 @@ } }, "node_modules/pacote": { - "version": "11.3.5", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz", - "integrity": "sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==", - "dependencies": { - "@npmcli/git": "^2.1.0", - "@npmcli/installed-package-contents": "^1.0.6", - "@npmcli/promise-spawn": "^1.2.0", - "@npmcli/run-script": "^1.8.2", - "cacache": "^15.0.5", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "infer-owner": "^1.0.4", - "minipass": "^3.1.3", - "mkdirp": "^1.0.3", - "npm-package-arg": "^8.0.1", - "npm-packlist": "^2.1.4", - "npm-pick-manifest": "^6.0.0", - "npm-registry-fetch": "^11.0.0", + "version": "17.0.5", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-17.0.5.tgz", + "integrity": "sha512-TAE0m20zSDMnchPja9vtQjri19X3pZIyRpm2TJVeI+yU42leJBBDTRYhOcWFsPhaMxf+3iwQkFiKz16G9AEeeA==", + "dependencies": { + "@npmcli/git": "^5.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^7.0.0", + "@npmcli/run-script": "^7.0.0", + "cacache": "^18.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^11.0.0", + "npm-packlist": "^8.0.0", + "npm-pick-manifest": "^9.0.0", + "npm-registry-fetch": "^16.0.0", + "proc-log": "^3.0.0", "promise-retry": "^2.0.1", - "read-package-json-fast": "^2.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.1.0" + "read-package-json": "^7.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^2.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" }, "bin": { "pacote": "lib/bin.js" }, "engines": { - "node": ">=10" + "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/pacote/node_modules/ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "node_modules/pacote/node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", "dependencies": { - "minipass": "^3.1.1" + "minipass": "^7.0.3" }, "engines": { - "node": ">= 8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" } }, "node_modules/parent-module": { @@ -12297,13 +12835,24 @@ } }, "node_modules/parse-conflict-json": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-1.1.1.tgz", - "integrity": "sha512-4gySviBiW5TRl7XHvp1agcS7SOe0KZOjC//71dzZVWJrY9hCrgtvl5v3SyIxCZ4fZF47TxD9nfzmxcx76xmbUw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-3.0.1.tgz", + "integrity": "sha512-01TvEktc68vwbJOtWZluyWeVGWjP+bZwXtPDMQVbBKzbJ/vZBif0L69KH1+cHv1SZ6e0FKLvjyHe8mqsIqYOmw==", "dependencies": { - "json-parse-even-better-errors": "^2.3.0", - "just-diff": "^3.0.1", - "just-diff-apply": "^3.0.0" + "json-parse-even-better-errors": "^3.0.0", + "just-diff": "^6.0.0", + "just-diff-apply": "^5.2.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/parse-conflict-json/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/parse-diff": { @@ -12592,7 +13141,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, "engines": { "node": ">=8" } @@ -12602,6 +13150,37 @@ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/path-scurry/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -12612,12 +13191,12 @@ } }, "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz", + "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", "dev": true, "engines": { - "node": "*" + "node": ">= 14.16" } }, "node_modules/pend": { @@ -12658,15 +13237,6 @@ "node": ">=0.10" } }, - "node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/pinpoint": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pinpoint/-/pinpoint-1.1.0.tgz", @@ -12766,6 +13336,18 @@ "node": ">=14.19.0" } }, + "node_modules/postcss-selector-parser": { + "version": "6.0.15", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz", + "integrity": "sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -12788,10 +13370,21 @@ "prettyjson": "bin/prettyjson" } }, - "node_modules/proc-log": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-1.0.0.tgz", - "integrity": "sha512-aCk8AO51s+4JyuYGg3Q/a6gnrlDO09NpVWePtjp7xwphcoQ04x5WAfCyugcsbLooWcMJ87CLkD4+604IckEdhg==" + "node_modules/proc-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", + "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "engines": { + "node": ">= 0.6.0" + } }, "node_modules/process-nextick-args": { "version": "2.0.1", @@ -12827,9 +13420,9 @@ } }, "node_modules/promise-call-limit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-1.0.1.tgz", - "integrity": "sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-1.0.2.tgz", + "integrity": "sha512-1vTUnfI2hzui8AEIixbdAJlFY4LFDXqQswy/2eOlThAscXCY4It8FdVuI0fMJGAB2aWGbdQf/gv0skKYXmdrHA==", "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -12893,12 +13486,12 @@ } }, "node_modules/query-string": { - "version": "6.14.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz", - "integrity": "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz", + "integrity": "sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==", "dev": true, "dependencies": { - "decode-uri-component": "^0.2.0", + "decode-uri-component": "^0.2.2", "filter-obj": "^1.1.0", "split-on-first": "^1.0.0", "strict-uri-encode": "^2.0.0" @@ -12910,6 +13503,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/queue-tick": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", + "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==" + }, "node_modules/quick-lru": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", @@ -12919,15 +13517,11 @@ "node": ">=8" } }, - "node_modules/ramda": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.28.0.tgz", - "integrity": "sha512-9QnLuG/kPVgWvMQ4aODhsBUFKOUmnbUnsSXACv+NCQZcHbeb+v8Lodp8OVxtRULN1/xOyYLLaL6npE6dMq5QTA==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ramda" - } + "node_modules/rambda": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/rambda/-/rambda-7.5.0.tgz", + "integrity": "sha512-y/M9weqWAH4iopRd7EHDEQQvpFPHj1AA3oHozE9tfITHUtTR7Z9PSlIRRG2l1GuW7sefC1cXFfIcF+cgnShdBA==", + "dev": true }, "node_modules/randombytes": { "version": "2.1.0", @@ -12939,20 +13533,163 @@ } }, "node_modules/read-cmd-shim": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz", - "integrity": "sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz", + "integrity": "sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-7.0.0.tgz", + "integrity": "sha512-uL4Z10OKV4p6vbdvIXB+OzhInYtIozl/VxUBPgNkBuUi2DeRonnuspmaVAMcrkmfjKGNmRndyQAbE7/AmzGwFg==", + "dependencies": { + "glob": "^10.2.2", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } }, "node_modules/read-package-json-fast": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", - "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", + "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", "dependencies": { - "json-parse-even-better-errors": "^2.3.0", - "npm-normalize-package-bin": "^1.0.1" + "json-parse-even-better-errors": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" }, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/read-package-json/node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/read-package-json/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/read-package-json/node_modules/normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "dependencies": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/read-pkg": { @@ -12970,83 +13707,217 @@ } }, "node_modules/read-pkg-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-10.1.0.tgz", + "integrity": "sha512-aNtBq4jR8NawpKJQldrQcSW9y/d+KWH4v24HWkHljOZ7H0av+YTGANBzRh9A5pw7v/bLVsLVPpOhJ7gHNVy8lA==", "dev": true, "dependencies": { - "find-up": "^2.0.0", - "read-pkg": "^3.0.0" + "find-up": "^6.3.0", + "read-pkg": "^8.1.0", + "type-fest": "^4.2.0" }, "engines": { - "node": ">=4" + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/read-pkg-up/node_modules/find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", + "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", "dev": true, "dependencies": { - "locate-path": "^2.0.0" + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" }, "engines": { - "node": ">=4" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/read-pkg-up/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-pkg-up/node_modules/lines-and-columns": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz", + "integrity": "sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/read-pkg-up/node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", + "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", "dev": true, "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "^6.0.0" }, "engines": { - "node": ">=4" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/read-pkg-up/node_modules/normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "dev": true, + "dependencies": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/read-pkg-up/node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", + "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", "dev": true, "dependencies": { - "p-try": "^1.0.0" + "yocto-queue": "^1.0.0" }, "engines": { - "node": ">=4" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/read-pkg-up/node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", + "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", "dev": true, "dependencies": { - "p-limit": "^1.1.0" + "p-limit": "^4.0.0" }, "engines": { - "node": ">=4" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/read-pkg-up/node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "node_modules/read-pkg-up/node_modules/parse-json": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-7.1.1.tgz", + "integrity": "sha512-SgOTCX/EZXtZxBE5eJ97P4yGM5n37BwRU+YMsH4vNzFqJV/oWFXXCmwFlgWUM4PrakybVOueJJ6pwHqSVhTFDw==", "dev": true, + "dependencies": { + "@babel/code-frame": "^7.21.4", + "error-ex": "^1.3.2", + "json-parse-even-better-errors": "^3.0.0", + "lines-and-columns": "^2.0.3", + "type-fest": "^3.8.0" + }, "engines": { - "node": ">=4" + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/parse-json/node_modules/type-fest": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", + "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", + "dev": true, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/read-pkg-up/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", "dev": true, "engines": { - "node": ">=4" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/read-pkg-up/node_modules/read-pkg": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-8.1.0.tgz", + "integrity": "sha512-PORM8AgzXeskHO/WEv312k9U03B8K9JSiWF/8N9sUuFjBa+9SF2u6K7VClzXwDXab51jCd8Nd36CNM+zR97ScQ==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.1", + "normalize-package-data": "^6.0.0", + "parse-json": "^7.0.0", + "type-fest": "^4.2.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/type-fest": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.9.0.tgz", + "integrity": "sha512-KS/6lh/ynPGiHD/LnAobrEFq3Ad4pBzOlJ1wAnJx9N4EYoqFhMfLIBjUT2UEx4wg5ZE+cC1ob6DCSpppVo+rtg==", + "dev": true, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/yocto-queue": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", + "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", + "dev": true, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/read-pkg/node_modules/hosted-git-info": { @@ -13137,18 +14008,6 @@ "node": ">=10" } }, - "node_modules/readdir-scoped-modules": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", - "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", - "deprecated": "This functionality has been moved to @npmcli/fs", - "dependencies": { - "debuglog": "^1.0.1", - "dezalgo": "^1.0.0", - "graceful-fs": "^4.1.2", - "once": "^1.3.0" - } - }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -13652,7 +14511,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -13664,7 +14522,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, "engines": { "node": ">=8" } @@ -13708,6 +14565,20 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "node_modules/sigstore": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-2.1.0.tgz", + "integrity": "sha512-kPIj+ZLkyI3QaM0qX8V/nSsweYND3W448pwkDgS6CQ74MfhEkIR8ToK5Iyx46KJYRjseVcD3Rp9zAmUAj6ZjPw==", + "dependencies": { + "@sigstore/bundle": "^2.1.0", + "@sigstore/protobuf-specs": "^0.2.1", + "@sigstore/sign": "^2.1.0", + "@sigstore/tuf": "^2.1.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, "node_modules/simple-plist": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.3.1.tgz", @@ -13807,16 +14678,27 @@ } }, "node_modules/socks-proxy-agent": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz", - "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", + "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.3", - "socks": "^2.6.2" + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "socks": "^2.7.1" }, "engines": { - "node": ">= 10" + "node": ">= 14" + } + }, + "node_modules/socks-proxy-agent/node_modules/agent-base": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", + "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" } }, "node_modules/source-map": { @@ -13874,7 +14756,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", - "dev": true, "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -13883,14 +14764,12 @@ "node_modules/spdx-exceptions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -13899,20 +14778,7 @@ "node_modules/spdx-license-ids": { "version": "3.0.13", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", - "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", - "dev": true - }, - "node_modules/split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "dev": true, - "dependencies": { - "through": "2" - }, - "engines": { - "node": "*" - } + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==" }, "node_modules/split-on-first": { "version": "1.1.0", @@ -13975,7 +14841,6 @@ "version": "10.0.4", "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", - "dev": true, "dependencies": { "minipass": "^5.0.0" }, @@ -13987,7 +14852,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -14026,6 +14890,15 @@ "buffers": "~0.1.1" } }, + "node_modules/streamx": { + "version": "2.15.6", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.6.tgz", + "integrity": "sha512-q+vQL4AAz+FdfT137VF69Cc/APqUbxy+MDOImRrMvchJpigHj9GksgDU2LYbO9rx7RX6osWgxJB2WxhYv4SZAw==", + "dependencies": { + "fast-fifo": "^1.1.0", + "queue-tick": "^1.0.1" + } + }, "node_modules/strict-uri-encode": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", @@ -14065,6 +14938,39 @@ "node": ">=8" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/string-width/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", @@ -14173,7 +15079,6 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, "dependencies": { "ansi-regex": "^6.0.1" }, @@ -14184,6 +15089,26 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, "node_modules/strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", @@ -14287,18 +15212,13 @@ } }, "node_modules/tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz", + "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==", "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" } }, "node_modules/tar/node_modules/minipass": { @@ -14322,12 +15242,12 @@ } }, "node_modules/temp-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", - "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", + "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==", "dev": true, "engines": { - "node": ">=8" + "node": ">=14.16" } }, "node_modules/temp/node_modules/glob": { @@ -14372,26 +15292,18 @@ } }, "node_modules/tempfile": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-3.0.0.tgz", - "integrity": "sha512-uNFCg478XovRi85iD42egu+eSFUmmka750Jy7L5tfHI5hQKKtbPnxaSaXAbBqCDYrw3wx4tXjKwci4/QmsZJxw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-5.0.0.tgz", + "integrity": "sha512-bX655WZI/F7EoTDw9JvQURqAXiPHi8o8+yFxPF2lWYyz1aHnmMRuXWqL6YB6GmeO0o4DIYWHLgGNi/X64T+X4Q==", "dev": true, "dependencies": { - "temp-dir": "^2.0.0", - "uuid": "^3.3.2" + "temp-dir": "^3.0.0" }, "engines": { - "node": ">=8" - } - }, - "node_modules/tempfile/node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "dev": true, - "bin": { - "uuid": "bin/uuid" + "node": ">=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/test-exclude": { @@ -14485,9 +15397,9 @@ } }, "node_modules/titanium-docgen": { - "version": "4.10.3", - "resolved": "https://registry.npmjs.org/titanium-docgen/-/titanium-docgen-4.10.3.tgz", - "integrity": "sha512-zslxOc2+XZiEZEVCk9Gll36rFWRhC9XFl0nof5NIbKTsDslXjaDdigKIa00ilQShu5/mOqsmd0mWAo2+Sefnag==", + "version": "4.10.4", + "resolved": "https://registry.npmjs.org/titanium-docgen/-/titanium-docgen-4.10.4.tgz", + "integrity": "sha512-ERWrLEbiyhLU3WBFRaKlqCkjwqFShNQYz0WZvYUFknvI73nQF9g6aihW6uvMvQaLg9Mk5oxWBaD2KvEPJ89bQw==", "dev": true, "dependencies": { "colors": "^1.4.0", @@ -14591,9 +15503,12 @@ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/treeverse": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-1.0.4.tgz", - "integrity": "sha512-whw60l7r+8ZU8Tu/Uc2yxtc4ZTZbR/PF3u1IPNKGQ6p8EICLb3Z2lAgoqw9bqYd8IkgnsaOcLzYHFckjqNsf0g==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-3.0.0.tgz", + "integrity": "sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/trim-newlines": { "version": "3.0.1", @@ -14678,6 +15593,19 @@ "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", "dev": true }, + "node_modules/tuf-js": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-2.1.0.tgz", + "integrity": "sha512-eD7YPPjVlMzdggrOeE8zwoegUaG/rt6Bt3jwoQPunRiNVzgcCE009UDFJKJjG+Gk9wFu6W/Vi+P5d/5QpdD9jA==", + "dependencies": { + "@tufjs/models": "2.0.0", + "debug": "^4.3.4", + "make-fetch-happen": "^13.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, "node_modules/tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", @@ -14706,15 +15634,6 @@ "node": ">= 0.8.0" } }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", @@ -14744,6 +15663,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, "dependencies": { "is-typedarray": "^1.0.0" } @@ -14832,19 +15752,25 @@ } }, "node_modules/unique-filename": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", "dependencies": { - "unique-slug": "^2.0.0" + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/unique-slug": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", "dependencies": { "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/universal-user-agent": { @@ -14925,18 +15851,20 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, "node_modules/validate-npm-package-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", - "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", + "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", "dependencies": { - "builtins": "^1.0.3" + "builtins": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/verror": { @@ -14953,9 +15881,9 @@ } }, "node_modules/walk-up-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-1.0.0.tgz", - "integrity": "sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg==" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-3.0.1.tgz", + "integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==" }, "node_modules/wcwidth": { "version": "1.0.1", @@ -15128,6 +16056,72 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/wrap-ansi/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", @@ -15186,6 +16180,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, "dependencies": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -15374,26 +16369,27 @@ } }, "node_modules/zip-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.0.tgz", - "integrity": "sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-5.0.1.tgz", + "integrity": "sha512-UfZ0oa0C8LI58wJ+moL46BDIMgCQbnsb+2PoiJYtonhBsMh2bq1eRBVkvjfVsqbEHd9/EgKPUuL9saSSsec8OA==", "dependencies": { - "archiver-utils": "^2.1.0", - "compress-commons": "^4.1.0", + "archiver-utils": "^4.0.1", + "compress-commons": "^5.0.1", "readable-stream": "^3.6.0" }, "engines": { - "node": ">= 10" + "node": ">= 12.0.0" } } }, "dependencies": { "@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", "requires": { - "@babel/highlight": "^7.18.6" + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" } }, "@babel/compat-data": { @@ -15440,18 +16436,6 @@ "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-annotate-as-pure": { @@ -15460,18 +16444,6 @@ "integrity": "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==", "requires": { "@babel/types": "^7.18.6" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-builder-binary-assignment-operator-visitor": { @@ -15481,18 +16453,6 @@ "requires": { "@babel/helper-explode-assignable-expression": "^7.18.6", "@babel/types": "^7.18.9" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-compilation-targets": { @@ -15562,18 +16522,6 @@ "integrity": "sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==", "requires": { "@babel/types": "^7.18.6" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-function-name": { @@ -15583,18 +16531,6 @@ "requires": { "@babel/template": "^7.20.7", "@babel/types": "^7.21.0" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-hoist-variables": { @@ -15603,18 +16539,6 @@ "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", "requires": { "@babel/types": "^7.18.6" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-member-expression-to-functions": { @@ -15623,18 +16547,6 @@ "integrity": "sha512-Muu8cdZwNN6mRRNG6lAYErJ5X3bRevgYR2O8wN0yn7jJSnGDu6eG59RfT29JHxGUovyfrh6Pj0XzmR7drNVL3Q==", "requires": { "@babel/types": "^7.21.0" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-module-imports": { @@ -15643,18 +16555,6 @@ "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", "requires": { "@babel/types": "^7.18.6" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-module-transforms": { @@ -15670,18 +16570,6 @@ "@babel/template": "^7.20.7", "@babel/traverse": "^7.21.2", "@babel/types": "^7.21.2" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-optimise-call-expression": { @@ -15690,18 +16578,6 @@ "integrity": "sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==", "requires": { "@babel/types": "^7.18.6" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-plugin-utils": { @@ -15718,18 +16594,6 @@ "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-wrap-function": "^7.18.9", "@babel/types": "^7.18.9" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-replace-supers": { @@ -15743,18 +16607,6 @@ "@babel/template": "^7.20.7", "@babel/traverse": "^7.20.7", "@babel/types": "^7.20.7" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-simple-access": { @@ -15763,18 +16615,6 @@ "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==", "requires": { "@babel/types": "^7.20.2" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-skip-transparent-expression-wrappers": { @@ -15783,18 +16623,6 @@ "integrity": "sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg==", "requires": { "@babel/types": "^7.20.0" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-split-export-declaration": { @@ -15803,29 +16631,17 @@ "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", "requires": { "@babel/types": "^7.18.6" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-string-parser": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", - "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==" + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==" }, "@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==" }, "@babel/helper-validator-option": { "version": "7.21.0", @@ -15838,21 +16654,9 @@ "integrity": "sha512-bYMxIWK5mh+TgXGVqAtnu5Yn1un+v8DDZtqyzKRLUzrh70Eal2O3aZ7aPYiMADO4uKlkzOiRiZ6GX5q3qxvW9Q==", "requires": { "@babel/helper-function-name": "^7.19.0", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.20.5", - "@babel/types": "^7.20.5" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } + "@babel/template": "^7.18.10", + "@babel/traverse": "^7.20.5", + "@babel/types": "^7.20.5" } }, "@babel/helpers": { @@ -15863,27 +16667,15 @@ "@babel/template": "^7.20.7", "@babel/traverse": "^7.21.0", "@babel/types": "^7.21.0" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "requires": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", "js-tokens": "^4.0.0" } }, @@ -16471,18 +17263,6 @@ "@babel/code-frame": "^7.18.6", "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/traverse": { @@ -16500,27 +17280,15 @@ "@babel/types": "^7.21.3", "debug": "^4.1.0", "globals": "^11.1.0" - }, - "dependencies": { - "@babel/types": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz", - "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==", - "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/types": { - "version": "7.11.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz", - "integrity": "sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", "requires": { - "@babel/helper-validator-identifier": "^7.10.4", - "lodash": "^4.17.19", + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" } }, @@ -16916,45 +17684,53 @@ } } }, - "@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" - }, "@gitbeaker/core": { - "version": "21.7.0", - "resolved": "https://registry.npmjs.org/@gitbeaker/core/-/core-21.7.0.tgz", - "integrity": "sha512-cw72rE7tA27wc6JJe1WqeAj9v/6w0S7XJcEji+bRNjTlUfE1zgfW0Gf1mbGUi7F37SOABGCosQLfg9Qe63aIqA==", + "version": "35.8.1", + "resolved": "https://registry.npmjs.org/@gitbeaker/core/-/core-35.8.1.tgz", + "integrity": "sha512-KBrDykVKSmU9Q9Gly8KeHOgdc0lZSa435srECxuO0FGqqBcUQ82hPqUc13YFkkdOI9T1JRA3qSFajg8ds0mZKA==", "dev": true, "requires": { - "@gitbeaker/requester-utils": "^21.7.0", - "form-data": "^3.0.0", + "@gitbeaker/requester-utils": "^35.8.1", + "form-data": "^4.0.0", "li": "^1.3.0", + "mime": "^3.0.0", + "query-string": "^7.0.0", "xcase": "^2.0.1" } }, "@gitbeaker/node": { - "version": "21.7.0", - "resolved": "https://registry.npmjs.org/@gitbeaker/node/-/node-21.7.0.tgz", - "integrity": "sha512-OdM3VcTKYYqboOsnbiPcO0XimXXpYK4gTjARBZ6BWc+1LQXKmqo+OH6oUbyxOoaFu9hHECafIt3WZU3NM4sZTg==", + "version": "35.8.1", + "resolved": "https://registry.npmjs.org/@gitbeaker/node/-/node-35.8.1.tgz", + "integrity": "sha512-g6rX853y61qNhzq9cWtxIEoe2KDeFBtXAeWMGWJnc3nz3WRump2pIICvJqw/yobLZqmTNt+ea6w3/n92Mnbn3g==", "dev": true, "requires": { - "@gitbeaker/core": "^21.7.0", - "@gitbeaker/requester-utils": "^21.7.0", - "form-data": "^3.0.0", - "got": "^11.1.4", + "@gitbeaker/core": "^35.8.1", + "@gitbeaker/requester-utils": "^35.8.1", + "delay": "^5.0.0", + "got": "^11.8.3", "xcase": "^2.0.1" } }, "@gitbeaker/requester-utils": { - "version": "21.7.0", - "resolved": "https://registry.npmjs.org/@gitbeaker/requester-utils/-/requester-utils-21.7.0.tgz", - "integrity": "sha512-eLTaVXlBnh8Qimj6QuMMA06mu/mLcJm3dy8nqhhn/Vm/D25sPrvpGwmbfFyvzj6QujPqtHvFfsCHtyZddL01qA==", + "version": "35.8.1", + "resolved": "https://registry.npmjs.org/@gitbeaker/requester-utils/-/requester-utils-35.8.1.tgz", + "integrity": "sha512-MFzdH+Z6eJaCZA5ruWsyvm6SXRyrQHjYVR6aY8POFraIy7ceIHOprWCs1R+0ydDZ8KtBnd8OTHjlJ0sLtSFJCg==", "dev": true, "requires": { - "form-data": "^3.0.0", - "query-string": "^6.12.1", + "form-data": "^4.0.0", + "qs": "^6.10.1", "xcase": "^2.0.1" + }, + "dependencies": { + "qs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", + "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", + "dev": true, + "requires": { + "side-channel": "^1.0.4" + } + } } }, "@humanwhocodes/config-array": { @@ -16975,11 +17751,56 @@ "dev": true }, "@hutson/parse-repository-url": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", - "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-5.0.0.tgz", + "integrity": "sha512-e5+YUKENATs1JgYHMzTr2MW/NDcXGfYFAuOQU8gJgF/kEh4EqKgfGrfLI67bMD4tbhZVlkigz/9YYwWcbOFthg==", "dev": true }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + } + } + } + }, "@isaacs/string-locale-compare": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz", @@ -17177,168 +17998,441 @@ } } }, + "@npmcli/agent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.0.tgz", + "integrity": "sha512-2yThA1Es98orMkpSLVqlDZAMPK3jHJhifP2gnNUdk1754uZ8yI5c+ulCoVG+WlntQA6MzhrURMXjSd9Z7dJ2/Q==", + "requires": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.1" + }, + "dependencies": { + "agent-base": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", + "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", + "requires": { + "debug": "^4.3.4" + } + }, + "http-proxy-agent": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz", + "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==", + "requires": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + } + }, + "https-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", + "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", + "requires": { + "agent-base": "^7.0.2", + "debug": "4" + } + }, + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" + } + } + }, "@npmcli/arborist": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.10.0.tgz", - "integrity": "sha512-CLnD+zXG9oijEEzViimz8fbOoFVb7hoypiaf7p6giJhvYtrxLAyY3cZAMPIFQvsG731+02eMDp3LqVBNo7BaZA==", - "requires": { - "@isaacs/string-locale-compare": "^1.0.1", - "@npmcli/installed-package-contents": "^1.0.7", - "@npmcli/map-workspaces": "^1.0.2", - "@npmcli/metavuln-calculator": "^1.1.0", - "@npmcli/move-file": "^1.1.0", - "@npmcli/name-from-folder": "^1.0.1", - "@npmcli/node-gyp": "^1.0.1", - "@npmcli/package-json": "^1.0.1", - "@npmcli/run-script": "^1.8.2", - "bin-links": "^2.2.1", - "cacache": "^15.0.3", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-7.2.2.tgz", + "integrity": "sha512-dIIzyhy1zS2dYPS8bdM/8qA8W2evQE9KENBxVOhFthm/2RKqf2ninRWQc8xfc5f1gsiTxTP20Y9flIfziHfSKA==", + "requires": { + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/fs": "^3.1.0", + "@npmcli/installed-package-contents": "^2.0.2", + "@npmcli/map-workspaces": "^3.0.2", + "@npmcli/metavuln-calculator": "^7.0.0", + "@npmcli/name-from-folder": "^2.0.0", + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/package-json": "^5.0.0", + "@npmcli/query": "^3.0.1", + "@npmcli/run-script": "^7.0.2", + "bin-links": "^4.0.1", + "cacache": "^18.0.0", "common-ancestor-path": "^1.0.1", - "json-parse-even-better-errors": "^2.3.1", + "hosted-git-info": "^7.0.1", + "json-parse-even-better-errors": "^3.0.0", "json-stringify-nice": "^1.1.4", - "mkdirp": "^1.0.4", - "mkdirp-infer-owner": "^2.0.0", - "npm-install-checks": "^4.0.0", - "npm-package-arg": "^8.1.5", - "npm-pick-manifest": "^6.1.0", - "npm-registry-fetch": "^11.0.0", - "pacote": "^11.3.5", - "parse-conflict-json": "^1.1.1", - "proc-log": "^1.0.0", + "minimatch": "^9.0.0", + "nopt": "^7.0.0", + "npm-install-checks": "^6.2.0", + "npm-package-arg": "^11.0.1", + "npm-pick-manifest": "^9.0.0", + "npm-registry-fetch": "^16.0.0", + "npmlog": "^7.0.1", + "pacote": "^17.0.4", + "parse-conflict-json": "^3.0.0", + "proc-log": "^3.0.0", "promise-all-reject-late": "^1.0.0", - "promise-call-limit": "^1.0.1", - "read-package-json-fast": "^2.0.2", - "readdir-scoped-modules": "^1.1.0", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "ssri": "^8.0.1", - "treeverse": "^1.0.4", - "walk-up-path": "^1.0.0" + "promise-call-limit": "^1.0.2", + "read-package-json-fast": "^3.0.2", + "semver": "^7.3.7", + "ssri": "^10.0.5", + "treeverse": "^3.0.0", + "walk-up-path": "^3.0.1" }, "dependencies": { + "abbrev": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", + "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==" + }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "requires": { + "lru-cache": "^10.0.1" + } + }, + "json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==" + }, + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + }, + "nopt": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz", + "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==", + "requires": { + "abbrev": "^2.0.0" + } + }, "ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", + "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==", "requires": { - "minipass": "^3.1.1" + "minipass": "^7.0.3" } } } }, "@npmcli/fs": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", - "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", + "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", "requires": { - "@gar/promisify": "^1.0.1", "semver": "^7.3.5" } }, "@npmcli/git": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz", - "integrity": "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==", - "requires": { - "@npmcli/promise-spawn": "^1.3.2", - "lru-cache": "^6.0.0", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^6.1.1", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.3.tgz", + "integrity": "sha512-UZp9NwK+AynTrKvHn5k3KviW/hA5eENmFsu3iAPe7sWRt0lFUdsY/wXIYjpDFe7cdSNwOIzbObfwgt6eL5/2zw==", + "requires": { + "@npmcli/promise-spawn": "^7.0.0", + "lru-cache": "^10.0.1", + "npm-pick-manifest": "^9.0.0", + "proc-log": "^3.0.0", "promise-inflight": "^1.0.1", "promise-retry": "^2.0.1", "semver": "^7.3.5", - "which": "^2.0.2" + "which": "^4.0.0" + }, + "dependencies": { + "isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==" + }, + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" + }, + "which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "requires": { + "isexe": "^3.1.1" + } + } } }, "@npmcli/installed-package-contents": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz", + "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==", "requires": { - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" + "npm-bundled": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" } }, "@npmcli/map-workspaces": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-1.0.4.tgz", - "integrity": "sha512-wVR8QxhyXsFcD/cORtJwGQodeeaDf0OxcHie8ema4VgFeqwYkFsDPnSrIRSytX8xR6nKPAH89WnwTcaU608b/Q==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-3.0.4.tgz", + "integrity": "sha512-Z0TbvXkRbacjFFLpVpV0e2mheCh+WzQpcqL+4xp49uNJOxOnIAPZyXtUxZ5Qn3QBTGKA11Exjd9a5411rBrhDg==", "requires": { - "@npmcli/name-from-folder": "^1.0.1", - "glob": "^7.1.6", - "minimatch": "^3.0.4", - "read-package-json-fast": "^2.0.1" + "@npmcli/name-from-folder": "^2.0.0", + "glob": "^10.2.2", + "minimatch": "^9.0.0", + "read-package-json-fast": "^3.0.0" }, "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "requires": { + "brace-expansion": "^2.0.1" } + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" } } }, "@npmcli/metavuln-calculator": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-1.1.1.tgz", - "integrity": "sha512-9xe+ZZ1iGVaUovBVFI9h3qW+UuECUzhvZPxK9RaEA2mjU26o5D0JloGYWwLYvQELJNmBdQB6rrpuN8jni6LwzQ==", - "requires": { - "cacache": "^15.0.5", - "pacote": "^11.1.11", - "semver": "^7.3.2" - } - }, - "@npmcli/move-file": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", - "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-7.0.0.tgz", + "integrity": "sha512-Pw0tyX02VkpqlIQlG2TeiJNsdrecYeUU0ubZZa9pi3N37GCsxI+en43u4hYFdq+eSx1A9a9vwFAUyqEtKFsbHQ==", "requires": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" + "cacache": "^18.0.0", + "json-parse-even-better-errors": "^3.0.0", + "pacote": "^17.0.0", + "semver": "^7.3.5" + }, + "dependencies": { + "json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==" + } } }, "@npmcli/name-from-folder": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz", - "integrity": "sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-2.0.0.tgz", + "integrity": "sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==" }, "@npmcli/node-gyp": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz", - "integrity": "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", + "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==" }, "@npmcli/package-json": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-1.0.1.tgz", - "integrity": "sha512-y6jnu76E9C23osz8gEMBayZmaZ69vFOIk8vR1FJL/wbEJ54+9aVG9rLTjQKSXfgYZEr50nw1txBBFfBZZe+bYg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.0.0.tgz", + "integrity": "sha512-OI2zdYBLhQ7kpNPaJxiflofYIpkNLi+lnGdzqUOfRmCF3r2l1nadcjtCYMJKv/Utm/ZtlffaUuTiAktPHbc17g==", "requires": { - "json-parse-even-better-errors": "^2.3.1" + "@npmcli/git": "^5.0.0", + "glob": "^10.2.2", + "hosted-git-info": "^7.0.0", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.5.3" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, + "glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + } + }, + "hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "requires": { + "lru-cache": "^10.0.1" + } + }, + "json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==" + }, + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + }, + "normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "requires": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + } + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } } }, "@npmcli/promise-spawn": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz", - "integrity": "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-7.0.0.tgz", + "integrity": "sha512-wBqcGsMELZna0jDblGd7UXgOby45TQaMWmbFwWX+SEotk4HV6zG2t6rT9siyLhPk4P6YYqgfL1UO8nMWDBVJXQ==", + "requires": { + "which": "^4.0.0" + }, + "dependencies": { + "isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==" + }, + "which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "requires": { + "isexe": "^3.1.1" + } + } + } + }, + "@npmcli/query": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/query/-/query-3.0.1.tgz", + "integrity": "sha512-0jE8iHBogf/+bFDj+ju6/UMLbJ39c8h6nSe6qile+dB7PJ0iV3gNqcb2vtt6WWCBrxv9uAjzUT/8vroluulidA==", "requires": { - "infer-owner": "^1.0.4" + "postcss-selector-parser": "^6.0.10" } }, "@npmcli/run-script": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz", - "integrity": "sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-7.0.2.tgz", + "integrity": "sha512-Omu0rpA8WXvcGeY6DDzyRoY1i5DkCBkzyJ+m2u7PD6quzb0TvSqdIPOkTn8ZBOj7LbbcbMfZ3c5skwSu6m8y2w==", "requires": { - "@npmcli/node-gyp": "^1.0.2", - "@npmcli/promise-spawn": "^1.3.2", - "node-gyp": "^7.1.0", - "read-package-json-fast": "^2.0.1" + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^7.0.0", + "node-gyp": "^10.0.0", + "read-package-json-fast": "^3.0.0", + "which": "^4.0.0" + }, + "dependencies": { + "isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==" + }, + "which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "requires": { + "isexe": "^3.1.1" + } + } } }, "@octokit/auth-token": { @@ -17621,6 +18715,12 @@ "@octokit/openapi-types": "^12.11.0" } }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true + }, "@rollup/plugin-babel": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz", @@ -17796,6 +18896,38 @@ } } }, + "@sigstore/bundle": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.1.0.tgz", + "integrity": "sha512-89uOo6yh/oxaU8AeOUnVrTdVMcGk9Q1hJa7Hkvalc6G3Z3CupWk4Xe9djSgJm9fMkH69s0P0cVHUoKSOemLdng==", + "requires": { + "@sigstore/protobuf-specs": "^0.2.1" + } + }, + "@sigstore/protobuf-specs": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz", + "integrity": "sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A==" + }, + "@sigstore/sign": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.2.0.tgz", + "integrity": "sha512-AAbmnEHDQv6CSfrWA5wXslGtzLPtAtHZleKOgxdQYvx/s76Fk6T6ZVt7w2IGV9j1UrFeBocTTQxaXG2oRrDhYA==", + "requires": { + "@sigstore/bundle": "^2.1.0", + "@sigstore/protobuf-specs": "^0.2.1", + "make-fetch-happen": "^13.0.0" + } + }, + "@sigstore/tuf": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-2.2.0.tgz", + "integrity": "sha512-KKATZ5orWfqd9ZG6MN8PtCIx4eevWSuGRKQvofnWXRpyMyUEpmrzg5M5BrCpjM+NfZ0RbNGOh5tCz/P2uoRqOA==", + "requires": { + "@sigstore/protobuf-specs": "^0.2.1", + "tuf-js": "^2.1.0" + } + }, "@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", @@ -17811,10 +18943,37 @@ "defer-to-connect": "^2.0.0" } }, - "@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" + "@tufjs/canonical-json": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz", + "integrity": "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==" + }, + "@tufjs/models": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-2.0.0.tgz", + "integrity": "sha512-c8nj8BaOExmZKO2DXhDfegyhSGcG9E/mPN3U13L+/PsoWm1uaGiHHjxqSHQiasDBQwDA3aHuw9+9spYAP1qvvg==", + "requires": { + "@tufjs/canonical-json": "2.0.0", + "minimatch": "^9.0.3" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "requires": { + "brace-expansion": "^2.0.1" + } + } + } }, "@types/cacheable-request": { "version": "6.0.3", @@ -17950,6 +19109,14 @@ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, "acorn": { "version": "8.8.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", @@ -17982,16 +19149,6 @@ "debug": "4" } }, - "agentkeepalive": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", - "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", - "requires": { - "debug": "^4.1.0", - "depd": "^2.0.0", - "humanize-ms": "^1.2.1" - } - }, "aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -18052,8 +19209,7 @@ "ansi-regex": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" }, "ansi-styles": { "version": "3.2.1", @@ -18109,76 +19265,30 @@ "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" }, "archiver": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.1.tgz", - "integrity": "sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/archiver/-/archiver-6.0.1.tgz", + "integrity": "sha512-CXGy4poOLBKptiZH//VlWdFuUC1RESbdZjGjILwBuZ73P7WkAUN0htfSfBq/7k6FRFlpu7bg4JOkj1vU9G6jcQ==", "requires": { - "archiver-utils": "^2.1.0", - "async": "^3.2.3", + "archiver-utils": "^4.0.1", + "async": "^3.2.4", "buffer-crc32": "^0.2.1", "readable-stream": "^3.6.0", - "readdir-glob": "^1.0.0", - "tar-stream": "^2.2.0", - "zip-stream": "^4.1.0" + "readdir-glob": "^1.1.2", + "tar-stream": "^3.0.0", + "zip-stream": "^5.0.1" } }, "archiver-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz", - "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-4.0.1.tgz", + "integrity": "sha512-Q4Q99idbvzmgCTEAAhi32BkOyq8iVI5EwdO0PmBDSGIzzjYNdcFn7Q7k3OzbLy4kLUPXfJtG6fO2RjftXbobBg==", "requires": { - "glob": "^7.1.4", + "glob": "^8.0.0", "graceful-fs": "^4.2.0", "lazystream": "^1.0.0", - "lodash.defaults": "^4.2.0", - "lodash.difference": "^4.5.0", - "lodash.flatten": "^4.4.0", - "lodash.isplainobject": "^4.0.6", - "lodash.union": "^4.6.0", + "lodash": "^4.17.15", "normalize-path": "^3.0.0", - "readable-stream": "^2.0.0" - }, - "dependencies": { - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } + "readable-stream": "^3.6.0" } }, "archy": { @@ -18188,39 +19298,33 @@ "dev": true }, "are-we-there-yet": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", - "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-4.0.1.tgz", + "integrity": "sha512-2zuA+jpOYBRgoBCfa+fB87Rk0oGJjDX6pxGzqH6f33NzUhG25Xur6R0u0Z9VVAq8Z5JvQpQI6j6rtonuivC8QA==", "requires": { "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "readable-stream": "^4.1.0" }, "dependencies": { - "readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" } }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "readable-stream": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", + "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==", "requires": { - "safe-buffer": "~5.1.0" + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" } } } @@ -18296,11 +19400,6 @@ "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", "dev": true }, - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" - }, "asn1": { "version": "0.2.6", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", @@ -18315,9 +19414,9 @@ "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==" }, "assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", "dev": true }, "astral-regex": { @@ -18327,9 +19426,9 @@ "dev": true }, "async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" }, "async-retry": { "version": "1.2.3", @@ -18366,6 +19465,11 @@ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.12.0.tgz", "integrity": "sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==" }, + "b4a": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz", + "integrity": "sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==" + }, "babel-helper-evaluate-path": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.5.0.tgz", @@ -18610,16 +19714,30 @@ "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==" }, "bin-links": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-2.3.0.tgz", - "integrity": "sha512-JzrOLHLwX2zMqKdyYZjkDgQGT+kHDkIhv2/IK2lJ00qLxV4TmFoHi8drDBb6H5Zrz1YfgHkai4e2MGPqnoUhqA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-4.0.3.tgz", + "integrity": "sha512-obsRaULtJurnfox/MDwgq6Yo9kzbv1CPTk/1/s7Z/61Lezc8IKkFCOXNeVLXz0456WRzBQmSsDWlai2tIhBsfA==", "requires": { - "cmd-shim": "^4.0.1", - "mkdirp-infer-owner": "^2.0.0", - "npm-normalize-package-bin": "^1.0.0", - "read-cmd-shim": "^2.0.0", - "rimraf": "^3.0.0", - "write-file-atomic": "^3.0.3" + "cmd-shim": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "read-cmd-shim": "^4.0.0", + "write-file-atomic": "^5.0.0" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + }, + "write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + } + } } }, "binary-extensions": { @@ -18631,6 +19749,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, "requires": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -18756,6 +19875,7 @@ "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, "requires": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" @@ -18795,55 +19915,91 @@ "dev": true }, "builtins": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==" + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "requires": { + "semver": "^7.0.0" + } }, "cacache": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", - "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", - "requires": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", + "version": "18.0.1", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.1.tgz", + "integrity": "sha512-g4Uf2CFZPaxtJKre6qr4zqLDOOPU7bNVhWjlNhvzc51xaTOx2noMOLhfFkTAqwtrAZAKQUuDfyjitzilpA8WsQ==", + "requires": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", + "minipass-pipeline": "^1.2.4", "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" }, "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, + "fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "requires": { + "minipass": "^7.0.3" + } + }, "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" } }, - "ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "requires": { - "minipass": "^3.1.1" + "brace-expansion": "^2.0.1" } + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" } } }, @@ -18948,18 +20104,16 @@ "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" }, "chai": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", - "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.0.0.tgz", + "integrity": "sha512-HO5p0oEKd5M6HEcwOkNAThAE3j960vIZvVcc0t2tI06Dd0ATu69cEnMB2wOhC5/ZyQ6m67w3ePjU/HzXsSsdBA==", "dev": true, "requires": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^4.1.2", - "get-func-name": "^2.0.0", - "loupe": "^2.3.1", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" + "assertion-error": "^2.0.1", + "check-error": "^2.0.0", + "deep-eql": "^5.0.1", + "loupe": "^3.0.0", + "pathval": "^2.0.0" } }, "chalk": { @@ -18979,9 +20133,9 @@ "dev": true }, "check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.0.0.tgz", + "integrity": "sha512-tjLAOBHKVxtPoHe/SA7kNOMvhCRdCJ3vETdeY0RuAc9popf+hyaSV6ZEg9hr4cpWF7jmo/JSWEnLDrnijS9Tog==", "dev": true }, "chokidar": { @@ -19020,22 +20174,16 @@ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" }, "clang-format": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.6.0.tgz", - "integrity": "sha512-W3/L7fWkA8DoLkz9UGjrRnNi+J5a5TuS2HDLqk6WsicpOzb66MBu4eY/EcXhicHriVnAXWQVyk5/VeHWY6w4ow==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz", + "integrity": "sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==", "dev": true, "requires": { - "async": "^1.5.2", + "async": "^3.2.3", "glob": "^7.0.0", "resolve": "^1.1.6" }, "dependencies": { - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==", - "dev": true - }, "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -19053,9 +20201,9 @@ } }, "clean-css": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", - "integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.3.tgz", + "integrity": "sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==", "requires": { "source-map": "~0.6.0" }, @@ -19152,17 +20300,9 @@ } }, "cmd-shim": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz", - "integrity": "sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw==", - "requires": { - "mkdirp-infer-owner": "^2.0.0" - } - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==" + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.2.tgz", + "integrity": "sha512-+FFYbB0YLaAkhkcrjkyNLYDiOsFSfRjwjY19LXk/psmMx1z00xlCv7hhQoTGXXIKi+YXHL/iiFo8NqMVQX9nOw==" }, "color-convert": { "version": "1.9.3", @@ -19207,9 +20347,9 @@ } }, "commander": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", - "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", + "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", "dev": true }, "commitizen": { @@ -19284,12 +20424,12 @@ } }, "compress-commons": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.1.tgz", - "integrity": "sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-5.0.1.tgz", + "integrity": "sha512-MPh//1cERdLtqwO3pOFLeXtpuai0Y2WCd5AhtKxznqM7WtaMYaOEMSgn45d9D10sIHSfIKE603HlOp8OPGrvag==", "requires": { - "buffer-crc32": "^0.2.13", - "crc32-stream": "^4.0.2", + "crc-32": "^1.2.0", + "crc32-stream": "^5.0.0", "normalize-path": "^3.0.0", "readable-stream": "^3.6.0" } @@ -19305,37 +20445,37 @@ "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" }, "conventional-changelog": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-4.0.0.tgz", - "integrity": "sha512-JbZjwE1PzxQCvm+HUTIr+pbSekS8qdOZzMakdFyPtdkEWwFvwEJYONzjgMm0txCb2yBcIcfKDmg8xtCKTdecNQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-5.1.0.tgz", + "integrity": "sha512-aWyE/P39wGYRPllcCEZDxTVEmhyLzTc9XA6z6rVfkuCD2UBnhV/sgSOKbQrEG5z9mEZJjnopjgQooTKxEg8mAg==", "dev": true, "requires": { - "conventional-changelog-angular": "^6.0.0", - "conventional-changelog-atom": "^3.0.0", - "conventional-changelog-codemirror": "^3.0.0", - "conventional-changelog-conventionalcommits": "^6.0.0", - "conventional-changelog-core": "^5.0.0", - "conventional-changelog-ember": "^3.0.0", - "conventional-changelog-eslint": "^4.0.0", - "conventional-changelog-express": "^3.0.0", - "conventional-changelog-jquery": "^4.0.0", - "conventional-changelog-jshint": "^3.0.0", - "conventional-changelog-preset-loader": "^3.0.0" + "conventional-changelog-angular": "^7.0.0", + "conventional-changelog-atom": "^4.0.0", + "conventional-changelog-codemirror": "^4.0.0", + "conventional-changelog-conventionalcommits": "^7.0.2", + "conventional-changelog-core": "^7.0.0", + "conventional-changelog-ember": "^4.0.0", + "conventional-changelog-eslint": "^5.0.0", + "conventional-changelog-express": "^4.0.0", + "conventional-changelog-jquery": "^5.0.0", + "conventional-changelog-jshint": "^4.0.0", + "conventional-changelog-preset-loader": "^4.1.0" }, "dependencies": { "conventional-changelog-angular": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz", - "integrity": "sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz", + "integrity": "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==", "dev": true, "requires": { "compare-func": "^2.0.0" } }, "conventional-changelog-conventionalcommits": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-6.1.0.tgz", - "integrity": "sha512-3cS3GEtR78zTfMzk0AizXKKIdN4OvSh7ibNz6/DPbhWWQu7LqE/8+/GqSodV+sywUR2gpJAdP/1JFf4XtN7Zpw==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", + "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", "dev": true, "requires": { "compare-func": "^2.0.0" @@ -19354,27 +20494,35 @@ } }, "conventional-changelog-atom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-3.0.0.tgz", - "integrity": "sha512-pnN5bWpH+iTUWU3FaYdw5lJmfWeqSyrUkG+wyHBI9tC1dLNnHkbAOg1SzTQ7zBqiFrfo55h40VsGXWMdopwc5g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-4.0.0.tgz", + "integrity": "sha512-q2YtiN7rnT1TGwPTwjjBSIPIzDJCRE+XAUahWxnh+buKK99Kks4WLMHoexw38GXx9OUxAsrp44f9qXe5VEMYhw==", "dev": true }, "conventional-changelog-cli": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-3.0.0.tgz", - "integrity": "sha512-3zMYi0IrfNd6AAHdPMrcgCg5DbcffiqNaEBf8cYrlntXPbBIXaELTbnRmUy5TQAe0Hkgi0J6+/VmRCkkJQflcQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-4.1.0.tgz", + "integrity": "sha512-MscvILWZ6nWOoC+p/3Nn3D2cVLkjeQjyZPUr0bQ+vUORE/SPrkClJh8BOoMNpS4yk+zFJ5LlgXACxH6XGQoRXA==", "dev": true, "requires": { "add-stream": "^1.0.0", - "conventional-changelog": "^4.0.0", - "meow": "^8.1.2", - "tempfile": "^3.0.0" + "conventional-changelog": "^5.1.0", + "meow": "^12.0.1", + "tempfile": "^5.0.0" + }, + "dependencies": { + "meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true + } } }, "conventional-changelog-codemirror": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-3.0.0.tgz", - "integrity": "sha512-wzchZt9HEaAZrenZAUUHMCFcuYzGoZ1wG/kTRMICxsnW5AXohYMRxnyecP9ob42Gvn5TilhC0q66AtTPRSNMfw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-4.0.0.tgz", + "integrity": "sha512-hQSojc/5imn1GJK3A75m9hEZZhc3urojA5gMpnar4JHmgLnuM3CUIARPpEk86glEKr3c54Po3WV/vCaO/U8g3Q==", "dev": true }, "conventional-changelog-conventionalcommits": { @@ -19389,101 +20537,224 @@ } }, "conventional-changelog-core": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-5.0.2.tgz", - "integrity": "sha512-RhQOcDweXNWvlRwUDCpaqXzbZemKPKncCWZG50Alth72WITVd6nhVk9MJ6w1k9PFNBcZ3YwkdkChE+8+ZwtUug==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-7.0.0.tgz", + "integrity": "sha512-UYgaB1F/COt7VFjlYKVE/9tTzfU3VUq47r6iWf6lM5T7TlOxr0thI63ojQueRLIpVbrtHK4Ffw+yQGduw2Bhdg==", "dev": true, "requires": { + "@hutson/parse-repository-url": "^5.0.0", "add-stream": "^1.0.0", - "conventional-changelog-writer": "^6.0.0", - "conventional-commits-parser": "^4.0.0", - "dateformat": "^3.0.3", - "get-pkg-repo": "^4.2.1", - "git-raw-commits": "^3.0.0", - "git-remote-origin-url": "^2.0.0", - "git-semver-tags": "^5.0.0", - "normalize-package-data": "^3.0.3", - "read-pkg": "^3.0.0", - "read-pkg-up": "^3.0.0" + "conventional-changelog-writer": "^7.0.0", + "conventional-commits-parser": "^5.0.0", + "git-raw-commits": "^4.0.0", + "git-semver-tags": "^7.0.0", + "hosted-git-info": "^7.0.0", + "normalize-package-data": "^6.0.0", + "read-pkg": "^8.0.0", + "read-pkg-up": "^10.0.0" }, "dependencies": { "conventional-commits-parser": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz", + "integrity": "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==", + "dev": true, + "requires": { + "is-text-path": "^2.0.0", + "JSONStream": "^1.3.5", + "meow": "^12.0.1", + "split2": "^4.0.0" + } + }, + "dargs": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-8.1.0.tgz", + "integrity": "sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==", + "dev": true + }, + "git-raw-commits": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz", - "integrity": "sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg==", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-4.0.0.tgz", + "integrity": "sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==", + "dev": true, + "requires": { + "dargs": "^8.0.0", + "meow": "^12.0.1", + "split2": "^4.0.0" + } + }, + "hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dev": true, + "requires": { + "lru-cache": "^10.0.1" + } + }, + "is-text-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz", + "integrity": "sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==", + "dev": true, + "requires": { + "text-extensions": "^2.0.0" + } + }, + "json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "dev": true + }, + "lines-and-columns": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz", + "integrity": "sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==", + "dev": true + }, + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "dev": true + }, + "meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true + }, + "normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", "dev": true, "requires": { - "is-text-path": "^1.0.1", - "JSONStream": "^1.3.5", - "meow": "^8.1.2", - "split2": "^3.2.2" + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" } }, - "git-raw-commits": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-3.0.0.tgz", - "integrity": "sha512-b5OHmZ3vAgGrDn/X0kS+9qCfNKWe4K/jFnhwzVWWg0/k5eLa3060tZShrRg8Dja5kPc+YjS0Gc6y7cRr44Lpjw==", + "parse-json": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-7.1.1.tgz", + "integrity": "sha512-SgOTCX/EZXtZxBE5eJ97P4yGM5n37BwRU+YMsH4vNzFqJV/oWFXXCmwFlgWUM4PrakybVOueJJ6pwHqSVhTFDw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.21.4", + "error-ex": "^1.3.2", + "json-parse-even-better-errors": "^3.0.0", + "lines-and-columns": "^2.0.3", + "type-fest": "^3.8.0" + }, + "dependencies": { + "type-fest": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", + "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", + "dev": true + } + } + }, + "read-pkg": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-8.1.0.tgz", + "integrity": "sha512-PORM8AgzXeskHO/WEv312k9U03B8K9JSiWF/8N9sUuFjBa+9SF2u6K7VClzXwDXab51jCd8Nd36CNM+zR97ScQ==", "dev": true, "requires": { - "dargs": "^7.0.0", - "meow": "^8.1.2", - "split2": "^3.2.2" + "@types/normalize-package-data": "^2.4.1", + "normalize-package-data": "^6.0.0", + "parse-json": "^7.0.0", + "type-fest": "^4.2.0" } + }, + "split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "dev": true + }, + "text-extensions": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz", + "integrity": "sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==", + "dev": true + }, + "type-fest": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.9.0.tgz", + "integrity": "sha512-KS/6lh/ynPGiHD/LnAobrEFq3Ad4pBzOlJ1wAnJx9N4EYoqFhMfLIBjUT2UEx4wg5ZE+cC1ob6DCSpppVo+rtg==", + "dev": true } } }, "conventional-changelog-ember": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-3.0.0.tgz", - "integrity": "sha512-7PYthCoSxIS98vWhVcSphMYM322OxptpKAuHYdVspryI0ooLDehRXWeRWgN+zWSBXKl/pwdgAg8IpLNSM1/61A==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-4.0.0.tgz", + "integrity": "sha512-D0IMhwcJUg1Y8FSry6XAplEJcljkHVlvAZddhhsdbL1rbsqRsMfGx/PIkPYq0ru5aDgn+OxhQ5N5yR7P9mfsvA==", "dev": true }, "conventional-changelog-eslint": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-4.0.0.tgz", - "integrity": "sha512-nEZ9byP89hIU0dMx37JXQkE1IpMmqKtsaR24X7aM3L6Yy/uAtbb+ogqthuNYJkeO1HyvK7JsX84z8649hvp43Q==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-5.0.0.tgz", + "integrity": "sha512-6JtLWqAQIeJLn/OzUlYmzd9fKeNSWmQVim9kql+v4GrZwLx807kAJl3IJVc3jTYfVKWLxhC3BGUxYiuVEcVjgA==", "dev": true }, "conventional-changelog-express": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-3.0.0.tgz", - "integrity": "sha512-HqxihpUMfIuxvlPvC6HltA4ZktQEUan/v3XQ77+/zbu8No/fqK3rxSZaYeHYant7zRxQNIIli7S+qLS9tX9zQA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-4.0.0.tgz", + "integrity": "sha512-yWyy5c7raP9v7aTvPAWzqrztACNO9+FEI1FSYh7UP7YT1AkWgv5UspUeB5v3Ibv4/o60zj2o9GF2tqKQ99lIsw==", "dev": true }, "conventional-changelog-jquery": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-4.0.0.tgz", - "integrity": "sha512-TTIN5CyzRMf8PUwyy4IOLmLV2DFmPtasKN+x7EQKzwSX8086XYwo+NeaeA3VUT8bvKaIy5z/JoWUvi7huUOgaw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-5.0.0.tgz", + "integrity": "sha512-slLjlXLRNa/icMI3+uGLQbtrgEny3RgITeCxevJB+p05ExiTgHACP5p3XiMKzjBn80n+Rzr83XMYfRInEtCPPw==", "dev": true }, "conventional-changelog-jshint": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-3.0.0.tgz", - "integrity": "sha512-bQof4byF4q+n+dwFRkJ/jGf9dCNUv4/kCDcjeCizBvfF81TeimPZBB6fT4HYbXgxxfxWXNl/i+J6T0nI4by6DA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-4.0.0.tgz", + "integrity": "sha512-LyXq1bbl0yG0Ai1SbLxIk8ZxUOe3AjnlwE6sVRQmMgetBk+4gY9EO3d00zlEt8Y8gwsITytDnPORl8al7InTjg==", "dev": true, "requires": { "compare-func": "^2.0.0" } }, "conventional-changelog-preset-loader": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-3.0.0.tgz", - "integrity": "sha512-qy9XbdSLmVnwnvzEisjxdDiLA4OmV3o8db+Zdg4WiFw14fP3B6XNz98X0swPPpkTd/pc1K7+adKgEDM1JCUMiA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-4.1.0.tgz", + "integrity": "sha512-HozQjJicZTuRhCRTq4rZbefaiCzRM2pr6u2NL3XhrmQm4RMnDXfESU6JKu/pnKwx5xtdkYfNCsbhN5exhiKGJA==", "dev": true }, "conventional-changelog-writer": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz", - "integrity": "sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-7.0.1.tgz", + "integrity": "sha512-Uo+R9neH3r/foIvQ0MKcsXkX642hdm9odUp7TqgFS7BsalTcjzRlIfWZrZR1gbxOozKucaKt5KAbjW8J8xRSmA==", "dev": true, "requires": { - "conventional-commits-filter": "^3.0.0", - "dateformat": "^3.0.3", + "conventional-commits-filter": "^4.0.0", "handlebars": "^4.7.7", "json-stringify-safe": "^5.0.1", - "meow": "^8.1.2", - "semver": "^7.0.0", - "split": "^1.0.1" + "meow": "^12.0.1", + "semver": "^7.5.2", + "split2": "^4.0.0" + }, + "dependencies": { + "meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true + }, + "split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "dev": true + } } }, "conventional-commit-types": { @@ -19493,14 +20764,10 @@ "dev": true }, "conventional-commits-filter": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz", - "integrity": "sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q==", - "dev": true, - "requires": { - "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.1" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-4.0.0.tgz", + "integrity": "sha512-rnpnibcSOdFcdclpFwWa+pPlZJhXE7l+XK04zxhbWrhgpR96h33QLz8hITTXbcYICxVr3HZFtbtUAQ+4LdBo9A==", + "dev": true }, "conventional-commits-parser": { "version": "3.2.4", @@ -19567,9 +20834,9 @@ "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==" }, "crc32-stream": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.2.tgz", - "integrity": "sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-5.0.0.tgz", + "integrity": "sha512-B0EPa1UK+qnpBZpG+7FgPCu0J2ETLpXq09o9BkLkEAhdB6Z61Qo4pJ3JYu0c+Qi+/SAL7QThqnzS06pmSSyZaw==", "requires": { "crc-32": "^1.2.0", "readable-stream": "^3.4.0" @@ -19585,13 +20852,17 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, + "cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==" + }, "cycle": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz", @@ -19614,12 +20885,13 @@ } }, "danger": { - "version": "11.2.7", - "resolved": "https://registry.npmjs.org/danger/-/danger-11.2.7.tgz", - "integrity": "sha512-Oqkrh6cqvJx+hVE/UHUFmkw/HqQ4as83lFvj37RDLfRQcJ4f4jnOtcci2heb5ik+NcR0GZwPJksAyfIhOc21ng==", + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/danger/-/danger-11.3.1.tgz", + "integrity": "sha512-+slkGnbf0czY7g4LSuYpYkKJgFrb9YIXFJvV5JAuLLF39CXLlUw0iebgeL3ASK1t6RDb8xe+Rk2F5ilh2Hdv2w==", "dev": true, "requires": { - "@gitbeaker/node": "^21.3.0", + "@gitbeaker/core": "^35.8.1", + "@gitbeaker/node": "^35.8.1", "@octokit/rest": "^18.12.0", "async-retry": "1.2.3", "chalk": "^2.3.0", @@ -19695,12 +20967,6 @@ "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==", "dev": true }, - "dateformat": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", - "dev": true - }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -19709,11 +20975,6 @@ "ms": "2.1.2" } }, - "debuglog": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", - "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==" - }, "decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", @@ -19768,13 +21029,10 @@ "dev": true }, "deep-eql": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", - "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", - "dev": true, - "requires": { - "type-detect": "^4.0.0" - } + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.1.tgz", + "integrity": "sha512-nwQCf6ne2gez3o1MxWifqkciwt0zhl0LO1/UwVu4uMBuPmflWM4oQ70XMqHqnBJA+nhzncaqL9HVL6KkHJ28lw==", + "dev": true }, "deep-is": { "version": "0.1.4", @@ -19822,6 +21080,12 @@ "object-keys": "^1.1.1" } }, + "delay": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", + "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", + "dev": true + }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -19832,11 +21096,6 @@ "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==" }, - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" - }, "deprecation": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", @@ -19860,15 +21119,6 @@ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==" }, - "dezalgo": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", - "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", - "requires": { - "asap": "^2.0.0", - "wrappy": "1" - } - }, "diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -19893,6 +21143,11 @@ "is-obj": "^2.0.0" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "ecc-jsbn": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", @@ -19953,6 +21208,7 @@ "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, "requires": { "once": "^1.4.0" } @@ -20211,18 +21467,18 @@ } }, "eslint-config-axway": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-axway/-/eslint-config-axway-7.0.0.tgz", - "integrity": "sha512-qeoE9UZxGttQfy9YyIEiGa1l33tzciztRul46COWGGOCRnMyU1fqJChOvkp7Ek5VvWqSqwU511qH1i+9CD2olw==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-axway/-/eslint-config-axway-8.0.0.tgz", + "integrity": "sha512-k0YDZb1TxFTgU1qxN5d/LWpypio7IpLo86spW4LjvSJIIv3QaeuIllTizvuP5HT16ExFQl8oloMUNXVDjqGpsA==", "dev": true, "requires": { "eslint-plugin-chai-expect": "^3.0.0", - "eslint-plugin-import": "^2.25.4", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^6.0.0", - "eslint-plugin-security": "^1.4.0", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-n": "^15.6.1", + "eslint-plugin-promise": "^6.1.1", + "eslint-plugin-security": "^1.7.1", "find-root": "^1.1.0", - "semver": "^7.3.4" + "semver": "^7.3.8" } }, "eslint-import-resolver-node": { @@ -20275,9 +21531,9 @@ "requires": {} }, "eslint-plugin-es": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", - "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz", + "integrity": "sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==", "dev": true, "requires": { "eslint-utils": "^2.0.0", @@ -20351,50 +21607,29 @@ } }, "eslint-plugin-mocha": { - "version": "10.0.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.0.4.tgz", - "integrity": "sha512-8wzAeepVY027oBHz/TmBmUr7vhVqoC1KTFeDybFLhbaWKx+aQ7fJJVuUsqcUy+L+G+XvgQBJY+cbAf7hl5DF7Q==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.2.0.tgz", + "integrity": "sha512-ZhdxzSZnd1P9LqDPF0DBcFLpRIGdh1zkF2JHnQklKQOvrQtT73kdP5K9V2mzvbLR+cCAO9OI48NXK/Ax9/ciCQ==", "dev": true, "requires": { "eslint-utils": "^3.0.0", - "ramda": "^0.28.0" + "rambda": "^7.4.0" } }, - "eslint-plugin-node": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", - "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", + "eslint-plugin-n": { + "version": "15.7.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.7.0.tgz", + "integrity": "sha512-jDex9s7D/Qial8AGVIHq4W7NswpUD5DPDL2RH8Lzd9EloWUuvUkHfv4FRLMipH5q2UtyurorBkPeNi1wVWNh3Q==", "dev": true, "requires": { - "eslint-plugin-es": "^3.0.0", - "eslint-utils": "^2.0.0", + "builtins": "^5.0.1", + "eslint-plugin-es": "^4.1.0", + "eslint-utils": "^3.0.0", "ignore": "^5.1.1", - "minimatch": "^3.0.4", - "resolve": "^1.10.1", - "semver": "^6.1.0" - }, - "dependencies": { - "eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "dev": true, - "requires": { - "eslint-visitor-keys": "^1.1.0" - } - }, - "eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } + "is-core-module": "^2.11.0", + "minimatch": "^3.1.2", + "resolve": "^1.22.1", + "semver": "^7.3.8" } }, "eslint-plugin-promise": { @@ -20498,6 +21733,16 @@ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, + "events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" + }, "execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", @@ -20524,6 +21769,11 @@ "homedir-polyfill": "^1.0.1" } }, + "exponential-backoff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", + "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==" + }, "extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", @@ -20556,6 +21806,11 @@ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, + "fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==" + }, "fast-json-patch": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz", @@ -20811,9 +22066,9 @@ "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==" }, "form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dev": true, "requires": { "asynckit": "^0.4.0", @@ -20827,11 +22082,6 @@ "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", "dev": true }, - "fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" - }, "fs-exists-sync": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz", @@ -20839,9 +22089,9 @@ "dev": true }, "fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -20897,49 +22147,36 @@ "dev": true }, "gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-5.0.1.tgz", + "integrity": "sha512-CmykPMJGuNan/3S4kZOpvvPYSNqSHANiWnh9XcMU2pSjtBfF0XzZ2p1bFAxTbnFxyBuPxQYHhzwaoOmUdqzvxQ==", "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^4.0.1", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" }, "dependencies": { "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==" - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==", - "requires": { - "number-is-nan": "^1.0.0" - } + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==", - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" }, "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "^5.0.1" } } } @@ -20956,9 +22193,9 @@ "dev": true }, "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", "dev": true }, "get-intrinsic": { @@ -20984,101 +22221,6 @@ "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true }, - "get-pkg-repo": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", - "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", - "dev": true, - "requires": { - "@hutson/parse-repository-url": "^3.0.0", - "hosted-git-info": "^4.0.0", - "through2": "^2.0.0", - "yargs": "^16.2.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } - } - } - }, "get-stdin": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", @@ -21150,40 +22292,28 @@ "through2": "^4.0.0" } }, - "git-remote-origin-url": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", - "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", - "dev": true, - "requires": { - "gitconfiglocal": "^1.0.0", - "pify": "^2.3.0" - } - }, "git-semver-tags": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-5.0.1.tgz", - "integrity": "sha512-hIvOeZwRbQ+7YEUmCkHqo8FOLQZCEn18yevLHADlFPZY02KJGsu5FZt9YW/lybfK2uhWFI7Qg/07LekJiTv7iA==", - "dev": true, - "requires": { - "meow": "^8.1.2", - "semver": "^7.0.0" - } - }, - "gitconfiglocal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-7.0.1.tgz", + "integrity": "sha512-NY0ZHjJzyyNXHTDZmj+GG7PyuAKtMsyWSwh07CR2hOZFa+/yoTsXci/nF2obzL8UDhakFNkD9gNdt/Ed+cxh2Q==", "dev": true, "requires": { - "ini": "^1.3.2" + "meow": "^12.0.1", + "semver": "^7.5.2" + }, + "dependencies": { + "meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true + } } }, "glob": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -21196,7 +22326,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, "requires": { "balanced-match": "^1.0.0" } @@ -21205,7 +22334,6 @@ "version": "5.1.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, "requires": { "brace-expansion": "^2.0.1" } @@ -21319,13 +22447,13 @@ "dev": true }, "handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", "dev": true, "requires": { "minimist": "^1.2.5", - "neo-async": "^2.6.0", + "neo-async": "^2.6.2", "source-map": "^0.6.1", "uglify-js": "^3.1.4", "wordwrap": "^1.0.0" @@ -21450,6 +22578,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, "requires": { "lru-cache": "^6.0.0" } @@ -21533,14 +22662,6 @@ "integrity": "sha512-bvZZ7vXpr1RKoImjuQ45hJb5OvE2oJafHysiD/AL3nkqTZH2hFCjQ3YZfCd63FefDitbJze/ispUPP0gfDsT2Q==", "dev": true }, - "humanize-ms": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", - "requires": { - "ms": "^2.0.0" - } - }, "husky": { "version": "8.0.3", "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", @@ -21589,11 +22710,29 @@ "dev": true }, "ignore-walk": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", - "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.4.tgz", + "integrity": "sha512-t7sv42WkwFkyKbivUCglsQW5YWMskWtbEf4MNKX5u/CCWHKSPzN4FtBQGsQZgCLbxOzpVlcbWVK5KB3auIOjSw==", "requires": { - "minimatch": "^3.0.4" + "minimatch": "^9.0.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "import-fresh": { @@ -21624,11 +22763,6 @@ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" }, - "infer-owner": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==" - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -22202,6 +23336,15 @@ "istanbul-lib-report": "^3.0.0" } }, + "jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, "jake": { "version": "10.8.5", "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", @@ -22297,7 +23440,8 @@ "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true }, "json-schema": { "version": "0.4.0", @@ -22384,14 +23528,14 @@ } }, "just-diff": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-3.1.1.tgz", - "integrity": "sha512-sdMWKjRq8qWZEjDcVA6llnUT8RDEBIfOiGpYFPYa9u+2c39JCsejktSP7mj5eRid5EIvTzIpQ2kDOCw1Nq9BjQ==" + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-6.0.2.tgz", + "integrity": "sha512-S59eriX5u3/QhMNq3v/gm8Kd0w8OS6Tz2FS1NG4blv+z0MuQcBRJyFWjdovM0Rad4/P4aUPFtnkNjMjyMlMSYA==" }, "just-diff-apply": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-3.1.2.tgz", - "integrity": "sha512-TCa7ZdxCeq6q3Rgms2JCRHTCfWAETPZ8SzYUbkYF6KR3I03sN29DaOIC+xyWboIcMvjAsD5iG2u/RWzHD8XpgQ==" + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-5.5.0.tgz", + "integrity": "sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw==" }, "jwa": { "version": "1.4.1", @@ -22893,16 +24037,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" - }, - "lodash.difference": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", - "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==" - }, "lodash.find": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.find/-/lodash.find-4.6.0.tgz", @@ -22912,7 +24046,8 @@ "lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "dev": true }, "lodash.flattendeep": { "version": "4.4.0", @@ -22932,23 +24067,12 @@ "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", "dev": true }, - "lodash.ismatch": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", - "dev": true - }, "lodash.isobject": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz", "integrity": "sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA==", "dev": true }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" - }, "lodash.keys": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-4.2.0.tgz", @@ -22978,11 +24102,6 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, - "lodash.union": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", - "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" - }, "log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", @@ -23134,12 +24253,12 @@ } }, "loupe": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", - "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.0.2.tgz", + "integrity": "sha512-Tzlkbynv7dtqxTROe54Il+J4e/zG2iehtJGZUYpTv8WzlkW9qyEcE83UhGJCeuF3SCfzHuM5VWhBi47phV3+AQ==", "dev": true, "requires": { - "get-func-name": "^2.0.0" + "get-func-name": "^2.0.1" } }, "lowercase-keys": { @@ -23187,45 +24306,27 @@ "dev": true }, "make-fetch-happen": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", - "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-13.0.0.tgz", + "integrity": "sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A==", "requires": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.2.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.2", + "negotiator": "^0.6.3", "promise-retry": "^2.0.1", - "socks-proxy-agent": "^6.0.0", - "ssri": "^8.0.0" + "ssri": "^10.0.0" }, "dependencies": { - "http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "requires": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - } - }, - "ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "requires": { - "minipass": "^3.1.1" - } + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" } } }, @@ -23425,6 +24526,12 @@ "picomatch": "^2.3.1" } }, + "mime": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", + "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", + "dev": true + }, "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -23489,22 +24596,36 @@ } }, "minipass-collect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", + "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", "requires": { - "minipass": "^3.0.0" + "minipass": "^7.0.3" + }, + "dependencies": { + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + } } }, "minipass-fetch": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", - "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", "requires": { - "encoding": "^0.1.12", - "minipass": "^3.1.0", + "encoding": "^0.1.13", + "minipass": "^7.0.3", "minipass-sized": "^1.0.3", - "minizlib": "^2.0.0" + "minizlib": "^2.1.2" + }, + "dependencies": { + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + } } }, "minipass-flush": { @@ -23554,16 +24675,6 @@ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" }, - "mkdirp-infer-owner": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz", - "integrity": "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==", - "requires": { - "chownr": "^2.0.0", - "infer-owner": "^1.0.4", - "mkdirp": "^1.0.3" - } - }, "mocha": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", @@ -23748,16 +24859,10 @@ } } }, - "modify-values": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", - "dev": true - }, "moment": { - "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==" }, "ms": { "version": "2.1.2", @@ -23861,41 +24966,93 @@ } }, "node-gyp": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz", - "integrity": "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.0.1.tgz", + "integrity": "sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg==", "requires": { "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.3", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "request": "^2.88.2", - "rimraf": "^3.0.2", - "semver": "^7.3.2", - "tar": "^6.0.2", - "which": "^2.0.2" + "exponential-backoff": "^3.1.1", + "glob": "^10.3.10", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^13.0.0", + "nopt": "^7.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^4.0.0" }, "dependencies": { + "abbrev": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", + "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==" + }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" } }, + "isexe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==" + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + }, "nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz", + "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==", "requires": { - "abbrev": "1" + "abbrev": "^2.0.0" + } + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + }, + "which": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "requires": { + "isexe": "^3.1.1" } } } @@ -23959,6 +25116,21 @@ "version": "7.11.5", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz", "integrity": "sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q==" + }, + "async": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", + "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" + }, + "fs-extra": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } } } }, @@ -24008,84 +25180,90 @@ "dev": true }, "npm-bundled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", - "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz", + "integrity": "sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ==", "requires": { - "npm-normalize-package-bin": "^1.0.1" + "npm-normalize-package-bin": "^3.0.0" } }, "npm-install-checks": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz", - "integrity": "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", + "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", "requires": { "semver": "^7.1.1" } }, "npm-normalize-package-bin": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", - "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==" }, "npm-package-arg": { - "version": "8.1.5", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz", - "integrity": "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==", - "requires": { - "hosted-git-info": "^4.0.1", - "semver": "^7.3.4", - "validate-npm-package-name": "^3.0.0" - } - }, - "npm-packlist": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz", - "integrity": "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz", + "integrity": "sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==", "requires": { - "glob": "^7.1.6", - "ignore-walk": "^3.0.3", - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" + "hosted-git-info": "^7.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" }, "dependencies": { - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "lru-cache": "^10.0.1" } + }, + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" } } }, + "npm-packlist": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.1.tgz", + "integrity": "sha512-MQpL27ZrsJQ2kiAuQPpZb5LtJwydNRnI15QWXsf3WHERu4rzjRj6Zju/My2fov7tLuu3Gle/uoIX/DDZ3u4O4Q==", + "requires": { + "ignore-walk": "^6.0.4" + } + }, "npm-pick-manifest": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz", - "integrity": "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.0.tgz", + "integrity": "sha512-VfvRSs/b6n9ol4Qb+bDwNGUXutpy76x6MARw/XssevE0TnctIKcmklJZM5Z7nqs5z5aW+0S63pgCNbpkUNNXBg==", "requires": { - "npm-install-checks": "^4.0.0", - "npm-normalize-package-bin": "^1.0.1", - "npm-package-arg": "^8.1.2", - "semver": "^7.3.4" + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^11.0.0", + "semver": "^7.3.5" } }, "npm-registry-fetch": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", - "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.1.0.tgz", + "integrity": "sha512-PQCELXKt8Azvxnt5Y85GseQDJJlglTFM9L9U9gkv2y4e9s0k3GVDdOx3YoB6gm2Do0hlkzC39iCGXby+Wve1Bw==", "requires": { - "make-fetch-happen": "^9.0.1", - "minipass": "^3.1.3", - "minipass-fetch": "^1.3.0", + "make-fetch-happen": "^13.0.0", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", "minipass-json-stream": "^1.0.1", - "minizlib": "^2.0.0", - "npm-package-arg": "^8.0.0" + "minizlib": "^2.1.2", + "npm-package-arg": "^11.0.0", + "proc-log": "^3.0.0" + }, + "dependencies": { + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + } } }, "npm-run-all": { @@ -24166,21 +25344,16 @@ } }, "npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-7.0.1.tgz", + "integrity": "sha512-uJ0YFk/mCQpLBt+bxN88AKd+gyqZvZDbtiNxk6Waqcj2aPRyfVx8ITawkyQynxUagInjdYT1+qj4NfA5KJJUxg==", "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" + "are-we-there-yet": "^4.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^5.0.0", + "set-blocking": "^2.0.0" } }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==" - }, "nyc": { "version": "15.1.0", "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", @@ -24636,38 +25809,42 @@ } }, "pacote": { - "version": "11.3.5", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz", - "integrity": "sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==", - "requires": { - "@npmcli/git": "^2.1.0", - "@npmcli/installed-package-contents": "^1.0.6", - "@npmcli/promise-spawn": "^1.2.0", - "@npmcli/run-script": "^1.8.2", - "cacache": "^15.0.5", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "infer-owner": "^1.0.4", - "minipass": "^3.1.3", - "mkdirp": "^1.0.3", - "npm-package-arg": "^8.0.1", - "npm-packlist": "^2.1.4", - "npm-pick-manifest": "^6.0.0", - "npm-registry-fetch": "^11.0.0", + "version": "17.0.5", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-17.0.5.tgz", + "integrity": "sha512-TAE0m20zSDMnchPja9vtQjri19X3pZIyRpm2TJVeI+yU42leJBBDTRYhOcWFsPhaMxf+3iwQkFiKz16G9AEeeA==", + "requires": { + "@npmcli/git": "^5.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^7.0.0", + "@npmcli/run-script": "^7.0.0", + "cacache": "^18.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^11.0.0", + "npm-packlist": "^8.0.0", + "npm-pick-manifest": "^9.0.0", + "npm-registry-fetch": "^16.0.0", + "proc-log": "^3.0.0", "promise-retry": "^2.0.1", - "read-package-json-fast": "^2.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.1.0" + "read-package-json": "^7.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^2.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" }, "dependencies": { - "ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", "requires": { - "minipass": "^3.1.1" + "minipass": "^7.0.3" } + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" } } }, @@ -24681,13 +25858,20 @@ } }, "parse-conflict-json": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-1.1.1.tgz", - "integrity": "sha512-4gySviBiW5TRl7XHvp1agcS7SOe0KZOjC//71dzZVWJrY9hCrgtvl5v3SyIxCZ4fZF47TxD9nfzmxcx76xmbUw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-3.0.1.tgz", + "integrity": "sha512-01TvEktc68vwbJOtWZluyWeVGWjP+bZwXtPDMQVbBKzbJ/vZBif0L69KH1+cHv1SZ6e0FKLvjyHe8mqsIqYOmw==", "requires": { - "json-parse-even-better-errors": "^2.3.0", - "just-diff": "^3.0.1", - "just-diff-apply": "^3.0.0" + "json-parse-even-better-errors": "^3.0.0", + "just-diff": "^6.0.0", + "just-diff-apply": "^5.2.0" + }, + "dependencies": { + "json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==" + } } }, "parse-diff": { @@ -24895,14 +26079,34 @@ "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" }, "path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, + "path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "requires": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + } + } + }, "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -24910,9 +26114,9 @@ "dev": true }, "pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz", + "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", "dev": true }, "pend": { @@ -24941,12 +26145,6 @@ "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==", "dev": true }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", - "dev": true - }, "pinpoint": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pinpoint/-/pinpoint-1.1.0.tgz", @@ -25024,6 +26222,15 @@ "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-7.0.0.tgz", "integrity": "sha512-LKWqWJRhstyYo9pGvgor/ivk2w94eSjE3RGVuzLGlr3NmD8bf7RcYGze1mNdEHRP6TRP6rMuDHk5t44hnTRyow==" }, + "postcss-selector-parser": { + "version": "6.0.15", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz", + "integrity": "sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==", + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -25041,9 +26248,14 @@ } }, "proc-log": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-1.0.0.tgz", - "integrity": "sha512-aCk8AO51s+4JyuYGg3Q/a6gnrlDO09NpVWePtjp7xwphcoQ04x5WAfCyugcsbLooWcMJ87CLkD4+604IckEdhg==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", + "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==" + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" }, "process-nextick-args": { "version": "2.0.1", @@ -25073,9 +26285,9 @@ "integrity": "sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==" }, "promise-call-limit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-1.0.1.tgz", - "integrity": "sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-1.0.2.tgz", + "integrity": "sha512-1vTUnfI2hzui8AEIixbdAJlFY4LFDXqQswy/2eOlThAscXCY4It8FdVuI0fMJGAB2aWGbdQf/gv0skKYXmdrHA==" }, "promise-inflight": { "version": "1.0.1", @@ -25123,27 +26335,32 @@ "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" }, "query-string": { - "version": "6.14.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz", - "integrity": "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz", + "integrity": "sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==", "dev": true, "requires": { - "decode-uri-component": "^0.2.0", + "decode-uri-component": "^0.2.2", "filter-obj": "^1.1.0", "split-on-first": "^1.0.0", "strict-uri-encode": "^2.0.0" } }, + "queue-tick": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", + "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==" + }, "quick-lru": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true }, - "ramda": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.28.0.tgz", - "integrity": "sha512-9QnLuG/kPVgWvMQ4aODhsBUFKOUmnbUnsSXACv+NCQZcHbeb+v8Lodp8OVxtRULN1/xOyYLLaL6npE6dMq5QTA==", + "rambda": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/rambda/-/rambda-7.5.0.tgz", + "integrity": "sha512-y/M9weqWAH4iopRd7EHDEQQvpFPHj1AA3oHozE9tfITHUtTR7Z9PSlIRRG2l1GuW7sefC1cXFfIcF+cgnShdBA==", "dev": true }, "randombytes": { @@ -25155,18 +26372,114 @@ "safe-buffer": "^5.1.0" } }, - "read-cmd-shim": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz", - "integrity": "sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw==" - }, + "read-cmd-shim": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz", + "integrity": "sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q==" + }, + "read-package-json": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-7.0.0.tgz", + "integrity": "sha512-uL4Z10OKV4p6vbdvIXB+OzhInYtIozl/VxUBPgNkBuUi2DeRonnuspmaVAMcrkmfjKGNmRndyQAbE7/AmzGwFg==", + "requires": { + "glob": "^10.2.2", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, + "glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + } + }, + "hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "requires": { + "lru-cache": "^10.0.1" + } + }, + "json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==" + }, + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + }, + "normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "requires": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + } + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } + } + }, "read-package-json-fast": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", - "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", + "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", "requires": { - "json-parse-even-better-errors": "^2.3.0", - "npm-normalize-package-bin": "^1.0.1" + "json-parse-even-better-errors": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "dependencies": { + "json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==" + } } }, "read-pkg": { @@ -25222,62 +26535,141 @@ } }, "read-pkg-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-10.1.0.tgz", + "integrity": "sha512-aNtBq4jR8NawpKJQldrQcSW9y/d+KWH4v24HWkHljOZ7H0av+YTGANBzRh9A5pw7v/bLVsLVPpOhJ7gHNVy8lA==", "dev": true, "requires": { - "find-up": "^2.0.0", - "read-pkg": "^3.0.0" + "find-up": "^6.3.0", + "read-pkg": "^8.1.0", + "type-fest": "^4.2.0" }, "dependencies": { "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", + "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", + "dev": true, + "requires": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + } + }, + "hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", "dev": true, "requires": { - "locate-path": "^2.0.0" + "lru-cache": "^10.0.1" } }, + "json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "dev": true + }, + "lines-and-columns": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz", + "integrity": "sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==", + "dev": true + }, "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", + "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", "dev": true, "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "^6.0.0" + } + }, + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "dev": true + }, + "normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "dev": true, + "requires": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" } }, "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", + "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", "dev": true, "requires": { - "p-try": "^1.0.0" + "yocto-queue": "^1.0.0" } }, "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", + "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", "dev": true, "requires": { - "p-limit": "^1.1.0" + "p-limit": "^4.0.0" } }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", - "dev": true + "parse-json": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-7.1.1.tgz", + "integrity": "sha512-SgOTCX/EZXtZxBE5eJ97P4yGM5n37BwRU+YMsH4vNzFqJV/oWFXXCmwFlgWUM4PrakybVOueJJ6pwHqSVhTFDw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.21.4", + "error-ex": "^1.3.2", + "json-parse-even-better-errors": "^3.0.0", + "lines-and-columns": "^2.0.3", + "type-fest": "^3.8.0" + }, + "dependencies": { + "type-fest": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", + "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", + "dev": true + } + } }, "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", + "dev": true + }, + "read-pkg": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-8.1.0.tgz", + "integrity": "sha512-PORM8AgzXeskHO/WEv312k9U03B8K9JSiWF/8N9sUuFjBa+9SF2u6K7VClzXwDXab51jCd8Nd36CNM+zR97ScQ==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.1", + "normalize-package-data": "^6.0.0", + "parse-json": "^7.0.0", + "type-fest": "^4.2.0" + } + }, + "type-fest": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.9.0.tgz", + "integrity": "sha512-KS/6lh/ynPGiHD/LnAobrEFq3Ad4pBzOlJ1wAnJx9N4EYoqFhMfLIBjUT2UEx4wg5ZE+cC1ob6DCSpppVo+rtg==", + "dev": true + }, + "yocto-queue": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", + "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", "dev": true } } @@ -25318,17 +26710,6 @@ } } }, - "readdir-scoped-modules": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", - "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", - "requires": { - "debuglog": "^1.0.1", - "dezalgo": "^1.0.0", - "graceful-fs": "^4.1.2", - "once": "^1.3.0" - } - }, "readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -25701,7 +27082,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, "requires": { "shebang-regex": "^3.0.0" } @@ -25709,8 +27089,7 @@ "shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" }, "shell-quote": { "version": "1.8.0", @@ -25739,6 +27118,17 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "sigstore": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-2.1.0.tgz", + "integrity": "sha512-kPIj+ZLkyI3QaM0qX8V/nSsweYND3W448pwkDgS6CQ74MfhEkIR8ToK5Iyx46KJYRjseVcD3Rp9zAmUAj6ZjPw==", + "requires": { + "@sigstore/bundle": "^2.1.0", + "@sigstore/protobuf-specs": "^0.2.1", + "@sigstore/sign": "^2.1.0", + "@sigstore/tuf": "^2.1.0" + } + }, "simple-plist": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.3.1.tgz", @@ -25816,13 +27206,23 @@ } }, "socks-proxy-agent": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz", - "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", + "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", "requires": { - "agent-base": "^6.0.2", - "debug": "^4.3.3", - "socks": "^2.6.2" + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "socks": "^2.7.1" + }, + "dependencies": { + "agent-base": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", + "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", + "requires": { + "debug": "^4.3.4" + } + } } }, "source-map": { @@ -25872,7 +27272,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", - "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -25881,14 +27280,12 @@ "spdx-exceptions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" }, "spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, "requires": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -25897,17 +27294,7 @@ "spdx-license-ids": { "version": "3.0.13", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", - "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", - "dev": true - }, - "split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "dev": true, - "requires": { - "through": "2" - } + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==" }, "split-on-first": { "version": "1.1.0", @@ -25955,7 +27342,6 @@ "version": "10.0.4", "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", - "dev": true, "requires": { "minipass": "^5.0.0" }, @@ -25963,8 +27349,7 @@ "minipass": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==" } } }, @@ -25993,6 +27378,15 @@ "buffers": "~0.1.1" } }, + "streamx": { + "version": "2.15.6", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.6.tgz", + "integrity": "sha512-q+vQL4AAz+FdfT137VF69Cc/APqUbxy+MDOImRrMvchJpigHj9GksgDU2LYbO9rx7RX6osWgxJB2WxhYv4SZAw==", + "requires": { + "fast-fifo": "^1.1.0", + "queue-tick": "^1.0.1" + } + }, "strict-uri-encode": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", @@ -26038,6 +27432,31 @@ } } }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, "string.prototype.padend": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", @@ -26105,11 +27524,25 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, "requires": { "ansi-regex": "^6.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + } + } + }, "strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", @@ -26189,15 +27622,13 @@ } }, "tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz", + "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==", "requires": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" } }, "temp": { @@ -26241,27 +27672,18 @@ } }, "temp-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", - "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", + "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==", "dev": true }, "tempfile": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-3.0.0.tgz", - "integrity": "sha512-uNFCg478XovRi85iD42egu+eSFUmmka750Jy7L5tfHI5hQKKtbPnxaSaXAbBqCDYrw3wx4tXjKwci4/QmsZJxw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-5.0.0.tgz", + "integrity": "sha512-bX655WZI/F7EoTDw9JvQURqAXiPHi8o8+yFxPF2lWYyz1aHnmMRuXWqL6YB6GmeO0o4DIYWHLgGNi/X64T+X4Q==", "dev": true, "requires": { - "temp-dir": "^2.0.0", - "uuid": "^3.3.2" - }, - "dependencies": { - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "dev": true - } + "temp-dir": "^3.0.0" } }, "test-exclude": { @@ -26349,9 +27771,9 @@ } }, "titanium-docgen": { - "version": "4.10.3", - "resolved": "https://registry.npmjs.org/titanium-docgen/-/titanium-docgen-4.10.3.tgz", - "integrity": "sha512-zslxOc2+XZiEZEVCk9Gll36rFWRhC9XFl0nof5NIbKTsDslXjaDdigKIa00ilQShu5/mOqsmd0mWAo2+Sefnag==", + "version": "4.10.4", + "resolved": "https://registry.npmjs.org/titanium-docgen/-/titanium-docgen-4.10.4.tgz", + "integrity": "sha512-ERWrLEbiyhLU3WBFRaKlqCkjwqFShNQYz0WZvYUFknvI73nQF9g6aihW6uvMvQaLg9Mk5oxWBaD2KvEPJ89bQw==", "dev": true, "requires": { "colors": "^1.4.0", @@ -26425,9 +27847,9 @@ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "treeverse": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-1.0.4.tgz", - "integrity": "sha512-whw60l7r+8ZU8Tu/Uc2yxtc4ZTZbR/PF3u1IPNKGQ6p8EICLb3Z2lAgoqw9bqYd8IkgnsaOcLzYHFckjqNsf0g==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-3.0.0.tgz", + "integrity": "sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ==" }, "trim-newlines": { "version": "3.0.1", @@ -26492,6 +27914,16 @@ "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", "dev": true }, + "tuf-js": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-2.1.0.tgz", + "integrity": "sha512-eD7YPPjVlMzdggrOeE8zwoegUaG/rt6Bt3jwoQPunRiNVzgcCE009UDFJKJjG+Gk9wFu6W/Vi+P5d/5QpdD9jA==", + "requires": { + "@tufjs/models": "2.0.0", + "debug": "^4.3.4", + "make-fetch-happen": "^13.0.0" + } + }, "tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", @@ -26514,12 +27946,6 @@ "prelude-ls": "^1.2.1" } }, - "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true - }, "type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", @@ -26540,6 +27966,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, "requires": { "is-typedarray": "^1.0.0" } @@ -26600,17 +28027,17 @@ "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==" }, "unique-filename": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", "requires": { - "unique-slug": "^2.0.0" + "unique-slug": "^4.0.0" } }, "unique-slug": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", "requires": { "imurmurhash": "^0.1.4" } @@ -26668,18 +28095,17 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, "requires": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, "validate-npm-package-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", - "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", + "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", "requires": { - "builtins": "^1.0.3" + "builtins": "^5.0.0" } }, "verror": { @@ -26693,9 +28119,9 @@ } }, "walk-up-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-1.0.0.tgz", - "integrity": "sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg==" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-3.0.1.tgz", + "integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==" }, "wcwidth": { "version": "1.0.1", @@ -26868,6 +28294,52 @@ } } }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -26877,6 +28349,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, "requires": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -27020,12 +28493,12 @@ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" }, "zip-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.0.tgz", - "integrity": "sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-5.0.1.tgz", + "integrity": "sha512-UfZ0oa0C8LI58wJ+moL46BDIMgCQbnsb+2PoiJYtonhBsMh2bq1eRBVkvjfVsqbEHd9/EgKPUuL9saSSsec8OA==", "requires": { - "archiver-utils": "^2.1.0", - "compress-commons": "^4.1.0", + "archiver-utils": "^4.0.1", + "compress-commons": "^5.0.1", "readable-stream": "^3.6.0" } } diff --git a/package.json b/package.json index ef2ff4c82a4..f85ee1ef4d8 100644 --- a/package.json +++ b/package.json @@ -86,25 +86,25 @@ }, "dependencies": { "@babel/core": "7.11.6", - "@babel/types": "7.11.5", - "@npmcli/arborist": "2.10.0", + "@babel/types": "7.23.6", + "@npmcli/arborist": "7.2.2", "always-tail": "0.2.0", "ansi-escapes": "4.3.2", "appc-tasks": "1.0.3", - "archiver": "5.3.1", - "async": "3.2.4", + "archiver": "6.0.1", + "async": "3.2.5", "boxen": "5.1.2", "buffer-equal": "1.0.1", - "clean-css": "5.3.2", + "clean-css": "5.3.3", "colors": "1.4.0", "ejs": "3.1.9", "fields": "0.1.24", - "fs-extra": "11.1.1", + "fs-extra": "11.2.0", "ioslib": "1.7.32", "liveview": "1.5.6", "lodash.merge": "4.6.2", "markdown": "0.5.0", - "moment": "2.29.4", + "moment": "2.30.1", "node-appc": "1.1.6", "node-titanium-sdk": "5.1.9", "node-uuid": "1.4.8", @@ -132,18 +132,18 @@ "@seadub/danger-plugin-eslint": "2.0.0", "@seadub/danger-plugin-junit": "0.3.0", "babel-plugin-transform-titanium": "0.1.1", - "chai": "4.3.7", - "clang-format": "1.6.0", - "commander": "11.0.0", + "chai": "5.0.0", + "clang-format": "1.8.0", + "commander": "11.1.0", "commitizen": "4.3.0", - "conventional-changelog-cli": "3.0.0", + "conventional-changelog-cli": "4.1.0", "core-js": "3.27.2", "core-js-compat": "3.6.5", "cz-conventional-changelog": "3.3.0", - "danger": "11.2.7", + "danger": "11.3.1", "eslint": "8.13.0", - "eslint-config-axway": "7.0.0", - "eslint-plugin-mocha": "10.0.4", + "eslint-config-axway": "8.0.0", + "eslint-plugin-mocha": "10.2.0", "folder-hash": "4.0.4", "glob": "8.1.0", "husky": "8.0.3", @@ -159,7 +159,7 @@ "stream-splitter": "0.3.2", "strip-ansi": "7.1.0", "titanium": "6.1.1", - "titanium-docgen": "4.10.3" + "titanium-docgen": "4.10.4" }, "repository": { "type": "git", From cfac701d86c496834d25620202205bb67b52bbe9 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sun, 31 Dec 2023 17:26:48 +0100 Subject: [PATCH 05/23] update files --- iphone/Classes/TiUIShortcutItemProxy.h | 2 +- iphone/Classes/TiUIShortcutItemProxy.m | 2 +- iphone/Classes/TiUIShortcutProxy.h | 2 +- iphone/Classes/TiUIShortcutProxy.m | 2 +- iphone/Classes/TiUIiPadPopoverProxy.m | 167 +++++++----------- .../TitaniumKit/Sources/API/JSValue+Addons.h | 4 +- .../TitaniumKit/Sources/API/JSValue+Addons.m | 4 +- .../TitaniumKit/Sources/API/TiUIView.m | 34 ++-- 8 files changed, 90 insertions(+), 127 deletions(-) diff --git a/iphone/Classes/TiUIShortcutItemProxy.h b/iphone/Classes/TiUIShortcutItemProxy.h index 642d25d8d21..1239fc1171d 100644 --- a/iphone/Classes/TiUIShortcutItemProxy.h +++ b/iphone/Classes/TiUIShortcutItemProxy.h @@ -1,5 +1,5 @@ /** - * Appcelerator Titanium Mobile + * Titanium SDK * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/iphone/Classes/TiUIShortcutItemProxy.m b/iphone/Classes/TiUIShortcutItemProxy.m index 2565c7808d5..3ce58ef4518 100644 --- a/iphone/Classes/TiUIShortcutItemProxy.m +++ b/iphone/Classes/TiUIShortcutItemProxy.m @@ -1,5 +1,5 @@ /** - * Appcelerator Titanium Mobile + * Titanium SDK * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/iphone/Classes/TiUIShortcutProxy.h b/iphone/Classes/TiUIShortcutProxy.h index a729589214a..1671682cafd 100644 --- a/iphone/Classes/TiUIShortcutProxy.h +++ b/iphone/Classes/TiUIShortcutProxy.h @@ -1,5 +1,5 @@ /** - * Appcelerator Titanium Mobile + * Titanium SDK * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/iphone/Classes/TiUIShortcutProxy.m b/iphone/Classes/TiUIShortcutProxy.m index bca2a3c8e1c..2d77a0521c6 100644 --- a/iphone/Classes/TiUIShortcutProxy.m +++ b/iphone/Classes/TiUIShortcutProxy.m @@ -1,5 +1,5 @@ /** - * Appcelerator Titanium Mobile + * Titanium SDK * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/iphone/Classes/TiUIiPadPopoverProxy.m b/iphone/Classes/TiUIiPadPopoverProxy.m index 7b212be5426..c2f24d66605 100644 --- a/iphone/Classes/TiUIiPadPopoverProxy.m +++ b/iphone/Classes/TiUIiPadPopoverProxy.m @@ -1,5 +1,5 @@ /** - * Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. @@ -16,10 +16,6 @@ #import "TiUITableViewRowProxy.h" #endif -static NSCondition *popOverCondition; -static BOOL currentlyDisplaying = NO; -TiUIiPadPopoverProxy *currentPopover; - @implementation TiUIiPadPopoverProxy static NSArray *popoverSequence; @@ -52,10 +48,6 @@ - (id)init - (void)dealloc { - if (currentPopover == self) { - // This shouldn't happen because we clear it on hide. - currentPopover = nil; - } [[NSNotificationCenter defaultCenter] removeObserver:self]; [viewController.view removeObserver:self forKeyPath:@"safeAreaInsets"]; RELEASE_TO_NIL(viewController); @@ -97,9 +89,9 @@ - (void)setArrowDirection:(id)args - (void)setContentView:(id)value { if (popoverInitialized) { - DebugLog(@"[ERROR] Changing contentView when the popover is showing is not supported"); - return; + DebugLog(@"[ERROR] Changing contentView when the popover is showing is not supported") return; } + ENSURE_SINGLE_ARG(value, TiViewProxy); if (contentViewProxy != nil) { @@ -140,9 +132,11 @@ - (void)setPassthroughViews:(id)args - (void)show:(id)args { - if (popOverCondition == nil) { - popOverCondition = [[NSCondition alloc] init]; + [closingCondition lock]; + while (isDismissing) { + [closingCondition wait]; } + [closingCondition unlock]; if (popoverInitialized) { DebugLog(@"Popover is already showing. Ignoring call") return; @@ -155,13 +149,6 @@ - (void)show:(id)args ENSURE_SINGLE_ARG_OR_NIL(args, NSDictionary); [self rememberSelf]; [self retain]; - - [closingCondition lock]; - if (isDismissing) { - [closingCondition wait]; - } - [closingCondition unlock]; - animated = [TiUtils boolValue:@"animated" properties:args def:YES]; popoverView = [[args objectForKey:@"view"] retain]; NSDictionary *rectProps = [args objectForKey:@"rect"]; @@ -177,18 +164,47 @@ - (void)show:(id)args return; } - [popOverCondition lock]; - if (currentlyDisplaying) { - [currentPopover hide:nil]; - [popOverCondition wait]; + deviceRotated = NO; + + [contentViewProxy setProxyObserver:self]; + + if ([contentViewProxy isKindOfClass:[TiWindowProxy class]]) { + UIView *topWindowView = [[[TiApp app] controller] topWindowProxyView]; + if ([topWindowView isKindOfClass:[TiUIView class]]) { + TiViewProxy *theProxy = (TiViewProxy *)[(TiUIView *)topWindowView proxy]; + if ([theProxy conformsToProtocol:@protocol(TiWindowProtocol)]) { + [(id)theProxy resignFocus]; + } + } + + [(TiWindowProxy *)contentViewProxy setIsManaged:YES]; + [(TiWindowProxy *)contentViewProxy windowWillOpen]; + + [(TiWindowProxy *)contentViewProxy open:nil]; + [(TiWindowProxy *)contentViewProxy gainFocus]; + } else { + [contentViewProxy windowWillOpen]; } - currentlyDisplaying = YES; - [popOverCondition unlock]; - popoverInitialized = YES; TiThreadPerformOnMainThread( ^{ - [self initAndShowPopOver]; + [self updateContentSize]; + + UIViewController *theController = [self viewController]; + theController.modalPresentationStyle = UIModalPresentationPopover; + theController.popoverPresentationController.permittedArrowDirections = directions; + theController.popoverPresentationController.delegate = self; + + if ([self valueForKey:@"backgroundColor"]) { + theController.popoverPresentationController.backgroundColor = [[TiColor colorNamed:[self valueForKey:@"backgroundColor"]] _color]; + } + + [TiApp.app.controller.topPresentedController presentViewController:theController + animated:animated + completion:^{ + popoverInitialized = YES; + [contentViewProxy windowDidOpen]; + }]; }, YES); } @@ -203,6 +219,7 @@ - (void)hide:(id)args [closingCondition lock]; isDismissing = YES; + [closingCondition signal]; [closingCondition unlock]; TiThreadPerformOnMainThread( @@ -221,14 +238,6 @@ - (void)hide:(id)args - (void)cleanup { - [popOverCondition lock]; - currentlyDisplaying = NO; - if (currentPopover == self) { - currentPopover = nil; - } - [popOverCondition broadcast]; - [popOverCondition unlock]; - if (!popoverInitialized) { [closingCondition lock]; isDismissing = NO; @@ -238,11 +247,9 @@ - (void)cleanup return; } [contentViewProxy setProxyObserver:nil]; - [contentViewProxy windowWillClose]; popoverInitialized = NO; [self fireEvent:@"hide" withObject:nil]; // Checking for listeners are done by fireEvent anyways. - [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationWillChangeStatusBarOrientationNotification object:nil]; [contentViewProxy windowDidClose]; if ([contentViewProxy isKindOfClass:[TiWindowProxy class]]) { @@ -259,47 +266,13 @@ - (void)cleanup [viewController.view removeObserver:self forKeyPath:@"safeAreaInsets"]; RELEASE_TO_NIL(viewController); RELEASE_TO_NIL(popoverView); - [self performSelector:@selector(release) withObject:nil afterDelay:0.5]; + [self release]; [closingCondition lock]; isDismissing = NO; [closingCondition signal]; [closingCondition unlock]; } -- (void)initAndShowPopOver -{ - deviceRotated = NO; - currentPopover = self; - [contentViewProxy setProxyObserver:self]; - if ([contentViewProxy isKindOfClass:[TiWindowProxy class]]) { - UIView *topWindowView = [[[TiApp app] controller] topWindowProxyView]; - if ([topWindowView isKindOfClass:[TiUIView class]]) { - TiViewProxy *theProxy = (TiViewProxy *)[(TiUIView *)topWindowView proxy]; - if ([theProxy conformsToProtocol:@protocol(TiWindowProtocol)]) { - [(id)theProxy resignFocus]; - } - } - [(TiWindowProxy *)contentViewProxy setIsManaged:YES]; - [(TiWindowProxy *)contentViewProxy open:nil]; - [(TiWindowProxy *)contentViewProxy gainFocus]; - [self updatePopoverNow]; - } else { - [contentViewProxy windowWillOpen]; - [contentViewProxy reposition]; - [self updatePopoverNow]; - [contentViewProxy windowDidOpen]; - } -} - -- (void)updatePopover:(NSNotification *)notification; -{ - // This may be due to a possible race condition of rotating the iPad while another popover is coming up. - if ((currentPopover != self)) { - return; - } - [self performSelector:@selector(updatePopoverNow) withObject:nil afterDelay:[[UIApplication sharedApplication] statusBarOrientationAnimationDuration] inModes:[NSArray arrayWithObject:NSRunLoopCommonModes]]; -} - - (CGSize)contentSize { #ifndef TI_USE_AUTOLAYOUT @@ -343,38 +316,19 @@ - (void)updateContentSize [contentViewProxy reposition]; } -- (void)updatePopoverNow -{ - // We're in the middle of playing cleanup while a hide() is happening. - [closingCondition lock]; - if (isDismissing) { - [closingCondition unlock]; - return; - } - [closingCondition unlock]; - [self updateContentSize]; - UIViewController *theController = [self viewController]; - [theController setModalPresentationStyle:UIModalPresentationPopover]; - UIPopoverPresentationController *thePresentationController = [theController popoverPresentationController]; - thePresentationController.permittedArrowDirections = directions; - thePresentationController.delegate = self; - [thePresentationController setBackgroundColor:[[TiColor colorNamed:[self valueForKey:@"backgroundColor"]] _color]]; - - [[TiApp app] showModalController:theController animated:animated]; -} - - (UIViewController *)viewController { if (viewController == nil) { if ([contentViewProxy isKindOfClass:[TiWindowProxy class]]) { [(TiWindowProxy *)contentViewProxy setIsManaged:YES]; viewController = [[(TiWindowProxy *)contentViewProxy hostingController] retain]; - [viewController.view addObserver:self forKeyPath:@"safeAreaInsets" options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld context:nil]; } else { viewController = [[TiViewController alloc] initWithViewProxy:contentViewProxy]; - [viewController.view addObserver:self forKeyPath:@"safeAreaInsets" options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld context:nil]; } + + [viewController.view addObserver:self forKeyPath:@"safeAreaInsets" options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld context:nil]; } + viewController.view.clipsToBounds = YES; return viewController; } @@ -388,7 +342,7 @@ - (void)updateContentViewWithSafeAreaInsets:(NSValue *)insetsValue UIEdgeInsets edgeInsets = [insetsValue UIEdgeInsetsValue]; viewController.view.frame = CGRectMake(viewController.view.frame.origin.x + edgeInsets.left, viewController.view.frame.origin.y + edgeInsets.top, viewController.view.frame.size.width - edgeInsets.left - edgeInsets.right, viewController.view.frame.size.height - edgeInsets.top - edgeInsets.bottom); }, - NO); + YES); } #pragma mark Delegate methods @@ -405,6 +359,11 @@ - (void)proxyDidRelayout:(id)sender } } +- (UIModalPresentationStyle)adaptivePresentationStyleForPresentationController:(UIPresentationController *)controller +{ + return UIModalPresentationNone; +} + - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popoverPresentationController { [self updatePassThroughViews]; @@ -419,6 +378,7 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover UIView *view = [popoverView view]; if (view != nil && (view.window != nil)) { + popoverPresentationController.permittedArrowDirections = directions; popoverPresentationController.sourceView = view; popoverPresentationController.sourceRect = (CGRectEqualToRect(CGRectZero, popoverRect) ? [view bounds] : popoverRect); return; @@ -427,25 +387,26 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover // Fell through. UIViewController *presentingController = [[self viewController] presentingViewController]; + popoverPresentationController.permittedArrowDirections = directions; popoverPresentationController.sourceView = [presentingController view]; popoverPresentationController.sourceRect = (CGRectEqualToRect(CGRectZero, popoverRect) ? CGRectMake(presentingController.view.bounds.size.width / 2, presentingController.view.bounds.size.height / 2, 1, 1) : popoverRect); } -- (BOOL)popoverPresentationControllerShouldDismissPopover:(UIPopoverPresentationController *)popoverPresentationController +- (BOOL)presentationControllerShouldDismiss:(UIPopoverPresentationController *)popoverPresentationController { - if ([[self viewController] presentedViewController] != nil) { + if (viewController.presentedViewController != nil) { return NO; } [contentViewProxy windowWillClose]; return YES; } -- (void)popoverPresentationControllerDidDismissPopover:(UIPopoverPresentationController *)popoverPresentationController +- (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController { [self cleanup]; } -- (void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView **)view +- (void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView *_Nonnull *)view { // This will never be called when using bar button item BOOL canUseDialogRect = !CGRectEqualToRect(CGRectZero, popoverRect); @@ -466,13 +427,9 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N UIEdgeInsets oldInsets = [[change objectForKey:@"old"] UIEdgeInsetsValue]; NSValue *insetsValue = [NSValue valueWithUIEdgeInsets:newInsets]; - if (!UIEdgeInsetsEqualToEdgeInsets(oldInsets, newInsets)) { + if (!UIEdgeInsetsEqualToEdgeInsets(oldInsets, newInsets) || deviceRotated) { deviceRotated = NO; [self updateContentViewWithSafeAreaInsets:insetsValue]; - } else if (deviceRotated) { - // [self viewController] need a bit of time to set its frame while rotating - deviceRotated = NO; - [self performSelector:@selector(updateContentViewWithSafeAreaInsets:) withObject:insetsValue afterDelay:.05]; } } } diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h index 180f3b4b3f0..37a6565608a 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h @@ -1,6 +1,6 @@ /** - * Appcelerator Titanium Mobile - * Copyright (c) 2018-Present by Appcelerator, Inc. All Rights Reserved. + * Titanium SDK + * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m index 0be443a4c81..622f91def18 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m @@ -1,6 +1,6 @@ /** - * Appcelerator Titanium Mobile - * Copyright (c) 2018-Present by Appcelerator, Inc. All Rights Reserved. + * Titanium SDK + * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m index 156072af13f..a699e0f22e4 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m @@ -1,5 +1,5 @@ /** - * Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. @@ -658,23 +658,29 @@ - (void)renderRepeatedBackground:(id)image // drawing operations on iOS (and presumably Android). By removing this code and instead blitting the [bgImage CGImage] // directly into the graphics context, it tesselates from the lower-left. - UIGraphicsBeginImageContextWithOptions(bgImage.size, NO, bgImage.scale); - CGContextRef imageContext = UIGraphicsGetCurrentContext(); - CGContextDrawImage(imageContext, CGRectMake(0, 0, bgImage.size.width, bgImage.size.height), [bgImage CGImage]); - UIImage *translatedImage = UIGraphicsGetImageFromCurrentImageContext(); - UIGraphicsEndImageContext(); + // Creating the translatedImage + UIGraphicsImageRendererFormat *format1 = [[UIGraphicsImageRendererFormat alloc] init]; + format1.scale = bgImage.scale; - UIGraphicsBeginImageContextWithOptions(self.bounds.size, NO, bgImage.scale); - CGContextRef background = UIGraphicsGetCurrentContext(); - if (background == nil) { + UIGraphicsImageRenderer *renderer1 = [[UIGraphicsImageRenderer alloc] initWithSize:bgImage.size format:format1]; + UIImage *translatedImage = [renderer1 imageWithActions:^(UIGraphicsImageRendererContext *_Nonnull context) { + [bgImage drawAtPoint:CGPointZero]; + }]; + + // Creating the renderedBg + UIGraphicsImageRendererFormat *format2 = [[UIGraphicsImageRendererFormat alloc] init]; + format2.scale = bgImage.scale; + + UIGraphicsImageRenderer *renderer2 = [[UIGraphicsImageRenderer alloc] initWithSize:self.bounds.size format:format2]; + UIImage *renderedBg = [renderer2 imageWithActions:^(UIGraphicsImageRendererContext *_Nonnull context) { + UIImage *tiledImage = [UIImage imageWithCGImage:translatedImage.CGImage scale:bgImage.scale orientation:translatedImage.imageOrientation]; + [tiledImage drawAsPatternInRect:context.format.bounds]; + }]; + + if (renderedBg == nil) { // TIMOB-11564. Either width or height of the bounds is zero - UIGraphicsEndImageContext(); return; } - CGRect imageRect = CGRectMake(0, 0, bgImage.size.width, bgImage.size.height); - CGContextDrawTiledImage(background, imageRect, [translatedImage CGImage]); - UIImage *renderedBg = UIGraphicsGetImageFromCurrentImageContext(); - UIGraphicsEndImageContext(); [self backgroundImageLayer].contents = (id)renderedBg.CGImage; } From 11b0a770fbc7e5b752f76b5bfeb67cee70585607 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sun, 31 Dec 2023 17:30:49 +0100 Subject: [PATCH 06/23] update --- iphone/Classes/TiUIShortcutItemProxy.h | 10 ++-- iphone/Classes/TiUIShortcutItemProxy.m | 10 ++-- iphone/Classes/TiUIShortcutProxy.h | 10 ++-- iphone/Classes/TiUIShortcutProxy.m | 10 ++-- iphone/Classes/TiUIiPadPopoverProxy.m | 6 +- .../TitaniumKit/Sources/API/JSValue+Addons.h | 8 +-- .../TitaniumKit/Sources/API/JSValue+Addons.m | 8 +-- .../TitaniumKit/Sources/API/TiUIView.m | 60 +++++++++---------- package-lock.json | 18 +++--- package.json | 6 +- 10 files changed, 73 insertions(+), 73 deletions(-) diff --git a/iphone/Classes/TiUIShortcutItemProxy.h b/iphone/Classes/TiUIShortcutItemProxy.h index 1239fc1171d..70de585fca4 100644 --- a/iphone/Classes/TiUIShortcutItemProxy.h +++ b/iphone/Classes/TiUIShortcutItemProxy.h @@ -1,9 +1,9 @@ /** - * Titanium SDK - * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. - * Licensed under the terms of the Apache Public License - * Please see the LICENSE included with this distribution for details. - */ +* Titanium SDK +* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. +* Licensed under the terms of the Apache Public License +* Please see the LICENSE included with this distribution for details. +*/ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import diff --git a/iphone/Classes/TiUIShortcutItemProxy.m b/iphone/Classes/TiUIShortcutItemProxy.m index 3ce58ef4518..16abe1137c0 100644 --- a/iphone/Classes/TiUIShortcutItemProxy.m +++ b/iphone/Classes/TiUIShortcutItemProxy.m @@ -1,9 +1,9 @@ /** - * Titanium SDK - * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. - * Licensed under the terms of the Apache Public License - * Please see the LICENSE included with this distribution for details. - */ +* Titanium SDK +* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. +* Licensed under the terms of the Apache Public License +* Please see the LICENSE included with this distribution for details. +*/ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import "TiUIShortcutItemProxy.h" diff --git a/iphone/Classes/TiUIShortcutProxy.h b/iphone/Classes/TiUIShortcutProxy.h index 1671682cafd..5a4d1d72cfe 100644 --- a/iphone/Classes/TiUIShortcutProxy.h +++ b/iphone/Classes/TiUIShortcutProxy.h @@ -1,9 +1,9 @@ /** - * Titanium SDK - * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. - * Licensed under the terms of the Apache Public License - * Please see the LICENSE included with this distribution for details. - */ +* Titanium SDK +* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. +* Licensed under the terms of the Apache Public License +* Please see the LICENSE included with this distribution for details. +*/ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) diff --git a/iphone/Classes/TiUIShortcutProxy.m b/iphone/Classes/TiUIShortcutProxy.m index 2d77a0521c6..dacc695a74f 100644 --- a/iphone/Classes/TiUIShortcutProxy.m +++ b/iphone/Classes/TiUIShortcutProxy.m @@ -1,9 +1,9 @@ /** - * Titanium SDK - * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. - * Licensed under the terms of the Apache Public License - * Please see the LICENSE included with this distribution for details. - */ +* Titanium SDK +* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. +* Licensed under the terms of the Apache Public License +* Please see the LICENSE included with this distribution for details. +*/ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import "TiUIShortcutProxy.h" diff --git a/iphone/Classes/TiUIiPadPopoverProxy.m b/iphone/Classes/TiUIiPadPopoverProxy.m index c2f24d66605..8f27c313a1a 100644 --- a/iphone/Classes/TiUIiPadPopoverProxy.m +++ b/iphone/Classes/TiUIiPadPopoverProxy.m @@ -249,7 +249,7 @@ - (void)cleanup [contentViewProxy setProxyObserver:nil]; popoverInitialized = NO; - [self fireEvent:@"hide" withObject:nil]; // Checking for listeners are done by fireEvent anyways. + [self fireEvent:@"hide" withObject:nil]; //Checking for listeners are done by fireEvent anyways. [contentViewProxy windowDidClose]; if ([contentViewProxy isKindOfClass:[TiWindowProxy class]]) { @@ -385,7 +385,7 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover } } - // Fell through. + //Fell through. UIViewController *presentingController = [[self viewController] presentingViewController]; popoverPresentationController.permittedArrowDirections = directions; popoverPresentationController.sourceView = [presentingController view]; @@ -408,7 +408,7 @@ - (void)presentationControllerDidDismiss:(UIPresentationController *)presentatio - (void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView *_Nonnull *)view { - // This will never be called when using bar button item + //This will never be called when using bar button item BOOL canUseDialogRect = !CGRectEqualToRect(CGRectZero, popoverRect); UIView *theSourceView = *view; diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h index 37a6565608a..3e29930ef31 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h @@ -1,9 +1,9 @@ /** - * Titanium SDK +* Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. - * Licensed under the terms of the Apache Public License - * Please see the LICENSE included with this distribution for details. - */ +* Licensed under the terms of the Apache Public License +* Please see the LICENSE included with this distribution for details. +*/ @import JavaScriptCore; NS_ASSUME_NONNULL_BEGIN diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m index 622f91def18..3dd58f36ccb 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m @@ -1,9 +1,9 @@ /** - * Titanium SDK +* Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. - * Licensed under the terms of the Apache Public License - * Please see the LICENSE included with this distribution for details. - */ +* Licensed under the terms of the Apache Public License +* Please see the LICENSE included with this distribution for details. +*/ #import "JSValue+Addons.h" diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m index a699e0f22e4..bff84b9478b 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m @@ -22,15 +22,15 @@ void InsetScrollViewForKeyboard(UIScrollView *scrollView, CGFloat keyboardTop, C VerboseLog(@"ScrollView:%@, keyboardTop:%f minimumContentHeight:%f", scrollView, keyboardTop, minimumContentHeight); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - // First, find out how much we have to compensate. + //First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. CGFloat unimportantArea = MAX(scrollVisibleRect.size.height - minimumContentHeight, 0); - // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. CGFloat bottomInset = MAX(0, obscuredHeight - unimportantArea); [scrollView setContentInset:UIEdgeInsetsMake(0, 0, bottomInset, 0)]; @@ -54,14 +54,14 @@ void OffsetScrollViewForRect(UIScrollView *scrollView, CGFloat keyboardTop, CGFl responderRect.origin.x, responderRect.origin.y, responderRect.size.width, responderRect.size.height); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - // First, find out how much we have to compensate. + //First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. - // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. VerboseLog(@"ScrollVisibleRect(%f,%f),%fx%f; obscuredHeight:%f;", scrollVisibleRect.origin.x, scrollVisibleRect.origin.y, scrollVisibleRect.size.width, scrollVisibleRect.size.height, @@ -69,7 +69,7 @@ void OffsetScrollViewForRect(UIScrollView *scrollView, CGFloat keyboardTop, CGFl scrollVisibleRect.size.height -= MAX(0, obscuredHeight); - // Okay, the scrollVisibleRect.size now represents the actually visible area. + //Okay, the scrollVisibleRect.size now represents the actually visible area. CGPoint offsetPoint = [scrollView contentOffset]; @@ -98,15 +98,15 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll responderRect.origin.x, responderRect.origin.y, responderRect.size.width, responderRect.size.height); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - // First, find out how much we have to compensate. + //First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. CGFloat unimportantArea = MAX(scrollVisibleRect.size.height - minimumContentHeight, 0); - // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. [scrollView setContentInset:UIEdgeInsetsMake(0, 0, MAX(0, obscuredHeight - unimportantArea), 0)]; @@ -116,7 +116,7 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll scrollVisibleRect.size.height -= MAX(0, obscuredHeight); - // Okay, the scrollVisibleRect.size now represents the actually visible area. + //Okay, the scrollVisibleRect.size now represents the actually visible area. CGPoint offsetPoint = [scrollView contentOffset]; @@ -449,7 +449,7 @@ - (void)checkBounds CGRect newBounds = [self bounds]; if (!CGSizeEqualToSize(oldSize, newBounds.size)) { oldSize = newBounds.size; - // TIMOB-11197, TC-1264 + //TIMOB-11197, TC-1264 if (!animating) { [CATransaction begin]; [CATransaction setValue:(id)kCFBooleanTrue forKey:kCATransactionDisableActions]; @@ -678,7 +678,7 @@ - (void)renderRepeatedBackground:(id)image }]; if (renderedBg == nil) { - // TIMOB-11564. Either width or height of the bounds is zero + //TIMOB-11564. Either width or height of the bounds is zero return; } @@ -909,7 +909,7 @@ - (void)setVisible_:(id)visible { BOOL oldVal = self.hidden; self.hidden = ![TiUtils boolValue:visible]; - // Redraw ourselves if changing from invisible to visible, to handle any changes made + //Redraw ourselves if changing from invisible to visible, to handle any changes made if (!self.hidden && oldVal) { TiViewProxy *viewProxy = (TiViewProxy *)[self proxy]; [viewProxy willEnqueue]; @@ -960,14 +960,14 @@ - (void)setBackgroundGradient_:(id)arg - (void)updateClipping { if (clipMode != 0) { - // Explicitly overridden + //Explicitly overridden self.clipsToBounds = (clipMode > 0); } else { if (_shadowLayer.shadowOpacity > 0) { - // If shadow is visible, disble clipping + //If shadow is visible, disble clipping self.clipsToBounds = NO; } else if (self.layer.borderWidth > 0 || self.layer.cornerRadius > 0 || [proxy valueForUndefinedKey:@"borderRadius"]) { - // If borderWidth > 0, or borderRadius > 0 enable clipping + //If borderWidth > 0, or borderRadius > 0 enable clipping self.clipsToBounds = YES; } else if ([[self proxy] isKindOfClass:[TiViewProxy class]]) { self.clipsToBounds = ([[((TiViewProxy *)self.proxy) children] count] > 0); @@ -1092,7 +1092,7 @@ - (void)setVerticalMotionEffect_:(id)motionEffect - (void)updateViewShadowPath { if (_shadowLayer.shadowOpacity > 0.0f) { - // to speedup things + //to speedup things UIBezierPath *bezierPath = [self bezierPathOfView]; if (_shadowLayer != self.layer) { _shadowLayer.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, self.bounds.size.width, self.bounds.size.height); @@ -1186,7 +1186,7 @@ - (void)propertyChanged:(NSString *)key oldValue:(id)oldValue newValue:(id)newVa DoProxyDelegateChangedValuesWithProxy(self, key, oldValue, newValue, proxy_); } -// Todo: Generalize. +//Todo: Generalize. - (void)setKrollValue:(id)value forKey:(NSString *)key withObject:(id)props { if (value == [NSNull null]) { @@ -1223,7 +1223,7 @@ - (void)transferProxy:(TiViewProxy *)newProxy deep:(BOOL)deep [newProxy setView:self]; [self setProxy:[newProxy retain]]; - // The important sequence first: + //The important sequence first: for (NSString *thisKey in keySequence) { id newValue = [newProxy valueForKey:thisKey]; id oldValue = [oldProxy valueForKey:thisKey]; @@ -1426,7 +1426,7 @@ - (void)recognizedTap:(UITapGestureRecognizer *)recognizer if ([recognizer numberOfTouchesRequired] == 2) { [proxy fireEvent:@"twofingertap" withObject:event]; } else if ([recognizer numberOfTapsRequired] == 2) { - // Because double-tap suppresses touchStart and double-click, we must do this: + //Because double-tap suppresses touchStart and double-click, we must do this: if ([proxy _hasListeners:@"touchstart"]) { [proxy fireEvent:@"touchstart" withObject:event propagate:YES]; } @@ -1522,11 +1522,11 @@ - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event // The touch never reaches the button, because the touchDelegate is as deep as the touch goes. /* - // delegate to our touch delegate if we're hit but it's not for us - if (hasTouchListeners==NO && touchDelegate!=nil) - { - return touchDelegate; - } + // delegate to our touch delegate if we're hit but it's not for us + if (hasTouchListeners==NO && touchDelegate!=nil) + { + return touchDelegate; + } */ return [super hitTest:point withEvent:event]; @@ -1743,7 +1743,7 @@ - (void)listenerRemoved:(NSString *)event count:(int)count } } -- (void)sanitycheckListeners // TODO: This can be optimized and unwound later. +- (void)sanitycheckListeners //TODO: This can be optimized and unwound later. { if (listenerArray == nil) { listenerArray = [[NSArray alloc] initWithObjects:@"singletap", diff --git a/package-lock.json b/package-lock.json index 6be8c8e2239..d4995ba6d58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "titanium-mobile", - "version": "12.2.0", + "version": "12.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "titanium-mobile", - "version": "12.2.0", + "version": "12.3.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -25,7 +25,7 @@ "ejs": "3.1.9", "fields": "0.1.24", "fs-extra": "11.2.0", - "ioslib": "1.7.32", + "ioslib": "1.7.35", "liveview": "1.5.6", "lodash.merge": "4.6.2", "markdown": "0.5.0", @@ -8883,9 +8883,9 @@ } }, "node_modules/ioslib": { - "version": "1.7.32", - "resolved": "https://registry.npmjs.org/ioslib/-/ioslib-1.7.32.tgz", - "integrity": "sha512-5+1CHFL1dR3WyejzEmIGbcWzzOy2+noskEh4mxXsZ+8OIJ25ZDWoEDbZ/6r+2TUsJeDl2hLfF8Vd8HQrbCiXew==", + "version": "1.7.35", + "resolved": "https://registry.npmjs.org/ioslib/-/ioslib-1.7.35.tgz", + "integrity": "sha512-vay0+j92jZy1GSgiDiPVN5eIiYtCf+cIHaXxDuRmsPHa0jS4U99whhpISuQ0WQIpmkFPjsg7KRAiCK4kGSN6NQ==", "dependencies": { "always-tail": "0.2.0", "async": "^3.2.4", @@ -22892,9 +22892,9 @@ } }, "ioslib": { - "version": "1.7.32", - "resolved": "https://registry.npmjs.org/ioslib/-/ioslib-1.7.32.tgz", - "integrity": "sha512-5+1CHFL1dR3WyejzEmIGbcWzzOy2+noskEh4mxXsZ+8OIJ25ZDWoEDbZ/6r+2TUsJeDl2hLfF8Vd8HQrbCiXew==", + "version": "1.7.35", + "resolved": "https://registry.npmjs.org/ioslib/-/ioslib-1.7.35.tgz", + "integrity": "sha512-vay0+j92jZy1GSgiDiPVN5eIiYtCf+cIHaXxDuRmsPHa0jS4U99whhpISuQ0WQIpmkFPjsg7KRAiCK4kGSN6NQ==", "requires": { "always-tail": "0.2.0", "async": "^3.2.4", diff --git a/package.json b/package.json index f85ee1ef4d8..61fb8ffc8ec 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "titanium-mobile", - "description": "TiDev Titanium Mobile", - "version": "12.2.0", + "description": "Titanium SDK", + "version": "12.3.0", "moduleApiVersion": { "iphone": "2", "android": "4" @@ -100,7 +100,7 @@ "ejs": "3.1.9", "fields": "0.1.24", "fs-extra": "11.2.0", - "ioslib": "1.7.32", + "ioslib": "1.7.35", "liveview": "1.5.6", "lodash.merge": "4.6.2", "markdown": "0.5.0", From bbf8d1f85359dfdca829ffb70eae4875135273dd Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sun, 31 Dec 2023 17:42:29 +0100 Subject: [PATCH 07/23] eslint fixes --- .eslintrc | 8 ++------ android/cli/lib/gradle-wrapper.js | 1 - tests/Resources/assert.test.js | 2 -- tests/Resources/buffer.test.js | 3 --- tests/Resources/console.test.js | 3 --- tests/Resources/fs.test.js | 2 -- tests/Resources/os.test.js | 1 - tests/Resources/path.test.js | 1 - tests/Resources/process.test.js | 1 - tests/Resources/stream.test.js | 2 -- 10 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.eslintrc b/.eslintrc index 6eabf12f624..655e3fad978 100644 --- a/.eslintrc +++ b/.eslintrc @@ -33,9 +33,7 @@ "kroll": "readonly" }, "rules": { - "node/no-deprecated-api": "off", - "node/no-unsupported-features/es-syntax": "off", - "node/no-unsupported-features/node-builtins": ["warn", { "version": "10.11.0" }] + "node/no-unsupported-features/es-syntax": "off" } }, { @@ -61,9 +59,7 @@ "sourceType": "module" }, "rules": { - "node/no-deprecated-api": "off", - "node/no-unsupported-features/es-syntax": "off", - "node/no-unsupported-features/node-builtins": ["warn", { "version": "10.11.0" }] + "node/no-unsupported-features/es-syntax": "off" } }, { diff --git a/android/cli/lib/gradle-wrapper.js b/android/cli/lib/gradle-wrapper.js index 7c45bcaf8b4..8668a2a1393 100644 --- a/android/cli/lib/gradle-wrapper.js +++ b/android/cli/lib/gradle-wrapper.js @@ -297,7 +297,6 @@ class GradleWrapper { appc.subprocess.run('appc', [ '-q', 'config', 'get', 'proxyServer' ], runOptions, (exitCode, out) => { try { if (!exitCode && out && (out.length > 0)) { - // eslint-disable-next-line node/no-deprecated-api proxyUrl = url.parse(out.trim()); } } catch (ex) { diff --git a/tests/Resources/assert.test.js b/tests/Resources/assert.test.js index 34175fc0cc5..2f4f0d4e6a4 100644 --- a/tests/Resources/assert.test.js +++ b/tests/Resources/assert.test.js @@ -6,8 +6,6 @@ */ /* eslint-env mocha */ /* eslint no-unused-expressions: "off" */ -/* eslint node/no-deprecated-api: "off" */ -/* eslint node/no-unsupported-features/node-builtins: "off" */ 'use strict'; const should = require('./utilities/assertions'); // eslint-disable-line no-unused-vars let assert; diff --git a/tests/Resources/buffer.test.js b/tests/Resources/buffer.test.js index 7ea32a2f820..25f48f98e60 100644 --- a/tests/Resources/buffer.test.js +++ b/tests/Resources/buffer.test.js @@ -7,8 +7,6 @@ /* eslint-env mocha */ /* eslint no-unused-expressions: "off" */ /* eslint security/detect-new-buffer: "off" */ -/* eslint node/no-deprecated-api: ["error", { ignoreGlobalItems: ['new Buffer()']}] */ -/* eslint node/no-unsupported-features/node-builtins: ["error", { version: ">=8.2.0" }] */ 'use strict'; const should = require('./utilities/assertions'); let BufferModule; @@ -50,7 +48,6 @@ describe('buffer', () => { describe('Buffer', () => { it('is available off the \'buffer\' module as Buffer', () => { - // eslint-disable-next-line node/prefer-global/buffer should.exist(BufferModule.Buffer); }); diff --git a/tests/Resources/console.test.js b/tests/Resources/console.test.js index 7bb01008d10..438fa644ff5 100644 --- a/tests/Resources/console.test.js +++ b/tests/Resources/console.test.js @@ -6,7 +6,6 @@ */ /* eslint-env mocha */ /* eslint no-unused-expressions: "off" */ -/* eslint node/no-unsupported-features/node-builtins: "off" */ 'use strict'; const should = require('./utilities/assertions'); // eslint-disable-line no-unused-vars let Console; @@ -18,14 +17,12 @@ describe('console', function () { }); it('can be required, exposes global console', () => { - // eslint-disable-next-line node/prefer-global/console const requiredConsole = require('console'); should(requiredConsole).be.an.Object(); should(requiredConsole).eql(global.console); }); it('exposes constructor as property off global console', () => { - // eslint-disable-next-line node/prefer-global/console const requiredConsole = require('console'); should(global.console.Console).be.a.Function(); should(requiredConsole.Console).be.a.Function(); diff --git a/tests/Resources/fs.test.js b/tests/Resources/fs.test.js index 72ae6e3af8d..02c1398541e 100644 --- a/tests/Resources/fs.test.js +++ b/tests/Resources/fs.test.js @@ -7,8 +7,6 @@ /* global OS_IOS */ /* eslint-env mocha */ /* eslint no-unused-expressions: "off" */ -/* eslint node/no-deprecated-api: "off" */ -/* eslint node/no-unsupported-features/node-builtins: "off" */ 'use strict'; const should = require('./utilities/assertions'); const utilities = require('./utilities/utilities'); diff --git a/tests/Resources/os.test.js b/tests/Resources/os.test.js index 80e0d6f27b1..6095a156cec 100644 --- a/tests/Resources/os.test.js +++ b/tests/Resources/os.test.js @@ -6,7 +6,6 @@ */ /* eslint-env node, titanium, mocha */ /* eslint no-unused-expressions: "off" */ -/* eslint node/no-unsupported-features/node-builtins: "off" */ 'use strict'; const should = require('./utilities/assertions'); // eslint-disable-line no-unused-vars const utilities = require('./utilities/utilities'); diff --git a/tests/Resources/path.test.js b/tests/Resources/path.test.js index 629b99e48c6..30c7ac2e824 100644 --- a/tests/Resources/path.test.js +++ b/tests/Resources/path.test.js @@ -6,7 +6,6 @@ */ /* eslint-env node, titanium, mocha */ /* eslint no-unused-expressions: "off" */ -/* eslint node/no-unsupported-features/node-builtins: "off" */ 'use strict'; var should = require('./utilities/assertions'); // eslint-disable-line no-unused-vars var path; diff --git a/tests/Resources/process.test.js b/tests/Resources/process.test.js index b7421a08697..74d03dce28c 100644 --- a/tests/Resources/process.test.js +++ b/tests/Resources/process.test.js @@ -6,7 +6,6 @@ */ /* eslint-env node, titanium, mocha */ /* eslint no-unused-expressions: "off" */ -/* eslint node/no-unsupported-features/node-builtins: "off" */ 'use strict'; const should = require('./utilities/assertions'); diff --git a/tests/Resources/stream.test.js b/tests/Resources/stream.test.js index 8572dadabeb..f05808839b0 100644 --- a/tests/Resources/stream.test.js +++ b/tests/Resources/stream.test.js @@ -6,8 +6,6 @@ */ /* eslint-env mocha */ /* eslint no-unused-expressions: "off" */ -/* eslint node/no-deprecated-api: "off" */ -/* eslint node/no-unsupported-features/node-builtins: "off" */ 'use strict'; const should = require('./utilities/assertions'); // eslint-disable-line no-unused-vars let stream; From c230b67ab93df452809c5e04b044e62f0211b243 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sun, 31 Dec 2023 18:00:43 +0100 Subject: [PATCH 08/23] ios lint --- iphone/Classes/TIDOMCharacterDataProxy.h | 16 +- iphone/Classes/TiDOMDocumentProxy.h | 4 +- iphone/Classes/TiDOMTextNodeProxy.h | 4 +- iphone/Classes/TiUIDashboardItem.h | 2 +- iphone/Classes/TiUIMaskedImageProxy.h | 2 +- iphone/Classes/TiUIShortcutItemProxy.h | 10 +- iphone/Classes/TiUIShortcutItemProxy.m | 10 +- iphone/Classes/TiUIShortcutProxy.h | 10 +- iphone/Classes/TiUIShortcutProxy.m | 10 +- .../TiUITableViewScrollPositionProxy.h | 10 +- iphone/Classes/TiUITextField.h | 2 +- iphone/Classes/TiUITextWidget.h | 16 +- iphone/Classes/TiUITextWidgetProxy.h | 14 +- iphone/Classes/TiUIiOSProxy.h | 164 +++++++++--------- .../TiUIiOSScrollIndicatorStyleProxy.h | 8 +- .../TiUIiOSTableViewScrollPositionProxy.h | 10 +- iphone/Classes/TiUIiPadPopoverProxy.m | 6 +- iphone/Classes/TiUIiPadProxy.h | 18 +- .../TitaniumKit/Sources/API/ImageLoader.m | 2 +- .../TitaniumKit/Sources/API/JSValue+Addons.h | 8 +- .../TitaniumKit/Sources/API/JSValue+Addons.m | 8 +- .../TitaniumKit/Sources/API/TiBase.h | 2 +- .../TitaniumKit/Sources/API/TiGradient.h | 24 +-- .../TitaniumKit/Sources/API/TiUIView.m | 60 +++---- .../TitaniumKit/Sources/API/TiViewProxy.m | 8 +- 25 files changed, 214 insertions(+), 214 deletions(-) diff --git a/iphone/Classes/TIDOMCharacterDataProxy.h b/iphone/Classes/TIDOMCharacterDataProxy.h index 0c18f6c3f1b..bb9805d8211 100644 --- a/iphone/Classes/TIDOMCharacterDataProxy.h +++ b/iphone/Classes/TIDOMCharacterDataProxy.h @@ -13,14 +13,14 @@ @private } -@property (nonatomic, copy, readwrite) NSString *data; -@property (nonatomic, readonly) NSNumber *length; -- (NSString *)substringData:(id)args; -- (void)appendData:(id)args; -- (void)insertData:(id)args; -- (void)deleteData:(id)args; -- (void)replaceData:(id)args; + @property (nonatomic, copy, readwrite) NSString *data; + @property (nonatomic, readonly) NSNumber *length; + - (NSString *)substringData:(id)args; + - (void)appendData:(id)args; + - (void)insertData:(id)args; + - (void)deleteData:(id)args; + - (void)replaceData:(id)args; -@end + @end #endif diff --git a/iphone/Classes/TiDOMDocumentProxy.h b/iphone/Classes/TiDOMDocumentProxy.h index 497f4f371e5..3c899b0a683 100644 --- a/iphone/Classes/TiDOMDocumentProxy.h +++ b/iphone/Classes/TiDOMDocumentProxy.h @@ -14,8 +14,8 @@ @private } -- (void)parseString:(NSString *)xml; + - (void)parseString:(NSString *)xml; -@end + @end #endif diff --git a/iphone/Classes/TiDOMTextNodeProxy.h b/iphone/Classes/TiDOMTextNodeProxy.h index 9f39b6fbd48..af0a238e09f 100644 --- a/iphone/Classes/TiDOMTextNodeProxy.h +++ b/iphone/Classes/TiDOMTextNodeProxy.h @@ -13,8 +13,8 @@ @private } -- (TiDOMTextNodeProxy *)splitText:(id)args; + - (TiDOMTextNodeProxy *)splitText:(id)args; -@end + @end #endif diff --git a/iphone/Classes/TiUIDashboardItem.h b/iphone/Classes/TiUIDashboardItem.h index 57ed54855dc..a9ea0a4940f 100644 --- a/iphone/Classes/TiUIDashboardItem.h +++ b/iphone/Classes/TiUIDashboardItem.h @@ -13,6 +13,6 @@ @private } -@end + @end #endif diff --git a/iphone/Classes/TiUIMaskedImageProxy.h b/iphone/Classes/TiUIMaskedImageProxy.h index 177c46a1f89..b3fed3e4e23 100644 --- a/iphone/Classes/TiUIMaskedImageProxy.h +++ b/iphone/Classes/TiUIMaskedImageProxy.h @@ -13,6 +13,6 @@ @private } -@end + @end #endif diff --git a/iphone/Classes/TiUIShortcutItemProxy.h b/iphone/Classes/TiUIShortcutItemProxy.h index 70de585fca4..1239fc1171d 100644 --- a/iphone/Classes/TiUIShortcutItemProxy.h +++ b/iphone/Classes/TiUIShortcutItemProxy.h @@ -1,9 +1,9 @@ /** -* Titanium SDK -* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Titanium SDK + * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import diff --git a/iphone/Classes/TiUIShortcutItemProxy.m b/iphone/Classes/TiUIShortcutItemProxy.m index 16abe1137c0..3ce58ef4518 100644 --- a/iphone/Classes/TiUIShortcutItemProxy.m +++ b/iphone/Classes/TiUIShortcutItemProxy.m @@ -1,9 +1,9 @@ /** -* Titanium SDK -* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Titanium SDK + * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import "TiUIShortcutItemProxy.h" diff --git a/iphone/Classes/TiUIShortcutProxy.h b/iphone/Classes/TiUIShortcutProxy.h index 5a4d1d72cfe..1671682cafd 100644 --- a/iphone/Classes/TiUIShortcutProxy.h +++ b/iphone/Classes/TiUIShortcutProxy.h @@ -1,9 +1,9 @@ /** -* Titanium SDK -* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Titanium SDK + * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) diff --git a/iphone/Classes/TiUIShortcutProxy.m b/iphone/Classes/TiUIShortcutProxy.m index dacc695a74f..2d77a0521c6 100644 --- a/iphone/Classes/TiUIShortcutProxy.m +++ b/iphone/Classes/TiUIShortcutProxy.m @@ -1,9 +1,9 @@ /** -* Titanium SDK -* Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Titanium SDK + * Copyright (c) 2020 by Appcelerator, Inc. All Rights Reserved. + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #if defined(USE_TI_UISHORTCUT) || defined(USE_TI_UISHORTCUTITEM) #import "TiUIShortcutProxy.h" diff --git a/iphone/Classes/TiUITableViewScrollPositionProxy.h b/iphone/Classes/TiUITableViewScrollPositionProxy.h index d79a7954fed..78bfdee2f44 100644 --- a/iphone/Classes/TiUITableViewScrollPositionProxy.h +++ b/iphone/Classes/TiUITableViewScrollPositionProxy.h @@ -13,11 +13,11 @@ @private } -@property (nonatomic, readonly) NSNumber *NONE; -@property (nonatomic, readonly) NSNumber *TOP; -@property (nonatomic, readonly) NSNumber *MIDDLE; -@property (nonatomic, readonly) NSNumber *BOTTOM; + @property (nonatomic, readonly) NSNumber *NONE; + @property (nonatomic, readonly) NSNumber *TOP; + @property (nonatomic, readonly) NSNumber *MIDDLE; + @property (nonatomic, readonly) NSNumber *BOTTOM; -@end + @end #endif diff --git a/iphone/Classes/TiUITextField.h b/iphone/Classes/TiUITextField.h index 4fd267774b5..ca5550b7c73 100644 --- a/iphone/Classes/TiUITextField.h +++ b/iphone/Classes/TiUITextField.h @@ -37,6 +37,6 @@ @private } -@end + @end #endif diff --git a/iphone/Classes/TiUITextWidget.h b/iphone/Classes/TiUITextWidget.h index a035d918b4e..b0b4e5dbffb 100644 --- a/iphone/Classes/TiUITextWidget.h +++ b/iphone/Classes/TiUITextWidget.h @@ -30,14 +30,14 @@ @private } -@property (readonly, getter=isFocused) BOOL focused; -- (void)textWidget:(UIView *)tw didFocusWithText:(NSString *)value; -- (void)textWidget:(UIView *)tw didBlurWithText:(NSString *)value; -- (void)setValue_:(id)text; -- (void)setSelectionFrom:(NSInteger)start to:(NSInteger)end; + @property (readonly, getter=isFocused) BOOL focused; + - (void)textWidget:(UIView *)tw didFocusWithText:(NSString *)value; + - (void)textWidget:(UIView *)tw didBlurWithText:(NSString *)value; + - (void)setValue_:(id)text; + - (void)setSelectionFrom:(NSInteger)start to:(NSInteger)end; #pragma mark - Titanium Internal Use Only -- (void)updateKeyboardStatus; -- (NSDictionary *)selectedRange; -@end + - (void)updateKeyboardStatus; + - (NSDictionary *)selectedRange; + @end #endif diff --git a/iphone/Classes/TiUITextWidgetProxy.h b/iphone/Classes/TiUITextWidgetProxy.h index 1423153f268..3c48595dd53 100644 --- a/iphone/Classes/TiUITextWidgetProxy.h +++ b/iphone/Classes/TiUITextWidgetProxy.h @@ -25,14 +25,14 @@ @private } -// Internal values -- (void)noteValueChange:(NSString *)newValue:(NSNumber *)contentHeight; + // Internal values + - (void)noteValueChange:(NSString *)newValue:(NSNumber *)contentHeight; -@property (nonatomic, readwrite, assign) BOOL suppressFocusEvents; -// workaround bridge layer issue clashing with focused:(id)unused method -// To expose a "focused" property to JS -@property (readonly, getter=isFocused) BOOL focused; + @property (nonatomic, readwrite, assign) BOOL suppressFocusEvents; + // workaround bridge layer issue clashing with focused:(id)unused method + // To expose a "focused" property to JS + @property (readonly, getter=isFocused) BOOL focused; -@end + @end #endif diff --git a/iphone/Classes/TiUIiOSProxy.h b/iphone/Classes/TiUIiOSProxy.h index f9244236177..ea9fd30fe51 100644 --- a/iphone/Classes/TiUIiOSProxy.h +++ b/iphone/Classes/TiUIiOSProxy.h @@ -61,177 +61,177 @@ @private } -@property (nonatomic, readonly) NSNumber *SCROLL_DECELERATION_RATE_NORMAL; -@property (nonatomic, readonly) NSNumber *SCROLL_DECELERATION_RATE_FAST; -@property (nonatomic, readonly) NSNumber *CLIP_MODE_DEFAULT; -@property (nonatomic, readonly) NSNumber *CLIP_MODE_ENABLED; -@property (nonatomic, readonly) NSNumber *CLIP_MODE_DISABLED; + @property (nonatomic, readonly) NSNumber *SCROLL_DECELERATION_RATE_NORMAL; + @property (nonatomic, readonly) NSNumber *SCROLL_DECELERATION_RATE_FAST; + @property (nonatomic, readonly) NSNumber *CLIP_MODE_DEFAULT; + @property (nonatomic, readonly) NSNumber *CLIP_MODE_ENABLED; + @property (nonatomic, readonly) NSNumber *CLIP_MODE_DISABLED; #ifdef USE_TI_UILISTVIEW -@property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_DEFAULT; -@property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_DESTRUCTIVE; -@property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_NORMAL; + @property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_DEFAULT; + @property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_DESTRUCTIVE; + @property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_NORMAL; #endif #ifdef USE_TI_UIIOSPREVIEWCONTEXT -@property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_DEFAULT; -@property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_DESTRUCTIVE; -@property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_SELECTED; + @property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_DEFAULT; + @property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_DESTRUCTIVE; + @property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_SELECTED; #endif #ifdef USE_TI_UIIOSMENUPOPUP -@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_UP; -@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_DOWN; -@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_LEFT; -@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_RIGHT; -@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_DEFAULT; + @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_UP; + @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_DOWN; + @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_LEFT; + @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_RIGHT; + @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_DEFAULT; #endif -@property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_HINT; -@property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_FULL; + @property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_HINT; + @property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_FULL; -// Modules + // Modules #ifdef USE_TI_UIIOSANIMATIONSTYLE -@property (nonatomic, readwrite, assign) TiUIiOSAnimationStyleProxy *animationStyleProxy; + @property (nonatomic, readwrite, assign) TiUIiOSAnimationStyleProxy *animationStyleProxy; #endif #ifdef USE_TI_UIIOSROWANIMATIONSTYLE -@property (nonatomic, readwrite, assign) TiUIiOSRowAnimationStyleProxy *RowAnimationStyle; + @property (nonatomic, readwrite, assign) TiUIiOSRowAnimationStyleProxy *RowAnimationStyle; #endif #ifdef USE_TI_UIIOSALERTDIALOGSTYLE -@property (nonatomic, readwrite, assign) TIUIiOSAlertDialogStyleProxy *AlertDialogStyle; + @property (nonatomic, readwrite, assign) TIUIiOSAlertDialogStyleProxy *AlertDialogStyle; #endif #if defined(USE_TI_UIIOSTABLEVIEWCELLSELECTIONSTYLE) || defined(USE_TI_UIIOSLISTVIEWCELLSELECTIONSTYLE) -@property (nonatomic, readwrite, assign) TiUIiOSTableViewCellSelectionStyleProxy *TableViewCellSelectionStyle; -@property (nonatomic, readwrite, assign) TiUIiOSTableViewCellSelectionStyleProxy *ListViewCellSelectionStyle; + @property (nonatomic, readwrite, assign) TiUIiOSTableViewCellSelectionStyleProxy *TableViewCellSelectionStyle; + @property (nonatomic, readwrite, assign) TiUIiOSTableViewCellSelectionStyleProxy *ListViewCellSelectionStyle; #endif #if defined(USE_TI_UIIOSTABLEVIEWSCROLLPOSITION) || defined(USE_TI_UIIOSLISTVIEWSCROLLPOSITION) -@property (nonatomic, readwrite, assign) TiUIiOSTableViewScrollPositionProxy *TableViewScrollPosition; -@property (nonatomic, readwrite, assign) TiUIiOSTableViewScrollPositionProxy *ListViewScrollPosition; + @property (nonatomic, readwrite, assign) TiUIiOSTableViewScrollPositionProxy *TableViewScrollPosition; + @property (nonatomic, readwrite, assign) TiUIiOSTableViewScrollPositionProxy *ListViewScrollPosition; #endif #if defined(USE_TI_UIIOSTABLEVIEWSTYLE) || defined(USE_TI_UIIOSLISTVIEWSTYLE) -@property (nonatomic, readwrite, assign) TiUIiOSTableViewStyleProxy *TableViewStyle; -@property (nonatomic, readwrite, assign) TiUIiOSTableViewStyleProxy *ListViewStyle; + @property (nonatomic, readwrite, assign) TiUIiOSTableViewStyleProxy *TableViewStyle; + @property (nonatomic, readwrite, assign) TiUIiOSTableViewStyleProxy *ListViewStyle; #endif #ifdef USE_TI_UIIOSPROGRESSBARSTYLE -@property (nonatomic, readwrite, assign) TiUIiOSProgressBarStyleProxy *ProgressBarStyle; + @property (nonatomic, readwrite, assign) TiUIiOSProgressBarStyleProxy *ProgressBarStyle; #endif #ifdef USE_TI_UIIOSSCROLLINDICATORSTYLE -@property (nonatomic, readwrite, assign) TiUIiOSScrollIndicatorStyleProxy *ScrollIndicatorStyle; + @property (nonatomic, readwrite, assign) TiUIiOSScrollIndicatorStyleProxy *ScrollIndicatorStyle; #endif #ifdef USE_TI_UIIOSSTATUSBAR -@property (nonatomic, readwrite, assign) TiUIiOSStatusBarProxy *StatusBar; + @property (nonatomic, readwrite, assign) TiUIiOSStatusBarProxy *StatusBar; #endif #ifdef USE_TI_UIIOSSYSTEMBUTTONSTYLE -@property (nonatomic, readwrite, assign) TiUIiOSSystemButtonStyleProxy *SystemButtonStyle; + @property (nonatomic, readwrite, assign) TiUIiOSSystemButtonStyleProxy *SystemButtonStyle; #endif #ifdef USE_TI_UIIOSSYSTEMBUTTON -@property (nonatomic, readwrite, assign) TiUIiOSSystemButtonProxy *SystemButton; + @property (nonatomic, readwrite, assign) TiUIiOSSystemButtonProxy *SystemButton; #endif #ifdef USE_TI_UIIOSSYSTEMICON -@property (nonatomic, readwrite, assign) TiUIiOSSystemIconProxy *SystemIcon; + @property (nonatomic, readwrite, assign) TiUIiOSSystemIconProxy *SystemIcon; #endif -@property (nonatomic, readwrite, assign) NSNumber *appBadge; -@property (nonatomic, readwrite, assign) NSNumber *appSupportsShakeToEdit; + @property (nonatomic, readwrite, assign) NSNumber *appBadge; + @property (nonatomic, readwrite, assign) NSNumber *appSupportsShakeToEdit; -// iOS 16+ alert severity + // iOS 16+ alert severity #if IS_SDK_IOS_16 -- (NSNumber *)ALERT_SEVERITY_DEFAULT; -- (NSNumber *)ALERT_SEVERITY_CRITICAL; + - (NSNumber *)ALERT_SEVERITY_DEFAULT; + - (NSNumber *)ALERT_SEVERITY_CRITICAL; #endif -// Modal Presentation & Transition -@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FULLSCREEN; -@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_PAGESHEET; -@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FORMSHEET; -@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_CURRENT_CONTEXT; -@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_OVER_CURRENT_CONTEXT; -@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREEN; + // Modal Presentation & Transition + @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FULLSCREEN; + @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_PAGESHEET; + @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FORMSHEET; + @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_CURRENT_CONTEXT; + @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_OVER_CURRENT_CONTEXT; + @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREEN; -@property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_COVER_VERTICAL; -@property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL; -@property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_CROSS_DISSOLVE; + @property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_COVER_VERTICAL; + @property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL; + @property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_CROSS_DISSOLVE; -@property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_PARTIAL_CURL; + @property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_PARTIAL_CURL; #ifdef USE_TI_UIIOSBLURVIEW -@property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_EXTRA_LIGHT; -@property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_LIGHT; -@property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_DARK; + @property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_EXTRA_LIGHT; + @property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_LIGHT; + @property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_DARK; #endif -@property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_AUTOMATIC; -@property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_ALWAYS; -@property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_NEVER; + @property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_AUTOMATIC; + @property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_ALWAYS; + @property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_NEVER; -/** - Checks the force touch capibility of the current device. - */ -- (NSNumber *)forceTouchSupported; + /** + Checks the force touch capibility of the current device. + */ + - (NSNumber *)forceTouchSupported; #ifdef USE_TI_UIIOSCOVERFLOWVIEW -- (id)createCoverFlowView:(id)args; + - (id)createCoverFlowView:(id)args; #endif #ifdef USE_TI_UIIOSDOCUMENTVIEWER -- (id)createDocumentViewer:(id)args; + - (id)createDocumentViewer:(id)args; #endif #ifdef USE_TI_UIIOSSPLITWINDOW -- (id)createSplitWindow:(id)args; + - (id)createSplitWindow:(id)args; #endif #ifdef USE_TI_UIIOSANIMATOR -- (id)createAnimator:(id)args; + - (id)createAnimator:(id)args; #endif #ifdef USE_TI_UIIOSSNAPBEHAVIOR -- (id)createSnapBehavior:(id)args; + - (id)createSnapBehavior:(id)args; #endif #ifdef USE_TI_UIIOSPUSHBEHAVIOR -- (id)createPushBehavior:(id)args; + - (id)createPushBehavior:(id)args; #endif #ifdef USE_TI_UIIOSGRAVITYBEHAVIOR -- (id)createGravityBehavior:(id)args; + - (id)createGravityBehavior:(id)args; #endif #ifdef USE_TI_UIIOSANCHORATTACHMENTBEHAVIOR -- (id)createAnchorAttachmentBehavior:(id)args; + - (id)createAnchorAttachmentBehavior:(id)args; #endif #ifdef USE_TI_UIIOSVIEWATTACHMENTBEHAVIOR -- (id)createViewAttachmentBehavior:(id)args; + - (id)createViewAttachmentBehavior:(id)args; #endif #ifdef USE_TI_UIIOSCOLLISIONBEHAVIOR -- (id)createCollisionBehavior:(id)args; + - (id)createCollisionBehavior:(id)args; #endif #ifdef USE_TI_UIIOSDYNAMICITEMBEHAVIOR -- (id)createDynamicItemBehavior:(id)args; + - (id)createDynamicItemBehavior:(id)args; #endif #ifdef USE_TI_UIIOSTRANSITIONANIMATION -- (id)createTransitionAnimation:(id)args; + - (id)createTransitionAnimation:(id)args; #endif #ifdef USE_TI_UIIOSPREVIEWCONTEXT -- (id)createPreviewAction:(id)args; -- (id)createPreviewActionGroup:(id)args; -- (id)createPreviewContext:(id)args; + - (id)createPreviewAction:(id)args; + - (id)createPreviewActionGroup:(id)args; + - (id)createPreviewContext:(id)args; #endif #ifdef USE_TI_UIIOSMENUPOPUP -- (id)createMenuPopup:(id)args; + - (id)createMenuPopup:(id)args; #endif #ifdef USE_TI_UIIOSBLURVIEW -- (id)createBlurView:(id)args; + - (id)createBlurView:(id)args; #endif #ifdef USE_TI_UIIOSAPPLICATIONSHORTCUTS -- (id)createApplicationShortcuts:(id)args; + - (id)createApplicationShortcuts:(id)args; #endif #ifdef USE_TI_UIIOSFEEDBACKGENERATOR -- (id)createFeedbackGenerator:(id)args; + - (id)createFeedbackGenerator:(id)args; #endif #ifdef USE_TI_UIWEBVIEW -- (id)createWebViewConfiguration:(id)args; -- (id)createWebViewProcessPool:(id)args; + - (id)createWebViewConfiguration:(id)args; + - (id)createWebViewProcessPool:(id)args; #endif -@end + @end diff --git a/iphone/Classes/TiUIiOSScrollIndicatorStyleProxy.h b/iphone/Classes/TiUIiOSScrollIndicatorStyleProxy.h index 58d66b97768..af64610ba12 100644 --- a/iphone/Classes/TiUIiOSScrollIndicatorStyleProxy.h +++ b/iphone/Classes/TiUIiOSScrollIndicatorStyleProxy.h @@ -13,10 +13,10 @@ @private } -@property (nonatomic, readonly) NSNumber *DEFAULT; -@property (nonatomic, readonly) NSNumber *BLACK; -@property (nonatomic, readonly) NSNumber *WHITE; + @property (nonatomic, readonly) NSNumber *DEFAULT; + @property (nonatomic, readonly) NSNumber *BLACK; + @property (nonatomic, readonly) NSNumber *WHITE; -@end + @end #endif diff --git a/iphone/Classes/TiUIiOSTableViewScrollPositionProxy.h b/iphone/Classes/TiUIiOSTableViewScrollPositionProxy.h index 992a248840b..4e8c95d87fb 100644 --- a/iphone/Classes/TiUIiOSTableViewScrollPositionProxy.h +++ b/iphone/Classes/TiUIiOSTableViewScrollPositionProxy.h @@ -13,11 +13,11 @@ @private } -@property (nonatomic, readonly) NSNumber *NONE; -@property (nonatomic, readonly) NSNumber *TOP; -@property (nonatomic, readonly) NSNumber *MIDDLE; -@property (nonatomic, readonly) NSNumber *BOTTOM; + @property (nonatomic, readonly) NSNumber *NONE; + @property (nonatomic, readonly) NSNumber *TOP; + @property (nonatomic, readonly) NSNumber *MIDDLE; + @property (nonatomic, readonly) NSNumber *BOTTOM; -@end + @end #endif diff --git a/iphone/Classes/TiUIiPadPopoverProxy.m b/iphone/Classes/TiUIiPadPopoverProxy.m index 8f27c313a1a..c2f24d66605 100644 --- a/iphone/Classes/TiUIiPadPopoverProxy.m +++ b/iphone/Classes/TiUIiPadPopoverProxy.m @@ -249,7 +249,7 @@ - (void)cleanup [contentViewProxy setProxyObserver:nil]; popoverInitialized = NO; - [self fireEvent:@"hide" withObject:nil]; //Checking for listeners are done by fireEvent anyways. + [self fireEvent:@"hide" withObject:nil]; // Checking for listeners are done by fireEvent anyways. [contentViewProxy windowDidClose]; if ([contentViewProxy isKindOfClass:[TiWindowProxy class]]) { @@ -385,7 +385,7 @@ - (void)prepareForPopoverPresentation:(UIPopoverPresentationController *)popover } } - //Fell through. + // Fell through. UIViewController *presentingController = [[self viewController] presentingViewController]; popoverPresentationController.permittedArrowDirections = directions; popoverPresentationController.sourceView = [presentingController view]; @@ -408,7 +408,7 @@ - (void)presentationControllerDidDismiss:(UIPresentationController *)presentatio - (void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView *_Nonnull *)view { - //This will never be called when using bar button item + // This will never be called when using bar button item BOOL canUseDialogRect = !CGRectEqualToRect(CGRectZero, popoverRect); UIView *theSourceView = *view; diff --git a/iphone/Classes/TiUIiPadProxy.h b/iphone/Classes/TiUIiPadProxy.h index a56b64fc699..9e60edd7309 100644 --- a/iphone/Classes/TiUIiPadProxy.h +++ b/iphone/Classes/TiUIiPadProxy.h @@ -18,16 +18,16 @@ } #ifdef USE_TI_UIIPADPOPOVER -@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_UP; -@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_DOWN; -@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_LEFT; -@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_RIGHT; -@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_ANY; -@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_UNKNOWN; - -- (id)createPopover:(id)args; + @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_UP; + @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_DOWN; + @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_LEFT; + @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_RIGHT; + @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_ANY; + @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_UNKNOWN; + + - (id)createPopover:(id)args; #endif -@end + @end #endif diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m index 01fb990d9e0..3695ee740b2 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/ImageLoader.m @@ -12,7 +12,7 @@ #import "UIImage+Resize.h" #import -//#define DEBUG_IMAGE_CACHE +// #define DEBUG_IMAGE_CACHE #ifdef DEBUG_IMAGE_CACHE #import diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h index 3e29930ef31..37a6565608a 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.h @@ -1,9 +1,9 @@ /** -* Titanium SDK + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ @import JavaScriptCore; NS_ASSUME_NONNULL_BEGIN diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m index 3dd58f36ccb..622f91def18 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/JSValue+Addons.m @@ -1,9 +1,9 @@ /** -* Titanium SDK + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. -* Licensed under the terms of the Apache Public License -* Please see the LICENSE included with this distribution for details. -*/ + * Licensed under the terms of the Apache Public License + * Please see the LICENSE included with this distribution for details. + */ #import "JSValue+Addons.h" diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBase.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBase.h index 2c4585cc1ce..3ae6ba65370 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBase.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiBase.h @@ -501,7 +501,7 @@ enum { #define TI_VERSION_STR STRING(TI_VERSION) -//#define VERBOSE +// #define VERBOSE #ifdef VERBOSE #define VerboseLog(...) \ diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h index 9bd92428a3d..e1f038bbe7e 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h @@ -38,19 +38,19 @@ typedef enum { @private } -@property (nonatomic, readwrite, assign) BOOL backfillStart; -@property (nonatomic, readwrite, assign) BOOL backfillEnd; + @property (nonatomic, readwrite, assign) BOOL backfillStart; + @property (nonatomic, readwrite, assign) BOOL backfillEnd; -- (void)paintContext:(CGContextRef)context bounds:(CGRect)bounds; -- (void)clearCache; -- (void)setColors:(NSArray *)newColors; + - (void)paintContext:(CGContextRef)context bounds:(CGRect)bounds; + - (void)clearCache; + - (void)setColors:(NSArray *)newColors; -+ (TiGradient *)gradientFromObject:(id)value proxy:(TiProxy *)proxy; + + (TiGradient *)gradientFromObject:(id)value proxy:(TiProxy *)proxy; -@end + @end -@interface TiGradientLayer : CALayer { - TiGradient *gradient; -} -@property (nonatomic, readwrite, retain) TiGradient *gradient; -@end + @interface TiGradientLayer : CALayer { + TiGradient *gradient; + } + @property (nonatomic, readwrite, retain) TiGradient *gradient; + @end diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m index bff84b9478b..a699e0f22e4 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m @@ -22,15 +22,15 @@ void InsetScrollViewForKeyboard(UIScrollView *scrollView, CGFloat keyboardTop, C VerboseLog(@"ScrollView:%@, keyboardTop:%f minimumContentHeight:%f", scrollView, keyboardTop, minimumContentHeight); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - //First, find out how much we have to compensate. + // First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. CGFloat unimportantArea = MAX(scrollVisibleRect.size.height - minimumContentHeight, 0); - //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. CGFloat bottomInset = MAX(0, obscuredHeight - unimportantArea); [scrollView setContentInset:UIEdgeInsetsMake(0, 0, bottomInset, 0)]; @@ -54,14 +54,14 @@ void OffsetScrollViewForRect(UIScrollView *scrollView, CGFloat keyboardTop, CGFl responderRect.origin.x, responderRect.origin.y, responderRect.size.width, responderRect.size.height); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - //First, find out how much we have to compensate. + // First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. - //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. VerboseLog(@"ScrollVisibleRect(%f,%f),%fx%f; obscuredHeight:%f;", scrollVisibleRect.origin.x, scrollVisibleRect.origin.y, scrollVisibleRect.size.width, scrollVisibleRect.size.height, @@ -69,7 +69,7 @@ void OffsetScrollViewForRect(UIScrollView *scrollView, CGFloat keyboardTop, CGFl scrollVisibleRect.size.height -= MAX(0, obscuredHeight); - //Okay, the scrollVisibleRect.size now represents the actually visible area. + // Okay, the scrollVisibleRect.size now represents the actually visible area. CGPoint offsetPoint = [scrollView contentOffset]; @@ -98,15 +98,15 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll responderRect.origin.x, responderRect.origin.y, responderRect.size.width, responderRect.size.height); CGRect scrollVisibleRect = [scrollView convertRect:[scrollView bounds] toView:[[TiApp app] topMostView]]; - //First, find out how much we have to compensate. + // First, find out how much we have to compensate. CGFloat obscuredHeight = scrollVisibleRect.origin.y + scrollVisibleRect.size.height - keyboardTop; - //ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. + // ObscuredHeight is how many vertical pixels the keyboard obscures of the scroll view. Some of this may be acceptable. CGFloat unimportantArea = MAX(scrollVisibleRect.size.height - minimumContentHeight, 0); - //It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. + // It's possible that some of the covered area doesn't matter. If it all matters, unimportant is 0. - //As such, obscuredHeight is now how much actually matters of scrollVisibleRect. + // As such, obscuredHeight is now how much actually matters of scrollVisibleRect. [scrollView setContentInset:UIEdgeInsetsMake(0, 0, MAX(0, obscuredHeight - unimportantArea), 0)]; @@ -116,7 +116,7 @@ void ModifyScrollViewForKeyboardHeightAndContentHeightWithResponderRect(UIScroll scrollVisibleRect.size.height -= MAX(0, obscuredHeight); - //Okay, the scrollVisibleRect.size now represents the actually visible area. + // Okay, the scrollVisibleRect.size now represents the actually visible area. CGPoint offsetPoint = [scrollView contentOffset]; @@ -449,7 +449,7 @@ - (void)checkBounds CGRect newBounds = [self bounds]; if (!CGSizeEqualToSize(oldSize, newBounds.size)) { oldSize = newBounds.size; - //TIMOB-11197, TC-1264 + // TIMOB-11197, TC-1264 if (!animating) { [CATransaction begin]; [CATransaction setValue:(id)kCFBooleanTrue forKey:kCATransactionDisableActions]; @@ -678,7 +678,7 @@ - (void)renderRepeatedBackground:(id)image }]; if (renderedBg == nil) { - //TIMOB-11564. Either width or height of the bounds is zero + // TIMOB-11564. Either width or height of the bounds is zero return; } @@ -909,7 +909,7 @@ - (void)setVisible_:(id)visible { BOOL oldVal = self.hidden; self.hidden = ![TiUtils boolValue:visible]; - //Redraw ourselves if changing from invisible to visible, to handle any changes made + // Redraw ourselves if changing from invisible to visible, to handle any changes made if (!self.hidden && oldVal) { TiViewProxy *viewProxy = (TiViewProxy *)[self proxy]; [viewProxy willEnqueue]; @@ -960,14 +960,14 @@ - (void)setBackgroundGradient_:(id)arg - (void)updateClipping { if (clipMode != 0) { - //Explicitly overridden + // Explicitly overridden self.clipsToBounds = (clipMode > 0); } else { if (_shadowLayer.shadowOpacity > 0) { - //If shadow is visible, disble clipping + // If shadow is visible, disble clipping self.clipsToBounds = NO; } else if (self.layer.borderWidth > 0 || self.layer.cornerRadius > 0 || [proxy valueForUndefinedKey:@"borderRadius"]) { - //If borderWidth > 0, or borderRadius > 0 enable clipping + // If borderWidth > 0, or borderRadius > 0 enable clipping self.clipsToBounds = YES; } else if ([[self proxy] isKindOfClass:[TiViewProxy class]]) { self.clipsToBounds = ([[((TiViewProxy *)self.proxy) children] count] > 0); @@ -1092,7 +1092,7 @@ - (void)setVerticalMotionEffect_:(id)motionEffect - (void)updateViewShadowPath { if (_shadowLayer.shadowOpacity > 0.0f) { - //to speedup things + // to speedup things UIBezierPath *bezierPath = [self bezierPathOfView]; if (_shadowLayer != self.layer) { _shadowLayer.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, self.bounds.size.width, self.bounds.size.height); @@ -1186,7 +1186,7 @@ - (void)propertyChanged:(NSString *)key oldValue:(id)oldValue newValue:(id)newVa DoProxyDelegateChangedValuesWithProxy(self, key, oldValue, newValue, proxy_); } -//Todo: Generalize. +// Todo: Generalize. - (void)setKrollValue:(id)value forKey:(NSString *)key withObject:(id)props { if (value == [NSNull null]) { @@ -1223,7 +1223,7 @@ - (void)transferProxy:(TiViewProxy *)newProxy deep:(BOOL)deep [newProxy setView:self]; [self setProxy:[newProxy retain]]; - //The important sequence first: + // The important sequence first: for (NSString *thisKey in keySequence) { id newValue = [newProxy valueForKey:thisKey]; id oldValue = [oldProxy valueForKey:thisKey]; @@ -1426,7 +1426,7 @@ - (void)recognizedTap:(UITapGestureRecognizer *)recognizer if ([recognizer numberOfTouchesRequired] == 2) { [proxy fireEvent:@"twofingertap" withObject:event]; } else if ([recognizer numberOfTapsRequired] == 2) { - //Because double-tap suppresses touchStart and double-click, we must do this: + // Because double-tap suppresses touchStart and double-click, we must do this: if ([proxy _hasListeners:@"touchstart"]) { [proxy fireEvent:@"touchstart" withObject:event propagate:YES]; } @@ -1522,11 +1522,11 @@ - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event // The touch never reaches the button, because the touchDelegate is as deep as the touch goes. /* - // delegate to our touch delegate if we're hit but it's not for us - if (hasTouchListeners==NO && touchDelegate!=nil) - { - return touchDelegate; - } + // delegate to our touch delegate if we're hit but it's not for us + if (hasTouchListeners==NO && touchDelegate!=nil) + { + return touchDelegate; + } */ return [super hitTest:point withEvent:event]; @@ -1743,7 +1743,7 @@ - (void)listenerRemoved:(NSString *)event count:(int)count } } -- (void)sanitycheckListeners //TODO: This can be optimized and unwound later. +- (void)sanitycheckListeners // TODO: This can be optimized and unwound later. { if (listenerArray == nil) { listenerArray = [[NSArray alloc] initWithObjects:@"singletap", diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m index 82b72a43a69..410fcb49ad8 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m @@ -1806,7 +1806,7 @@ - (TiProxy *)parentForBubbling - (void)willEnqueue { #ifndef TI_USE_AUTOLAYOUT - SET_AND_PERFORM(TiRefreshViewEnqueued, return ); + SET_AND_PERFORM(TiRefreshViewEnqueued, return); [TiLayoutQueue addViewProxy:self]; #endif } @@ -1823,7 +1823,7 @@ - (void)willEnqueueIfVisible - (void)willChangeSize { #ifndef TI_USE_AUTOLAYOUT - SET_AND_PERFORM(TiRefreshViewSize, return ); + SET_AND_PERFORM(TiRefreshViewSize, return); if (!TiLayoutRuleIsAbsolute(layoutProperties.layoutStyle)) { [self willChangeLayout]; @@ -1843,7 +1843,7 @@ - (void)willChangeSize - (void)willChangePosition { #ifndef TI_USE_AUTOLAYOUT - SET_AND_PERFORM(TiRefreshViewPosition, return ); + SET_AND_PERFORM(TiRefreshViewPosition, return); if (TiDimensionIsUndefined(layoutProperties.width) || TiDimensionIsUndefined(layoutProperties.height)) { // The only time size can be changed by the margins is if the margins define the size. [self willChangeSize]; @@ -1890,7 +1890,7 @@ - (void)willHide; - (void)willChangeLayout { - SET_AND_PERFORM(TiRefreshViewChildrenPosition, return ); + SET_AND_PERFORM(TiRefreshViewChildrenPosition, return); [self willEnqueueIfVisible]; From f60c2fca960bb10af0a0df33e445b885e263c886 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sun, 31 Dec 2023 18:20:24 +0100 Subject: [PATCH 09/23] ios linting --- iphone/Classes/TIDOMCharacterDataProxy.h | 16 +- iphone/Classes/TiDOMDocumentProxy.h | 4 +- iphone/Classes/TiDOMTextNodeProxy.h | 4 +- iphone/Classes/TiUIDashboardItem.h | 2 +- iphone/Classes/TiUIMaskedImageProxy.h | 2 +- .../TiUITableViewScrollPositionProxy.h | 10 +- iphone/Classes/TiUITextField.h | 2 +- iphone/Classes/TiUITextWidget.h | 16 +- iphone/Classes/TiUITextWidgetProxy.h | 14 +- iphone/Classes/TiUIiOSProxy.h | 160 +++++++++--------- .../TiUIiOSScrollIndicatorStyleProxy.h | 8 +- .../TiUIiOSTableViewScrollPositionProxy.h | 10 +- iphone/Classes/TiUIiPadProxy.h | 18 +- .../TitaniumKit/Sources/API/TiGradient.h | 24 +-- .../TitaniumKit/Sources/API/TiViewProxy.m | 8 +- package-lock.json | 30 +++- package.json | 2 +- 17 files changed, 171 insertions(+), 159 deletions(-) diff --git a/iphone/Classes/TIDOMCharacterDataProxy.h b/iphone/Classes/TIDOMCharacterDataProxy.h index bb9805d8211..0c18f6c3f1b 100644 --- a/iphone/Classes/TIDOMCharacterDataProxy.h +++ b/iphone/Classes/TIDOMCharacterDataProxy.h @@ -13,14 +13,14 @@ @private } - @property (nonatomic, copy, readwrite) NSString *data; - @property (nonatomic, readonly) NSNumber *length; - - (NSString *)substringData:(id)args; - - (void)appendData:(id)args; - - (void)insertData:(id)args; - - (void)deleteData:(id)args; - - (void)replaceData:(id)args; +@property (nonatomic, copy, readwrite) NSString *data; +@property (nonatomic, readonly) NSNumber *length; +- (NSString *)substringData:(id)args; +- (void)appendData:(id)args; +- (void)insertData:(id)args; +- (void)deleteData:(id)args; +- (void)replaceData:(id)args; - @end +@end #endif diff --git a/iphone/Classes/TiDOMDocumentProxy.h b/iphone/Classes/TiDOMDocumentProxy.h index 3c899b0a683..497f4f371e5 100644 --- a/iphone/Classes/TiDOMDocumentProxy.h +++ b/iphone/Classes/TiDOMDocumentProxy.h @@ -14,8 +14,8 @@ @private } - - (void)parseString:(NSString *)xml; +- (void)parseString:(NSString *)xml; - @end +@end #endif diff --git a/iphone/Classes/TiDOMTextNodeProxy.h b/iphone/Classes/TiDOMTextNodeProxy.h index af0a238e09f..9f39b6fbd48 100644 --- a/iphone/Classes/TiDOMTextNodeProxy.h +++ b/iphone/Classes/TiDOMTextNodeProxy.h @@ -13,8 +13,8 @@ @private } - - (TiDOMTextNodeProxy *)splitText:(id)args; +- (TiDOMTextNodeProxy *)splitText:(id)args; - @end +@end #endif diff --git a/iphone/Classes/TiUIDashboardItem.h b/iphone/Classes/TiUIDashboardItem.h index a9ea0a4940f..57ed54855dc 100644 --- a/iphone/Classes/TiUIDashboardItem.h +++ b/iphone/Classes/TiUIDashboardItem.h @@ -13,6 +13,6 @@ @private } - @end +@end #endif diff --git a/iphone/Classes/TiUIMaskedImageProxy.h b/iphone/Classes/TiUIMaskedImageProxy.h index b3fed3e4e23..177c46a1f89 100644 --- a/iphone/Classes/TiUIMaskedImageProxy.h +++ b/iphone/Classes/TiUIMaskedImageProxy.h @@ -13,6 +13,6 @@ @private } - @end +@end #endif diff --git a/iphone/Classes/TiUITableViewScrollPositionProxy.h b/iphone/Classes/TiUITableViewScrollPositionProxy.h index 78bfdee2f44..d79a7954fed 100644 --- a/iphone/Classes/TiUITableViewScrollPositionProxy.h +++ b/iphone/Classes/TiUITableViewScrollPositionProxy.h @@ -13,11 +13,11 @@ @private } - @property (nonatomic, readonly) NSNumber *NONE; - @property (nonatomic, readonly) NSNumber *TOP; - @property (nonatomic, readonly) NSNumber *MIDDLE; - @property (nonatomic, readonly) NSNumber *BOTTOM; +@property (nonatomic, readonly) NSNumber *NONE; +@property (nonatomic, readonly) NSNumber *TOP; +@property (nonatomic, readonly) NSNumber *MIDDLE; +@property (nonatomic, readonly) NSNumber *BOTTOM; - @end +@end #endif diff --git a/iphone/Classes/TiUITextField.h b/iphone/Classes/TiUITextField.h index ca5550b7c73..4fd267774b5 100644 --- a/iphone/Classes/TiUITextField.h +++ b/iphone/Classes/TiUITextField.h @@ -37,6 +37,6 @@ @private } - @end +@end #endif diff --git a/iphone/Classes/TiUITextWidget.h b/iphone/Classes/TiUITextWidget.h index b0b4e5dbffb..a035d918b4e 100644 --- a/iphone/Classes/TiUITextWidget.h +++ b/iphone/Classes/TiUITextWidget.h @@ -30,14 +30,14 @@ @private } - @property (readonly, getter=isFocused) BOOL focused; - - (void)textWidget:(UIView *)tw didFocusWithText:(NSString *)value; - - (void)textWidget:(UIView *)tw didBlurWithText:(NSString *)value; - - (void)setValue_:(id)text; - - (void)setSelectionFrom:(NSInteger)start to:(NSInteger)end; +@property (readonly, getter=isFocused) BOOL focused; +- (void)textWidget:(UIView *)tw didFocusWithText:(NSString *)value; +- (void)textWidget:(UIView *)tw didBlurWithText:(NSString *)value; +- (void)setValue_:(id)text; +- (void)setSelectionFrom:(NSInteger)start to:(NSInteger)end; #pragma mark - Titanium Internal Use Only - - (void)updateKeyboardStatus; - - (NSDictionary *)selectedRange; - @end +- (void)updateKeyboardStatus; +- (NSDictionary *)selectedRange; +@end #endif diff --git a/iphone/Classes/TiUITextWidgetProxy.h b/iphone/Classes/TiUITextWidgetProxy.h index 3c48595dd53..1423153f268 100644 --- a/iphone/Classes/TiUITextWidgetProxy.h +++ b/iphone/Classes/TiUITextWidgetProxy.h @@ -25,14 +25,14 @@ @private } - // Internal values - - (void)noteValueChange:(NSString *)newValue:(NSNumber *)contentHeight; +// Internal values +- (void)noteValueChange:(NSString *)newValue:(NSNumber *)contentHeight; - @property (nonatomic, readwrite, assign) BOOL suppressFocusEvents; - // workaround bridge layer issue clashing with focused:(id)unused method - // To expose a "focused" property to JS - @property (readonly, getter=isFocused) BOOL focused; +@property (nonatomic, readwrite, assign) BOOL suppressFocusEvents; +// workaround bridge layer issue clashing with focused:(id)unused method +// To expose a "focused" property to JS +@property (readonly, getter=isFocused) BOOL focused; - @end +@end #endif diff --git a/iphone/Classes/TiUIiOSProxy.h b/iphone/Classes/TiUIiOSProxy.h index ea9fd30fe51..cfaf67240b3 100644 --- a/iphone/Classes/TiUIiOSProxy.h +++ b/iphone/Classes/TiUIiOSProxy.h @@ -61,177 +61,177 @@ @private } - @property (nonatomic, readonly) NSNumber *SCROLL_DECELERATION_RATE_NORMAL; - @property (nonatomic, readonly) NSNumber *SCROLL_DECELERATION_RATE_FAST; - @property (nonatomic, readonly) NSNumber *CLIP_MODE_DEFAULT; - @property (nonatomic, readonly) NSNumber *CLIP_MODE_ENABLED; - @property (nonatomic, readonly) NSNumber *CLIP_MODE_DISABLED; +@property (nonatomic, readonly) NSNumber *SCROLL_DECELERATION_RATE_NORMAL; +@property (nonatomic, readonly) NSNumber *SCROLL_DECELERATION_RATE_FAST; +@property (nonatomic, readonly) NSNumber *CLIP_MODE_DEFAULT; +@property (nonatomic, readonly) NSNumber *CLIP_MODE_ENABLED; +@property (nonatomic, readonly) NSNumber *CLIP_MODE_DISABLED; #ifdef USE_TI_UILISTVIEW - @property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_DEFAULT; - @property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_DESTRUCTIVE; - @property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_NORMAL; +@property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_DEFAULT; +@property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_DESTRUCTIVE; +@property (nonatomic, readonly) NSNumber *ROW_ACTION_STYLE_NORMAL; #endif #ifdef USE_TI_UIIOSPREVIEWCONTEXT - @property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_DEFAULT; - @property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_DESTRUCTIVE; - @property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_SELECTED; +@property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_DEFAULT; +@property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_DESTRUCTIVE; +@property (nonatomic, readonly) NSNumber *PREVIEW_ACTION_STYLE_SELECTED; #endif #ifdef USE_TI_UIIOSMENUPOPUP - @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_UP; - @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_DOWN; - @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_LEFT; - @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_RIGHT; - @property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_DEFAULT; +@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_UP; +@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_DOWN; +@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_LEFT; +@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_RIGHT; +@property (nonatomic, readonly) NSNumber *MENU_POPUP_ARROW_DIRECTION_DEFAULT; #endif - @property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_HINT; - @property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_FULL; +@property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_HINT; +@property (nonatomic, readonly) NSNumber *LIVEPHOTO_PLAYBACK_STYLE_FULL; - // Modules +// Modules #ifdef USE_TI_UIIOSANIMATIONSTYLE - @property (nonatomic, readwrite, assign) TiUIiOSAnimationStyleProxy *animationStyleProxy; +@property (nonatomic, readwrite, assign) TiUIiOSAnimationStyleProxy *animationStyleProxy; #endif #ifdef USE_TI_UIIOSROWANIMATIONSTYLE - @property (nonatomic, readwrite, assign) TiUIiOSRowAnimationStyleProxy *RowAnimationStyle; +@property (nonatomic, readwrite, assign) TiUIiOSRowAnimationStyleProxy *RowAnimationStyle; #endif #ifdef USE_TI_UIIOSALERTDIALOGSTYLE - @property (nonatomic, readwrite, assign) TIUIiOSAlertDialogStyleProxy *AlertDialogStyle; +@property (nonatomic, readwrite, assign) TIUIiOSAlertDialogStyleProxy *AlertDialogStyle; #endif #if defined(USE_TI_UIIOSTABLEVIEWCELLSELECTIONSTYLE) || defined(USE_TI_UIIOSLISTVIEWCELLSELECTIONSTYLE) - @property (nonatomic, readwrite, assign) TiUIiOSTableViewCellSelectionStyleProxy *TableViewCellSelectionStyle; - @property (nonatomic, readwrite, assign) TiUIiOSTableViewCellSelectionStyleProxy *ListViewCellSelectionStyle; +@property (nonatomic, readwrite, assign) TiUIiOSTableViewCellSelectionStyleProxy *TableViewCellSelectionStyle; +@property (nonatomic, readwrite, assign) TiUIiOSTableViewCellSelectionStyleProxy *ListViewCellSelectionStyle; #endif #if defined(USE_TI_UIIOSTABLEVIEWSCROLLPOSITION) || defined(USE_TI_UIIOSLISTVIEWSCROLLPOSITION) - @property (nonatomic, readwrite, assign) TiUIiOSTableViewScrollPositionProxy *TableViewScrollPosition; - @property (nonatomic, readwrite, assign) TiUIiOSTableViewScrollPositionProxy *ListViewScrollPosition; +@property (nonatomic, readwrite, assign) TiUIiOSTableViewScrollPositionProxy *TableViewScrollPosition; +@property (nonatomic, readwrite, assign) TiUIiOSTableViewScrollPositionProxy *ListViewScrollPosition; #endif #if defined(USE_TI_UIIOSTABLEVIEWSTYLE) || defined(USE_TI_UIIOSLISTVIEWSTYLE) - @property (nonatomic, readwrite, assign) TiUIiOSTableViewStyleProxy *TableViewStyle; - @property (nonatomic, readwrite, assign) TiUIiOSTableViewStyleProxy *ListViewStyle; +@property (nonatomic, readwrite, assign) TiUIiOSTableViewStyleProxy *TableViewStyle; +@property (nonatomic, readwrite, assign) TiUIiOSTableViewStyleProxy *ListViewStyle; #endif #ifdef USE_TI_UIIOSPROGRESSBARSTYLE - @property (nonatomic, readwrite, assign) TiUIiOSProgressBarStyleProxy *ProgressBarStyle; +@property (nonatomic, readwrite, assign) TiUIiOSProgressBarStyleProxy *ProgressBarStyle; #endif #ifdef USE_TI_UIIOSSCROLLINDICATORSTYLE - @property (nonatomic, readwrite, assign) TiUIiOSScrollIndicatorStyleProxy *ScrollIndicatorStyle; +@property (nonatomic, readwrite, assign) TiUIiOSScrollIndicatorStyleProxy *ScrollIndicatorStyle; #endif #ifdef USE_TI_UIIOSSTATUSBAR - @property (nonatomic, readwrite, assign) TiUIiOSStatusBarProxy *StatusBar; +@property (nonatomic, readwrite, assign) TiUIiOSStatusBarProxy *StatusBar; #endif #ifdef USE_TI_UIIOSSYSTEMBUTTONSTYLE - @property (nonatomic, readwrite, assign) TiUIiOSSystemButtonStyleProxy *SystemButtonStyle; +@property (nonatomic, readwrite, assign) TiUIiOSSystemButtonStyleProxy *SystemButtonStyle; #endif #ifdef USE_TI_UIIOSSYSTEMBUTTON - @property (nonatomic, readwrite, assign) TiUIiOSSystemButtonProxy *SystemButton; +@property (nonatomic, readwrite, assign) TiUIiOSSystemButtonProxy *SystemButton; #endif #ifdef USE_TI_UIIOSSYSTEMICON - @property (nonatomic, readwrite, assign) TiUIiOSSystemIconProxy *SystemIcon; +@property (nonatomic, readwrite, assign) TiUIiOSSystemIconProxy *SystemIcon; #endif - @property (nonatomic, readwrite, assign) NSNumber *appBadge; - @property (nonatomic, readwrite, assign) NSNumber *appSupportsShakeToEdit; +@property (nonatomic, readwrite, assign) NSNumber *appBadge; +@property (nonatomic, readwrite, assign) NSNumber *appSupportsShakeToEdit; - // iOS 16+ alert severity +// iOS 16+ alert severity #if IS_SDK_IOS_16 - - (NSNumber *)ALERT_SEVERITY_DEFAULT; - - (NSNumber *)ALERT_SEVERITY_CRITICAL; +- (NSNumber *)ALERT_SEVERITY_DEFAULT; +- (NSNumber *)ALERT_SEVERITY_CRITICAL; #endif - // Modal Presentation & Transition - @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FULLSCREEN; - @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_PAGESHEET; - @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FORMSHEET; - @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_CURRENT_CONTEXT; - @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_OVER_CURRENT_CONTEXT; - @property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREEN; +// Modal Presentation & Transition +@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FULLSCREEN; +@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_PAGESHEET; +@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_FORMSHEET; +@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_CURRENT_CONTEXT; +@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_OVER_CURRENT_CONTEXT; +@property (nonatomic, readonly) NSNumber *MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREEN; - @property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_COVER_VERTICAL; - @property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL; - @property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_CROSS_DISSOLVE; +@property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_COVER_VERTICAL; +@property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL; +@property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_CROSS_DISSOLVE; - @property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_PARTIAL_CURL; +@property (nonatomic, readonly) NSNumber *MODAL_TRANSITION_STYLE_PARTIAL_CURL; #ifdef USE_TI_UIIOSBLURVIEW - @property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_EXTRA_LIGHT; - @property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_LIGHT; - @property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_DARK; +@property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_EXTRA_LIGHT; +@property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_LIGHT; +@property (nonatomic, readonly) NSNumber *BLUR_EFFECT_STYLE_DARK; #endif - @property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_AUTOMATIC; - @property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_ALWAYS; - @property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_NEVER; +@property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_AUTOMATIC; +@property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_ALWAYS; +@property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_NEVER; - /** +/** Checks the force touch capibility of the current device. */ - - (NSNumber *)forceTouchSupported; +- (NSNumber *)forceTouchSupported; #ifdef USE_TI_UIIOSCOVERFLOWVIEW - - (id)createCoverFlowView:(id)args; +- (id)createCoverFlowView:(id)args; #endif #ifdef USE_TI_UIIOSDOCUMENTVIEWER - - (id)createDocumentViewer:(id)args; +- (id)createDocumentViewer:(id)args; #endif #ifdef USE_TI_UIIOSSPLITWINDOW - - (id)createSplitWindow:(id)args; +- (id)createSplitWindow:(id)args; #endif #ifdef USE_TI_UIIOSANIMATOR - - (id)createAnimator:(id)args; +- (id)createAnimator:(id)args; #endif #ifdef USE_TI_UIIOSSNAPBEHAVIOR - - (id)createSnapBehavior:(id)args; +- (id)createSnapBehavior:(id)args; #endif #ifdef USE_TI_UIIOSPUSHBEHAVIOR - - (id)createPushBehavior:(id)args; +- (id)createPushBehavior:(id)args; #endif #ifdef USE_TI_UIIOSGRAVITYBEHAVIOR - - (id)createGravityBehavior:(id)args; +- (id)createGravityBehavior:(id)args; #endif #ifdef USE_TI_UIIOSANCHORATTACHMENTBEHAVIOR - - (id)createAnchorAttachmentBehavior:(id)args; +- (id)createAnchorAttachmentBehavior:(id)args; #endif #ifdef USE_TI_UIIOSVIEWATTACHMENTBEHAVIOR - - (id)createViewAttachmentBehavior:(id)args; +- (id)createViewAttachmentBehavior:(id)args; #endif #ifdef USE_TI_UIIOSCOLLISIONBEHAVIOR - - (id)createCollisionBehavior:(id)args; +- (id)createCollisionBehavior:(id)args; #endif #ifdef USE_TI_UIIOSDYNAMICITEMBEHAVIOR - - (id)createDynamicItemBehavior:(id)args; +- (id)createDynamicItemBehavior:(id)args; #endif #ifdef USE_TI_UIIOSTRANSITIONANIMATION - - (id)createTransitionAnimation:(id)args; +- (id)createTransitionAnimation:(id)args; #endif #ifdef USE_TI_UIIOSPREVIEWCONTEXT - - (id)createPreviewAction:(id)args; - - (id)createPreviewActionGroup:(id)args; - - (id)createPreviewContext:(id)args; +- (id)createPreviewAction:(id)args; +- (id)createPreviewActionGroup:(id)args; +- (id)createPreviewContext:(id)args; #endif #ifdef USE_TI_UIIOSMENUPOPUP - - (id)createMenuPopup:(id)args; +- (id)createMenuPopup:(id)args; #endif #ifdef USE_TI_UIIOSBLURVIEW - - (id)createBlurView:(id)args; +- (id)createBlurView:(id)args; #endif #ifdef USE_TI_UIIOSAPPLICATIONSHORTCUTS - - (id)createApplicationShortcuts:(id)args; +- (id)createApplicationShortcuts:(id)args; #endif #ifdef USE_TI_UIIOSFEEDBACKGENERATOR - - (id)createFeedbackGenerator:(id)args; +- (id)createFeedbackGenerator:(id)args; #endif #ifdef USE_TI_UIWEBVIEW - - (id)createWebViewConfiguration:(id)args; - - (id)createWebViewProcessPool:(id)args; +- (id)createWebViewConfiguration:(id)args; +- (id)createWebViewProcessPool:(id)args; #endif - @end +@end diff --git a/iphone/Classes/TiUIiOSScrollIndicatorStyleProxy.h b/iphone/Classes/TiUIiOSScrollIndicatorStyleProxy.h index af64610ba12..58d66b97768 100644 --- a/iphone/Classes/TiUIiOSScrollIndicatorStyleProxy.h +++ b/iphone/Classes/TiUIiOSScrollIndicatorStyleProxy.h @@ -13,10 +13,10 @@ @private } - @property (nonatomic, readonly) NSNumber *DEFAULT; - @property (nonatomic, readonly) NSNumber *BLACK; - @property (nonatomic, readonly) NSNumber *WHITE; +@property (nonatomic, readonly) NSNumber *DEFAULT; +@property (nonatomic, readonly) NSNumber *BLACK; +@property (nonatomic, readonly) NSNumber *WHITE; - @end +@end #endif diff --git a/iphone/Classes/TiUIiOSTableViewScrollPositionProxy.h b/iphone/Classes/TiUIiOSTableViewScrollPositionProxy.h index 4e8c95d87fb..992a248840b 100644 --- a/iphone/Classes/TiUIiOSTableViewScrollPositionProxy.h +++ b/iphone/Classes/TiUIiOSTableViewScrollPositionProxy.h @@ -13,11 +13,11 @@ @private } - @property (nonatomic, readonly) NSNumber *NONE; - @property (nonatomic, readonly) NSNumber *TOP; - @property (nonatomic, readonly) NSNumber *MIDDLE; - @property (nonatomic, readonly) NSNumber *BOTTOM; +@property (nonatomic, readonly) NSNumber *NONE; +@property (nonatomic, readonly) NSNumber *TOP; +@property (nonatomic, readonly) NSNumber *MIDDLE; +@property (nonatomic, readonly) NSNumber *BOTTOM; - @end +@end #endif diff --git a/iphone/Classes/TiUIiPadProxy.h b/iphone/Classes/TiUIiPadProxy.h index 9e60edd7309..a56b64fc699 100644 --- a/iphone/Classes/TiUIiPadProxy.h +++ b/iphone/Classes/TiUIiPadProxy.h @@ -18,16 +18,16 @@ } #ifdef USE_TI_UIIPADPOPOVER - @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_UP; - @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_DOWN; - @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_LEFT; - @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_RIGHT; - @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_ANY; - @property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_UNKNOWN; - - - (id)createPopover:(id)args; +@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_UP; +@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_DOWN; +@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_LEFT; +@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_RIGHT; +@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_ANY; +@property (nonatomic, readonly) NSNumber *POPOVER_ARROW_DIRECTION_UNKNOWN; + +- (id)createPopover:(id)args; #endif - @end +@end #endif diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h index e1f038bbe7e..9bd92428a3d 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiGradient.h @@ -38,19 +38,19 @@ typedef enum { @private } - @property (nonatomic, readwrite, assign) BOOL backfillStart; - @property (nonatomic, readwrite, assign) BOOL backfillEnd; +@property (nonatomic, readwrite, assign) BOOL backfillStart; +@property (nonatomic, readwrite, assign) BOOL backfillEnd; - - (void)paintContext:(CGContextRef)context bounds:(CGRect)bounds; - - (void)clearCache; - - (void)setColors:(NSArray *)newColors; +- (void)paintContext:(CGContextRef)context bounds:(CGRect)bounds; +- (void)clearCache; +- (void)setColors:(NSArray *)newColors; - + (TiGradient *)gradientFromObject:(id)value proxy:(TiProxy *)proxy; ++ (TiGradient *)gradientFromObject:(id)value proxy:(TiProxy *)proxy; - @end +@end - @interface TiGradientLayer : CALayer { - TiGradient *gradient; - } - @property (nonatomic, readwrite, retain) TiGradient *gradient; - @end +@interface TiGradientLayer : CALayer { + TiGradient *gradient; +} +@property (nonatomic, readwrite, retain) TiGradient *gradient; +@end diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m index 410fcb49ad8..82b72a43a69 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m @@ -1806,7 +1806,7 @@ - (TiProxy *)parentForBubbling - (void)willEnqueue { #ifndef TI_USE_AUTOLAYOUT - SET_AND_PERFORM(TiRefreshViewEnqueued, return); + SET_AND_PERFORM(TiRefreshViewEnqueued, return ); [TiLayoutQueue addViewProxy:self]; #endif } @@ -1823,7 +1823,7 @@ - (void)willEnqueueIfVisible - (void)willChangeSize { #ifndef TI_USE_AUTOLAYOUT - SET_AND_PERFORM(TiRefreshViewSize, return); + SET_AND_PERFORM(TiRefreshViewSize, return ); if (!TiLayoutRuleIsAbsolute(layoutProperties.layoutStyle)) { [self willChangeLayout]; @@ -1843,7 +1843,7 @@ - (void)willChangeSize - (void)willChangePosition { #ifndef TI_USE_AUTOLAYOUT - SET_AND_PERFORM(TiRefreshViewPosition, return); + SET_AND_PERFORM(TiRefreshViewPosition, return ); if (TiDimensionIsUndefined(layoutProperties.width) || TiDimensionIsUndefined(layoutProperties.height)) { // The only time size can be changed by the margins is if the margins define the size. [self willChangeSize]; @@ -1890,7 +1890,7 @@ - (void)willHide; - (void)willChangeLayout { - SET_AND_PERFORM(TiRefreshViewChildrenPosition, return); + SET_AND_PERFORM(TiRefreshViewChildrenPosition, return ); [self willEnqueueIfVisible]; diff --git a/package-lock.json b/package-lock.json index d4995ba6d58..52d5a89646c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -58,7 +58,7 @@ "@seadub/danger-plugin-junit": "0.3.0", "babel-plugin-transform-titanium": "0.1.1", "chai": "5.0.0", - "clang-format": "1.8.0", + "clang-format": "1.6.0", "commander": "11.1.0", "commitizen": "4.3.0", "conventional-changelog-cli": "4.1.0", @@ -5189,12 +5189,12 @@ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" }, "node_modules/clang-format": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz", - "integrity": "sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.6.0.tgz", + "integrity": "sha512-W3/L7fWkA8DoLkz9UGjrRnNi+J5a5TuS2HDLqk6WsicpOzb66MBu4eY/EcXhicHriVnAXWQVyk5/VeHWY6w4ow==", "dev": true, "dependencies": { - "async": "^3.2.3", + "async": "^1.5.2", "glob": "^7.0.0", "resolve": "^1.1.6" }, @@ -5204,6 +5204,12 @@ "git-clang-format": "bin/git-clang-format" } }, + "node_modules/clang-format/node_modules/async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==", + "dev": true + }, "node_modules/clang-format/node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -20174,16 +20180,22 @@ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" }, "clang-format": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz", - "integrity": "sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.6.0.tgz", + "integrity": "sha512-W3/L7fWkA8DoLkz9UGjrRnNi+J5a5TuS2HDLqk6WsicpOzb66MBu4eY/EcXhicHriVnAXWQVyk5/VeHWY6w4ow==", "dev": true, "requires": { - "async": "^3.2.3", + "async": "^1.5.2", "glob": "^7.0.0", "resolve": "^1.1.6" }, "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==", + "dev": true + }, "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", diff --git a/package.json b/package.json index 61fb8ffc8ec..221b772b5ef 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "@seadub/danger-plugin-junit": "0.3.0", "babel-plugin-transform-titanium": "0.1.1", "chai": "5.0.0", - "clang-format": "1.8.0", + "clang-format": "1.6.0", "commander": "11.1.0", "commitizen": "4.3.0", "conventional-changelog-cli": "4.1.0", From 7fb7f389ef78a218e2fe200040dd98110ea27a40 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 10:59:34 +0200 Subject: [PATCH 10/23] lint file --- iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h index 48bc06b1148..ab334fa9f7c 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h @@ -115,7 +115,7 @@ /** Returns details for the last remote notification. - + Dictionary containing details about remote notification, or _nil_. */ @property (nonatomic, readonly) UISceneConnectionOptions *connectionOptions; From 6d8d9fae637a9e165b663d4bc25454248bb3cf53 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:46:38 +0200 Subject: [PATCH 11/23] Update iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h Co-authored-by: Chris Barber --- .../TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h index da3da1290d9..536309528a9 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h +++ b/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h @@ -10,7 +10,7 @@ #import "TiViewProxy.h" #import "TiWindowProxy.h" -// TODO: we probably should split this ViewProxy into a a separate TiUIView like normal +// TODO: we probably should split this ViewProxy into a separate TiUIView like normal @interface TiUIWindowProxy : TiWindowProxy { @private From e0f334f3ef3a74d5467be7f6e20e1906884cbc39 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:48:47 +0200 Subject: [PATCH 12/23] Update iphone/Classes/TiUINavBarButton.m Co-authored-by: Chris Barber --- iphone/Classes/TiUINavBarButton.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iphone/Classes/TiUINavBarButton.m b/iphone/Classes/TiUINavBarButton.m index c7db2e29215..089c150d66a 100644 --- a/iphone/Classes/TiUINavBarButton.m +++ b/iphone/Classes/TiUINavBarButton.m @@ -137,8 +137,8 @@ - (id)initWithProxy:(TiUIButtonProxy *)proxy_ self.width = [TiUtils floatValue:[proxy_ valueForKey:@"width"] def:0.0]; // A width of 0 is treated as Auto by the iPhone OS, so this is safe. - // we need to listen manually to proxy change events if we want to be - // able to change them dynamically + // we need to listen manually to proxy change events if we want to be + // able to change them dynamically proxy.modelDelegate = self; // we need to manually check for this property on init From d578b5249a3b43faac43640b44a7cd8a728511ed Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:48:55 +0200 Subject: [PATCH 13/23] Update iphone/Classes/TiUIScrollableView.m Co-authored-by: Chris Barber --- iphone/Classes/TiUIScrollableView.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iphone/Classes/TiUIScrollableView.m b/iphone/Classes/TiUIScrollableView.m index c062ab73ec4..ac711ed3931 100644 --- a/iphone/Classes/TiUIScrollableView.m +++ b/iphone/Classes/TiUIScrollableView.m @@ -450,10 +450,10 @@ - (void)refreshScrollView:(CGRect)visibleBounds readd:(BOOL)readd NSUInteger viewsCount = [[self proxy] viewCount]; /* - Reset readd here since refreshScrollView is called from - frameSizeChanged with readd false and the views might - not yet have been added on first launch - */ + Reset readd here since refreshScrollView is called from + frameSizeChanged with readd false and the views might + not yet have been added on first launch + */ readd = ([[sv subviews] count] == 0); for (int c = 0; c < viewsCount; c++) { From 1908aae8eb9e4e93ef4f2ed9b0188a8c9427af0a Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:49:02 +0200 Subject: [PATCH 14/23] Update iphone/Classes/TiUITableViewProxy.m Co-authored-by: Chris Barber --- iphone/Classes/TiUITableViewProxy.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iphone/Classes/TiUITableViewProxy.m b/iphone/Classes/TiUITableViewProxy.m index 1fde182ec25..8c69a0494c9 100644 --- a/iphone/Classes/TiUITableViewProxy.m +++ b/iphone/Classes/TiUITableViewProxy.m @@ -504,10 +504,10 @@ - (void)deleteRow:(id)args [table dispatchAction:action]; } else { // No table, we have to do the data update ourselves. - // If we don't handle it, the row gets dropped on the ground, - // but if we create the tableview, there's this horrible issue where - // the uitableview isn't fully formed, it gets this message to do an action, - // and ends up throwing an exception because we're out of bounds. + // If we don't handle it, the row gets dropped on the ground, + // but if we create the tableview, there's this horrible issue where + // the uitableview isn't fully formed, it gets this message to do an action, + // and ends up throwing an exception because we're out of bounds. [section remove:row]; } } From b7503f71d8349064144e9f586b290abf252ecc71 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:58:55 +0200 Subject: [PATCH 15/23] Update iphone/Classes/TiUIiOSProxy.h Co-authored-by: Chris Barber --- iphone/Classes/TiUIiOSProxy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iphone/Classes/TiUIiOSProxy.h b/iphone/Classes/TiUIiOSProxy.h index cfaf67240b3..0350a3dea11 100644 --- a/iphone/Classes/TiUIiOSProxy.h +++ b/iphone/Classes/TiUIiOSProxy.h @@ -173,8 +173,8 @@ @property (nonatomic, readonly) NSNumber *LARGE_TITLE_DISPLAY_MODE_NEVER; /** - Checks the force touch capibility of the current device. - */ + * Checks the force touch capibility of the current device. + */ - (NSNumber *)forceTouchSupported; #ifdef USE_TI_UIIOSCOVERFLOWVIEW From 185051cc8b978fdd29e00ed3ae041d1418f7c851 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:59:02 +0200 Subject: [PATCH 16/23] Update iphone/Classes/TiUIiOSStepper.m Co-authored-by: Chris Barber --- iphone/Classes/TiUIiOSStepper.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iphone/Classes/TiUIiOSStepper.m b/iphone/Classes/TiUIiOSStepper.m index 4b05247f51d..fc078892e58 100644 --- a/iphone/Classes/TiUIiOSStepper.m +++ b/iphone/Classes/TiUIiOSStepper.m @@ -246,8 +246,8 @@ - (void)controlAction:(id)sender forEvent:(UIEvent *)event - (UIImage *)imageWithImage:(UIImage *)image fullScale:(bool)full { // UIGraphicsBeginImageContext(newSize); - // In next line, pass 0.0 to use the current device's pixel scaling factor (and thus account for Retina resolution). - // Pass 1.0 to force exact pixel size. + // In next line, pass 0.0 to use the current device's pixel scaling factor (and thus account for Retina resolution). + // Pass 1.0 to force exact pixel size. [self stepper]; CGRect bounds = [stepper bounds]; From 182477afa27268e1d3f827c5faddb3ab46c3d188 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:59:17 +0200 Subject: [PATCH 17/23] Update iphone/Classes/TiUITableView.m Co-authored-by: Chris Barber --- iphone/Classes/TiUITableView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Classes/TiUITableView.m b/iphone/Classes/TiUITableView.m index 1ab9e4380ca..31fba206cbb 100644 --- a/iphone/Classes/TiUITableView.m +++ b/iphone/Classes/TiUITableView.m @@ -2858,7 +2858,7 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL } // This section of code now moved to [TiUITextWidgetView updateKeyboardStatus] - // Update keyboard status to insure that any fields actively being edited remain in view + // Update keyboard status to insure that any fields actively being edited remain in view // if ([[[TiApp app] controller] keyboardVisible]) { // [[[TiApp app] controller] performSelector:@selector(handleNewKeyboardStatus) withObject:nil afterDelay:0.0]; // } From c0ff06668d31abed893e3f9034b15b1442cbf2d9 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:59:42 +0200 Subject: [PATCH 18/23] Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m Co-authored-by: Chris Barber --- iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m index 1437fdb18aa..e4787f9f153 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m @@ -858,7 +858,7 @@ - (void)fireEvent:(NSString *)type withObject:(id)obj propagate:(BOOL)yn { if ([self doesntOverrideFireEventWithSource]) { // TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. - // For now, we're shortcutting to suppress false warnings. + // For now, we're shortcutting to suppress false warnings. [self fireEvent:type withObject:obj propagate:yn reportSuccess:NO errorCode:0 message:nil]; return; } From b94b2a31cf3ac0c56f02a73b65dab5d1e3bf4438 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 18:59:58 +0200 Subject: [PATCH 19/23] Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m Co-authored-by: Chris Barber --- .../TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m index b7d2e7ed559..e100bf5e70f 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m @@ -62,11 +62,11 @@ - (id)stylesheet:(NSString *)objectId density:(NSString *)density basename:(NSSt #endif /* - CSS selector priority order (lowest to highest) is - - Tag selectors - - Classes - - ID selectors - */ + CSS selector priority order (lowest to highest) is + - Tag selectors + - Classes + - ID selectors + */ NSMutableDictionary *result = [NSMutableDictionary dictionary]; if (tags != nil) { From 5d6cf2d7063168fc200eeee126dabba1dc5ae84a Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 19:00:21 +0200 Subject: [PATCH 20/23] Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m Co-authored-by: Chris Barber --- iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m index 2c6e5da3fd7..140c9200038 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m @@ -1633,10 +1633,10 @@ - (void)didReceiveMemoryWarning:(NSNotification *)notification // 1.4 where we can figure out why the drawing is screwed up since // the views aren't reattaching. /* - if (view!=nil && [view retainCount]==1) - { - [self detachView]; - }*/ + if (view!=nil && [view retainCount]==1) + { + [self detachView]; + }*/ [super didReceiveMemoryWarning:notification]; } From 7530df311b47a0aa1cb0c32d666453be765328cd Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 19:00:34 +0200 Subject: [PATCH 21/23] Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m Co-authored-by: Chris Barber --- iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m index e4787f9f153..64fb2c274d7 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m @@ -828,7 +828,7 @@ - (void)fireEvent:(id)args } if ([self doesntOverrideFireEventWithSource]) { // TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. - // For now, we're shortcutting to suppress false warnings. + // For now, we're shortcutting to suppress false warnings. [self fireEvent:type withObject:params propagate:bubble reportSuccess:NO errorCode:0 message:nil]; return; } From a6cd021b531d3159d0550a982d356f8e081e6dbc Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 19:00:43 +0200 Subject: [PATCH 22/23] Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m Co-authored-by: Chris Barber --- iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m index 64fb2c274d7..ebbb9cddac4 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m @@ -840,7 +840,7 @@ - (void)fireEvent:(NSString *)type withObject:(id)obj { if ([self doesntOverrideFireEventWithSource]) { // TODO: Once the deprecated methods are removed, we can use the following line without checking to see if we'd shortcut. - // For now, we're shortcutting to suppress false warnings. + // For now, we're shortcutting to suppress false warnings. [self fireEvent:type withObject:obj propagate:YES reportSuccess:NO errorCode:0 message:nil]; return; } From b2d02e7c1a9d593ba76b3e9c83b55100c594a6b5 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 13 May 2024 19:07:29 +0200 Subject: [PATCH 23/23] fix(ios): fix indentation --- .../TitaniumKit/TitaniumKit/Sources/API/TiUIView.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m index a699e0f22e4..f433f0bd01f 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m @@ -1522,12 +1522,12 @@ - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event // The touch never reaches the button, because the touchDelegate is as deep as the touch goes. /* - // delegate to our touch delegate if we're hit but it's not for us - if (hasTouchListeners==NO && touchDelegate!=nil) - { - return touchDelegate; - } - */ + // delegate to our touch delegate if we're hit but it's not for us + if (hasTouchListeners==NO && touchDelegate!=nil) + { + return touchDelegate; + } + */ return [super hitTest:point withEvent:event]; }