diff --git a/package-lock.json b/package-lock.json index 4c39077..471faba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -200,19 +200,19 @@ } }, "node_modules/@antv/g6": { - "version": "4.8.23", - "resolved": "https://registry.npmjs.org/@antv/g6/-/g6-4.8.23.tgz", - "integrity": "sha512-tsnJzlZCiOKvwAULGom6ppARutRmoAgV1wZzkOmDRm8ZdokUkpEYfb3faV6802VMs82DLP0zZ0KavapoK1q8hQ==", + "version": "4.8.24", + "resolved": "https://registry.npmjs.org/@antv/g6/-/g6-4.8.24.tgz", + "integrity": "sha512-bgj7sZ+z45JmOngIpYpwmSIg7SboMLZBoAlX0+RoAETZB3/xvZO0MXT3lCSyAhIgm5Sb68pekKi7OStuo04NyQ==", "dependencies": { - "@antv/g6-pc": "0.8.23" + "@antv/g6-pc": "0.8.24" } }, "node_modules/@antv/g6-core": { - "version": "0.8.23", - "resolved": "https://registry.npmjs.org/@antv/g6-core/-/g6-core-0.8.23.tgz", - "integrity": "sha512-JWdnba5Bx4/hLhbIQeyvdgh68SDYZisveukuBifxLKODCNJNKTopmWf1w6tU+RxAT2k5ByXkTGWQE1IkIL8O+Q==", + "version": "0.8.24", + "resolved": "https://registry.npmjs.org/@antv/g6-core/-/g6-core-0.8.24.tgz", + "integrity": "sha512-rgI3dArAD8uoSz2+skS4ctN4x/Of33ivTIKaEYYvClxgkLZWVz9zvocy+5AWcVPBHZsAXkZcdh9zndIoWY/33A==", "dependencies": { - "@antv/algorithm": "^0.1.8", + "@antv/algorithm": "^0.1.26", "@antv/dom-util": "^2.0.1", "@antv/event-emitter": "~0.1.0", "@antv/g-base": "^0.5.1", @@ -221,35 +221,39 @@ "@antv/path-util": "^2.0.3", "@antv/util": "~2.0.5", "ml-matrix": "^6.5.0", - "tslib": "^2.1.0" + "tslib": "^2.6.2" } }, "node_modules/@antv/g6-element": { - "version": "0.8.23", - "resolved": "https://registry.npmjs.org/@antv/g6-element/-/g6-element-0.8.23.tgz", - "integrity": "sha512-KdJOiu4D7UExsYjKOJUcd7YCD/gCfxqHOlS01zkyOqsaindWVLdshBAZWXc2zgzVwHS/fadxwUI+DcllsRkH0g==", + "version": "0.8.24", + "resolved": "https://registry.npmjs.org/@antv/g6-element/-/g6-element-0.8.24.tgz", + "integrity": "sha512-61FXkt9LY+6EOUtSam1iFTOW2AM59sPVcV1BuPj4dXiD0dluLE+R7d8B/94g1tKDw9tsjhfUQGC7hTXscJRJFw==", "dependencies": { "@antv/g-base": "^0.5.1", - "@antv/g6-core": "0.8.23", - "@antv/util": "~2.0.5" + "@antv/g6-core": "0.8.24", + "@antv/util": "~2.0.5", + "tslib": "^2.6.2" + }, + "peerDependencies": { + "@antv/g6": "4.8.24" } }, "node_modules/@antv/g6-pc": { - "version": "0.8.23", - "resolved": "https://registry.npmjs.org/@antv/g6-pc/-/g6-pc-0.8.23.tgz", - "integrity": "sha512-8H5n1U8T4pyBcoaEKB8g4TRKycHtONSA+qOeFMq7XIDh1DCn0tUF1uLvwj096Zp+/bUXtAfaRvg+n1KKyCVZ0w==", + "version": "0.8.24", + "resolved": "https://registry.npmjs.org/@antv/g6-pc/-/g6-pc-0.8.24.tgz", + "integrity": "sha512-nf0y1lrp8J5DotqRryXd2S/J30COW8spVcLF9gUqywGqQAHfE00Ywkqr+PZBnsfCZXsXCi9o0+CE9NrkWs4SBQ==", "dependencies": { "@ant-design/colors": "^4.0.5", - "@antv/algorithm": "^0.1.8", + "@antv/algorithm": "^0.1.26", "@antv/dom-util": "^2.0.1", "@antv/event-emitter": "~0.1.0", "@antv/g-base": "^0.5.1", "@antv/g-canvas": "^0.5.2", "@antv/g-math": "^0.1.1", "@antv/g-svg": "^0.5.1", - "@antv/g6-core": "^0.8.23", - "@antv/g6-element": "0.8.23", - "@antv/g6-plugin": "0.8.23", + "@antv/g6-core": "0.8.24", + "@antv/g6-element": "0.8.24", + "@antv/g6-plugin": "0.8.24", "@antv/hierarchy": "^0.6.10", "@antv/layout": "^0.3.0", "@antv/matrix-util": "^3.1.0-beta.3", @@ -259,25 +263,29 @@ "d3-force": "^2.0.1", "dagre": "^0.8.5", "insert-css": "^2.0.0", - "ml-matrix": "^6.5.0" + "ml-matrix": "^6.5.0", + "tslib": "^2.6.2" } }, "node_modules/@antv/g6-plugin": { - "version": "0.8.23", - "resolved": "https://registry.npmjs.org/@antv/g6-plugin/-/g6-plugin-0.8.23.tgz", - "integrity": "sha512-DwhSuUc0a0foIM4nrhXR/+ooZafkVve0IEErldhsygKWLDSz/c9HRLON66OEdzQX7Ed1uE0SMcBUsIDe+wPQrw==", + "version": "0.8.24", + "resolved": "https://registry.npmjs.org/@antv/g6-plugin/-/g6-plugin-0.8.24.tgz", + "integrity": "sha512-ZIOnwLTC7SM2bFiJZ3vYFWnkyOCWKqnU96i/fBh1qAoY5slDS3hatenZWEXUtOcqaKw1h+5A5f72MRXqBBVn0g==", "dependencies": { "@antv/dom-util": "^2.0.2", "@antv/g-base": "^0.5.1", "@antv/g-canvas": "^0.5.2", "@antv/g-svg": "^0.5.2", - "@antv/g6-core": "0.8.23", - "@antv/g6-element": "0.8.23", + "@antv/g6-core": "0.8.24", + "@antv/g6-element": "0.8.24", "@antv/matrix-util": "^3.1.0-beta.3", "@antv/path-util": "^2.0.3", "@antv/scale": "^0.3.4", "@antv/util": "^2.0.9", "insert-css": "^2.0.0" + }, + "peerDependencies": { + "@antv/g6": "4.8.24" } }, "node_modules/@antv/graphlib": { @@ -5946,9 +5954,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.609", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.609.tgz", - "integrity": "sha512-ihiCP7PJmjoGNuLpl7TjNA8pCQWu09vGyjlPYw1Rqww4gvNuCcmvl+44G+2QyJ6S2K4o+wbTS++Xz0YN8Q9ERw==", + "version": "1.4.610", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.610.tgz", + "integrity": "sha512-mqi2oL1mfeHYtOdCxbPQYV/PL7YrQlxbvFEZ0Ee8GbDdShimqt2/S6z2RWqysuvlwdOrQdqvE0KZrBTipAeJzg==", "dev": true }, "node_modules/emoji-regex": { diff --git a/package.json b/package.json index ee29ae8..a3bcba1 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "fetch-datasets": "node src/server/utils/FetchDatasets.js", "generate-grammar-prod": "rm -rf src/utils/CypherParser/ && cp node_modules/kuzu/kuzu-source/src/antlr4/Cypher.g4 ./ && npx antlr4ng-cli -o src/utils/CypherParser -Dlanguage=TypeScript -no-visitor -no-listener Cypher.g4 && rm Cypher.g4 && cd src/utils/CypherParser && mv CypherParser.ts CypherParserOld.ts && grep -v \"notify\" CypherParserOld.ts > CypherParser.ts && rm CypherParserOld.ts", "generate-grammar": "rm -rf src/utils/CypherParser/ && cp kuzu/src/antlr4/Cypher.g4 ./ && npx antlr4ng-cli -o src/utils/CypherParser -Dlanguage=TypeScript -no-visitor -no-listener Cypher.g4 && rm Cypher.g4 && cd src/utils/CypherParser && mv CypherParser.ts CypherParserOld.ts && grep -v \"notify\" CypherParserOld.ts > CypherParser.ts && rm CypherParserOld.ts", - "clean": "rm -rf node_modules dist datasets src/utils/CypherParser && git submodule deinit --all" + "clean": "rm -rf node_modules dist datasets src/utils/CypherParser && git submodule deinit --all", + "eslint": "eslint --ext .js,.vue src", + "eslint-fix": "eslint --ext .js,.vue src --fix" }, "dependencies": { "@antv/g6": "^4.8.22",