diff --git a/IsraelHiking.Web/package-lock.json b/IsraelHiking.Web/package-lock.json index 453983191..41b46c65d 100644 --- a/IsraelHiking.Web/package-lock.json +++ b/IsraelHiking.Web/package-lock.json @@ -2108,6 +2108,11 @@ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", "dev": true }, + "attempt-x": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/attempt-x/-/attempt-x-1.1.3.tgz", + "integrity": "sha512-y/+ek8IjxVpTbj/phC87jK5YRhlP5Uu7FlQdCmYuut1DTjNruyrGqUWi5bcX1VKsQX1B0FX16A1hqHomKpHv3A==" + }, "autoprefixer": { "version": "8.6.5", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-8.6.5.tgz", @@ -2523,6 +2528,15 @@ "resolved": "http://registry.npmjs.org/blob/-/blob-0.0.4.tgz", "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=" }, + "blob-util": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/blob-util/-/blob-util-1.3.0.tgz", + "integrity": "sha512-cjmYgWj8BQwoX+95rKkWvITL6PiEhSr19sX8qLRu+O6J2qmWmgUvxqhqJn425RFAwLovdDNnsCQ64RRHXjsXSg==", + "requires": { + "blob": "0.0.4", + "native-or-lie": "1.0.2" + } + }, "block-stream": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", @@ -3145,6 +3159,11 @@ } } }, + "cached-constructors-x": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cached-constructors-x/-/cached-constructors-x-1.0.2.tgz", + "integrity": "sha512-7lKwmwXweW6E/31RHAJemLtZPfb2xvcABXknFF4b/dNYv4DbSGTgQHckXLQkNw6BB4HKFYW6mJgsNjADAy1ehw==" + }, "cached-path-relative": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.1.tgz", @@ -9453,11 +9472,33 @@ "sparkles": "^1.0.0" } }, + "has-own-property-x": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/has-own-property-x/-/has-own-property-x-3.2.0.tgz", + "integrity": "sha512-HtRQTYpRFz/YVaQ7jh2mU5iorMAxFcML9FNOLMI1f8VNJ2K0hpOlXoi1a+nmVl6oUcGnhd6zYOFAVe7NUFStyQ==", + "requires": { + "cached-constructors-x": "^1.0.0", + "to-object-x": "^1.5.0", + "to-property-key-x": "^2.0.2" + } + }, + "has-symbol-support-x": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz", + "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==" + }, "has-symbols": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", - "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", - "dev": true + "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=" + }, + "has-to-string-tag-x": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", + "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", + "requires": { + "has-symbol-support-x": "^1.4.1" + } }, "has-unicode": { "version": "2.0.1", @@ -10355,6 +10396,11 @@ "integrity": "sha1-ReDi/3qesDCyfWK3SzdEt6esQhY=", "dev": true }, + "infinity-x": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/infinity-x/-/infinity-x-1.0.2.tgz", + "integrity": "sha512-2Ioz+exrAwlHxFBaDHQIbvUyjKFt0YjIal34/agfzx738aT1zBQwSU5A8Zgb1IQ2r24BtXrkeZZusxE40MyZaQ==" + }, "inflection": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/inflection/-/inflection-1.12.0.tgz", @@ -10660,6 +10706,18 @@ "kind-of": "^3.0.2" } }, + "is-array-buffer-x": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/is-array-buffer-x/-/is-array-buffer-x-1.7.0.tgz", + "integrity": "sha512-ufSZRMY2WZX5xyNvk0NOZAG7cgi35B/sGQDGqv8w0X7MoQ2GC9vedanJhuYTPaC4PUCqLQsda1w7NF+dPZmAJw==", + "requires": { + "attempt-x": "^1.1.0", + "has-to-string-tag-x": "^1.4.1", + "is-object-like-x": "^1.5.1", + "object-get-own-property-descriptor-x": "^3.2.0", + "to-string-tag-x": "^1.4.1" + } + }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -10715,8 +10773,7 @@ "is-date-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", - "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", - "dev": true + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=" }, "is-descriptor": { "version": "0.1.6", @@ -10766,6 +10823,14 @@ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" }, + "is-falsey-x": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-falsey-x/-/is-falsey-x-1.0.3.tgz", + "integrity": "sha512-RWjusR6LXAhGa0Vus7aD1rwJuJwdJsvG3daAVMDvOAgvGuGm4eilNgoSuXhpv2/2qpLDvioAKTNb3t3XYidCNg==", + "requires": { + "to-boolean-x": "^1.0.2" + } + }, "is-finite": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", @@ -10775,11 +10840,35 @@ "number-is-nan": "^1.0.0" } }, + "is-finite-x": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-finite-x/-/is-finite-x-3.0.4.tgz", + "integrity": "sha512-wdSI5zk/Pl21HzGcLWFoFzuDa8gsgcqhwZGAZryL2eU7RKf7+g+q4jL2gGItrBs/YtspkjOrJ4JxXNZqquoAWA==", + "requires": { + "infinity-x": "^1.0.1", + "is-nan-x": "^1.0.2" + } + }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" }, + "is-function-x": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-3.3.0.tgz", + "integrity": "sha512-SreSSU1dlgYaXR5c0mm4qJHKYHIiGiEY+7Cd8/aRLLoMP/VvofD2XcWgBnP833ajpU5XzXbUSpfysnfKZLJFlg==", + "requires": { + "attempt-x": "^1.1.1", + "has-to-string-tag-x": "^1.4.1", + "is-falsey-x": "^1.0.1", + "is-primitive": "^2.0.0", + "normalize-space-x": "^3.0.0", + "replace-comments-x": "^2.0.0", + "to-boolean-x": "^1.0.1", + "to-string-tag-x": "^1.4.2" + } + }, "is-git-url": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-git-url/-/is-git-url-1.0.0.tgz", @@ -10794,6 +10883,18 @@ "is-extglob": "^1.0.0" } }, + "is-index-x": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-index-x/-/is-index-x-1.1.0.tgz", + "integrity": "sha512-qULKLMepQLGC8rSVdi8uF2vI4LiDrU9XSDg1D+Aa657GIB7GV1jHpga7uXgQvkt/cpQ5mVBHUFTpSehYSqT6+A==", + "requires": { + "math-clamp-x": "^1.2.0", + "max-safe-integer": "^1.0.1", + "to-integer-x": "^3.0.0", + "to-number-x": "^2.0.0", + "to-string-symbols-supported-x": "^1.0.0" + } + }, "is-module": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", @@ -10818,12 +10919,26 @@ "xtend": "^4.0.0" } }, + "is-nan-x": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-nan-x/-/is-nan-x-1.0.3.tgz", + "integrity": "sha512-WenNBLVGSZID8shogsB++42vF7gvotCfneXM9KMCAKwNPXa8VfAu/RWwpqvnK7dLOP4Z7uitocb0TZ6rAiOccA==" + }, "is-negated-glob": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz", "integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=", "dev": true }, + "is-nil-x": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/is-nil-x/-/is-nil-x-1.4.2.tgz", + "integrity": "sha512-9aDY7ir7IGb5HlgqL+b38v2YMxf8S7MEHHxjHGzUhijg2crq47RKdxL37bS6dU0VN87wy2IBZP4akgQtIXmyvg==", + "requires": { + "lodash.isnull": "^3.0.0", + "validate.io-undefined": "^1.0.3" + } + }, "is-npm": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", @@ -10844,6 +10959,22 @@ "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", "dev": true }, + "is-object-like-x": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/is-object-like-x/-/is-object-like-x-1.7.1.tgz", + "integrity": "sha512-89nz+kESAW2Y7udq+PdRX/dZnRN2WP1b19Gdv4OYE1Xjoekn1xf31l0ZPzT40qdPD7I2nveNFm9rxxI0vmnGHA==", + "requires": { + "is-function-x": "^3.3.0", + "is-primitive": "^3.0.0" + }, + "dependencies": { + "is-primitive": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-3.0.1.tgz", + "integrity": "sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==" + } + } + }, "is-path-cwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", @@ -10940,11 +11071,15 @@ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" }, + "is-string": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.4.tgz", + "integrity": "sha1-zDqbaYV9Yh6WNyWiTK7shzuCbmQ=" + }, "is-symbol": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", - "dev": true, "requires": { "has-symbols": "^1.0.0" } @@ -11339,6 +11474,11 @@ "dev": true, "optional": true }, + "js-extend": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/js-extend/-/js-extend-1.0.1.tgz", + "integrity": "sha1-UFUasaxx1LswLkBA675ZAzuisfc=" + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -12308,7 +12448,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=", - "dev": true, "requires": { "immediate": "~3.0.5" } @@ -12470,6 +12609,11 @@ "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=" }, + "lodash.isnull": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash.isnull/-/lodash.isnull-3.0.0.tgz", + "integrity": "sha1-+vvlnqHcon7teGU0A53YTC4HxW4=" + }, "lodash.isstring": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", @@ -13237,11 +13381,33 @@ } } }, + "math-clamp-x": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/math-clamp-x/-/math-clamp-x-1.2.0.tgz", + "integrity": "sha512-tqpjpBcIf9UulApz3EjWXqTZpMlr2vLN9PryC9ghoyCuRmqZaf3JJhPddzgQpJnKLi2QhoFnvKBFtJekAIBSYg==", + "requires": { + "to-number-x": "^2.0.0" + } + }, "math-random": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz", "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=" }, + "math-sign-x": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/math-sign-x/-/math-sign-x-3.0.0.tgz", + "integrity": "sha512-OzPas41Pn4d16KHnaXmGxxY3/l3zK4OIXtmIwdhgZsxz4FDDcNnbrABYPg2vGfxIkaT9ezGnzDviRH7RfF44jQ==", + "requires": { + "is-nan-x": "^1.0.1", + "to-number-x": "^2.0.0" + } + }, + "max-safe-integer": { + "version": "1.0.1", + "resolved": "http://registry.npmjs.org/max-safe-integer/-/max-safe-integer-1.0.1.tgz", + "integrity": "sha1-84BgvixWPYwC5tSK85Ei/YO29BA=" + }, "md5-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/md5-file/-/md5-file-4.0.0.tgz", @@ -13791,6 +13957,11 @@ "dev": true, "optional": true }, + "nan-x": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nan-x/-/nan-x-1.0.2.tgz", + "integrity": "sha512-dndRmy03JQEN+Nh6WjQl7/OstIozeEmrtWe4TE7mEqJ8W8oMD8m2tHjsLPWt//e3hLAeRSbs4pxMyc5pk/nCkQ==" + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -13830,6 +14001,14 @@ } } }, + "native-or-lie": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/native-or-lie/-/native-or-lie-1.0.2.tgz", + "integrity": "sha1-yHDuC6C/D/ETUFldIWz+poptgIY=", + "requires": { + "lie": "*" + } + }, "natives": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/natives/-/natives-1.1.6.tgz", @@ -14528,6 +14707,16 @@ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", "dev": true }, + "normalize-space-x": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-space-x/-/normalize-space-x-3.0.0.tgz", + "integrity": "sha512-tbCJerqZCCHPst4rRKgsTanLf45fjOyeAU5zE3mhDxJtFJKt66q39g2XArWhXelgTFVib8mNBUm6Wrd0LxYcfQ==", + "requires": { + "cached-constructors-x": "^1.0.0", + "trim-x": "^3.0.0", + "white-space-x": "^3.0.0" + } + }, "now-and-later": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/now-and-later/-/now-and-later-2.0.0.tgz", @@ -14652,6 +14841,23 @@ } } }, + "object-get-own-property-descriptor-x": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/object-get-own-property-descriptor-x/-/object-get-own-property-descriptor-x-3.2.0.tgz", + "integrity": "sha512-Z/0fIrptD9YuzN+SNK/1kxAEaBcPQM4gSrtOSMSi9eplnL/AbyQcAyAlreAoAzmBon+DQ1Z+AdhxyQSvav5Fyg==", + "requires": { + "attempt-x": "^1.1.0", + "has-own-property-x": "^3.1.1", + "has-symbol-support-x": "^1.4.1", + "is-falsey-x": "^1.0.0", + "is-index-x": "^1.0.0", + "is-primitive": "^2.0.0", + "is-string": "^1.0.4", + "property-is-enumerable-x": "^1.1.0", + "to-object-x": "^1.4.1", + "to-property-key-x": "^2.0.1" + } + }, "object-keys": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", @@ -15272,6 +15478,17 @@ "is-glob": "^2.0.0" } }, + "parse-int-x": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/parse-int-x/-/parse-int-x-2.0.0.tgz", + "integrity": "sha512-NIMm52gmd1+0qxJK8lV3OZ4zzWpRH1xcz9xCHXl+DNzddwUdS4NEtd7BmTeK7iCIXoaK5e6BoDMHgieH2eNIhg==", + "requires": { + "cached-constructors-x": "^1.0.0", + "nan-x": "^1.0.0", + "to-string-x": "^1.4.2", + "trim-left-x": "^3.0.0" + } + }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -15751,6 +15968,319 @@ } } }, + "pouchdb-abstract-mapreduce": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-abstract-mapreduce/-/pouchdb-abstract-mapreduce-6.2.0.tgz", + "integrity": "sha1-VYWNF5nIkpAYXfVrcchDpIGry64=", + "requires": { + "pouchdb-binary-utils": "6.2.0", + "pouchdb-collate": "6.2.0", + "pouchdb-collections": "6.2.0", + "pouchdb-mapreduce-utils": "6.2.0", + "pouchdb-md5": "6.2.0", + "pouchdb-promise": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-adapter-http": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-adapter-http/-/pouchdb-adapter-http-6.2.0.tgz", + "integrity": "sha1-Y8gW0mCJBL37IAtqPVpR2LHpLrQ=", + "requires": { + "argsarray": "0.0.1", + "pouchdb-ajax": "6.2.0", + "pouchdb-binary-utils": "6.2.0", + "pouchdb-errors": "6.2.0", + "pouchdb-promise": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-adapter-idb": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-adapter-idb/-/pouchdb-adapter-idb-6.2.0.tgz", + "integrity": "sha1-KI5G5F0NbAEzxXWdDEGalpljYuo=", + "requires": { + "pouchdb-adapter-utils": "6.2.0", + "pouchdb-binary-utils": "6.2.0", + "pouchdb-collections": "6.2.0", + "pouchdb-errors": "6.2.0", + "pouchdb-json": "6.2.0", + "pouchdb-merge": "6.2.0", + "pouchdb-promise": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-adapter-utils": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-adapter-utils/-/pouchdb-adapter-utils-6.2.0.tgz", + "integrity": "sha1-OYkeqSLog4eeicIWuraYIII/71g=", + "requires": { + "pouchdb-binary-utils": "6.2.0", + "pouchdb-collections": "6.2.0", + "pouchdb-errors": "6.2.0", + "pouchdb-md5": "6.2.0", + "pouchdb-merge": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-ajax": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-ajax/-/pouchdb-ajax-6.2.0.tgz", + "integrity": "sha1-YqEz+Llc6KqFa4Fp1NbmAUJjHmM=", + "requires": { + "buffer-from": "0.1.1", + "pouchdb-binary-utils": "6.2.0", + "pouchdb-errors": "6.2.0", + "pouchdb-promise": "6.2.0", + "pouchdb-utils": "6.2.0", + "request": "2.80.0" + }, + "dependencies": { + "buffer-from": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-0.1.1.tgz", + "integrity": "sha1-V7GLHaChnsBvM4N6UnWiQjUb114=", + "requires": { + "is-array-buffer-x": "^1.0.13" + } + }, + "qs": { + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", + "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=" + }, + "request": { + "version": "2.80.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.80.0.tgz", + "integrity": "sha1-jMFi1215OBze/dNQXXa4C2BYm9A=", + "requires": { + "aws-sign2": "~0.6.0", + "aws4": "^1.2.1", + "caseless": "~0.12.0", + "combined-stream": "~1.0.5", + "extend": "~3.0.0", + "forever-agent": "~0.6.1", + "form-data": "~2.1.1", + "har-validator": "~4.2.0", + "hawk": "~3.1.3", + "http-signature": "~1.1.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.7", + "oauth-sign": "~0.8.1", + "performance-now": "^0.2.0", + "qs": "~6.3.0", + "stringstream": "~0.0.4", + "tough-cookie": "~2.3.0", + "tunnel-agent": "~0.4.1", + "uuid": "^3.0.0" + } + }, + "tunnel-agent": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", + "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" + } + } + }, + "pouchdb-binary-util": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/pouchdb-binary-util/-/pouchdb-binary-util-1.0.1.tgz", + "integrity": "sha1-NMnM8l4/9t3rKr7Zmiz4Umgm+cs=" + }, + "pouchdb-binary-utils": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-6.2.0.tgz", + "integrity": "sha1-3EFUwBuS+5rYf99pU5SpG12UKb8=", + "requires": { + "buffer-from": "0.1.1" + }, + "dependencies": { + "buffer-from": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-0.1.1.tgz", + "integrity": "sha1-V7GLHaChnsBvM4N6UnWiQjUb114=", + "requires": { + "is-array-buffer-x": "^1.0.13" + } + } + } + }, + "pouchdb-changes-filter": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-changes-filter/-/pouchdb-changes-filter-6.2.0.tgz", + "integrity": "sha1-YmSVVM7yyefoRsRS6w01zggRpeg=", + "requires": { + "pouchdb-errors": "6.2.0", + "pouchdb-selector-core": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-checkpointer": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-checkpointer/-/pouchdb-checkpointer-6.2.0.tgz", + "integrity": "sha1-wNc8/Sfd32T39qQwQnOf5VCJ1Yk=", + "requires": { + "pouchdb-collate": "6.2.0", + "pouchdb-promise": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-collate": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-collate/-/pouchdb-collate-6.2.0.tgz", + "integrity": "sha1-nuXleN4ARYHBSHVPfezcC3BJX/w=" + }, + "pouchdb-collections": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-6.2.0.tgz", + "integrity": "sha1-9TJgGHDL0ym6DGAFvN0wESaCW+I=" + }, + "pouchdb-core": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-core/-/pouchdb-core-6.2.0.tgz", + "integrity": "sha1-8xDPUXlMtJNj+zmKFP9mg4z29RE=", + "requires": { + "argsarray": "0.0.1", + "inherits": "2.0.3", + "pouchdb-changes-filter": "6.2.0", + "pouchdb-collections": "6.2.0", + "pouchdb-debug": "6.2.0", + "pouchdb-errors": "6.2.0", + "pouchdb-merge": "6.2.0", + "pouchdb-promise": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-debug": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-debug/-/pouchdb-debug-6.2.0.tgz", + "integrity": "sha1-1WF6X8uziB/stF4iVQ3udQqN5cM=", + "requires": { + "debug": "2.6.1" + }, + "dependencies": { + "debug": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.1.tgz", + "integrity": "sha1-eYVQkLosTjEVzH2HaUkdWPBJE1E=", + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "http://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=" + } + } + }, + "pouchdb-errors": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-6.2.0.tgz", + "integrity": "sha1-XMvvryuS6RjV2QtaW3eTdkZLWQc=", + "requires": { + "inherits": "2.0.3" + } + }, + "pouchdb-generate-replication-id": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-generate-replication-id/-/pouchdb-generate-replication-id-6.2.0.tgz", + "integrity": "sha1-4YtMy7r0t0tIsKvO0LoInBUoXJw=", + "requires": { + "pouchdb-collate": "6.2.0", + "pouchdb-md5": "6.2.0", + "pouchdb-promise": "6.2.0" + } + }, + "pouchdb-json": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-json/-/pouchdb-json-6.2.0.tgz", + "integrity": "sha1-PDJCVxtn+2N9cSJv22d/w0UM2S0=", + "requires": { + "vuvuzela": "1.0.3" + } + }, + "pouchdb-mapreduce": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-mapreduce/-/pouchdb-mapreduce-6.2.0.tgz", + "integrity": "sha1-sil9mj65KpdLdMZ/hE+Wgp+ZSzg=", + "requires": { + "pouchdb-abstract-mapreduce": "6.2.0", + "pouchdb-mapreduce-utils": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-mapreduce-utils": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-mapreduce-utils/-/pouchdb-mapreduce-utils-6.2.0.tgz", + "integrity": "sha1-/mwV7/Gm/kjWj5c8ennvSSZSyi8=", + "requires": { + "argsarray": "0.0.1", + "inherits": "2.0.3", + "pouchdb-collections": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-md5": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-6.2.0.tgz", + "integrity": "sha1-dYH8TpMsV8eO5I0lp9ABS/8Ajk0=", + "requires": { + "pouchdb-binary-utils": "6.2.0", + "spark-md5": "3.0.0" + } + }, + "pouchdb-merge": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-merge/-/pouchdb-merge-6.2.0.tgz", + "integrity": "sha1-ZcptlK7W+bO1H+2TGNM6MCqZ7i8=" + }, + "pouchdb-promise": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-promise/-/pouchdb-promise-6.2.0.tgz", + "integrity": "sha1-Hk/OwKoGeN9YPmp7S5lroBCmCP4=", + "requires": { + "lie": "3.1.1" + } + }, + "pouchdb-replication": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-replication/-/pouchdb-replication-6.2.0.tgz", + "integrity": "sha1-3r1+FiVX5JnEPCXP16GgXqNL0N8=", + "requires": { + "inherits": "2.0.3", + "pouchdb-checkpointer": "6.2.0", + "pouchdb-errors": "6.2.0", + "pouchdb-generate-replication-id": "6.2.0", + "pouchdb-promise": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-selector-core": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-selector-core/-/pouchdb-selector-core-6.2.0.tgz", + "integrity": "sha1-q3U8Fxgrw5TmprHeJ1MxFh+F4yU=", + "requires": { + "pouchdb-collate": "6.2.0", + "pouchdb-utils": "6.2.0" + } + }, + "pouchdb-utils": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-6.2.0.tgz", + "integrity": "sha1-zY1CB6NOR4tJryAf8MUepzMkQGE=", + "requires": { + "argsarray": "0.0.1", + "clone-buffer": "1.0.0", + "immediate": "3.0.6", + "inherits": "2.0.3", + "pouchdb-collections": "6.2.0", + "pouchdb-errors": "6.2.0", + "pouchdb-promise": "6.2.0" + } + }, "prebuild-install": { "version": "2.5.3", "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-2.5.3.tgz", @@ -15861,6 +16391,15 @@ "string.prototype.codepointat": "^0.2.0" } }, + "property-is-enumerable-x": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/property-is-enumerable-x/-/property-is-enumerable-x-1.1.0.tgz", + "integrity": "sha512-22cKy3w3OpRswU6to9iKWDDlg+F9vF2REcwGlGW23jyLjHb1U/jJEWA44sWupOnkhGfDgotU6Lw+N2oyhNi+5A==", + "requires": { + "to-object-x": "^1.4.1", + "to-property-key-x": "^2.0.1" + } + }, "protocol-buffers-schema": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.3.2.tgz", @@ -17077,6 +17616,15 @@ "is-finite": "^1.0.0" } }, + "replace-comments-x": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/replace-comments-x/-/replace-comments-x-2.0.0.tgz", + "integrity": "sha512-+vMP4jqU+8HboLWms6YMNEiaZG5hh1oR6ENCnGYDF/UQ7aYiJUK/8tcl3+KZAHRCKKa3gqzrfiarlUBHQSgRlg==", + "requires": { + "require-coercible-to-string-x": "^1.0.0", + "to-string-x": "^1.4.2" + } + }, "replace-ext": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", @@ -17153,6 +17701,15 @@ } } }, + "require-coercible-to-string-x": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/require-coercible-to-string-x/-/require-coercible-to-string-x-1.0.2.tgz", + "integrity": "sha512-GZ3BSCL0n/zhho8ITganW9FGPh0Kxhq71nCjck8Qau/30Wf4Po8a3XpQdzEMFiXCwZ/0m0E3lKSdSG8gkcIofQ==", + "requires": { + "require-object-coercible-x": "^1.4.3", + "to-string-x": "^1.4.5" + } + }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -17171,6 +17728,14 @@ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", "dev": true }, + "require-object-coercible-x": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/require-object-coercible-x/-/require-object-coercible-x-1.4.3.tgz", + "integrity": "sha512-5wEaS+NIiU5HLJQTqBQ+6XHtX7yplUS374j/H/nRDlc7rMWfENqp026jnUHWAOCZ+ekixkXuFHEnTF28oqqVLA==", + "requires": { + "is-nil-x": "^1.4.2" + } + }, "requires-port": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", @@ -19390,6 +19955,11 @@ "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", "dev": true }, + "to-boolean-x": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-boolean-x/-/to-boolean-x-1.0.3.tgz", + "integrity": "sha512-kQiMyJUgFprL8J+0CfgJuaSFKJMs3EvFe27/6aj/hVzVZT0HY4aA1QjPldLNxzBmjhLcapp7CctYHuD8QqtS3g==" + }, "to-buffer": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz", @@ -19401,6 +19971,29 @@ "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", "dev": true }, + "to-integer-x": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/to-integer-x/-/to-integer-x-3.0.0.tgz", + "integrity": "sha512-794L2Lpwjtynm7RxahJi2YdbRY75gTxUW27TMuN26UgwPkmJb/+HPhkFEFbz+E4vNoiP0dxq5tq5fkXoXLaK/w==", + "requires": { + "is-finite-x": "^3.0.2", + "is-nan-x": "^1.0.1", + "math-sign-x": "^3.0.0", + "to-number-x": "^2.0.0" + } + }, + "to-number-x": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-number-x/-/to-number-x-2.0.0.tgz", + "integrity": "sha512-lGOnCoccUoSzjZ/9Uen8TC4+VFaQcFGhTroWTv2tYWxXgyJV1zqAZ8hEIMkez/Eo790fBMOjidTnQ/OJSCvAoQ==", + "requires": { + "cached-constructors-x": "^1.0.0", + "nan-x": "^1.0.0", + "parse-int-x": "^2.0.0", + "to-primitive-x": "^1.1.0", + "trim-x": "^3.0.0" + } + }, "to-object-path": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", @@ -19410,6 +20003,40 @@ "kind-of": "^3.0.2" } }, + "to-object-x": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/to-object-x/-/to-object-x-1.5.0.tgz", + "integrity": "sha512-AKn5GQcdWky+s20vjWkt+Wa6y3dxQH3yQyMBhOfBOPldUwqwhgvlqcIg5H092ntNc+TX8/Cxzs1kMHH19pyCnA==", + "requires": { + "cached-constructors-x": "^1.0.0", + "require-object-coercible-x": "^1.4.1" + } + }, + "to-primitive-x": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/to-primitive-x/-/to-primitive-x-1.1.0.tgz", + "integrity": "sha512-gyMY0gi3wjK3e4MUBKqv9Zl8QGcWguIkaUr2VJmoBEsOpDcpDZSEyljR773eVG4maS48uX7muLkoQoh/BA82OQ==", + "requires": { + "has-symbol-support-x": "^1.4.1", + "is-date-object": "^1.0.1", + "is-function-x": "^3.2.0", + "is-nil-x": "^1.4.1", + "is-primitive": "^2.0.0", + "is-symbol": "^1.0.1", + "require-object-coercible-x": "^1.4.1", + "validate.io-undefined": "^1.0.3" + } + }, + "to-property-key-x": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/to-property-key-x/-/to-property-key-x-2.0.2.tgz", + "integrity": "sha512-YISLpZFYIazNm0P8hLsKEEUEZ3m8U3+eDysJZqTu3+B9tQp+2TrMpaEGT8Agh4fZ5LSoums60/glNEzk5ozqrg==", + "requires": { + "has-symbol-support-x": "^1.4.1", + "to-primitive-x": "^1.1.0", + "to-string-x": "^1.4.2" + } + }, "to-regex": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", @@ -19443,6 +20070,34 @@ } } }, + "to-string-symbols-supported-x": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/to-string-symbols-supported-x/-/to-string-symbols-supported-x-1.0.2.tgz", + "integrity": "sha512-3MRqhIhSNVDsVAk4M6WNcuBZrAQe54W13xrXX6RzxXS+pA4nj6DQ96RegQS5z9BSNyYbFsBsPvMVDIpP+a/5RA==", + "requires": { + "cached-constructors-x": "^1.0.2", + "has-symbol-support-x": "^1.4.2", + "is-symbol": "^1.0.1" + } + }, + "to-string-tag-x": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-1.4.3.tgz", + "integrity": "sha512-5+0EZ6dOVt/XArXmkooxPzWxmOR081HM/uXitUow7h11WYg5pPo15uYqDWuqO7ZY+O3Atn/dG26wcJCK+mFevg==", + "requires": { + "lodash.isnull": "^3.0.0", + "validate.io-undefined": "^1.0.3" + } + }, + "to-string-x": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/to-string-x/-/to-string-x-1.4.5.tgz", + "integrity": "sha512-5xzlZDyDa9BUWNjNzZzHgKQ95PnV7qjvEhbqpFaj1ixaHgfJXOFaa3xdMJ+WLYd4hhaMJaxt8Pt5uKaWXfruXA==", + "requires": { + "cached-constructors-x": "^1.0.0", + "is-symbol": "^1.0.1" + } + }, "to-through": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-through/-/to-through-2.0.0.tgz", @@ -19495,6 +20150,16 @@ "integrity": "sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg==", "dev": true }, + "trim-left-x": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/trim-left-x/-/trim-left-x-3.0.0.tgz", + "integrity": "sha512-+m6cqkppI+CxQBTwWEZliOHpOBnCArGyMnS1WCLb6IRgukhTkiQu/TNEN5Lj2eM9jk8ewJsc7WxFZfmwNpRXWQ==", + "requires": { + "cached-constructors-x": "^1.0.0", + "require-coercible-to-string-x": "^1.0.0", + "white-space-x": "^3.0.0" + } + }, "trim-newlines": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", @@ -19507,6 +20172,25 @@ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", "dev": true }, + "trim-right-x": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/trim-right-x/-/trim-right-x-3.0.0.tgz", + "integrity": "sha512-iIqEsWEbWVodqdixJHi4FoayJkUxhoL4AvSNGp4FF4FfQKRPGizt8++/RnyC9od75y7P/S6EfONoVqP+NddiKA==", + "requires": { + "cached-constructors-x": "^1.0.0", + "require-coercible-to-string-x": "^1.0.0", + "white-space-x": "^3.0.0" + } + }, + "trim-x": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/trim-x/-/trim-x-3.0.0.tgz", + "integrity": "sha512-w8s38RAUScQ6t3XqMkS75iz5ZkIYLQpVnv2lp3IuTS36JdlVzC54oe6okOf4Wz3UH4rr3XAb2xR3kR5Xei82fw==", + "requires": { + "trim-left-x": "^3.0.0", + "trim-right-x": "^3.0.0" + } + }, "true-case-path": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", @@ -20333,6 +21017,11 @@ "builtins": "^1.0.3" } }, + "validate.io-undefined": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/validate.io-undefined/-/validate.io-undefined-1.0.3.tgz", + "integrity": "sha1-fif8uzFbhB54JDQxiXZxkp4gt/Q=" + }, "value-or-function": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/value-or-function/-/value-or-function-3.0.0.tgz", @@ -21251,6 +21940,11 @@ "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=" }, + "white-space-x": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/white-space-x/-/white-space-x-3.0.1.tgz", + "integrity": "sha512-BwMFXQNPna/4RsNPOgldVYn+FkEv+lc3wUiFzuaW6Z2DH/oSk1UrRD6SBqDgWQO4JU+aBq3PVuPD9Vz0j7mh0w==" + }, "wide-align": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", @@ -21295,6 +21989,25 @@ "errno": "~0.1.7" } }, + "worker-pouch": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/worker-pouch/-/worker-pouch-2.1.0.tgz", + "integrity": "sha512-QNKY1er1rdL+yG6sWdW1Hm7mWDScuIeiCkwY8KLTOsyMqStDYq1b/Zglgk3Yk15VJ60WPlIZPak0T25feFZLqw==", + "requires": { + "argsarray": "0.0.1", + "blob-util": "^1.1.1", + "debug": "^2.1.3", + "inherits": "^2.0.1", + "js-extend": "^1.0.1", + "pouchdb-adapter-http": "6.2.0", + "pouchdb-adapter-idb": "6.2.0", + "pouchdb-binary-util": "^1.0.0", + "pouchdb-core": "6.2.0", + "pouchdb-mapreduce": "6.2.0", + "pouchdb-promise": "6.2.0", + "pouchdb-replication": "6.2.0" + } + }, "wrap-ansi": { "version": "2.1.0", "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", diff --git a/IsraelHiking.Web/package.json b/IsraelHiking.Web/package.json index 3e0a952d9..dc681a471 100644 --- a/IsraelHiking.Web/package.json +++ b/IsraelHiking.Web/package.json @@ -52,6 +52,7 @@ "redux-undo": "1.0.0-beta9-9-7", "rxjs": "6.2.1", "rxjs-compat": "6.2.1", + "worker-pouch": "^2.1.0", "zone.js": "0.8.26" }, "devDependencies": { diff --git a/IsraelHiking.Web/sources/application/application.module.ts b/IsraelHiking.Web/sources/application/application.module.ts index 082e6a57e..4c9494b0d 100644 --- a/IsraelHiking.Web/sources/application/application.module.ts +++ b/IsraelHiking.Web/sources/application/application.module.ts @@ -44,7 +44,7 @@ import { InfiniteScrollModule } from "ngx-infinite-scroll"; import { NgReduxModule, NgRedux } from "@angular-redux/store"; import { AngularOpenlayersModule } from "ngx-openlayers"; import PouchDB from "pouchdb"; - +import WorkerPouch from "worker-pouch"; // services import { GetTextCatalogService } from "./services/gettext-catalog.service"; import { AuthorizationService } from "./services/authorization.service"; @@ -145,7 +145,8 @@ import { classToActionMiddleware } from "./reducres/reducer-action-decorator"; export function initializeApplication(injector: Injector) { return async () => { console.log("Starting IHM Application Initialization"); - let database = new PouchDB("IHM"); + (PouchDB as any).adapter("worker", WorkerPouch); + let database = new PouchDB("IHM", {adapter: "worker"}); let storedState = initialState; try { let dbState = await database.get("state") as any;