From 7ecb4da08ff5a547f3f535d66d433c73d3624bd5 Mon Sep 17 00:00:00 2001 From: Frederic Linn Date: Sat, 26 Oct 2024 15:46:40 +0200 Subject: [PATCH] Update CHANGELOG and bump version --- CHANGELOG.md | 11 +++++++++-- Cargo.lock | 4 ++-- Cargo.toml | 2 +- deno-dig-lib/Cargo.toml | 2 +- deno-dig-lib/src/lib.rs | 8 ++++---- src/main.rs | 2 +- web/index.html | 5 ++--- 7 files changed, 20 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50af100..1769a0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,16 +12,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed ### Security -## [1.1.0] - 2024-10-17 +## [1.2.0] - 2024-10-26 ### Added +- "Frontend" for Wasm build + +### Changed +- Split project into library and binary +- Produces a Zip file rather than writing to an output directory directly + +## [1.1.0] - 2024-10-17 +### Added - Support for ELF files - Support for PE files ## [1.0.0] - 2024-10-15 ### Added - - Support for Macho-O files - Support for every `Deno compile` iteration diff --git a/Cargo.lock b/Cargo.lock index 7d8c2ee..c3cf18b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "DenoDig" -version = "1.1.0" +version = "1.2.0" dependencies = [ "clap", "deno-dig-lib", @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "deno-dig-lib" -version = "0.1.0" +version = "1.2.0" dependencies = [ "eszip", "futures", diff --git a/Cargo.toml b/Cargo.toml index a1d7bc2..56d9e3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "DenoDig" -version = "1.1.0" +version = "1.2.0" edition = "2021" [workspace] diff --git a/deno-dig-lib/Cargo.toml b/deno-dig-lib/Cargo.toml index 6270809..cd3b19e 100644 --- a/deno-dig-lib/Cargo.toml +++ b/deno-dig-lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deno-dig-lib" # 🦖-🍆-🫦 -version = "0.1.0" +version = "1.2.0" edition = "2021" [lib] diff --git a/deno-dig-lib/src/lib.rs b/deno-dig-lib/src/lib.rs index 13be3f5..22a8a43 100644 --- a/deno-dig-lib/src/lib.rs +++ b/deno-dig-lib/src/lib.rs @@ -457,7 +457,7 @@ fn check_version(binary_data: &[u8], offset: usize) -> bool { // let temp_dir = tempdir().unwrap(); // let temp_path = temp_dir.path(); // -// let binary_data = read("/Users/fli/Git/DenoDig/test/hello-v1.6.exe").expect("[!] Failed to open input file"); +// let binary_data = read("").expect("[!] Failed to open input file"); // // process_binary_file( // binary_data, @@ -477,7 +477,7 @@ fn check_version(binary_data: &[u8], offset: usize) -> bool { // let temp_path = temp_dir.path(); // // process_binary_file( -// Path::new("/Users/fli/Git/DenoDig/test/hello-v1.7.exe"), +// Path::new(""), // temp_path, // ) // .await @@ -497,7 +497,7 @@ fn check_version(binary_data: &[u8], offset: usize) -> bool { // let temp_path = temp_dir.path(); // // process_binary_file( -// Path::new("/Users/fli/Git/DenoDig/test/telecraft_deno_1.44"), +// Path::new(""), // temp_path, // ) // .await @@ -517,7 +517,7 @@ fn check_version(binary_data: &[u8], offset: usize) -> bool { // let temp_path = temp_dir.path(); // // process_binary_file( -// Path::new("/Users/fli/Git/DenoDig/test/telecraft_deno_1.46"), +// Path::new(""), // temp_path, // ) // .await diff --git a/src/main.rs b/src/main.rs index c8489de..7b39b15 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,7 @@ use std::time::Instant; #[derive(Parser, Debug)] #[command( name = "Deno Dig", - version = "1.1.0", + version = "1.2.0", author = "Frederic Linn", about = "A tool for excavating application code and npm packages from stand-alone Deno binaries " )] diff --git a/web/index.html b/web/index.html index fbf282a..278eed1 100644 --- a/web/index.html +++ b/web/index.html @@ -9,7 +9,6 @@ display: flex; justify-content: center; flex-direction: column; - overflow: none; align-items: center; height: 100vh; margin: 0; @@ -21,8 +20,8 @@ outline: 4px dashed deeppink; padding: 20px; margin: 20px; - width: 80vw; /* Changed to vw for better scaling on smaller devices */ - max-width: 600px; /* Limit max width */ + width: 80vw; + max-width: 600px; height: 50vh; max-height: 400px; display: flex;