From fd9053b07f3a17237047bf856abb44fc26db7920 Mon Sep 17 00:00:00 2001 From: Chemie~ <13520392+LunarTwilight@users.noreply.github.com> Date: Wed, 15 May 2024 08:07:55 -0800 Subject: [PATCH] fix syntax error due to `assert` https://github.com/nodejs/node/pull/52104#issuecomment-2066201571 --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index a808aca..9d4abb0 100755 --- a/main.js +++ b/main.js @@ -10,10 +10,10 @@ */ import {CookieJar} from 'tough-cookie'; import {WebhookClient} from 'discord.js'; -import config from './config.json' assert {type: 'json'}; +import config from './config.json' with {type: 'json'}; import got from 'got'; import {parse} from 'node-html-parser'; -import pkg from './package.json' assert {type: 'json'}; +import pkg from './package.json' with {type: 'json'}; import process from 'process'; import {writeFile} from 'fs/promises';