
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
bootstrap3-datetimepicker-rails
Advanced tools
This gem packages the bootstrap-datetimepicker for the Rails 3.1+ asset pipeline.
Eonasdan's fork of tarruda's bootstrap-datetimepicker is actively maintained and works with Bootstrap3.
momentjs-rails is a required dependency.
Add these lines to your application's Gemfile:
gem 'momentjs-rails', '>= 2.9.0'
gem 'bootstrap3-datetimepicker-rails', '~> 4.17.47'
And then execute:
$ bundle
Or install it yourself:
$ gem install momentjs-rails
$ gem install bootstrap3-datetimepicker-rails
To start using the bootstrap-datetimepicker plugin in your Rails application, enable it via the asset pipeline.
If your server is running, you will need to restart Rails before using the gem.
Add the following to your JavaScript manifest file (application.js
):
//= require moment
//= require bootstrap-datetimepicker
If you want to include a localization, also add:
//= require moment/<locale>
Add the following to your style sheet file:
If you are using SCSS, modify your application.css.scss
// import bootstrap-sprockets before bootstrap if using bootstrap >= 3.2
@import 'bootstrap-sprockets';
@import 'bootstrap';
@import 'bootstrap-datetimepicker';
If you're using plain CSS, modify your application.css
*= require bootstrap
*= require bootstrap-datetimepicker
Check out the documentation at: http://eonasdan.github.io/bootstrap-datetimepicker/
Clone https://github.com/TrevorS/bs3dp-test and try to reproduce your issue.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that bootstrap3-datetimepicker-rails 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.