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 2.2.0 to 2.3.0

9

CHANGELOG.md

@@ -8,2 +8,8 @@ # Change Log

## [2.3.0] - 2016-02-01
##### Added
- Added polyfills for `setInterval` and `setTimeout` in case other libraries expect these to exist.
- Added much improved debugging for errors in the server JavaScript webpack file.
- See [#244](https://github.com/shakacode/react_on_rails/pull/244/) for these improvements.
## [2.2.0] - 2016-01-29

@@ -132,3 +138,4 @@ ##### Added

[Unreleased]: https://github.com/shakacode/react_on_rails/compare/2.2.0...HEAD
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/2.3.0...HEAD
[2.3.0]: https://github.com/shakacode/react_on_rails/compare/2.2.0...2.3.0
[2.2.0]: https://github.com/shakacode/react_on_rails/compare/2.1.1...2.2.0

@@ -135,0 +142,0 @@ [2.1.1]: https://github.com/shakacode/react_on_rails/compare/v2.1.0...2.1.1

4

node_package/lib/clientStartup.js

@@ -140,6 +140,6 @@ 'use strict';

if (!turbolinksInstalled()) {
debugTurbolinks('WITHOUT TURBOLINKS: DOMContentLoaded handler installed.');
debugTurbolinks('NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded');
reactOnRailsPageLoaded();
} else {
debugTurbolinks('WITH TURBOLINKS: document page:before-unload and page:change handlers' + ' installed.');
debugTurbolinks('USING TURBOLINKS: document page:before-unload and page:change handlers' + ' installed.');
document.addEventListener('page:before-unload', reactOnRailsPageUnloaded);

@@ -146,0 +146,0 @@ document.addEventListener('page:change', reactOnRailsPageLoaded);

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

@@ -16,3 +16,3 @@ "main": "node_package/lib/ReactOnRails.js",

"babel-core": "^6.4.5",
"babel-eslint": "^5.0.0-beta6",
"babel-eslint": "^5.0.0-beta8",
"babel-loader": "^6.2.1",

@@ -32,10 +32,10 @@ "babel-plugin-transform-runtime": "^6.4.3",

"eslint-plugin-react": "^3.16.1",
"jscs": "^2.8.0",
"react": "^0.14.6",
"react-dom": "^0.14.6",
"jsdom": "^8.0.2",
"jscs": "^2.9.0",
"react": "^0.14.7",
"react-dom": "^0.14.7",
"react-transform-hmr": "^1.0.1",
"tap-spec": "^4.1.1",
"tape": "^4.4.0",
"webpack": "^1.12.12",
"jsdom": "^8.0.0-0"
"webpack": "^1.12.12"
},

@@ -56,4 +56,4 @@ "peerDependencies": {

"build-watch": "$(npm bin)/babel --watch --out-dir node_package/lib node_package/src",
"eslint": "eslint . --ext .jsx and .js",
"jscs": "jscs . -e -v",
"eslint": "$(npm bin)/eslint . --ext .jsx and .js",
"jscs": "$(npm bin)/jscs . -e -v",
"lint": "npm run eslint && npm run jscs",

@@ -60,0 +60,0 @@ "lint:fix": "node_package/scripts/lint-fix",

@@ -5,4 +5,5 @@ [![Build Status](https://travis-ci.org/shakacode/react_on_rails.svg?branch=master)](https://travis-ci.org/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) [![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)

* 2.2 has shipped on Tuesday, 1/29/2016. Please see the [Changelog](CHANGELOG.md) for details, and let us know if you see any issues! [Migration steps from 1.x](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md#migration-steps-v1-to-v2).
* Highlights:
* 2.3 has shipped on Monday, 2/1/2016. Please see the [Changelog](CHANGELOG.md) for details, and let us know if you see any issues! [Migration steps from 1.x](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md#migration-steps-v1-to-v2).
* There was a fatal error when using the lastest version of Redux for server rendering. See [Redux #1335](https://github.com/rackt/redux/issues/1335). See [diff 3.1.6...3.1.4](https://github.com/rackt/redux/commit/e2e14d26f09ca729ae0555442f50fcfc45bfb423#diff-1fdf421c05c1140f6d71444ea2b27638). Workaround for server rendering: Use Redux 3.1.7 or upgrade to React On Rails v2.3.0. [this commit](https://github.com/shakacode/react_on_rails/commit/59f1e68d3d233775e6abc63bff180ea59ac2d79e) on [PR #244](https://github.com/shakacode/react_on_rails/pull/244/).
* 2.x Highlights:
1. Fixed a **critical** problem with TurboLinks. Be sure to see [turbolinks docs](docs/additional_reading/turbolinks.md) for more information on how to debug TurboLinks issues.

@@ -9,0 +10,0 @@ 2. Provides a convenient helper to ensure that JavaScript assets are compiled before running tests.

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