This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| patch-package | |
| --- a/node_modules/react-native/Libraries/Alert/AlertIOS.js | |
| +++ b/node_modules/react-native/Libraries/Alert/AlertIOS.js | |
| @@ -122,11 +122,11 @@ class AlertIOS { | |
| 'keyboardType) and the old syntax will be removed in a future version.'); | |
| var callback = type; | |
| - var defaultValue = message; | |
| + var _defaultValue = message; | |
| RCTAlertManager.alertWithArgs({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| patch-package | |
| --- a/node_modules/metro-minify-uglify/src/minifier.js | |
| +++ b/node_modules/metro-minify-uglify/src/minifier.js | |
| @@ -34,7 +34,7 @@ filename) | |
| function minify(inputCode, inputMap) { | |
| const result = uglify.minify(inputCode, { | |
| - mangle: { toplevel: true }, | |
| + mangle: { toplevel: true, safari10: true }, | |
| output: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| patch-package | |
| --- a/node_modules/metro/src/babel-bridge.js | |
| +++ b/node_modules/metro/src/babel-bridge.js | |
| @@ -13,7 +13,7 @@ | |
| // This is a temporary migration bridge to switch between babel 6 and 7 | |
| -const IS_BABEL7 = process.env.BABEL_VERSION === '7'; | |
| +const IS_BABEL7 = true; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { GraphSnapshot } from '../../../../../src/GraphSnapshot'; | |
| import { createSnapshot } from '../../../../helpers'; | |
| describe(`overlapping fragments`, () => { | |
| let snapshot: GraphSnapshot; | |
| beforeAll(() => { | |
| const cyclicRefQuery = ` | |
| query { | |
| myDetailedBar { | |
| ...DetailedBarFragment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 15d2d187e745eed8c13e5132798de03920c39db0 Mon Sep 17 00:00:00 2001 | |
| From: James Reggio <[email protected]> | |
| Date: Thu, 16 Nov 2017 19:58:31 -0500 | |
| Subject: [PATCH] make XMLHttpRequest.withCredentials default to false, per | |
| spec | |
| --- | |
| Libraries/Network/XMLHttpRequest.js | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { InMemoryCache } from ‘apollo-cache-inmemory’; | |
| import { persistCache } from ‘apollo-cache-persist’; | |
| // Set up your cache. | |
| const cache = new InMemoryCache({...}); | |
| // Set up cache persistence. | |
| persistCache({ | |
| cache, | |
| storage: window.localStorage, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { InMemoryCache } from ‘apollo-cache-inmemory’; | |
| import { persistCache } from ‘apollo-cache-persist’; | |
| import { AsyncStorage } from ‘react-native’; | |
| // Set up your cache. | |
| const cache = new InMemoryCache({...}); | |
| // Set up cache persistence. | |
| persistCache({ | |
| cache, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default async (services) => { | |
| // Links. | |
| const contextLink = new ApolloLink((operation, forward) => { | |
| operation.setContext(context => update(context, { | |
| headers: { | |
| $apply: (headers = {}) => { | |
| headers = { | |
| ...headers, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const contextLink = new ApolloLink((operation, forward) => { | |
| operation.setContext(context => ({ | |
| ...context, | |
| headers: { | |
| ...context.headers, | |
| authorization: sessionId, | |
| }, | |
| })); |