diff --git a/.env b/.env new file mode 100644 index 0000000..cd91ce2 --- /dev/null +++ b/.env @@ -0,0 +1,6 @@ +NAME=Idealista Enhancer +DESCRIPTION=Just some information for idealista.com +VERSION=0.2.2 +AUTHOR=Midefos +NAMESPACE=https://git.midefos.com/midefos +MATCH=https://www.idealista.com/* \ No newline at end of file diff --git a/index.html b/index.html deleted file mode 100644 index b2d4dfe..0000000 --- a/index.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Localidades - Idealista Enhancer - - - - - - - - - - - -
- -
-
-
-
- - -
- -
-
-
- -
-
-
-
- Localidades -

Un total de 0 localicades.

- - - - - - - - -
Nombre + extension de ficheroAcciones
-
-
-
-
-
- - - - \ No newline at end of file diff --git a/locations/Abiego.json b/locations/Abiego.json deleted file mode 100644 index adc4586..0000000 --- a/locations/Abiego.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Abiego", - "altitude": 539, - "bus": false, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Alcampell.json b/locations/Alcampell.json deleted file mode 100644 index b38b3eb..0000000 --- a/locations/Alcampell.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Alcampell", - "altitude": 499, - "bus": false, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/T1aXpvzE2bixTQdU9" - } - ], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Ansó.json b/locations/Ansó.json deleted file mode 100644 index 90f1383..0000000 --- a/locations/Ansó.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Ansó", - "altitude": 860, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/sScuQ6BApZzrFZwN9" - } - ], - "pool": false, - "gym": false -} \ No newline at end of file diff --git a/locations/AragüésdelPuerto.json b/locations/AragüésdelPuerto.json deleted file mode 100644 index a96843d..0000000 --- a/locations/AragüésdelPuerto.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "Aragüés del Puerto", - "altitude": 970, - "bus": false, - "train": false, - "pharmacy": true, - "smoke": false, - "supermarkets": [{ - "type": "CUSTOM", - "url": "https://goo.gl/maps/8Qukf8FzqMYXkhPt8" - }], - "pool": false, - "gym": false -} \ No newline at end of file diff --git a/locations/Arén.json b/locations/Arén.json deleted file mode 100644 index 9506692..0000000 --- a/locations/Arén.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Arén", - "altitude": 709, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": false, - "supermarkets": [ - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/tQbAmognmkZLsmXm8" - } - ], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Azara.json b/locations/Azara.json deleted file mode 100644 index cdd5be7..0000000 --- a/locations/Azara.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Azara", - "altitude": 429, - "bus": false, - "train": false, - "pharmacy": false, - "smoke": false, - "supermarkets": [], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Barbastro.json b/locations/Barbastro.json deleted file mode 100644 index da70bf6..0000000 --- a/locations/Barbastro.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "Barbastro", - "altitude": 341, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "ALCAMPO", - "url": "https://goo.gl/maps/5c7VmFy66WxjtGkr6" - }, - { - "type": "MERCADONA", - "url": "https://goo.gl/maps/PtPtymaqyRh3hk257" - }, - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/2ms5uamtF1YiaU2w6" - }, - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/PcxxfJJxDBna2FDY9" - }, - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/TEebD4kT9gurwnk99" - }, - { - "type": "EROSKI", - "url": "https://goo.gl/maps/Y7NJMtjwPKAE7brY7" - }, - { - "type": "ALCAMPO", - "url": "https://goo.gl/maps/YoJmdoGQq7k2Ycea8" - }, - { - "type": "DIA", - "url": "https://goo.gl/maps/PjhVYXDsXXKv4ctr7" - }, - { - "type": "ALDI", - "url": "https://goo.gl/maps/cc4aqH8xPg9jMhjS9" - }, - { - "type": "LIDL", - "url": "https://goo.gl/maps/p3vZbwQVmeWeJ5GU7" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/Benaberre.json b/locations/Benaberre.json deleted file mode 100644 index aacbfb5..0000000 --- a/locations/Benaberre.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Benaberre", - "altitude": 788, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "BONAREA", - "url": "https://goo.gl/maps/83VHKrxpDTQAxka89" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/3GHgT2PCnYys1TW88" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/GbqqKmxKZFbKTyxL6" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/Bielsa.json b/locations/Bielsa.json deleted file mode 100644 index 707b7df..0000000 --- a/locations/Bielsa.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Bielsa", - "altitude": 1034, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "SPAR", - "url": "https://goo.gl/maps/KGhqH8SwMJrcwPse8" - } - ], - "pool": false, - "gym": true -} \ No newline at end of file diff --git a/locations/Biescas.json b/locations/Biescas.json deleted file mode 100644 index 35bef2a..0000000 --- a/locations/Biescas.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Biescas", - "altitude": 875, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "DIA", - "url": "https://goo.gl/maps/cfviYq8Uaf9MR9bz8" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/tiLmbypdyGBGPtJKA" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/Boltaña.json b/locations/Boltaña.json deleted file mode 100644 index 7e67735..0000000 --- a/locations/Boltaña.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "Boltaña", - "altitude": 643, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": false, - "supermarkets": [ - { - "type": "ALCAMPO", - "url": "https://goo.gl/maps/JZ8mx7eepcLNHpCk8" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/GF6RqYUH97dC8hVq8" - }, - { - "type": "CUSTOM", - "url": "https://g.page/autoservicio-almanzuelas?share" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/Y97pEhZhs4V3DyVn9" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/Broto.json b/locations/Broto.json deleted file mode 100644 index 470a548..0000000 --- a/locations/Broto.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Broto", - "altitude": 905, - "bus": false, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "EROSKI", - "url": "https://goo.gl/maps/MzHWhbcC3SAq3a9S6" - }, - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/PB1mx4GUPMPdfuaX7" - } - ], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Camporrélls.json b/locations/Camporrélls.json deleted file mode 100644 index 5c9b805..0000000 --- a/locations/Camporrélls.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Camporrélls", - "altitude": 665, - "bus": true, - "train": false, - "pharmacy": false, - "smoke": false, - "supermarkets": [], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/CastiellodeJaca.json b/locations/CastiellodeJaca.json deleted file mode 100644 index b90da6e..0000000 --- a/locations/CastiellodeJaca.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Castiello de Jaca", - "altitude": 921, - "bus": true, - "train": false, - "pharmacy": false, - "smoke": false, - "supermarkets": [], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Colungo.json b/locations/Colungo.json deleted file mode 100644 index 7795130..0000000 --- a/locations/Colungo.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Colungo", - "altitude": 609, - "bus": false, - "train": false, - "pharmacy": false, - "smoke": false, - "supermarkets": [], - "pool": false, - "gym": false -} \ No newline at end of file diff --git a/locations/Estada.json b/locations/Estada.json deleted file mode 100644 index 00f324e..0000000 --- a/locations/Estada.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Estada", - "altitude": 382, - "bus": true, - "train": false, - "pharmacy": false, - "smoke": false, - "supermarkets": [], - "pool": false, - "gym": false -} \ No newline at end of file diff --git a/locations/Estadilla.json b/locations/Estadilla.json deleted file mode 100644 index 3c4c631..0000000 --- a/locations/Estadilla.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Estadilla", - "altitude": 450, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/grXMHte1t5xMCGdSA" - } - ], - "pool": false, - "gym": false -} \ No newline at end of file diff --git a/locations/Formigal.json b/locations/Formigal.json deleted file mode 100644 index 626c0b6..0000000 --- a/locations/Formigal.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Formigal", - "altitude": 1550, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "ALCAMPO", - "url": "https://goo.gl/maps/39e37qJLNw2WkZci9" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/Graus.json b/locations/Graus.json deleted file mode 100644 index 3a5ecc1..0000000 --- a/locations/Graus.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "Graus", - "altitude": 469, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "EROSKI", - "url": "https://g.page/eroski-city-graus?share" - }, - { - "type": "BONAREA", - "url": "https://goo.gl/maps/CnPyE9PhpsdKMF5N7" - }, - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/yZofjAm8awFZnNf37" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/KadcU8SoTR2Hx3hd6" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/snEwKUjc49SCbX986" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/Isaba.json b/locations/Isaba.json deleted file mode 100644 index 715ed9d..0000000 --- a/locations/Isaba.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Isaba", - "altitude": 816, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": false, - "supermarkets": [ - { - "type": "COVIRAN", - "url": "https://goo.gl/maps/9zA6ywhaMKXbSWF89" - }, - { - "type": "UDACO", - "url": "https://goo.gl/maps/fB5pZ3WENSqEG2Wt5" - } - ], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Liédena.json b/locations/Liédena.json deleted file mode 100644 index 5c4253a..0000000 --- a/locations/Liédena.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Liédena", - "altitude": 432, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/Ochagavia.json b/locations/Ochagavia.json deleted file mode 100644 index cefe4b6..0000000 --- a/locations/Ochagavia.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Ochagavía", - "altitude": 764, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "COVIRAN", - "url": "https://goo.gl/maps/fqWMJyHj9SrNZkBEA" - }, - { - "type": "COALIMENT", - "url": "https://goo.gl/maps/gQ78eAAS43dqWMUW9" - } - ], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Panticosa.json b/locations/Panticosa.json deleted file mode 100644 index 500acbe..0000000 --- a/locations/Panticosa.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Panticosa", - "altitude": 1184, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/Z3nT2o84YMX9enpw8" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/PuentedeMontañana.json b/locations/PuentedeMontañana.json deleted file mode 100644 index a199828..0000000 --- a/locations/PuentedeMontañana.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Puente de Montañana", - "altitude": 528, - "bus": true, - "train": false, - "pharmacy": false, - "smoke": false, - "supermarkets": [], - "pool": false, - "gym": false -} \ No newline at end of file diff --git a/locations/PuentelaReinadeJaca.json b/locations/PuentelaReinadeJaca.json deleted file mode 100644 index 19d229d..0000000 --- a/locations/PuentelaReinadeJaca.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Puente la Reina de Jaca", - "altitude": 707, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": false, - "supermarkets": [ - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/ioeCNKvhrsgn42gu5" - } - ], - "pool": false, - "gym": false -} \ No newline at end of file diff --git a/locations/Sabiñanigo.json b/locations/Sabiñanigo.json deleted file mode 100644 index 43b301a..0000000 --- a/locations/Sabiñanigo.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Sabiñanigo", - "altitude": 780, - "bus": true, - "train": true, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "MERCADONA", - "url": "https://goo.gl/maps/jbW6bSRmBBon8xLB6" - }, - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/upDgfY95kp5x6LzCA" - }, - { - "type": "DIA", - "url": "https://goo.gl/maps/kqXtz7X3nPt4YxZL8" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/SallentdeGallego.json b/locations/SallentdeGallego.json deleted file mode 100644 index 0551068..0000000 --- a/locations/SallentdeGallego.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Sallent de Gallego", - "altitude": 1305, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "ALCAMPO", - "url": "https://goo.gl/maps/JQVoBvucXwRMos8u9" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/sPbbdQ6ENUcBgZC18" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/sPbbdQ6ENUcBgZC18" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/SanJuandePlan.json b/locations/SanJuandePlan.json deleted file mode 100644 index fdc43c1..0000000 --- a/locations/SanJuandePlan.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "San Juan de Plan", - "altitude": 1120, - "bus": false, - "train": false, - "pharmacy": false, - "smoke": false, - "supermarkets": [ - { - "type": "SUMA", - "url": "https://goo.gl/maps/gfyi26FV6iw3QS5E9" - }, - { - "type": "SIMPLY", - "url": "https://goo.gl/maps/SsQPLC2XzAwWX5gw8" - } - ], - "pool": false, - "gym": false -} \ No newline at end of file diff --git a/locations/Sangüesa.json b/locations/Sangüesa.json deleted file mode 100644 index cb42d75..0000000 --- a/locations/Sangüesa.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "Sangüesa", - "altitude": 404, - "bus": true, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "BM", - "url": "https://goo.gl/maps/GvwtpFsT3TD25w7g7" - }, - { - "type": "COVIRAN", - "url": "https://goo.gl/maps/AbVahZ5DtMjkYrS26" - }, - { - "type": "EROSKI", - "url": "https://goo.gl/maps/Z5WdBxcDrjUKKAWf7" - }, - { - "type": "DIA", - "url": "https://goo.gl/maps/KNeX8T9YPwtnphyn6" - }, - { - "type": "UNIDE", - "url": "https://goo.gl/maps/oRHcLmLDNHkv6hV17" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/ValledeHecho.json b/locations/ValledeHecho.json deleted file mode 100644 index 03a162f..0000000 --- a/locations/ValledeHecho.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Hecho", - "altitude": 953, - "bus": false, - "train": false, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/XRmwSrE5HcQzJbdF6" - } - ], - "pool": true, - "gym": false -} \ No newline at end of file diff --git a/locations/Villanúa.json b/locations/Villanúa.json deleted file mode 100644 index 87d5b8e..0000000 --- a/locations/Villanúa.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Villanúa", - "altitude": 953, - "bus": true, - "train": true, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "ALTO_ARAGON", - "url": "https://goo.gl/maps/DKqzDFWMM7ce7n417" - }, - { - "type": "CUSTOM", - "url": "https://goo.gl/maps/JR2yKpzoWnzWbdT17" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/locations/Zaragoza.json b/locations/Zaragoza.json deleted file mode 100644 index fabe89f..0000000 --- a/locations/Zaragoza.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Zaragoza", - "altitude": 243, - "bus": true, - "train": true, - "pharmacy": true, - "smoke": true, - "supermarkets": [ - { - "type": "DIA", - "url": "https://goo.gl/maps/NLCXd7GdYWS2wgBMA" - } - ], - "pool": true, - "gym": true -} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 7a682bf..b40d017 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,13 +4,15 @@ "requires": true, "packages": { "": { + "name": "idealista-enhancer", "license": "MIT", "devDependencies": { "@babel/core": "^7.18.6", "@babel/preset-env": "^7.18.6", "babelify": "^10.0.0", "browserify": "^17.0.0", - "browserify-banner": "^2.0.4" + "browserify-banner": "^2.0.4", + "dotenv": "^16.0.3" } }, "node_modules/@ampproject/remapping": { @@ -39,30 +41,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.20.14", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.20.14.tgz", - "integrity": "sha512-0YpKHD6ImkWMEINCyDAD0HLLUH/lPCefG8ld9it8DJB2wnApraKuhgYTvTY1z7UFIfBTGy5LwncZ+5HWWGbhFw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.0.tgz", + "integrity": "sha512-gMuZsmsgxk/ENC3O/fRw5QY8A9/uxQbbCEypnLIiYYc/qVJtEV7ouxC3EllIIwNzMqAQee5tanFabWsUOutS7g==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.20.12", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz", - "integrity": "sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.0.tgz", + "integrity": "sha512-PuxUbxcW6ZYe656yL3EAhpy7qXKq0DmYsrJLpbB8XrsCP9Nm+XCg9XFMb5vIDliPD7+U/+M+QJlH17XOcB7eXA==", "dev": true, "dependencies": { - "@ampproject/remapping": "^2.1.0", + "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.7", + "@babel/generator": "^7.21.0", "@babel/helper-compilation-targets": "^7.20.7", - "@babel/helper-module-transforms": "^7.20.11", - "@babel/helpers": "^7.20.7", - "@babel/parser": "^7.20.7", + "@babel/helper-module-transforms": "^7.21.0", + "@babel/helpers": "^7.21.0", + "@babel/parser": "^7.21.0", "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.12", - "@babel/types": "^7.20.7", + "@babel/traverse": "^7.21.0", + "@babel/types": "^7.21.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -78,13 +80,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.20.14", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.14.tgz", - "integrity": "sha512-AEmuXHdcD3A52HHXxaTmYlb8q/xMEhoRP67B3T4Oq7lbmSoqroMZzjnGj3+i1io3pdnF8iBYVu4Ilj+c4hBxYg==", + "version": "7.21.1", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.1.tgz", + "integrity": "sha512-1lT45bAYlQhFn/BHivJs43AiW2rg3/UbLyShGfF3C0KmHvO5fSghWd5kBJy30kpRRucGzXStvnnCFniCR2kXAA==", "dev": true, "dependencies": { - "@babel/types": "^7.20.7", + "@babel/types": "^7.21.0", "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" }, "engines": { @@ -150,15 +153,15 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.20.12", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.12.tgz", - "integrity": "sha512-9OunRkbT0JQcednL0UFvbfXpAsUXiGjUk0a7sN8fUXX7Mue79cUSMjHGDRRi/Vz9vYlpIhLV5fMD5dKoMhhsNQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.0.tgz", + "integrity": "sha512-Q8wNiMIdwsv5la5SPxNYzzkPnjgC0Sy0i7jLkVOCdllu/xcVNkr3TeZzbHBJrj+XXRqzX5uCyCoV9eu6xUG7KQ==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", - "@babel/helper-member-expression-to-functions": "^7.20.7", + "@babel/helper-function-name": "^7.21.0", + "@babel/helper-member-expression-to-functions": "^7.21.0", "@babel/helper-optimise-call-expression": "^7.18.6", "@babel/helper-replace-supers": "^7.20.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", @@ -172,13 +175,13 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.20.5.tgz", - "integrity": "sha512-m68B1lkg3XDGX5yCvGO0kPx3v9WIYLnzjKfPcQiwntEQa5ZeRkPmo2X/ISJc8qxWGfwUr+kvZAeEzAwLec2r2w==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.21.0.tgz", + "integrity": "sha512-N+LaFW/auRSWdx7SHD/HiARwXQju1vXTW4fKr4u5SgBUTm51OKEjKgj+cs00ggW3kEvNqwErnlwuq7Y3xBe4eg==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", - "regexpu-core": "^5.2.1" + "regexpu-core": "^5.3.1" }, "engines": { "node": ">=6.9.0" @@ -226,13 +229,13 @@ } }, "node_modules/@babel/helper-function-name": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", - "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz", + "integrity": "sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==", "dev": true, "dependencies": { - "@babel/template": "^7.18.10", - "@babel/types": "^7.19.0" + "@babel/template": "^7.20.7", + "@babel/types": "^7.21.0" }, "engines": { "node": ">=6.9.0" @@ -251,12 +254,12 @@ } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.20.7.tgz", - "integrity": "sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.0.tgz", + "integrity": "sha512-Muu8cdZwNN6mRRNG6lAYErJ5X3bRevgYR2O8wN0yn7jJSnGDu6eG59RfT29JHxGUovyfrh6Pj0XzmR7drNVL3Q==", "dev": true, "dependencies": { - "@babel/types": "^7.20.7" + "@babel/types": "^7.21.0" }, "engines": { "node": ">=6.9.0" @@ -275,9 +278,9 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.20.11", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz", - "integrity": "sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz", + "integrity": "sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.18.9", @@ -286,8 +289,8 @@ "@babel/helper-split-export-declaration": "^7.18.6", "@babel/helper-validator-identifier": "^7.19.1", "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.10", - "@babel/types": "^7.20.7" + "@babel/traverse": "^7.21.2", + "@babel/types": "^7.21.2" }, "engines": { "node": ">=6.9.0" @@ -404,9 +407,9 @@ } }, "node_modules/@babel/helper-validator-option": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", - "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz", + "integrity": "sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==", "dev": true, "engines": { "node": ">=6.9.0" @@ -428,14 +431,14 @@ } }, "node_modules/@babel/helpers": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.20.13.tgz", - "integrity": "sha512-nzJ0DWCL3gB5RCXbUO3KIMMsBY2Eqbx8mBpKGE/02PgyRQFcPQLbkQ1vyy596mZLaP+dAfD+R4ckASzNVmW3jg==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz", + "integrity": "sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==", "dev": true, "dependencies": { "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.13", - "@babel/types": "^7.20.7" + "@babel/traverse": "^7.21.0", + "@babel/types": "^7.21.0" }, "engines": { "node": ">=6.9.0" @@ -456,9 +459,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.20.15", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.15.tgz", - "integrity": "sha512-DI4a1oZuf8wC+oAJA9RW6ga3Zbe8RZFt7kD9i4qAspz3I/yHet1VvC3DiSy/fsUvv5pvJuNPh0LPOdCcqinDPg==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.2.tgz", + "integrity": "sha512-URpaIJQwEkEC2T9Kn+Ai6Xe/02iNaVCuT/PtoRz3GPVJVDpPd7mLo+VddTbhCRU9TXqW5mSrQfXZyi8kDKOVpQ==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -534,12 +537,12 @@ } }, "node_modules/@babel/plugin-proposal-class-static-block": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.20.7.tgz", - "integrity": "sha512-AveGOoi9DAjUYYuUAG//Ig69GlazLnoyzMw68VCDux+c1tsnnH/OkYcpz/5xzMkEFC6UxjR5Gw1c+iY2wOGVeQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz", + "integrity": "sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.20.7", + "@babel/helper-create-class-features-plugin": "^7.21.0", "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-class-static-block": "^7.14.5" }, @@ -682,9 +685,9 @@ } }, "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.20.7.tgz", - "integrity": "sha512-T+A7b1kfjtRM51ssoOfS1+wbyCVqorfyZhT99TvxxLMirPShD8CzKMRepMlCBGM5RpHMbn8s+5MMHnPstJH6mQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz", + "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.20.2", @@ -715,13 +718,13 @@ } }, "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.20.5.tgz", - "integrity": "sha512-Vq7b9dUA12ByzB4EjQTPo25sFhY+08pQDBSZRtUAkj7lb7jahaHR5igera16QZ+3my1nYR4dKsNdYj5IjPHilQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0.tgz", + "integrity": "sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", - "@babel/helper-create-class-features-plugin": "^7.20.5", + "@babel/helper-create-class-features-plugin": "^7.21.0", "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" }, @@ -988,9 +991,9 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.20.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.20.15.tgz", - "integrity": "sha512-Vv4DMZ6MiNOhu/LdaZsT/bsLRxgL94d269Mv4R/9sp6+Mp++X/JqypZYypJXLlM4mlL352/Egzbzr98iABH1CA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.21.0.tgz", + "integrity": "sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.20.2" @@ -1003,15 +1006,15 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.20.7.tgz", - "integrity": "sha512-LWYbsiXTPKl+oBlXUGlwNlJZetXD5Am+CyBdqhPsDVjM9Jc8jwBJFrKhHf900Kfk2eZG1y9MAG3UNajol7A4VQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.21.0.tgz", + "integrity": "sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", "@babel/helper-compilation-targets": "^7.20.7", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", + "@babel/helper-function-name": "^7.21.0", "@babel/helper-optimise-call-expression": "^7.18.6", "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-replace-supers": "^7.20.7", @@ -1104,12 +1107,12 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.18.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz", - "integrity": "sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.0.tgz", + "integrity": "sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1182,12 +1185,12 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.20.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.20.11.tgz", - "integrity": "sha512-S8e1f7WQ7cimJQ51JkAaDrEtohVEitXjgCGAS2N8S31Y42E+kWwfSz83LYz57QdBm7q9diARVqanIaH2oVgQnw==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.2.tgz", + "integrity": "sha512-Cln+Yy04Gxua7iPdj6nOV96smLGjpElir5YwzF0LBPKoPlLDNJePNlrGGaybAJkd0zKRnOVXOgizSqPYMNYkzA==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.20.11", + "@babel/helper-module-transforms": "^7.21.2", "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-simple-access": "^7.20.2" }, @@ -1559,9 +1562,9 @@ "dev": true }, "node_modules/@babel/runtime": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz", - "integrity": "sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", + "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", "dev": true, "dependencies": { "regenerator-runtime": "^0.13.11" @@ -1585,19 +1588,19 @@ } }, "node_modules/@babel/traverse": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.13.tgz", - "integrity": "sha512-kMJXfF0T6DIS9E8cgdLCSAL+cuCK+YEZHWiLK0SXpTo8YRj5lpJu3CDNKiIBCne4m9hhTIqUg6SYTAI39tAiVQ==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.2.tgz", + "integrity": "sha512-ts5FFU/dSUPS13tv8XiEObDu9K+iagEKME9kAbaP7r0Y9KtZJZ+NGndDvWoRAYNpeWafbpFeki3q9QoMD6gxyw==", "dev": true, "dependencies": { "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.7", + "@babel/generator": "^7.21.1", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", + "@babel/helper-function-name": "^7.21.0", "@babel/helper-hoist-variables": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.20.13", - "@babel/types": "^7.20.7", + "@babel/parser": "^7.21.2", + "@babel/types": "^7.21.2", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -1606,9 +1609,9 @@ } }, "node_modules/@babel/types": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.7.tgz", - "integrity": "sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.2.tgz", + "integrity": "sha512-3wRZSs7jiFaB8AjxiiD+VqN5DTG2iRvJGQ+qYFrs/654lg6kGTQWIOFjlBo5RaXuAZjBmP3+OQH4dmhqiiyYxw==", "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.19.4", @@ -1684,9 +1687,9 @@ } }, "node_modules/@jsdevtools/browserify-banner/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.1.tgz", + "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -2075,9 +2078,9 @@ } }, "node_modules/browserify-sign/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.1.tgz", + "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -2173,9 +2176,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001451", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001451.tgz", - "integrity": "sha512-XY7UbUpGRatZzoRft//5xOa69/1iGJRBlrieH6QYrkKLIFn3m7OVEJ81dSrKoy2BnKsdbX5cLrOispZNYo9v2w==", + "version": "1.0.30001457", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001457.tgz", + "integrity": "sha512-SDIV6bgE1aVbK6XyxdURbUE89zY7+k1BBBaOwYwkNCglXlel/E7mELiHC64HQ+W0xSKlqWhV9Wh7iHxUjMs4fA==", "dev": true, "funding": [ { @@ -2285,12 +2288,12 @@ "dev": true }, "node_modules/core-js-compat": { - "version": "3.27.2", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.27.2.tgz", - "integrity": "sha512-welaYuF7ZtbYKGrIy7y3eb40d37rG1FvzEOfe7hSLd2iD6duMDqUhRfSvCGyC46HhR6Y8JXXdZ2lnRUMkPBpvg==", + "version": "3.28.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.28.0.tgz", + "integrity": "sha512-myzPgE7QodMg4nnd3K1TDoES/nADRStM8Gpz0D6nhkwbmwEnE0ZGJgoWsvQ722FR8D7xS0n0LV556RcEicjTyg==", "dev": true, "dependencies": { - "browserslist": "^4.21.4" + "browserslist": "^4.21.5" }, "funding": { "type": "opencollective", @@ -2469,6 +2472,15 @@ "npm": ">=1.2" } }, + "node_modules/dotenv": { + "version": "16.0.3", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", + "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==", + "dev": true, + "engines": { + "node": ">=12" + } + }, "node_modules/duplexer2": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", @@ -2479,9 +2491,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.295", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.295.tgz", - "integrity": "sha512-lEO94zqf1bDA3aepxwnWoHUjA8sZ+2owgcSZjYQy0+uOSEclJX0VieZC+r+wLpSxUHRd6gG32znTWmr+5iGzFw==", + "version": "1.4.311", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.311.tgz", + "integrity": "sha512-RoDlZufvrtr2Nx3Yx5MB8jX3aHIxm8nRWPJm3yVvyHmyKaRvn90RjzB6hNnt0AkhS3IInJdyRfQb4mWhPvUjVw==", "dev": true }, "node_modules/elliptic": { @@ -2711,9 +2723,9 @@ } }, "node_modules/hash-base/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.1.tgz", + "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -3325,9 +3337,9 @@ } }, "node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, "dependencies": { "core-util-is": "~1.0.0", @@ -3388,9 +3400,9 @@ } }, "node_modules/regexpu-core": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.0.tgz", - "integrity": "sha512-ZdhUQlng0RoscyW7jADnUZ25F5eVtHdMyXSb2PiwafvteRAOJUjFoUPEYZSIfP99fBIs3maLIRfpEddT78wAAQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.1.tgz", + "integrity": "sha512-nCOzW2V/X15XpLsK2rlgdwrysrBq+AauCn+omItIz4R1pIcmeot5zvjdmOBRLzEH/CkC6IxMJVmxDe3QcMuNVQ==", "dev": true, "dependencies": { "@babel/regjsgen": "^0.8.0", @@ -3558,9 +3570,9 @@ } }, "node_modules/stream-browserify/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.1.tgz", + "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -3594,9 +3606,9 @@ } }, "node_modules/stream-http/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.1.tgz", + "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==", "dev": true, "dependencies": { "inherits": "^2.0.3", diff --git a/package.json b/package.json index fda0be8..4c43597 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,20 @@ { + "name": "idealista-enhancer", "type": "module", "scripts": { "bundle": "node bundler.js" }, "repository": { - "type": "git", - "url": "git+https://github.com/Midefos/idealista-enhancer.git" + "type": "git" }, "author": "Midefos", "license": "MIT", - "bugs": { - "url": "https://github.com/Midefos/idealista-enhancer/issues" - }, - "homepage": "https://github.com/Midefos/idealista-enhancer#readme", "devDependencies": { "@babel/core": "^7.18.6", "@babel/preset-env": "^7.18.6", "babelify": "^10.0.0", "browserify": "^17.0.0", - "browserify-banner": "^2.0.4" + "browserify-banner": "^2.0.4", + "dotenv": "^16.0.3" } } diff --git a/src/webapp/App.js b/src/webapp/App.js deleted file mode 100644 index d0ac6b4..0000000 --- a/src/webapp/App.js +++ /dev/null @@ -1,45 +0,0 @@ -import Location from "../Location.js"; -import Event from "../Event.js"; - -import GithubLocations from "./GithubLocations.js"; -import Locations from "../Locations.js"; - - -export default class App { - - constructor() { - this._init(); - } - - _init() { - this.githubLocations = new GithubLocations('Midefos', 'idealista-enhancer'); - } - - async load() { - const newLocation = document.querySelector('textarea#newLocation'); - newLocation.textContent = JSON.stringify(Location.empty(), undefined, 4); - - const locations = await this.githubLocations.extractLocations(); - - const locationQuantity = document.querySelector('#locations-quantity'); - locationQuantity.textContent = locations.length; - const tableBody = document.querySelector('#locations-table tbody'); - for (const location of locations) { - tableBody.insertAdjacentHTML('afterend', ` - ${location.name} - Cargar - `); - } - Event.click('.load-location', async (element) => { - const rawName = element.getAttribute('data-name'); - const name = rawName.substring(0, rawName.indexOf('.json')); - const location = await Locations.get(name); - document.querySelector('#locationFilename').value = name; - newLocation.textContent = JSON.stringify(location, undefined, 4); - }) - } - -} - -const app = new App(); -app.load() \ No newline at end of file diff --git a/src/webapp/GithubLocations.js b/src/webapp/GithubLocations.js deleted file mode 100644 index 996505f..0000000 --- a/src/webapp/GithubLocations.js +++ /dev/null @@ -1,40 +0,0 @@ - -export default class GithubLocations { - - constructor(user, repo) { - this.user = user; - this.repo = repo; - } - - get mainUrl() { - return `https://api.github.com/repos/${this.user}/${this.repo}/git/trees/main` - } - - async extractLocations() { - const locationTreeInfo = await this._extractLocationTreeData(); - const data = await fetch(locationTreeInfo.url); - const json = await data.json(); - - const locations = []; - for (const treeInfo of json.tree) { - locations.push({ name: treeInfo.path, url: treeInfo.url }); - } - return locations; - - } - - async _extractLocationTreeData() { - const data = await fetch(this.mainUrl); - const json = await data.json(); - console.log(json) - for (const treeInfo of json.tree) { - if (treeInfo.path === 'locations') { - return treeInfo; - } - } - } - -} - - -