
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Creates call stack trace for given block of Ruby code.
Install the gem and add to the application's Gemfile by executing:
$ bundle add stack_trace
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install stack_trace
StackTrace.trace do
Foo.bar
end
StackTrace.current # => Returns a Hash that contains all the method calls and exception information.
StackTrace.configure do |config|
config.trace_ruby = true
config.trace_c = true
config.inspect_return_values = true # Default `false` for performance reasons
config.inspect_arguments = true # Default `false` for performance reasons
config.check_proc = -> (self_klass_name, defined_klass_name, method_name) do # If you want to limit the tracing for a set of classes
self_klass_name == "Bar"
# If you use autoload and resolve the constant by klass names
# it's really likelly that you get a segfault: https://bugs.ruby-lang.org/issues/18120.
# Preload all the constants before running the `StackTrace.trace` if you want to
# constantize klass names.
end
end
FAQs
Unknown package
We found that stack_trace 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.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.