From a85400d5706e87bfd0caf1fd1f5c95f51d4280cc Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 8 Feb 2024 10:36:47 +0100 Subject: [PATCH] fixing immoscout --- lib/provider/immoscout.js | 2 +- package.json | 12 ++-- yarn.lock | 114 +++++++++++++++++++------------------- 3 files changed, 64 insertions(+), 64 deletions(-) diff --git a/lib/provider/immoscout.js b/lib/provider/immoscout.js index f91b9fd..7a5e492 100644 --- a/lib/provider/immoscout.js +++ b/lib/provider/immoscout.js @@ -6,7 +6,7 @@ function nullOrEmpty(val) { function normalize(o) { const title = nullOrEmpty(o.title) ? 'NO TITLE FOUND' : o.title.replace('NEU', ''); const address = nullOrEmpty(o.address) ? 'NO ADDRESS FOUND' : (o.address || '').replace(/\(.*\),.*$/, '').trim(); - const link = `https://www.immobilienscout24.de${o.link.substring(o.link.indexOf('/expose'))}`; + const link = nullOrEmpty(o.address) ? 'NO LINK' : `https://www.immobilienscout24.de${o.link.substring(o.link.indexOf('/expose'))}`; return Object.assign(o, { title, address, link }); } function applyBlacklist(o) { diff --git a/package.json b/package.json index 6fdc6bc..08bc7d1 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fredy", - "version": "8.0.1", + "version": "8.0.2", "description": "[F]ind [R]eal [E]states [d]amn eas[y].", "scripts": { "start": "node index.js", @@ -55,7 +55,7 @@ "Firefox ESR" ], "dependencies": { - "@douyinfe/semi-ui": "2.51.3", + "@douyinfe/semi-ui": "2.52.0", "@rematch/core": "2.2.0", "@rematch/loading": "2.1.2", "@sendgrid/mail": "8.1.0", @@ -69,10 +69,10 @@ "lodash": "4.17.21", "lowdb": "6.0.1", "markdown": "^0.5.0", - "nanoid": "5.0.4", + "nanoid": "5.0.5", "node-fetch": "3.3.2", "node-mailjet": "6.0.5", - "query-string": "8.1.0", + "query-string": "8.2.0", "react": "18.2.0", "react-dom": "18.2.0", "react-redux": "9.1.0", @@ -89,7 +89,7 @@ }, "devDependencies": { "@babel/core": "7.23.9", - "@babel/eslint-parser": "7.23.9", + "@babel/eslint-parser": "7.23.10", "@babel/preset-env": "7.23.9", "@babel/preset-react": "7.23.3", "chai": "5.0.3", @@ -102,7 +102,7 @@ "less": "4.2.0", "lint-staged": "13.2.2", "mocha": "10.2.0", - "prettier": "3.2.4", + "prettier": "3.2.5", "redux-logger": "3.0.6" } } diff --git a/yarn.lock b/yarn.lock index 0b7d3d8..2d413d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -99,10 +99,10 @@ json5 "^2.2.3" semver "^6.3.1" -"@babel/eslint-parser@7.23.9": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.23.9.tgz#052c13b39144e21fdd1e03fc9b67e98976a1ebfc" - integrity sha512-xPndlO7qxiJbn0ATvfXQBjCS7qApc9xmKHArgI/FTEFxXas5dnjC/VqM37lfZun9dclRYcn+YQAr6uDFy0bB2g== +"@babel/eslint-parser@7.23.10": + version "7.23.10" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.23.10.tgz#2d4164842d6db798873b40e0c4238827084667a2" + integrity sha512-3wSYDPZVnhseRnxRJH6ZVTNknBz76AEnyC+AYYhasjP3Yy23qz0ERR7Fcd2SHmYuSFJ2kY9gaaDd3vyqU09eSw== dependencies: "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" eslint-visitor-keys "^2.1.0" @@ -1231,33 +1231,33 @@ dependencies: tslib "^2.0.0" -"@douyinfe/semi-animation-react@2.51.3": - version "2.51.3" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation-react/-/semi-animation-react-2.51.3.tgz#3fb47e3d75af7bc6430516ce240cb995cede51d4" - integrity sha512-esalw4JW6IkzH6BkLvxHmogBlEuFDVmcPN5XNgpjpZCWUGk/qYHExxQ4Fcyp5BCNJDrKNgah4OOUDVPAzBiFPQ== +"@douyinfe/semi-animation-react@2.52.0": + version "2.52.0" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation-react/-/semi-animation-react-2.52.0.tgz#56e3b965e6008d8d177c69953cffa30cbf9f4b1c" + integrity sha512-9qZIeNUvhhvHkLq+BFuX+S8iols47P6B0ftUrGgYec9U+yePhXk5KnZCfmq6dxN4DRTVLzYOydqJS+jRStod3A== dependencies: - "@douyinfe/semi-animation" "2.51.3" - "@douyinfe/semi-animation-styled" "2.51.3" + "@douyinfe/semi-animation" "2.52.0" + "@douyinfe/semi-animation-styled" "2.52.0" classnames "^2.2.6" -"@douyinfe/semi-animation-styled@2.51.3": - version "2.51.3" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation-styled/-/semi-animation-styled-2.51.3.tgz#c5c2136c5ef9659b387986e91bff8e5a7fe2c16b" - integrity sha512-wb59wgq23ZRh/ma47CW6KDOU9U8PH/j12sk6pvLRPVmCsKQC+Ir3t+TIGOsEAAuaNN860KnW6ks2iJKfgS/2DQ== +"@douyinfe/semi-animation-styled@2.52.0": + version "2.52.0" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation-styled/-/semi-animation-styled-2.52.0.tgz#77a77a30b0a8907c10a6d98ef08dd43004a28ae0" + integrity sha512-YJeAhh7CnIMlvE3toV2Kz8cxJSFihuKRgHdJ8HSLnn8kTRnofmT1OEBzjJQIH5GlBsHUKikgyDm6y/6oHZjHtA== -"@douyinfe/semi-animation@2.51.3": - version "2.51.3" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation/-/semi-animation-2.51.3.tgz#b8563d6d2f138f0e8a4eff52d509e24a143ee5d3" - integrity sha512-S9MUvbzHQoV70G29QNpdJvOnGvU5NoQjZDEgcBSBVLcuAVXVTgbl3Syld0CYSzWfVUIdTbK9l7eHYPN2D1Bf0w== +"@douyinfe/semi-animation@2.52.0": + version "2.52.0" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation/-/semi-animation-2.52.0.tgz#758299fb64564706e606382d759639983a40568d" + integrity sha512-tuZCs+I/MzAW8FkZIkOPeg29W+zj1Z6C7GJeNcgyuCcFLzsGOvL4YzfR7EjSa2xQceXd7wKo6io/MUmX2jJeZQ== dependencies: bezier-easing "^2.1.0" -"@douyinfe/semi-foundation@2.51.3": - version "2.51.3" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-foundation/-/semi-foundation-2.51.3.tgz#dc277b1bd21d742cf579a2f7e0b7f278344ef1f9" - integrity sha512-Tx9AVTkLhgaSsUo36XZP6OJhNPKE3qUv8u9STy/eDfCdZtBeqG0Zy5A6AkAR3Mnhp4PHyT8Nu8ix+XEcFS/tQQ== +"@douyinfe/semi-foundation@2.52.0": + version "2.52.0" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-foundation/-/semi-foundation-2.52.0.tgz#0ff113b156bcc93fcaf861c79b9ef7141fe1fbb1" + integrity sha512-P7WiSI7BiSH6GNki+Z/3MU6B59ylchMBqvK3Uo7zezaci+/2IJ+siawzOja+nfFXUtDSCR/v/pTK1SA23SF+wg== dependencies: - "@douyinfe/semi-animation" "2.51.3" + "@douyinfe/semi-animation" "2.52.0" async-validator "^3.5.0" classnames "^2.2.6" date-fns "^2.29.3" @@ -1266,39 +1266,39 @@ memoize-one "^5.2.1" scroll-into-view-if-needed "^2.2.24" -"@douyinfe/semi-icons@2.51.3": - version "2.51.3" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-icons/-/semi-icons-2.51.3.tgz#6a854cdee14e6e2366509d134185ab20846e80c1" - integrity sha512-jH2XEF3CIvMkPjTc0tNMw+VMFx+xP4DthGmfsyqDR2+wUMqtW+mW8Z5wee/rumyBuEKNEwifHNU6NskNNywLHw== +"@douyinfe/semi-icons@2.52.0": + version "2.52.0" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-icons/-/semi-icons-2.52.0.tgz#28d708b27b57a2db8c8fd192a9e719d0dd29485f" + integrity sha512-58nzysxgMj5fLLf4owbtgT+53Mwigl+Qh9RC+e+7EPQY3jBcB4a3p1EtjKF8mh6wPyQIxTKTv2bfWVj2ke+L/Q== dependencies: classnames "^2.2.6" -"@douyinfe/semi-illustrations@2.51.3": - version "2.51.3" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-illustrations/-/semi-illustrations-2.51.3.tgz#38db96231193daef5fd4710706ac6e1aec1a0b9c" - integrity sha512-UK7i8+MT/pDwRMgOOint+JjnjdL2XsAGiMVKXsaxB4dz2OO+xa4QYcXg5Y62ggJwebKeKXJP0J22Dm3SG+hpxw== +"@douyinfe/semi-illustrations@2.52.0": + version "2.52.0" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-illustrations/-/semi-illustrations-2.52.0.tgz#2590bda5f783c0bc94d11994150e0a0cf60a9164" + integrity sha512-yUn+tEASSnuGwxWmb3WfV00JrYueqK2Z/6ASFunPZ5RzGgJdOrAK+pN1KGpOeY9PPJqpimEqUdGlG6ApJAtiww== -"@douyinfe/semi-theme-default@2.51.3": - version "2.51.3" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-theme-default/-/semi-theme-default-2.51.3.tgz#f65a21d18ea237ea966e3fee75c5df9e81b95e7a" - integrity sha512-WH3O3igZiYR2s2tPCyMz6GJmrITcP32gAgPCth7W6KofD3ez2JNDYhtSmwnsKEya9N3ER8ADRroZNbVrI4gK8A== +"@douyinfe/semi-theme-default@2.52.0": + version "2.52.0" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-theme-default/-/semi-theme-default-2.52.0.tgz#a90b58879226dc51101dffad3d6c7bfbb7ee98e0" + integrity sha512-Ybfol9KOyEnw4UgjoeeAxqShrjk/jPPPvPFZek7AQxTqNzLPJZNxFZrH1qlKphPtVuqNuImJFANK9Wczzq6Rxg== dependencies: glob "^7.1.6" -"@douyinfe/semi-ui@2.51.3": - version "2.51.3" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-ui/-/semi-ui-2.51.3.tgz#b670e25b1af256112797061ecec18753cf39e9f1" - integrity sha512-uqyEeH9OrNpp4VOK/wKzpteEYoGaYv4IIJ9oYyyGGFpZgF4ev2azRs/rNGWgrPMYDCw/jAc32QD/edaBIsNbVQ== +"@douyinfe/semi-ui@2.52.0": + version "2.52.0" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-ui/-/semi-ui-2.52.0.tgz#1b52a41997cdaa92bb372885ba79c7a265986d16" + integrity sha512-K/u1nMvTttUw6+IrArUhbYvTsKtkLQd2kkfpu+aHD1TMlf0r2Na9g7ny1KzXovrzzRc1LXYDCyTz1U3YybrsOg== dependencies: "@dnd-kit/core" "^6.0.8" "@dnd-kit/sortable" "^7.0.2" "@dnd-kit/utilities" "^3.2.1" - "@douyinfe/semi-animation" "2.51.3" - "@douyinfe/semi-animation-react" "2.51.3" - "@douyinfe/semi-foundation" "2.51.3" - "@douyinfe/semi-icons" "2.51.3" - "@douyinfe/semi-illustrations" "2.51.3" - "@douyinfe/semi-theme-default" "2.51.3" + "@douyinfe/semi-animation" "2.52.0" + "@douyinfe/semi-animation-react" "2.52.0" + "@douyinfe/semi-foundation" "2.52.0" + "@douyinfe/semi-icons" "2.52.0" + "@douyinfe/semi-illustrations" "2.52.0" + "@douyinfe/semi-theme-default" "2.52.0" async-validator "^3.5.0" classnames "^2.2.6" copy-text-to-clipboard "^2.1.1" @@ -4550,10 +4550,10 @@ nanoid@3.3.3: resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz" integrity sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w== -nanoid@5.0.4: - version "5.0.4" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-5.0.4.tgz#d2b608d8169d7da669279127615535705aa52edf" - integrity sha512-vAjmBf13gsmhXSgBrtIclinISzFFy22WwCYoyilZlsrRXNIHSwgFQ1bEdjRwMT3aoadeIF6HMuDRlOxzfXV8ig== +nanoid@5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-5.0.5.tgz#5112efb5c0caf4fc80680d66d303c65233a79fdd" + integrity sha512-/Veqm+QKsyMY3kqi4faWplnY1u+VuKO3dD2binyPIybP31DRO29bPF+1mszgLnrR2KqSLceFLBNw0zmvDzN1QQ== nanoid@^3.3.7: version "3.3.7" @@ -4998,10 +4998,10 @@ prelude-ls@^1.2.1: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prettier@3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.4.tgz#4723cadeac2ce7c9227de758e5ff9b14e075f283" - integrity sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ== +prettier@3.2.5: + version "3.2.5" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368" + integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A== process-nextick-args@~2.0.0: version "2.0.1" @@ -5066,10 +5066,10 @@ qs@^6.5.1: resolved "https://registry.npmjs.org/qs/-/qs-6.9.1.tgz" integrity sha512-Cxm7/SS/y/Z3MHWSxXb8lIFqgqBowP5JMlTUFyJN88y0SGQhVmZnqFK/PeuMX9LzUyWsqqhNxIyg0jlzq946yA== -query-string@8.1.0: - version "8.1.0" - resolved "https://registry.npmjs.org/query-string/-/query-string-8.1.0.tgz" - integrity sha512-BFQeWxJOZxZGix7y+SByG3F36dA0AbTy9o6pSmKFcFz7DAj0re9Frkty3saBn3nHo3D0oZJ/+rx3r8H8r8Jbpw== +query-string@8.2.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-8.2.0.tgz#f0b0ef6caa85f525dbdb745a67d3f8c08d71cc6b" + integrity sha512-tUZIw8J0CawM5wyGBiDOAp7ObdRQh4uBor/fUR9ZjmbZVvw95OD9If4w3MQxr99rg0DJZ/9CIORcpEqU5hQG7g== dependencies: decode-uri-component "^0.4.1" filter-obj "^5.1.0"