Siddharth Kshetrapal
6e039efe70
Fix flash of incorrect theme for @primer/components ( #24123 )
...
* Pass color mode from server to ThemeProvider
* Add preventSSRMismatch
* Fix bad merge, my bad.
* use release candidate for csrf safe approach
* upgrade primer/react to 34.7.1
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com >
2022-03-21 22:10:06 +00:00
Peter Bengtsson
4fcd3ae25f
automatically start server for jest ( #26206 )
...
* reinstate
* start server manually
* routing tests too
* skip more
* sleep more and fail if not 200
* use e2etest for content/ too
* automatically start server for jest
* does this work?
* feedbacked
* rename things
* getting it to work
* add dev dependency
* install the right version
* don't need to start that
* fix package lock
* update readme about it
* feedbacked
2022-03-18 21:46:07 +00:00
Peter Bengtsson
379897a985
upgrade eslint plus cousins ( #26316 )
2022-03-18 11:39:10 -04:00
Mike Surowiec
31acea648d
feat: add slow down middleware ( #26207 )
...
* feat: add slow down middleware
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
2022-03-15 13:31:12 -05:00
Peter Bengtsson
c99afd0a57
Merge pull request #15975 from github/peterbe-reduce-max_old_space_size-for-jest-tests
...
reduce max_old_space_size for jest tests
2022-03-10 13:25:53 -08:00
Peter Bengtsson
e18396c7fd
avoid mocking in robots.txt testing ( #26018 )
...
* avoid mocking in robots.txt testing
* remove package
2022-03-09 01:08:49 +00:00
Peter Bengtsson
a14134090d
highlight.js 11.4.0 ( #25870 )
2022-03-07 18:18:49 +00:00
dependabot[bot]
06be4d6fa8
Bump npm-merge-driver-install from 2.0.2 to 3.0.0 ( #25382 )
...
Bumps [npm-merge-driver-install](https://github.com/brandonocasey/npm-merge-driver-install ) from 2.0.2 to 3.0.0.
- [Release notes](https://github.com/brandonocasey/npm-merge-driver-install/releases )
- [Changelog](https://github.com/brandonocasey/npm-merge-driver-install/blob/master/CHANGELOG.md )
- [Commits](https://github.com/brandonocasey/npm-merge-driver-install/compare/v2.0.2...v3.0.0 )
---
updated-dependencies:
- dependency-name: npm-merge-driver-install
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Grace Park <gracepark@github.com >
Co-authored-by: Rachael Sewell <rachmari@github.com >
2022-03-07 17:45:16 +00:00
Rachael Sewell
9fd4fe0a6c
remove prerendered response rest docs ( #25652 )
2022-03-04 21:24:46 +00:00
Peter Bengtsson
0bcab2457d
upgrade @primer/octicons@17.0.0 @primer/octicons-react@17.0.0 together ( #25848 )
2022-03-04 18:29:09 +00:00
Peter Bengtsson
ffb8f52480
upgrade eslint 8.10 plus friends ( #25763 )
2022-03-02 15:41:27 -05:00
Peter Bengtsson
c576b77e90
upgrade swr@1.2.2 ( #25695 )
2022-02-28 17:10:16 +00:00
Robert Sese
8a7301d370
Fail on console.error in tests with failOnConsole ( #25600 )
...
* Install jest-fail-on-console
* Setup and use failOnConsole
* Add intentional 'unique key' error
* Revert "Add intentional 'unique key' error"
This reverts commit 5f75f069d80df36ce632421ae7ad26e98ac17ad3.
* Comment about why use this package
2022-02-25 10:49:27 -06:00
Grace Park
28659e92ad
Upgrade primer css ( #25634 )
...
* upgrade primer css
* upgrade package.json @primer/css
* removing import
2022-02-24 21:33:10 +00:00
Mike Surowiec
f3fc80cf05
Upgrade primer/components -> primer/react ( #25591 )
...
* upgrade primer/components -> primer/react
* fix jest failure
2022-02-24 00:30:14 +00:00
Peter Bengtsson
177e197d8d
soft rate limit all requests ( #25556 )
...
* rate limit all requests
* set IP in tags to statsd
* expose _ip route for assuring we get the right IP
* remove old unit test
* nit
2022-02-23 16:46:29 +00:00
dependabot[bot]
432ad412c7
Bump minimatch from 3.0.4 to 5.0.0 ( #25387 )
2022-02-22 15:17:24 -08:00
dependabot[bot]
619ce22bab
Bump @graphql-inspector/core from 2.9.0 to 3.1.1 ( #25384 )
2022-02-22 23:08:35 +00:00
Mike Surowiec
624581e527
Remove most of Heroku references ( #25208 )
...
* remove most of heroku references
* remove more stuff
* update codeowners
2022-02-10 17:36:07 -06:00
Peter Bengtsson
24d3ea6814
remove catch-bad-accept-language middleware ( #25231 )
2022-02-10 18:51:30 +00:00
Peter Bengtsson
5c9a83be7c
Stop doing Gzip in the middleware ( #25227 )
2022-02-10 11:01:56 -05:00
Peter Bengtsson
9e2cb3b03e
remove update-short-titles-from-csv.js ( #25129 )
2022-02-08 21:05:05 +00:00
Peter Bengtsson
a0af48149e
delete old deploy.js script ( #24862 )
2022-02-08 16:11:11 +00:00
Mike Surowiec
35b5d04e15
update website-scraper to update transitive nth-check dep ( #25080 )
2022-02-07 17:54:40 +00:00
dependabot[bot]
adb7fd2c23
Bump supertest from 6.1.6 to 6.2.2 ( #24890 )
...
Bumps [supertest](https://github.com/visionmedia/supertest ) from 6.1.6 to 6.2.2.
- [Release notes](https://github.com/visionmedia/supertest/releases )
- [Commits](https://github.com/visionmedia/supertest/compare/v6.1.6...v6.2.2 )
---
updated-dependencies:
- dependency-name: supertest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-03 17:52:00 -06:00
Mike Surowiec
8037fb44f4
Remove clustering, remove WEB_CONCURRENCY setting ( #24914 )
...
* Remove WEB_CONCURRENCY setting
2022-02-03 15:44:03 -06:00
dependabot[bot]
7dd624729c
Bump lint-staged from 12.1.2 to 12.3.3 ( #24910 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 12.1.2 to 12.3.3.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v12.1.2...v12.3.3 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 23:54:29 +00:00
dependabot[bot]
1c241e9c59
Bump react-markdown from 7.1.1 to 8.0.0 ( #24902 )
...
Bumps [react-markdown](https://github.com/remarkjs/react-markdown ) from 7.1.1 to 8.0.0.
- [Release notes](https://github.com/remarkjs/react-markdown/releases )
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md )
- [Commits](https://github.com/remarkjs/react-markdown/compare/7.1.1...8.0.0 )
---
updated-dependencies:
- dependency-name: react-markdown
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 23:49:46 +00:00
dependabot[bot]
40b4b0ea0e
Bump node-fetch from 3.1.1 to 3.2.0 ( #24903 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 23:39:46 +00:00
Peter Bengtsson
5a240c94aa
remove 'object-hash' dependency ( #24884 )
2022-02-02 23:26:32 +00:00
dependabot[bot]
30ce26dfa9
Bump remark-rehype from 10.0.1 to 10.1.0 ( #24908 )
...
Bumps [remark-rehype](https://github.com/remarkjs/remark-rehype ) from 10.0.1 to 10.1.0.
- [Release notes](https://github.com/remarkjs/remark-rehype/releases )
- [Commits](https://github.com/remarkjs/remark-rehype/compare/10.0.1...10.1.0 )
---
updated-dependencies:
- dependency-name: remark-rehype
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 23:13:05 +00:00
dependabot[bot]
77db64b94a
Bump robots-parser from 2.3.0 to 3.0.0 ( #24904 )
...
Bumps [robots-parser](https://github.com/samclarke/robots-parser ) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/samclarke/robots-parser/releases )
- [Changelog](https://github.com/samclarke/robots-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/samclarke/robots-parser/compare/v2.3.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: robots-parser
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com >
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 23:00:14 +00:00
dependabot[bot]
c8e47e83a7
Bump react-syntax-highlighter from 15.4.4 to 15.4.5 ( #24909 )
...
Bumps [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter ) from 15.4.4 to 15.4.5.
- [Release notes](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases )
- [Changelog](https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/CHANGELOG.MD )
- [Commits](https://github.com/react-syntax-highlighter/react-syntax-highlighter/commits/v15.4.5 )
---
updated-dependencies:
- dependency-name: react-syntax-highlighter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 16:55:28 -06:00
dependabot[bot]
a02a4355e3
Bump url-template from 2.0.8 to 3.0.0 ( #24889 )
...
* Bump url-template from 2.0.8 to 3.0.0
Bumps [url-template](https://github.com/bramstein/url-template ) from 2.0.8 to 3.0.0.
- [Release notes](https://github.com/bramstein/url-template/releases )
- [Commits](https://github.com/bramstein/url-template/compare/v2.0.8...v3.0.0 )
---
updated-dependencies:
- dependency-name: url-template
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* No more default export
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Robert Sese <rsese@github.com >
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 22:27:30 +00:00
dependabot[bot]
64415b8b64
Bump prettier from 2.5.0 to 2.5.1 ( #24921 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.5.0...2.5.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 01:50:02 -06:00
dependabot[bot]
b653d71d62
Bump @babel/eslint-parser from 7.16.3 to 7.16.5 ( #24894 )
...
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) from 7.16.3 to 7.16.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.16.5/eslint/babel-eslint-parser )
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 01:34:12 -06:00
dependabot[bot]
2a6c9de251
Bump graphql from 16.2.0 to 16.3.0 ( #24898 )
...
Bumps [graphql](https://github.com/graphql/graphql-js ) from 16.2.0 to 16.3.0.
- [Release notes](https://github.com/graphql/graphql-js/releases )
- [Commits](https://github.com/graphql/graphql-js/compare/v16.2.0...v16.3.0 )
---
updated-dependencies:
- dependency-name: graphql
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 01:14:36 -06:00
dependabot[bot]
01bee25f6b
Bump postcss from 8.4.4 to 8.4.6 ( #24900 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.4 to 8.4.6.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.4...8.4.6 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 00:28:57 -06:00
dependabot[bot]
03c2921479
Bump @babel/preset-env from 7.16.7 to 7.16.11 ( #24888 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.16.7 to 7.16.11.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.16.11/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 05:02:53 +00:00
dependabot[bot]
7c453540d7
Bump typescript from 4.5.4 to 4.5.5 ( #24899 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.5.4 to 4.5.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.5.5 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-01 22:41:20 -06:00
Peter Bengtsson
bd9d85ed0f
remove need for 'count-array-values' ( #24867 )
2022-02-01 21:27:47 +00:00
Peter Bengtsson
6efd78b0ac
move 'csv-parse' to optional dependencies ( #24852 )
2022-02-01 12:45:30 +00:00
Peter Bengtsson
bb67c2a6f5
move 'bottleneck' to optional dependencies ( #24829 )
2022-01-31 18:30:38 +00:00
dependabot[bot]
0827ab3214
Bump rehype-highlight from 5.0.0 to 5.0.2 ( #24582 )
...
Bumps [rehype-highlight](https://github.com/rehypejs/rehype-highlight ) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/rehypejs/rehype-highlight/releases )
- [Commits](https://github.com/rehypejs/rehype-highlight/compare/5.0.0...5.0.2 )
---
updated-dependencies:
- dependency-name: rehype-highlight
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2022-01-29 02:50:44 +00:00
dependabot[bot]
da1cf9a832
Bump @jest/globals from 27.4.2 to 27.4.6 ( #24579 )
...
Bumps [@jest/globals](https://github.com/facebook/jest/tree/HEAD/packages/jest-globals ) from 27.4.2 to 27.4.6.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v27.4.6/packages/jest-globals )
---
updated-dependencies:
- dependency-name: "@jest/globals"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-01-27 17:54:47 +00:00
Ethan Palm
bd1280b9a4
Update @primer/octicons to 16.3.0 ( #24688 )
...
* Update primer/octicons to 16.3.0
* Update package-lock.json
2022-01-27 09:03:30 -08:00
Peter Bengtsson
7335cccdf7
Revert "Bump helmet from 4.6.0 to 5.0.2 ( #24573 )" ( #24722 )
...
This reverts commit ac55ccaf95 .
2022-01-27 10:12:15 -05:00
Peter Bengtsson
7844ad4740
move 'image-size' to optional dependencies ( #24670 )
2022-01-26 19:50:01 +00:00
Peter Bengtsson
5f3036df69
shut down the old internal link check CI scripts ( #23694 )
2022-01-26 19:22:59 +00:00
dependabot[bot]
ef8a326ae2
Bump jest from 27.4.3 to 27.4.7 ( #24584 )
...
Bumps [jest](https://github.com/facebook/jest ) from 27.4.3 to 27.4.7.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v27.4.3...v27.4.7 )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-01-26 19:15:22 +00:00