Socket
Socket
Sign inDemoInstall

@rails/ujs

Package Overview
Dependencies
Maintainers
11
Versions
107
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.0.3 to 6.0.4-1

4

lib/assets/compiled/rails-ujs.js
/*
Unobtrusive JavaScript
https://github.com/rails/rails/blob/master/actionview/app/assets/javascripts
https://github.com/rails/rails/blob/main/actionview/app/assets/javascripts
Released under the MIT license

@@ -250,4 +250,4 @@ */;

xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
CSRFProtection(xhr);
}
CSRFProtection(xhr);
xhr.withCredentials = !!options.withCredentials;

@@ -254,0 +254,0 @@ xhr.onreadystatechange = function() {

{
"name": "@rails/ujs",
"version": "6.0.3",
"version": "6.0.4-1",
"description": "Ruby on Rails unobtrusive scripting adapter",

@@ -14,3 +14,3 @@ "main": "lib/assets/compiled/rails-ujs.js",

"build": "bundle exec blade build",
"test": "echo \"See the README: https://github.com/rails/rails/blob/master/actionview/app/assets/javascripts#how-to-run-tests\" && exit 1",
"test": "echo \"See the README: https://github.com/rails/rails/blob/main/actionview/app/assets/javascripts#how-to-run-tests\" && exit 1",
"lint": "coffeelint app/assets/javascripts && eslint test/ujs/public/test"

@@ -17,0 +17,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc