From 30bc63bc14b0110faa24114c4d1cfd04d960b3d4 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Tue, 1 Feb 2022 08:42:59 +0100 Subject: [PATCH] =?UTF-8?q?Migre=20le=20script=20versement-mobilit=C3=A9?= =?UTF-8?q?=20en=20ESM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/scripts/fetch-versement-mobilité.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/scripts/fetch-versement-mobilité.js b/site/scripts/fetch-versement-mobilité.js index ef48f9e18..eb968ccc9 100644 --- a/site/scripts/fetch-versement-mobilité.js +++ b/site/scripts/fetch-versement-mobilité.js @@ -1,5 +1,5 @@ -require('isomorphic-fetch') -const { writeInDataDir } = require('./utils') +import 'isomorphic-fetch' +import { writeInDataDir } from './utils.js' const CSV_URL = 'https://fichierdirect.declaration.urssaf.fr/static/tauxTransport.20220103.csv'