forked from MapComplete/MapComplete
		
	Add aspected routing as dependency
This commit is contained in:
		
							parent
							
								
									70da6685e1
								
							
						
					
					
						commit
						77a0c29517
					
				
					 3 changed files with 189 additions and 29 deletions
				
			
		|  | @ -6,7 +6,7 @@ import {Utils} from "../Utils"; | |||
| import BaseUIElement from "../UI/BaseUIElement"; | ||||
| import List from "../UI/Base/List"; | ||||
| import Title from "../UI/Base/Title"; | ||||
| 
 | ||||
| import * as AR from "aspected-routing" | ||||
| export class ExtraFunction { | ||||
| 
 | ||||
| 
 | ||||
|  | @ -38,8 +38,8 @@ export class ExtraFunction { | |||
|         ]), | ||||
|         "Some advanced functions are available on **feat** as well:" | ||||
|     ]).SetClass("flex-col").AsMarkdown(); | ||||
|         | ||||
|      | ||||
| 
 | ||||
| 
 | ||||
|     private static readonly OverlapFunc = new ExtraFunction( | ||||
|         "overlapWith", | ||||
|         "Gives a list of features from the specified layer which this feature (partly) overlaps with. If the current feature is a point, all features that embed the point are given. The returned value is `{ feat: GeoJSONFeature, overlap: number}[]` where `overlap` is the overlapping surface are (in m²) for areas, the overlapping length (in meter) if the current feature is a line or `undefined` if the current feature is a point", | ||||
|  | @ -149,7 +149,24 @@ export class ExtraFunction { | |||
|         } | ||||
|     ) | ||||
| 
 | ||||
|     private static readonly allFuncs: ExtraFunction[] = [ExtraFunction.DistanceToFunc, ExtraFunction.OverlapFunc, ExtraFunction.ClosestObjectFunc, ExtraFunction.Memberships]; | ||||
|     private static readonly AspectedRouting = new ExtraFunction( | ||||
|         "score", | ||||
|         "Given the path of an aspected routing json file, will calculate the score" + | ||||
|         "\n\n" + | ||||
|         "For example: `_comfort_score=feat.score('https://raw.githubusercontent.com/pietervdvn/AspectedRouting/master/Examples/bicycle/aspects/bicycle.comfort.json')`", | ||||
|         [], | ||||
|         (params, _) => { | ||||
|             return () => params.relations ?? []; | ||||
|         } | ||||
|     ) | ||||
| 
 | ||||
|     private static readonly allFuncs: ExtraFunction[] = [ | ||||
|         ExtraFunction.DistanceToFunc,  | ||||
|         ExtraFunction.OverlapFunc, | ||||
|         ExtraFunction.ClosestObjectFunc, | ||||
|         ExtraFunction.Memberships, | ||||
|         ExtraFunction.AspectedRouting | ||||
|     ]; | ||||
|     private readonly _name: string; | ||||
|     private readonly _args: string[]; | ||||
|     private readonly _doc: string; | ||||
|  | @ -160,7 +177,7 @@ export class ExtraFunction { | |||
|         this._doc = doc; | ||||
|         this._args = args; | ||||
|         this._f = f; | ||||
| 
 | ||||
| console.dir(AR) | ||||
|     } | ||||
| 
 | ||||
|     public static FullPatchFeature(featuresPerLayer: Map<string, any[]>, relations: { role: string, relation: Relation }[], feature) { | ||||
|  |  | |||
							
								
								
									
										188
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										188
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -2717,7 +2717,8 @@ | |||
|     "@types/parse-json": { | ||||
|       "version": "4.0.0", | ||||
|       "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", | ||||
|       "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" | ||||
|       "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "@types/prompt-sync": { | ||||
|       "version": "4.1.0", | ||||
|  | @ -2955,6 +2956,11 @@ | |||
|         "safer-buffer": "^2.1.0" | ||||
|       } | ||||
|     }, | ||||
|     "aspected-routing": { | ||||
|       "version": "0.1.0", | ||||
|       "resolved": "https://registry.npmjs.org/aspected-routing/-/aspected-routing-0.1.0.tgz", | ||||
|       "integrity": "sha512-A/70f6Ac8POo1kP2P5/3BKDe1nWE+QB5O9nAsboJhP2rp52CjS88Hg2MLESawGb4+ldFwnA3kd9HVonD36UlQA==" | ||||
|     }, | ||||
|     "assert": { | ||||
|       "version": "2.0.0", | ||||
|       "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz", | ||||
|  | @ -5737,6 +5743,7 @@ | |||
|       "version": "3.0.0", | ||||
|       "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-3.0.0.tgz", | ||||
|       "integrity": "sha512-4pnzH16plW+hgvRECbDWpQl3cqtvSofHWh44met7ESfZ8UZOWWddm8hEyDTqREJ9RbYHY8gi8DqmaelApoOGMg==", | ||||
|       "dev": true, | ||||
|       "requires": { | ||||
|         "import-from": "^3.0.0" | ||||
|       } | ||||
|  | @ -5754,6 +5761,7 @@ | |||
|       "version": "3.0.0", | ||||
|       "resolved": "https://registry.npmjs.org/import-from/-/import-from-3.0.0.tgz", | ||||
|       "integrity": "sha512-CiuXOFFSzkU5x/CR0+z7T91Iht4CXgfCxVOFRhh2Zyhg5wOpWvvDLQUsWl+gcN+QscYBjez8hDCt85O7RLDttQ==", | ||||
|       "dev": true, | ||||
|       "requires": { | ||||
|         "resolve-from": "^5.0.0" | ||||
|       }, | ||||
|  | @ -5761,7 +5769,8 @@ | |||
|         "resolve-from": { | ||||
|           "version": "5.0.0", | ||||
|           "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", | ||||
|           "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" | ||||
|           "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", | ||||
|           "dev": true | ||||
|         } | ||||
|       } | ||||
|     }, | ||||
|  | @ -6263,7 +6272,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.2.3", | ||||
|  | @ -7941,7 +7951,8 @@ | |||
|     "lilconfig": { | ||||
|       "version": "2.0.3", | ||||
|       "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.3.tgz", | ||||
|       "integrity": "sha512-EHKqr/+ZvdKCifpNrJCKxBTgk5XupZA3y/aCPY9mxfgBzmgh93Mt/WqjjQ38oMxXuvDokaKiM3lAgvSH2sjtHg==" | ||||
|       "integrity": "sha512-EHKqr/+ZvdKCifpNrJCKxBTgk5XupZA3y/aCPY9mxfgBzmgh93Mt/WqjjQ38oMxXuvDokaKiM3lAgvSH2sjtHg==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "lineclip": { | ||||
|       "version": "1.1.5", | ||||
|  | @ -7951,7 +7962,8 @@ | |||
|     "lines-and-columns": { | ||||
|       "version": "1.1.6", | ||||
|       "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", | ||||
|       "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" | ||||
|       "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "load-json-file": { | ||||
|       "version": "1.1.0", | ||||
|  | @ -9057,6 +9069,7 @@ | |||
|       "version": "1.0.1", | ||||
|       "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", | ||||
|       "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", | ||||
|       "dev": true, | ||||
|       "requires": { | ||||
|         "callsites": "^3.0.0" | ||||
|       }, | ||||
|  | @ -9064,7 +9077,8 @@ | |||
|         "callsites": { | ||||
|           "version": "3.1.0", | ||||
|           "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", | ||||
|           "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" | ||||
|           "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", | ||||
|           "dev": true | ||||
|         } | ||||
|       } | ||||
|     }, | ||||
|  | @ -9395,6 +9409,7 @@ | |||
|       "version": "3.1.0", | ||||
|       "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.0.tgz", | ||||
|       "integrity": "sha512-ipM8Ds01ZUophjDTQYSVP70slFSYg3T0/zyfII5vzhN6V57YSxMgG5syXuwi5VtS8wSf3iL30v0uBdoIVx4Q0g==", | ||||
|       "dev": true, | ||||
|       "requires": { | ||||
|         "import-cwd": "^3.0.0", | ||||
|         "lilconfig": "^2.0.3", | ||||
|  | @ -10910,6 +10925,12 @@ | |||
|       "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", | ||||
|       "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" | ||||
|     }, | ||||
|     "source-map-js": { | ||||
|       "version": "0.6.2", | ||||
|       "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz", | ||||
|       "integrity": "sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "source-map-resolve": { | ||||
|       "version": "0.5.3", | ||||
|       "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", | ||||
|  | @ -11294,22 +11315,22 @@ | |||
|       "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" | ||||
|     }, | ||||
|     "tailwindcss": { | ||||
|       "version": "npm:@tailwindcss/postcss7-compat@2.2.4", | ||||
|       "resolved": "https://registry.npmjs.org/@tailwindcss/postcss7-compat/-/postcss7-compat-2.2.4.tgz", | ||||
|       "integrity": "sha512-lFIBdD1D2w3RgHFg7kNB7U5LOlfbd+KXTzcLyC/RlQ9eVko6GjNCKpN/kdmfF9wiGxbSDT/3mousXeMZdOOuBg==", | ||||
|       "version": "npm:@tailwindcss/postcss7-compat@2.2.7", | ||||
|       "resolved": "https://registry.npmjs.org/@tailwindcss/postcss7-compat/-/postcss7-compat-2.2.7.tgz", | ||||
|       "integrity": "sha512-1QkWUEeLV1AoNipMCE6IlL7XYScGb+DAzaXy35ooMDvl0G8kCMHBNqGxyVAnTcK8gyJNUzkKXExkUnbjAndd/g==", | ||||
|       "dev": true, | ||||
|       "requires": { | ||||
|         "@fullhuman/postcss-purgecss": "^3.1.3", | ||||
|         "arg": "^5.0.0", | ||||
|         "autoprefixer": "^9", | ||||
|         "bytes": "^3.0.0", | ||||
|         "chalk": "^4.1.1", | ||||
|         "chokidar": "^3.5.2", | ||||
|         "color": "^3.1.3", | ||||
|         "color": "^3.2.0", | ||||
|         "cosmiconfig": "^7.0.0", | ||||
|         "detective": "^5.2.0", | ||||
|         "didyoumean": "^1.2.1", | ||||
|         "didyoumean": "^1.2.2", | ||||
|         "dlv": "^1.1.3", | ||||
|         "fast-glob": "^3.2.5", | ||||
|         "fast-glob": "^3.2.7", | ||||
|         "fs-extra": "^10.0.0", | ||||
|         "glob-parent": "^6.0.0", | ||||
|         "html-tags": "^3.1.0", | ||||
|  | @ -11328,6 +11349,7 @@ | |||
|         "postcss-selector-parser": "^6.0.6", | ||||
|         "postcss-value-parser": "^4.1.0", | ||||
|         "pretty-hrtime": "^1.0.3", | ||||
|         "purgecss": "^4.0.3", | ||||
|         "quick-lru": "^5.1.1", | ||||
|         "reduce-css-calc": "^2.1.8", | ||||
|         "resolve": "^1.20.0", | ||||
|  | @ -11338,6 +11360,7 @@ | |||
|           "version": "4.3.0", | ||||
|           "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", | ||||
|           "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "color-convert": "^2.0.1" | ||||
|           } | ||||
|  | @ -11345,12 +11368,14 @@ | |||
|         "arg": { | ||||
|           "version": "5.0.0", | ||||
|           "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.0.tgz", | ||||
|           "integrity": "sha512-4P8Zm2H+BRS+c/xX1LrHw0qKpEhdlZjLCgWy+d78T9vqa2Z2SiD2wMrYuWIAFy5IZUD7nnNXroRttz+0RzlrzQ==" | ||||
|           "integrity": "sha512-4P8Zm2H+BRS+c/xX1LrHw0qKpEhdlZjLCgWy+d78T9vqa2Z2SiD2wMrYuWIAFy5IZUD7nnNXroRttz+0RzlrzQ==", | ||||
|           "dev": true | ||||
|         }, | ||||
|         "chalk": { | ||||
|           "version": "4.1.1", | ||||
|           "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", | ||||
|           "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "ansi-styles": "^4.1.0", | ||||
|             "supports-color": "^7.1.0" | ||||
|  | @ -11360,6 +11385,7 @@ | |||
|           "version": "3.5.2", | ||||
|           "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", | ||||
|           "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "anymatch": "~3.1.2", | ||||
|             "braces": "~3.0.2", | ||||
|  | @ -11375,16 +11401,45 @@ | |||
|               "version": "5.1.2", | ||||
|               "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", | ||||
|               "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", | ||||
|               "dev": true, | ||||
|               "requires": { | ||||
|                 "is-glob": "^4.0.1" | ||||
|               } | ||||
|             } | ||||
|           } | ||||
|         }, | ||||
|         "color": { | ||||
|           "version": "3.2.1", | ||||
|           "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", | ||||
|           "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "color-convert": "^1.9.3", | ||||
|             "color-string": "^1.6.0" | ||||
|           }, | ||||
|           "dependencies": { | ||||
|             "color-convert": { | ||||
|               "version": "1.9.3", | ||||
|               "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", | ||||
|               "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", | ||||
|               "dev": true, | ||||
|               "requires": { | ||||
|                 "color-name": "1.1.3" | ||||
|               } | ||||
|             }, | ||||
|             "color-name": { | ||||
|               "version": "1.1.3", | ||||
|               "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", | ||||
|               "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", | ||||
|               "dev": true | ||||
|             } | ||||
|           } | ||||
|         }, | ||||
|         "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==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "color-name": "~1.1.4" | ||||
|           } | ||||
|  | @ -11392,12 +11447,24 @@ | |||
|         "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==" | ||||
|           "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", | ||||
|           "dev": true | ||||
|         }, | ||||
|         "color-string": { | ||||
|           "version": "1.6.0", | ||||
|           "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", | ||||
|           "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "color-name": "^1.0.0", | ||||
|             "simple-swizzle": "^0.2.2" | ||||
|           } | ||||
|         }, | ||||
|         "cosmiconfig": { | ||||
|           "version": "7.0.0", | ||||
|           "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", | ||||
|           "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "@types/parse-json": "^4.0.0", | ||||
|             "import-fresh": "^3.2.1", | ||||
|  | @ -11406,10 +11473,41 @@ | |||
|             "yaml": "^1.10.0" | ||||
|           } | ||||
|         }, | ||||
|         "didyoumean": { | ||||
|           "version": "1.2.2", | ||||
|           "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", | ||||
|           "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", | ||||
|           "dev": true | ||||
|         }, | ||||
|         "fast-glob": { | ||||
|           "version": "3.2.7", | ||||
|           "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", | ||||
|           "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "@nodelib/fs.stat": "^2.0.2", | ||||
|             "@nodelib/fs.walk": "^1.2.3", | ||||
|             "glob-parent": "^5.1.2", | ||||
|             "merge2": "^1.3.0", | ||||
|             "micromatch": "^4.0.4" | ||||
|           }, | ||||
|           "dependencies": { | ||||
|             "glob-parent": { | ||||
|               "version": "5.1.2", | ||||
|               "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", | ||||
|               "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", | ||||
|               "dev": true, | ||||
|               "requires": { | ||||
|                 "is-glob": "^4.0.1" | ||||
|               } | ||||
|             } | ||||
|           } | ||||
|         }, | ||||
|         "fs-extra": { | ||||
|           "version": "10.0.0", | ||||
|           "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", | ||||
|           "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "graceful-fs": "^4.2.0", | ||||
|             "jsonfile": "^6.0.1", | ||||
|  | @ -11417,9 +11515,10 @@ | |||
|           } | ||||
|         }, | ||||
|         "glob-parent": { | ||||
|           "version": "6.0.0", | ||||
|           "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.0.tgz", | ||||
|           "integrity": "sha512-Hdd4287VEJcZXUwv1l8a+vXC1GjOQqXe+VS30w/ypihpcnu9M1n3xeYeJu5CBpeEQj2nAab2xxz28GuA3vp4Ww==", | ||||
|           "version": "6.0.1", | ||||
|           "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.1.tgz", | ||||
|           "integrity": "sha512-kEVjS71mQazDBHKcsq4E9u/vUzaLcw1A8EtUeydawvIWQCJM0qQ08G1H7/XTjFUulla6XQiDOG6MXSaG0HDKog==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "is-glob": "^4.0.1" | ||||
|           } | ||||
|  | @ -11427,26 +11526,36 @@ | |||
|         "has-flag": { | ||||
|           "version": "4.0.0", | ||||
|           "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", | ||||
|           "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" | ||||
|           "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", | ||||
|           "dev": true | ||||
|         }, | ||||
|         "import-fresh": { | ||||
|           "version": "3.3.0", | ||||
|           "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", | ||||
|           "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "parent-module": "^1.0.0", | ||||
|             "resolve-from": "^4.0.0" | ||||
|           } | ||||
|         }, | ||||
|         "nanoid": { | ||||
|           "version": "3.1.23", | ||||
|           "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", | ||||
|           "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==", | ||||
|           "dev": true | ||||
|         }, | ||||
|         "object-hash": { | ||||
|           "version": "2.2.0", | ||||
|           "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", | ||||
|           "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==" | ||||
|           "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", | ||||
|           "dev": true | ||||
|         }, | ||||
|         "parse-json": { | ||||
|           "version": "5.2.0", | ||||
|           "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", | ||||
|           "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "@babel/code-frame": "^7.0.0", | ||||
|             "error-ex": "^1.3.1", | ||||
|  | @ -11457,21 +11566,49 @@ | |||
|         "path-type": { | ||||
|           "version": "4.0.0", | ||||
|           "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", | ||||
|           "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" | ||||
|           "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", | ||||
|           "dev": true | ||||
|         }, | ||||
|         "postcss-selector-parser": { | ||||
|           "version": "6.0.6", | ||||
|           "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz", | ||||
|           "integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "cssesc": "^3.0.0", | ||||
|             "util-deprecate": "^1.0.2" | ||||
|           } | ||||
|         }, | ||||
|         "purgecss": { | ||||
|           "version": "4.0.3", | ||||
|           "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-4.0.3.tgz", | ||||
|           "integrity": "sha512-PYOIn5ibRIP34PBU9zohUcCI09c7drPJJtTDAc0Q6QlRz2/CHQ8ywGLdE7ZhxU2VTqB7p5wkvj5Qcm05Rz3Jmw==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "commander": "^6.0.0", | ||||
|             "glob": "^7.0.0", | ||||
|             "postcss": "^8.2.1", | ||||
|             "postcss-selector-parser": "^6.0.2" | ||||
|           }, | ||||
|           "dependencies": { | ||||
|             "postcss": { | ||||
|               "version": "8.3.6", | ||||
|               "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.6.tgz", | ||||
|               "integrity": "sha512-wG1cc/JhRgdqB6WHEuyLTedf3KIRuD0hG6ldkFEZNCjRxiC+3i6kkWUUbiJQayP28iwG35cEmAbe98585BYV0A==", | ||||
|               "dev": true, | ||||
|               "requires": { | ||||
|                 "colorette": "^1.2.2", | ||||
|                 "nanoid": "^3.1.23", | ||||
|                 "source-map-js": "^0.6.2" | ||||
|               } | ||||
|             } | ||||
|           } | ||||
|         }, | ||||
|         "readdirp": { | ||||
|           "version": "3.6.0", | ||||
|           "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", | ||||
|           "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "picomatch": "^2.2.1" | ||||
|           } | ||||
|  | @ -11479,12 +11616,14 @@ | |||
|         "resolve-from": { | ||||
|           "version": "4.0.0", | ||||
|           "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", | ||||
|           "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" | ||||
|           "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", | ||||
|           "dev": true | ||||
|         }, | ||||
|         "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, | ||||
|           "requires": { | ||||
|             "has-flag": "^4.0.0" | ||||
|           } | ||||
|  | @ -11598,6 +11737,7 @@ | |||
|       "version": "0.2.1", | ||||
|       "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", | ||||
|       "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", | ||||
|       "dev": true, | ||||
|       "requires": { | ||||
|         "rimraf": "^3.0.0" | ||||
|       }, | ||||
|  | @ -11606,6 +11746,7 @@ | |||
|           "version": "3.0.2", | ||||
|           "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", | ||||
|           "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", | ||||
|           "dev": true, | ||||
|           "requires": { | ||||
|             "glob": "^7.1.3" | ||||
|           } | ||||
|  | @ -12780,7 +12921,8 @@ | |||
|     "yaml": { | ||||
|       "version": "1.10.2", | ||||
|       "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", | ||||
|       "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" | ||||
|       "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "yn": { | ||||
|       "version": "3.1.1", | ||||
|  |  | |||
|  | @ -58,6 +58,7 @@ | |||
|     "@types/leaflet.markercluster": "^1.4.3", | ||||
|     "@types/lz-string": "^1.3.34", | ||||
|     "@types/prompt-sync": "^4.1.0", | ||||
|     "aspected-routing": "^0.1.0", | ||||
|     "autoprefixer": "^9.8.6", | ||||
|     "country-language": "^0.1.7", | ||||
|     "email-validator": "^2.0.4", | ||||
|  | @ -80,7 +81,6 @@ | |||
|     "postcss": "^7.0.36", | ||||
|     "prompt-sync": "^4.2.0", | ||||
|     "sharp": "^0.27.0", | ||||
|     "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.2", | ||||
|     "tslint": "^6.1.3" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|  | @ -90,6 +90,7 @@ | |||
|     "fs": "0.0.1-security", | ||||
|     "marked": "^2.0.0", | ||||
|     "read-file": "^0.2.0", | ||||
|     "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.7", | ||||
|     "ts-node": "^9.0.0", | ||||
|     "ts-node-dev": "^1.0.0-pre.63", | ||||
|     "tslint-no-circular-imports": "^0.7.0", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue