diff --git a/libs/optimizer/package-lock.json b/libs/optimizer/package-lock.json deleted file mode 100644 index 888d49ad..00000000 --- a/libs/optimizer/package-lock.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "name": "optimizer", - "version": "0.0.1", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "optimizer", - "version": "0.0.1", - "dependencies": { - "igc-xc-score": "^1.7.0", - "tslib": "^2.3.0" - } - }, - "node_modules/collections": { - "version": "5.1.13", - "resolved": "https://registry.npmjs.org/collections/-/collections-5.1.13.tgz", - "integrity": "sha512-SCb6Qd+d3Z02corWQ7/mqXiXeeTdHvkP6TeFSYfGYdCFp1WrjSNZ3j6y8Y3T/7osGEe0iOcU2g1d346l99m4Lg==", - "dependencies": { - "weak-map": "~1.0.x" - } - }, - "node_modules/flatbush": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/flatbush/-/flatbush-4.4.0.tgz", - "integrity": "sha512-cf6G+sfy/+/FLH7Ls1URQ5GCRlXgwgqUZiEsMNrMZqb3Us3EkKmzUlKbnyoBy/4wI4oLJ+8cyCQoKJIVm92Fmg==", - "dependencies": { - "flatqueue": "^2.0.3" - } - }, - "node_modules/flatqueue": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/flatqueue/-/flatqueue-2.0.3.tgz", - "integrity": "sha512-RZCWZNkmxzUOh8jqEcEGZCycb3B8KAfpPwg3H//cURasunYxsg1eIvE+QDSjX+ZPHTIVfINfK1aLTrVKKO0i4g==", - "engines": { - "node": ">= 12.17.0" - } - }, - "node_modules/flight-recorder-manufacturers": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/flight-recorder-manufacturers/-/flight-recorder-manufacturers-2.0.0.tgz", - "integrity": "sha512-FhSY7XslPkhYGdBBVRLLExoKqiLWbKuxPEx3O3a443hp8VOrcvE+ibibigVplQbaNipVG3pSPTZPTFJPIfcO8Q==", - "engines": { - "node": ">=12" - } - }, - "node_modules/igc-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/igc-parser/-/igc-parser-1.1.0.tgz", - "integrity": "sha512-CJGWiCcCCxNSI3Pt0zbllHNekEp2NOVCgDysg5/7FuW/uXUUDiW+AcZWSwRwvtRQxnYf+Sn7mQmYKLWQfVSATA==", - "dependencies": { - "flight-recorder-manufacturers": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/igc-xc-score": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/igc-xc-score/-/igc-xc-score-1.7.0.tgz", - "integrity": "sha512-49UQM9mbXjTo2mmeRYIq0vszShw8bg8TKhTU2XGwBCmSk0ojJFACajeZKSB0dT8u3F6p+7ap1oRv17g22Xh3PA==", - "dependencies": { - "collections": "^5.1.13", - "flatbush": "^4.0.0", - "igc-parser": "^1.1.0", - "rbush": "^3.0.1" - }, - "bin": { - "igc-xc-score": "dist/igc-xc-score.cjs" - } - }, - "node_modules/quickselect": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", - "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" - }, - "node_modules/rbush": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/rbush/-/rbush-3.0.1.tgz", - "integrity": "sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w==", - "dependencies": { - "quickselect": "^2.0.0" - } - }, - "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - }, - "node_modules/weak-map": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.8.tgz", - "integrity": "sha512-lNR9aAefbGPpHO7AEnY0hCFjz1eTkWCXYvkTRrTHs9qv8zJp+SkVYpzfLIFXQQiG3tVvbNFQgVg2bQS8YGgxyw==" - } - } -} diff --git a/libs/optimizer/package.json b/libs/optimizer/package.json deleted file mode 100644 index 9035c258..00000000 --- a/libs/optimizer/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "optimizer", - "version": "0.0.1", - "dependencies": { - "igc-xc-score": "^1.7.0", - "tslib": "^2.3.0" - }, - "type": "commonjs", - "main": "./src/index.js", - "typings": "./src/index.d.ts", - "private": true -} diff --git a/package-lock.json b/package-lock.json index 350625cc..db58befb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,6 +47,7 @@ "gpx-builder": "^5.3.0", "grant": "^5.4.22", "igc-parser": "^1.1.0", + "igc-xc-score": "^1.7.0", "ioredis": "^5.4.1", "lit": "^3.1.3", "lodepng": "^2.2.0", @@ -8205,6 +8206,14 @@ "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", "dev": true }, + "node_modules/collections": { + "version": "5.1.13", + "resolved": "https://registry.npmjs.org/collections/-/collections-5.1.13.tgz", + "integrity": "sha512-SCb6Qd+d3Z02corWQ7/mqXiXeeTdHvkP6TeFSYfGYdCFp1WrjSNZ3j6y8Y3T/7osGEe0iOcU2g1d346l99m4Lg==", + "dependencies": { + "weak-map": "~1.0.x" + } + }, "node_modules/color": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", @@ -10737,6 +10746,22 @@ "node": "^10.12.0 || >=12.0.0" } }, + "node_modules/flatbush": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/flatbush/-/flatbush-4.4.0.tgz", + "integrity": "sha512-cf6G+sfy/+/FLH7Ls1URQ5GCRlXgwgqUZiEsMNrMZqb3Us3EkKmzUlKbnyoBy/4wI4oLJ+8cyCQoKJIVm92Fmg==", + "dependencies": { + "flatqueue": "^2.0.3" + } + }, + "node_modules/flatqueue": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/flatqueue/-/flatqueue-2.0.3.tgz", + "integrity": "sha512-RZCWZNkmxzUOh8jqEcEGZCycb3B8KAfpPwg3H//cURasunYxsg1eIvE+QDSjX+ZPHTIVfINfK1aLTrVKKO0i4g==", + "engines": { + "node": ">= 12.17.0" + } + }, "node_modules/flatted": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", @@ -12058,6 +12083,20 @@ "node": ">=12" } }, + "node_modules/igc-xc-score": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/igc-xc-score/-/igc-xc-score-1.7.0.tgz", + "integrity": "sha512-49UQM9mbXjTo2mmeRYIq0vszShw8bg8TKhTU2XGwBCmSk0ojJFACajeZKSB0dT8u3F6p+7ap1oRv17g22Xh3PA==", + "dependencies": { + "collections": "^5.1.13", + "flatbush": "^4.0.0", + "igc-parser": "^1.1.0", + "rbush": "^3.0.1" + }, + "bin": { + "igc-xc-score": "dist/igc-xc-score.cjs" + } + }, "node_modules/ignore": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", @@ -16524,6 +16563,11 @@ } ] }, + "node_modules/quickselect": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", + "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" + }, "node_modules/random-bytes": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", @@ -16571,6 +16615,14 @@ "node": ">= 0.8" } }, + "node_modules/rbush": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/rbush/-/rbush-3.0.1.tgz", + "integrity": "sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w==", + "dependencies": { + "quickselect": "^2.0.0" + } + }, "node_modules/react-is": { "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", @@ -19767,6 +19819,11 @@ "defaults": "^1.0.3" } }, + "node_modules/weak-map": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.8.tgz", + "integrity": "sha512-lNR9aAefbGPpHO7AEnY0hCFjz1eTkWCXYvkTRrTHs9qv8zJp+SkVYpzfLIFXQQiG3tVvbNFQgVg2bQS8YGgxyw==" + }, "node_modules/web-streams-polyfill": { "version": "4.0.0-beta.3", "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz", diff --git a/package.json b/package.json index 433d0ec4..74724972 100644 --- a/package.json +++ b/package.json @@ -114,6 +114,7 @@ "gpx-builder": "^5.3.0", "grant": "^5.4.22", "igc-parser": "^1.1.0", + "igc-xc-score": "^1.7.0", "ioredis": "^5.4.1", "lit": "^3.1.3", "lodepng": "^2.2.0",