Skip to content

Commit

Permalink
Merge branch 'master' into tmeasday/use-client-api-in-react-native
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi authored Feb 20, 2018
2 parents e8ddefc + b97b07b commit f1c1d0c
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 14 deletions.
7 changes: 7 additions & 0 deletions app/react-native/src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ export default class Server {
}
}

// see https://github.com/websockets/ws/issues/1256#issuecomment-364988689
socket.on('error', err => {
// Ignore network errors like `ECONNRESET`, `EPIPE`, etc.
if (err.errno) return;
throw err;
});

socket.on('message', data => {
this.wsServer.clients.forEach(c => {
if (!this.options.manualId || (socket.pairedId && socket.pairedId === c.pairedId)) {
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"bootstrap": "^3.3.7",
"gatsby": "^1.9.202",
"gatsby": "^1.9.203",
"gatsby-link": "^1.6.37",
"gatsby-plugin-sharp": "^1.6.31",
"gatsby-remark-autolink-headers": "^1.4.12",
Expand Down
6 changes: 3 additions & 3 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4504,9 +4504,9 @@ gatsby-transformer-remark@^1.7.33:
unist-util-select "^1.5.0"
unist-util-visit "^1.1.1"

gatsby@^1.9.202:
version "1.9.202"
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.202.tgz#05bbf7429b860474956c22378c681ff3888139c3"
gatsby@^1.9.203:
version "1.9.203"
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.203.tgz#de632e1faace1a9a0d1d99f0430739784c4260a0"
dependencies:
async "^2.1.2"
babel-code-frame "^6.22.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lodash.debounce": "^4.0.8",
"lodash.pick": "^4.4.0",
"lodash.sortby": "^4.7.0",
"podda": "^1.2.2",
"@storybook/podda": "^1.2.3",
"prop-types": "^15.6.0",
"qs": "^6.5.1",
"react-fuzzy": "^0.5.2",
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createApp } from '@storybook/mantra-core';
import Podda from 'podda';
import Podda from '@storybook/podda';

import buildContext from './context';
import shortcutsModule from './modules/shortcuts';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/src/modules/ui/libs/gen_podda_loader.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Podda from 'podda';
import Podda from '@storybook/podda';
import genPoddaLoader from './gen_podda_loader';

describe('manager.ui.libs.gen_podda_loader', () => {
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,13 @@
"@storybook/react-simple-di" "^1.2.1"
babel-runtime "6.x.x"

"@storybook/podda@^1.2.3":
version "1.2.3"
resolved "https://registry.yarnpkg.com/@storybook/podda/-/podda-1.2.3.tgz#53c4a1a3f8c7bbd5755dff5c34576fd1af9d38ba"
dependencies:
babel-runtime "^6.11.6"
immutable "^3.8.1"

"@storybook/react-komposer@^2.0.1", "@storybook/react-komposer@^2.0.3":
version "2.0.3"
resolved "https://registry.yarnpkg.com/@storybook/react-komposer/-/react-komposer-2.0.3.tgz#f9e12a9586b2ce95c24c137eabb8b71527ddb369"
Expand Down Expand Up @@ -11670,13 +11677,6 @@ pngjs@^3.0.0, pngjs@^3.3.0:
version "3.3.1"
resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.3.1.tgz#8e14e6679ee7424b544334c3b2d21cea6d8c209a"

podda@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/podda/-/podda-1.2.2.tgz#15b0edbd334ade145813343f5ecf9c10a71cf500"
dependencies:
babel-runtime "^6.11.6"
immutable "^3.8.1"

[email protected], polymer-webpack-loader@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/polymer-webpack-loader/-/polymer-webpack-loader-2.0.1.tgz#d15d45328f6a6700366dfaee83fc606f39cdcee0"
Expand Down

0 comments on commit f1c1d0c

Please sign in to comment.