-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update to Node 18 & gatsby 5 #2717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4327158
Bootstrap and build run on node18, and with gatsby 5
orta eb6e908
Get the site up and running also
orta 35ec6b4
Patch package in the TextEncoder for SSR
orta 074f1e8
Cleanup
orta 567ca6f
Merge branch 'v2' into pr-2717
jakebailey 790155b
revert unrelated changes
jakebailey 92bb903
get build running
jakebailey 10ed02d
downgrade assert
jakebailey c5b3850
maybe fix test
jakebailey fe1fd09
Fix test
jakebailey 855a105
bring back typegen plugin
jakebailey 0c23cdf
Fix one compile
jakebailey c173558
Patch old react-intl package
jakebailey 0413422
Sync some files that were generated
jakebailey 91a032a
Commit gatsby-types.ts
jakebailey 187c0dd
Error in CI on missing changes
jakebailey 5fd5739
Update .github/workflows/CI.yml
jakebailey 78925aa
Merge branch 'v2' into node_18_gatsby_5
jakebailey 762355f
Forgot a failure case
jakebailey c64fb13
Get passing
jakebailey b59d730
Merge branch 'v2' into node_18_gatsby_5
jakebailey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| diff --git a/lib/react-intl.d.ts b/lib/react-intl.d.ts | ||
| index e24bb8a41ecbf948de4c08486afb0efac36afad4..b9dec1e421f10923a27a806613d1f09ec31dec07 100644 | ||
| --- a/lib/react-intl.d.ts | ||
| +++ b/lib/react-intl.d.ts | ||
| @@ -186,7 +186,7 @@ export declare interface IntlFormatters { | ||
| formatDisplayName(value: Parameters<DisplayNames['of']>[0], opts?: FormatDisplayNameOptions): string | undefined; | ||
| } | ||
|
|
||
| -export declare class IntlProvider extends React.PureComponent<OptionalIntlConfig, State> { | ||
| +export declare class IntlProvider extends React.PureComponent<React.PropsWithChildren<OptionalIntlConfig>, State> { | ||
| static displayName: string; | ||
| static defaultProps: Pick<IntlConfig, "formats" | "messages" | "timeZone" | "textComponent" | "defaultLocale" | "defaultFormats" | "onError">; | ||
| private cache; |
13 changes: 13 additions & 0 deletions
13
...tches/react-server-dom-webpack-npm-0.0.0-experimental-c8b778b7f-20220825-b0e92c72ae.patch
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| diff --git a/cjs/react-server-dom-webpack-writer.node.production.min.server.js b/cjs/react-server-dom-webpack-writer.node.production.min.server.js | ||
| index 4394bdf1cfd80330b37fff9207d2c47a26e39ac9..ffa34990d303224cd1a24549e26c8f6a5a2c7d86 100644 | ||
| --- a/cjs/react-server-dom-webpack-writer.node.production.min.server.js | ||
| +++ b/cjs/react-server-dom-webpack-writer.node.production.min.server.js | ||
| @@ -8,6 +8,8 @@ | ||
| * LICENSE file in the root directory of this source tree. | ||
| */ | ||
| 'use strict';var aa=require("util"),e=require("react"),k=null,l=0,m=!0;function p(a,b){a=a.write(b);m=m&&a} | ||
| +aa.TextEncoder = aa.TextEncoder || TextEncoder | ||
| +aa.TextDecoder = aa.TextDecoder || TextDecoder | ||
| function q(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<l&&(p(a,k.subarray(0,l)),k=new Uint8Array(2048),l=0),p(a,r.encode(b));else{var d=k;0<l&&(d=k.subarray(l));d=r.encodeInto(b,d);var c=d.read;l+=d.written;c<b.length&&(p(a,k),k=new Uint8Array(2048),l=r.encodeInto(b.slice(c),k).written);2048===l&&(p(a,k),k=new Uint8Array(2048),l=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<l&&(p(a,k.subarray(0,l)),k=new Uint8Array(2048),l=0),p(a,b)):(d=k.length-l,d<b.byteLength&&(0===d?p(a, | ||
| k):(k.set(b.subarray(0,d),l),l+=d,p(a,k),b=b.subarray(d)),k=new Uint8Array(2048),l=0),k.set(b,l),l+=b.byteLength,2048===l&&(p(a,k),k=new Uint8Array(2048),l=0)));return m}var r=new aa.TextEncoder;function t(a){return r.encode(a)}var w=JSON.stringify,x=Symbol.for("react.module.reference"),y=Symbol.for("react.element"),ba=Symbol.for("react.fragment"),z=Symbol.for("react.provider"),ca=Symbol.for("react.forward_ref"),da=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"); | ||
| function C(a,b,d,c,f,g,h){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=f;this.mustUseProperty=d;this.propertyName=a;this.type=b;this.sanitizeURL=g;this.removeEmptyString=h}var D="children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ");D.push("innerText","textContent");D.forEach(function(a){new C(a,0,!1,a,null,!1,!1)}); |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,6 +35,6 @@ | |
| "@types/lz-string": "^1.3.34" | ||
| }, | ||
| "dependencies": { | ||
| "tslib": "^1.10.0" | ||
| "tslib": "^2.5.0" | ||
| } | ||
| } | ||
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.