Update dependencies
This commit is contained in:
parent
8868642b38
commit
be317f3bb9
File diff suppressed because it is too large
Load Diff
31
package.json
31
package.json
|
@ -9,29 +9,28 @@
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@turf/along": "^6.3.0",
|
"@turf/along": "^6.5.0",
|
||||||
"@turf/bearing": "^6.5.0",
|
"@turf/bearing": "^6.5.0",
|
||||||
"@turf/clone": "^6.5.0",
|
"@turf/clone": "^6.5.0",
|
||||||
"@turf/helpers": "^6.3.0",
|
"@turf/helpers": "^6.5.0",
|
||||||
"@turf/length": "^6.3.0",
|
"@turf/length": "^6.5.0",
|
||||||
"@turf/projection": "^6.3.0",
|
"@turf/projection": "^6.5.0",
|
||||||
"@turf/turf": "^6.3.0",
|
"@turf/turf": "^6.5.0",
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.27.2",
|
||||||
"color": "^3.1.3",
|
"color": "^4.2.3",
|
||||||
"csv-parse": "^4.15.4",
|
"csv-parse": "^5.2.2",
|
||||||
"dijkstrajs": "^1.0.1",
|
"dijkstrajs": "^1.0.2",
|
||||||
"express": "^4.17.1",
|
"express": "^4.18.1",
|
||||||
"maplibre-gl": "^2.1.9",
|
"maplibre-gl": "^2.1.9",
|
||||||
"unzip-stream": "^0.3.1",
|
"unzip-stream": "^0.3.1",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitejs/plugin-vue": "^1.2.2",
|
"eslint": "^8.19.0",
|
||||||
"@vue/compiler-sfc": "^3.0.5",
|
|
||||||
"eslint": "^7.26.0",
|
|
||||||
"eslint-config-eslint": "^7.0.0",
|
"eslint-config-eslint": "^7.0.0",
|
||||||
"eslint-plugin-jsdoc": "^34.0.1",
|
"eslint-plugin-jsdoc": "^39.3.3",
|
||||||
"eslint-plugin-node": "^11.1.0",
|
"eslint-plugin-node": "^11.1.0",
|
||||||
"vite": "^2.3.0"
|
"vite": "^2.9.14",
|
||||||
|
"@vitejs/plugin-vue": "^2.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import csv from "csv-parse";
|
import * as csv from "csv-parse";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import fs from "fs/promises";
|
import fs from "fs/promises";
|
||||||
|
@ -96,7 +96,7 @@ const fetchRealtimeRaw = async function *() {
|
||||||
|
|
||||||
yield { lastUpdate, nextUpdate };
|
yield { lastUpdate, nextUpdate };
|
||||||
|
|
||||||
const parser = res.data.pipe(csv({
|
const parser = res.data.pipe(csv.parse({
|
||||||
delimiter: ";",
|
delimiter: ";",
|
||||||
columns: header => header.map(snakeToCamelCase)
|
columns: header => header.map(snakeToCamelCase)
|
||||||
}));
|
}));
|
||||||
|
@ -144,7 +144,7 @@ const fetchTheoreticalRaw = async function *() {
|
||||||
};
|
};
|
||||||
|
|
||||||
const stream = await unzipFile(res.data, "offre_du_jour.csv");
|
const stream = await unzipFile(res.data, "offre_du_jour.csv");
|
||||||
const parser = stream.pipe(csv({
|
const parser = stream.pipe(csv.parse({
|
||||||
delimiter: ";",
|
delimiter: ";",
|
||||||
columns: header => header.map(snakeToCamelCase)
|
columns: header => header.map(snakeToCamelCase)
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
import vue from "@vitejs/plugin-vue";
|
||||||
|
|
||||||
const root = path.join(
|
const root = path.join(
|
||||||
path.dirname(new URL(import.meta.url).pathname),
|
path.dirname(new URL(import.meta.url).pathname),
|
||||||
|
@ -6,6 +7,7 @@ const root = path.join(
|
||||||
);
|
);
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
plugins: [vue()],
|
||||||
server: {
|
server: {
|
||||||
fsServe: {
|
fsServe: {
|
||||||
root
|
root
|
||||||
|
|
Loading…
Reference in New Issue