mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-30 17:50:00 -06:00
chore: move puterfs extension to esmodule
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"uuid": "^13.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user