Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rails/ujs

Package Overview
Dependencies
Maintainers
12
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rails/ujs - npm Package Compare versions

Comparing version 6.1.3 to 6.1.4

26

CHANGELOG.md

@@ -0,1 +1,27 @@

## Rails 6.1.4 (June 24, 2021) ##
* The `translate` helper now passes `default` values that aren't
translation keys through `I18n.translate` for interpolation.
*Jonathan Hefner*
* Don't attach UJS form submission handlers to Turbo forms.
*David Heinemeier Hansson*
* Allow both `current_page?(url_hash)` and `current_page?(**url_hash)` on Ruby 2.7.
*Ryuta Kamizono*
## Rails 6.1.3.2 (May 05, 2021) ##
* No changes.
## Rails 6.1.3.1 (March 26, 2021) ##
* No changes.
## Rails 6.1.3 (February 17, 2021) ##

@@ -2,0 +28,0 @@

4

lib/assets/compiled/rails-ujs.js

@@ -19,4 +19,4 @@ /*

inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',
formSubmitSelector: 'form',
formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])',
formSubmitSelector: 'form:not([data-turbo=true])',
formInputClickSelector: 'form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])',
formDisableSelector: 'input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled',

@@ -23,0 +23,0 @@ formEnableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled',

{
"name": "@rails/ujs",
"version": "6.1.3",
"version": "6.1.4",
"description": "Ruby on Rails unobtrusive scripting adapter",

@@ -5,0 +5,0 @@ "main": "lib/assets/compiled/rails-ujs.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc