
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Simple multi-threading for Ruby.
gem install parallelize
require 'rubygems'
require 'parallelize'
parallelize(4) do
puts "I'm a thread"
# ...
end
# Zero-based thread index
parallelize(4) do |thread_idx|
puts "I'm thread ##{thread_idx}"
# ...
end
# Enumerable#peach
(0..100).peach(4) do |elem, thread_idx|
puts "Thread ##{thread_idx} processing #{elem}"
end
# Enumerable#pmap
(0..100).pmap(4) do |elem|
elem ** 2
end
(0..100).pmap(8) do |elem, thread_idx|
elem * thread_idx
end
begin
parallelize(4, true) do |elem, thread_idx|
# Each thread can complete its block even when some other threads throw exceptions
end
rescue ParallelException => e
p e.exceptions
end
Copyright (c) 2011 Junegunn Choi. See LICENSE.txt for further details.
FAQs
Unknown package
We found that parallelize demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.