Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/security dependencies #1658

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ wasm-bindgen = "0.2.91"
serde-wasm-bindgen = "0.6.4"
js-sys = "0.3.68"
console_error_panic_hook = "0.1.7"
wee_alloc = "0.4.5"
wasm-bindgen-test = "0.3.41"
memmap2 = { version = "0.9.4" }
ahash = { version = "0.8.3", features = ["serde"] }
Expand Down
5 changes: 0 additions & 5 deletions js-raphtory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ raphtory = { path = "../raphtory" }
# code size when deploying.
console_error_panic_hook = { workspace = true, optional = true }

# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
# compared to the default allocator's ~10K. It is slower than the default
# allocator, however.
wee_alloc = { workspace = true, optional = true }

[dev-dependencies]
wasm-bindgen-test = { workspace = true }

Expand Down
6 changes: 0 additions & 6 deletions js-raphtory/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ macro_rules! console_log {
($($t:tt)*) => (log(&format_args!($($t)*).to_string()))
}

// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

#[wasm_bindgen]
extern "C" {
fn alert(s: &str);
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile requirements.in
#
aiohttp==3.9.3
aiohttp==3.9.5
# via langchain
aiosignal==1.3.1
# via aiohttp
Expand All @@ -30,7 +30,7 @@ automat==22.10.0
# via twisted
backcall==0.2.0
# via ipython
certifi==2022.12.7
certifi==2023.7.22
# via requests
cffi==1.15.1
# via cryptography
Expand All @@ -42,7 +42,7 @@ constantly==15.1.0
# via twisted
contourpy==1.0.7
# via matplotlib
cryptography==40.0.2
cryptography==42.0.4
# via
# pyopenssl
# scrapy
Expand Down Expand Up @@ -70,7 +70,7 @@ filelock==3.12.0
# torch
# transformers
# triton
fonttools==4.39.3
fonttools==4.43.3
# via matplotlib
frozenlist==1.4.1
# via
Expand Down Expand Up @@ -241,7 +241,7 @@ pexpect==4.8.0
# via ipython
pickleshare==0.7.5
# via ipython
pillow==9.5.0
pillow==10.2.0
# via
# matplotlib
# sentence-transformers
Expand Down
Loading