chore: move puterfs extension to esmodule

This commit is contained in:
KernelDeimos
2025-11-12 12:15:33 -05:00
committed by Eric Dubé
parent f51c0740c7
commit 0db322fda6
2 changed files with 4 additions and 3 deletions

View File

@@ -20,8 +20,8 @@
const STUCK_STATUS_TIMEOUT = 10 * 1000;
const STUCK_ALARM_TIMEOUT = 20 * 1000;
const uuidv4 = require('uuid').v4;
const path_ = require('node:path');
import path_ from 'node:path';
import { v4 as uuidv4 } from 'uuid';
const { db } = extension.import('data');

View File

@@ -1,6 +1,7 @@
{
"main": "main.js",
"type": "module",
"dependencies": {
"uuid": "^13.0.0"
}
}
}