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

react-on-rails

Package Overview
Dependencies
Maintainers
1
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-on-rails - npm Package Compare versions

Comparing version 6.3.2 to 6.3.3

8

CHANGELOG.md

@@ -9,2 +9,7 @@ # Change Log

## [6.3.3] - 2016-12-25
##### Changed
- By using the hook on `turbolinks:before-visit` to unmount the components, we can ensure that components are unmounted even when Turbolinks cache is disabled. Previously, we used `turbolinks:before-cache` event hook. [#644](https://github.com/shakacode/react_on_rails/pull/644) by [volkanunsal](https://github.com/volkanunsal).
- Added support for Ruby 2.0 [#651](https://github.com/shakacode/react_on_rails/pull/651) by [bbonamin](https://github.com/bbonamin).
## [6.3.2] - 2016-12-5

@@ -408,3 +413,4 @@ ##### Fixed

[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.3.2...master
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.3.3...master
[6.3.3]: https://github.com/shakacode/react_on_rails/compare/6.3.2...6.3.3
[6.3.2]: https://github.com/shakacode/react_on_rails/compare/6.3.1...6.3.2

@@ -411,0 +417,0 @@ [6.3.1]: https://github.com/shakacode/react_on_rails/compare/6.3.0...6.3.1

5

node_package/lib/Authenticity.js

@@ -16,3 +16,6 @@ 'use strict';

var token = document.querySelector('meta[name="csrf-token"]');
return token ? token.content : null;
if (token && token instanceof window.HTMLMetaElement) {
return token.content;
}
return null;
},

@@ -19,0 +22,0 @@ authenticityHeaders: function authenticityHeaders() {

@@ -205,4 +205,4 @@ 'use strict';

} else if (turbolinksVersion5()) {
debugTurbolinks('USING TURBOLINKS 5: document added event listeners turbolinks:before-cache and ' + 'turbolinks:load.');
document.addEventListener('turbolinks:before-cache', reactOnRailsPageUnloaded);
debugTurbolinks('USING TURBOLINKS 5: document added event listeners ' + ' turbolinks:before-visit and turbolinks:load.');
document.addEventListener('turbolinks:before-visit', reactOnRailsPageUnloaded);
document.addEventListener('turbolinks:load', reactOnRailsPageLoaded);

@@ -209,0 +209,0 @@ } else {

{
"name": "react-on-rails",
"version": "6.3.2",
"version": "6.3.3",
"description": "react-on-rails JavaScript for react_on_rails Ruby gem",

@@ -10,31 +10,31 @@ "main": "node_package/lib/ReactOnRails.js",

"devDependencies": {
"babel-cli": "^6.16.0",
"babel-core": "^6.17.0",
"babel-loader": "^6.2.5",
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-flow-strip-types": "^6.14.0",
"babel-plugin-transform-flow-strip-types": "^6.21.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-runtime": "^6.11.6",
"babel-runtime": "^6.20.0",
"babel-tape-runner": "^2.0.1",
"babel-types": "^6.16.0",
"babel-types": "^6.21.0",
"babelify": "^7.3.0",
"blue-tape": "^1.0.0",
"eslint": "^3.8.1",
"eslint-config-shakacode": "^13.2.0-beta.1",
"eslint-plugin-import": "^2.0.1",
"eslint": "^3.12.2",
"eslint-config-shakacode": "^13.2.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.4.1",
"flow-bin": "^0.36.0",
"jsdom": "^9.8.0",
"react": "^15.3.2",
"react-dom": "^15.3.2",
"eslint-plugin-react": "^6.8.0",
"flow-bin": "^0.37.4",
"jsdom": "^9.9.1",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"react-transform-hmr": "^1.0.4",
"redux": "^3.6.0",
"release-it": "^2.4.3",
"release-it": "^2.5.2",
"tap-spec": "^4.1.1",
"tape": "^4.6.2",
"webpack": "^1.13.2"
"tape": "^4.6.3",
"webpack": "^1.14.0"
},

@@ -41,0 +41,0 @@ "peerDependencies": {

@@ -20,10 +20,13 @@ [![Build Status](https://travis-ci.org/shakacode/react_on_rails.svg?branch=master)](https://travis-ci.org/shakacode/react_on_rails) [![Dependency Status](https://gemnasium.com/shakacode/react_on_rails.svg)](https://gemnasium.com/shakacode/react_on_rails) [![Gem Version](https://badge.fury.io/rb/react_on_rails.svg)](https://badge.fury.io/rb/react_on_rails) [![npm version](https://badge.fury.io/js/react-on-rails.svg)](https://badge.fury.io/js/react-on-rails) [![Code Climate](https://codeclimate.com/github/shakacode/react_on_rails/badges/gpa.svg)](https://codeclimate.com/github/shakacode/react_on_rails) [![Coverage Status](https://coveralls.io/repos/shakacode/react_on_rails/badge.svg?branch=master&service=github)](https://coveralls.io/github/shakacode/react_on_rails?branch=master)

### Articles
* [React on Rails, 2000+ 🌟 Stars](https://medium.com/shakacode/react-on-rails-2000-stars-32ff5cfacfbf#.6gmfb2gpy)
* [The React on Rails Doctrine](https://medium.com/@railsonmaui/the-react-on-rails-doctrine-3c59a778c724)
### [React On Rails Tutorial Series](https://www.youtube.com/playlist?list=PL5VAKH-U1M6dj84BApfUtvBjvF-0-JfEU)
### Videos
1. [History and Motivation](https://youtu.be/F4oymbUHvoY)
2. [Basic Tutorial Walkthrough](https://youtu.be/_bjScw60FBk)
3. [Code Walkthrough](https://youtu.be/McQ9UM-_ocQ)
1. [egghead.io: Creating a component with React on Rails](https://egghead.io/lessons/react-creating-a-component-with-react-on-rails)
1. [React On Rails Tutorial Series](https://www.youtube.com/playlist?list=PL5VAKH-U1M6dj84BApfUtvBjvF-0-JfEU)
1. [History and Motivation](https://youtu.be/F4oymbUHvoY)
1. [Basic Tutorial Walkthrough](https://youtu.be/_bjScw60FBk)
1. [Code Walkthrough](https://youtu.be/McQ9UM-_ocQ)

@@ -34,6 +37,3 @@ ### Podcasts

# NEWS
* 2016-11-03: Speaking at [LA Ruby, 7pm, Thursday, November 10 in Venice, CA: "React on Rails: Why, What, and How?"](http://www.meetup.com/laruby/events/234825187/)
* 2016-08-27: We now have a [Documentation Gitbook](https://shakacode.gitbooks.io/react-on-rails/content/) for improved readability & reference.
* 2016-08-21: v6.1 ships with serveral new features and bug fixes. See the [Changelog](CHANGELOG.md).
* 2016-07-28: If you're doing server rendering, be sure to use mini\_racer! See [issues/428](https://github.com/shakacode/react_on_rails/issues/428). It's supposedly much faster than `therubyracer`.
* 2016-11-03: Spoke at [LA Ruby: "React on Rails: Why, What, and How?"](http://www.meetup.com/laruby/events/234825187/). [Video and pictures in this article](https://blog.shakacode.com/my-react-on-rails-talk-at-the-la-ruby-rails-meetup-november-10-2016-eaaa83aff800#.ej6h4eglp).
* *See [NEWS.md](NEWS.md) for more notes over time.*

@@ -40,0 +40,0 @@

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