Update Node.js wrapper to 2024 edition

This commit is contained in:
Oliver Hamlet
2025-07-31 22:10:01 +01:00
parent 4acc64247e
commit f69bd3b632
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
[package]
name = "libloot-nodejs"
version.workspace = true
edition = "2021"
edition.workspace = true
license.workspace = true
[lib]
+1 -1
View File
@@ -3,7 +3,7 @@ use std::{
sync::{Arc, RwLock},
};
use libloot::{error::DatabaseLockPoisonError, WriteMode};
use libloot::{WriteMode, error::DatabaseLockPoisonError};
use libloot_ffi_errors::UnsupportedEnumValueError;
use napi_derive::napi;
+1 -1
View File
@@ -8,7 +8,7 @@ use libloot::{
LoadMetadataError, MultilingualMessageContentsError, RegexError, WriteMetadataError,
},
};
use libloot_ffi_errors::{fmt_error_chain, UnsupportedEnumValueError};
use libloot_ffi_errors::{UnsupportedEnumValueError, fmt_error_chain};
#[derive(Debug)]
pub struct VerboseError(Box<dyn std::error::Error>);