Skip to content

Conversation

@AyzeLYC
Copy link

@AyzeLYC AyzeLYC commented Jul 12, 2025

Updated all the :

const var_name = require('library_name');
const ineer_namespace_name = require('library_name').inneer_namespace;

to :

const var_name = await import("library_name");
const {ineer_namespace_name} = await import("library_name");

If NodeJS itself has the required libraries then i used node:library_name to not have to download the libraries through npm and save bandwith and time

@AyzeLYC AyzeLYC changed the title Updated the JavaScript files code to what is required to use in the latest NodeJS versions Updated the JavaScript files code from CommonJS to EC Modules Jul 12, 2025
@piranna
Copy link
Member

piranna commented Oct 10, 2025

Please continúe working on that, this is the kind of updates i would like to keep seeing on NodeOS :-) Have you been able to update the Node.ja version too?

@AyzeLYC
Copy link
Author

AyzeLYC commented Oct 11, 2025

Please continúe working on that, this is the kind of updates i would like to keep seeing on NodeOS :-) Have you been able to update the Node.ja version too?

right now i'm working on a personal project but i've been able to modify some of the code, i'll compile everything and run it using a virtual machine to see if everything works properly

@AyzeLYC
Copy link
Author

AyzeLYC commented Oct 11, 2025

everything is up to date and should be working properly, once i'll have tested everything and made sure than it works i'll confirm than it works here

@AyzeLYC
Copy link
Author

AyzeLYC commented Oct 12, 2025

i modified all i've done to make sure than there's absolutely no bug when it's running and made it so that rather than using multiple variables to call all the different functions of the dependancies it's instead included in an array called dependancies

i also modified all the .sh files so that the license is up to date

@AyzeLYC
Copy link
Author

AyzeLYC commented Oct 12, 2025

now everything is good, i just need to compile everything and test it on a VM and i'll see if it works properly or not

@AyzeLYC
Copy link
Author

AyzeLYC commented Oct 15, 2025

well i have to update the dependancies because some of them are totally out of date and it's causing npm to return errors, it's going to be fun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants