Граф коммитов

826 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 7b9b78da95
Bump flat from 5.0.2 to 6.0.1 (#42906)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hector Alfaro <hectorsector@github.com>
2023-09-20 14:07:45 +00:00
Kevin Heis 9a8965c242
Remove Node 16 support (#41815) 2023-09-19 21:33:34 +00:00
Hector Alfaro f3a7ea9d5a
Add playwright-axe test suite (#41814) 2023-09-19 14:40:53 -04:00
Peter Bengtsson 1a519dccc0
Upgrade all dev dependencies (#42589) 2023-09-14 15:15:15 +00:00
dependabot[bot] 98dfde2109
Bump express-rate-limit from 6.7.0 to 7.0.0 (#42509)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 16:53:17 +00:00
Peter Bengtsson ab43d3c06a
Remove jest-github-actions-reporter (#42435) 2023-09-12 17:13:41 +00:00
Grace Park f6e00f9df6
TreeView -> NavList (#41359)
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-09-06 21:29:26 +00:00
Rachael Sewell c144dba8c5
add markdownlint search and replace rule (#41371) 2023-08-29 21:09:30 +00:00
Peter Bengtsson 117ce534ef
Upgrade all dev dependencies (#41418) 2023-08-25 15:28:43 +00:00
Peter Bengtsson 76d92de34c
@primer/react@35.28.0 (#41347) 2023-08-24 16:01:10 +00:00
Hector Alfaro 4f7c77a70d
Configure eslint using a11y recommendations (#41274) 2023-08-23 17:05:22 +00:00
Peter Bengtsson 6dd3a8b682
Upgrade caniuse-lite @1.0.30001521 (#40929) 2023-08-18 11:52:21 +00:00
dependabot[bot] ac4700eabc
Bump lint-staged from 13.0.3 to 14.0.0 (#40815)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 19:22:07 +00:00
Peter Bengtsson 345c252c47
Upgrade all @primer/ dependencies (#40851) 2023-08-16 17:32:56 +00:00
Peter Bengtsson 181387f4f5
Replace eslint-plugin-node with eslint-plugin-n (#40743) 2023-08-14 18:50:37 +00:00
Peter Bengtsson 6efc911b88
Better and simpler handling of operational errors (#40730) 2023-08-14 17:59:42 +00:00
Peter Bengtsson 69f60ee6aa
Skip dynamic workflows in purge-old-workflow-runs.js (#40521) 2023-08-10 15:00:57 +00:00
Peter Bengtsson 021275146a
Upgrade dev dependencies (eslint, jest, types, playwright) (#40478) 2023-08-09 20:44:24 +00:00
dependabot[bot] 5e58d29595
Bump hast-util-from-parse5 from 7.1.0 to 8.0.1 (#40435)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 15:23:03 +00:00
dependabot[bot] 886a9ad364
Bump mdast-util-to-hast from 12.3.0 to 13.0.1 (#40473)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 15:15:18 +00:00
Peter Bengtsson 33d81b41b7
Next 13.4 and React 18 (#40039) 2023-08-09 14:30:26 +00:00
dependabot[bot] 32e06b5492
Bump ora from 6.3.1 to 7.0.1 (#40121)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 15:28:54 +00:00
dependabot[bot] 850bbfdb50
Bump hastscript from 7.0.2 to 8.0.0 (#40120)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 15:16:08 +00:00
Peter Bengtsson cc730ed73f
Reinstate swc dependencies (#39306) 2023-07-19 15:10:45 +00:00
Rachael Sewell 712fe2d696
markdownlint script improvements (#39117) 2023-07-19 00:10:22 +00:00
Grace Park 3030c7ba33
upgrade react primer (#39250) 2023-07-18 19:33:41 +00:00
Peter Bengtsson 9c70992e26
Latest eslint, jest and playwright (#39159) 2023-07-17 14:22:50 +00:00
Kevin Heis efe2f4551c
Allow 20 (#39039) 2023-07-13 16:51:21 +00:00
Rachael Sewell f2b5c53565
markdownlint script updates (#38855)
Co-authored-by: Grace Park <gracepark@github.com>
2023-07-12 21:08:55 +00:00
Peter Bengtsson 6b7c570a6c
Remove the @octokit/graphql dependency (#38883) 2023-07-11 18:40:06 +00:00
dependabot[bot] 851d40ed03
Bump prettier from 2.7.1 to 3.0.0 (#38873)
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>
2023-07-10 20:46:39 +00:00
dependabot[bot] aab64b82f7
Bump mdast-util-to-markdown from 1.5.0 to 2.0.0 (#38866)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 20:12:46 +00:00
dependabot[bot] 58260a7291
Bump mdast-util-to-string from 3.1.0 to 4.0.0 (#38870)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:59:32 +00:00
dependabot[bot] 24b278e59e
Bump unist-util-visit-parents from 5.1.3 to 6.0.1 (#38872)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:55:06 +00:00
dependabot[bot] ae14bcbe0d
Bump nodemon from 2.0.22 to 3.0.1 (#38878)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:55:04 +00:00
dependabot[bot] 4e8621e359
Bump mdast-util-gfm-table from 1.0.7 to 2.0.0 (#38877)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:46:00 +00:00
dependabot[bot] 94f478cadb
Bump unist-util-visit from 4.1.0 to 5.0.0 (#38875)
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>
2023-07-10 19:45:33 +00:00
dependabot[bot] a760415fb8
Bump unist-util-remove from 3.1.1 to 4.0.0 (#38868)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:40:15 +00:00
Peter Bengtsson ec7a6c4908
sharp@0.32.1 (#38879) 2023-07-10 19:35:02 +00:00
dependabot[bot] ed83be43af
Bump mdast-util-from-markdown from 1.2.0 to 2.0.0 (#38876)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:33:06 +00:00
dependabot[bot] 2c50974614
Bump dedent from 0.7.0 to 1.0.1 (#38871)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:29:56 +00:00
dependabot[bot] 26b503096b
Bump fast-xml-parser from 4.1.3 to 4.2.5 (#38861)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 18:13:48 +00:00
dependabot[bot] 8c5b719e5d
Bump @graphql-inspector/core from 4.0.3 to 5.0.0 (#38659)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 17:10:55 +00:00
dependabot[bot] a391eb1662
Bump micromark-extension-gfm-table from 1.0.5 to 2.0.0 (#38660)
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 <734194+rsese@users.noreply.github.com>
2023-06-28 16:20:26 +00:00
Rachael Sewell 14f8f76137
update archive version script (#38268) 2023-06-28 16:08:40 +00:00
dependabot[bot] c90a2d05ce
Bump semver from 7.3.8 to 7.5.2 (#38335)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 20:31:06 +00:00
dependabot[bot] 524e210828
Bump commander from 10.0.0 to 11.0.0 (#38209)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Bonsignori <ebonsignori@github.com>
2023-06-22 20:20:03 +00:00
Rachael Sewell cb37f22ef0
automate github apps docs (#35530)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2023-06-16 19:23:05 +00:00
Kevin Heis b21690a001
Remove @types/github-slugger (#37840) 2023-06-15 15:19:38 +00:00
Rachael Sewell 5f7a717aab
merge allOf JSON schema properties OpenAPI (#37821) 2023-06-13 22:27:45 +00:00
Peter Bengtsson f6bcd2e42b
@playwright/test@1.35.0 upgrade (#37791) 2023-06-13 17:04:20 +00:00
Kevin Heis 0c34f6d648
Code-headers plugin rewrite (#37654)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-06-12 15:04:49 +00:00
Kevin Heis b0e9bc314a
Move annotate from Liquid to info string (#37651)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-06-08 19:25:23 +00:00
Peter Bengtsson 4ab430da63
Refactor use of wrapInElement (#37675) 2023-06-08 17:19:36 +00:00
dependabot[bot] 4708c5b122
Bump fast-xml-parser from 4.1.3 to 4.2.4 (#37624)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 12:43:46 +00:00
Kevin Heis f520432027
Create and migrate observability directory (#37448) 2023-06-05 15:42:53 +00:00
Grace Park 01ed475082
Adding custom rule for alt text 40-150 characters (#37421)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-06-02 20:10:15 +00:00
Peter Bengtsson bc960c6447
Remove old browser (headless) tests (#37433) 2023-06-02 16:16:58 +00:00
Peter Bengtsson 53b203482a
@playwright/test@1.34.3 (#37385) 2023-06-01 12:22:37 +00:00
dependabot[bot] 9fc29dcb92
Bump got from 12.5.3 to 13.0.0 (#37354)
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>
2023-05-31 11:37:49 +00:00
dependabot[bot] ccf156e599
Bump @primer/octicons from 18.3.0 to 19.1.0 (#37131)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-05-30 19:09:23 +00:00
dependabot[bot] e723d07073
Bump @primer/octicons-react from 18.3.0 to 19.1.0 (#37130)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-05-30 18:56:53 +00:00
Peter Bengtsson 76ddf3a70c
Refactor Thead Th scope Markdown plugin (#37299) 2023-05-30 15:06:08 +00:00
dependabot[bot] f35612e063
Bump @graphql-tools/load from 7.6.0 to 8.0.0 (#37250)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2023-05-25 00:05:16 +00:00
Peter Bengtsson ac5b9c9f59
boxen@7.1.0 (#37035) 2023-05-11 23:36:51 +00:00
dependabot[bot] 314e59847f
Bump helmet from 6.0.0 to 7.0.0 (#36996)
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>
2023-05-11 12:03:36 +00:00
Peter Bengtsson fd850a7e3a
@playwright/test@1.33.0 (#37003) 2023-05-10 21:46:37 +00:00
Peter Bengtsson fe8bd15265
file-type@18.3.0 (#36984) 2023-05-10 11:49:06 +00:00
Peter Bengtsson 9301a1eef5
Rate limit in backend by suspicious requests (#36742) 2023-05-09 17:01:02 +00:00
Rachael Sewell 7c7ec9027e
Create ghes release features (#36718) 2023-05-01 15:57:38 +00:00
Kevin Heis d5281724e2
Update permalinks for accessibility (#36714)
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2023-05-01 14:03:02 +00:00
Kevin Heis 5b1834bf84
Upgrade primer/react and primer/css for a11y (#36616) 2023-04-25 22:07:26 +00:00
Peter Bengtsson 97528f6168
lowdb@6.0.0 (#36613) 2023-04-25 18:48:21 +00:00
dependabot[bot] 1ab9ae5c16
Bump yaml from 2.1.1 to 2.2.2 (#36601)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 14:14:45 +00:00
Peter Bengtsson e634d5dea4
eslint@8.38.0 and friends (#36416) 2023-04-17 16:51:12 +00:00
dependabot[bot] 50dcd77129
Bump rimraf from 4.1.2 to 5.0.0 (#36328)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2023-04-12 20:19:14 +00:00
dependabot[bot] df49799c02
Bump mkdirp from 2.1.3 to 3.0.0 (#36327)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2023-04-12 19:34:37 +00:00
dependabot[bot] 5429974b7f
Bump glob from 9.3.2 to 10.0.0 (#36325)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2023-04-12 19:13:56 +00:00
dependabot[bot] a8656b21e4
Bump @graphql-inspector/core from 3.1.2 to 4.0.3 (#36326)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2023-04-12 18:56:49 +00:00
dependabot[bot] a66f7ffe38
Bump xml2js and rss-parser (#36330)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 14:27:11 +00:00
Peter Bengtsson 4d777913ff
Remove 'ts-dedent' dependency (#36261) 2023-04-07 14:31:09 +00:00
Peter Bengtsson 5584d62cb4
Remove 'git-diff' dependency (#36250) 2023-04-07 11:39:51 +00:00
Peter Bengtsson d60b9a016f
Remove 'japanese-characters' dependency (#36247) 2023-04-06 19:08:30 +00:00
Peter Bengtsson 0998253a76
remove 'strip-ansi' direct dependency (#36246) 2023-04-06 18:45:14 +00:00
Peter Bengtsson 69f21454db
sharp@0.32.0 (#36243) 2023-04-06 18:28:10 +00:00
Peter Bengtsson 9ff07444ea
Delete 'linkinator' dependency (#36242)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2023-04-06 18:04:07 +00:00
Peter Bengtsson 4e60a0b8f7
eslint@8.37.0 (#36232) 2023-04-06 15:45:11 +00:00
dependabot[bot] a6400300cc
Bump @primer/css from 20.8.3 to 21.0.0 (#36184)
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>
2023-04-05 20:29:39 +00:00
Peter Bengtsson 8e4ba76223
remove the need for 'image-size' dependency (#36202) 2023-04-05 17:37:18 +00:00
Robert Sese 23127eb28b
ajv graphql tests (#36103) 2023-04-03 20:14:34 +00:00
Kevin Heis 39f88c21bf
Always allow docs paths (#36121) 2023-04-03 18:15:14 +00:00
Peter Bengtsson 982ff09b30
@playwright/test@1.32.1 and nodemon@2.0.22 (#36003) 2023-03-29 19:10:49 +00:00
Kevin Heis 69c7e2b56e
Update Liquid to 10 (#35835)
Co-authored-by: Hector Alfaro <hectorsector@github.com>
2023-03-29 18:50:19 +00:00
Peter Bengtsson 2ee59d7cbd
@github/failbot@0.8.3 and cheerio-to-text@0.2.3 (#35987) 2023-03-29 18:44:02 +00:00
Peter Bengtsson 31962f645f
glob@9.3.2 (#35912) 2023-03-27 21:36:59 +00:00
Peter Bengtsson 665ec4db8f
eslint@8.36.0 and plugins (#35899) 2023-03-27 15:11:02 +00:00
dependabot[bot] b2c91f120e
Bump typescript from 4.7.4 to 5.0.2 (#35758)
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 <734194+rsese@users.noreply.github.com>
2023-03-22 16:20:25 +00:00
dependabot[bot] 422dee1024
Bump webpack from 5.73.0 to 5.76.2 (#35705)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 20:09:06 +00:00
Kevin Heis d7442dc02d
Remove uuid package (#35694) 2023-03-20 13:02:20 -07:00
Rachael Sewell 31d705fe6f
Cli manpage automation (#35169)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2023-03-16 17:55:51 +00:00
Peter Bengtsson 3fecfa1be1
jest@29.5.0 (#35579) 2023-03-15 21:56:18 +00:00
Peter Bengtsson 5cecf691c2
Minimal tests with Playwright (#35322) 2023-03-10 21:22:51 +00:00
Sarah Schneider 70cfa96fa6
Accessibility checks script (#34245)
Co-authored-by: Laura Coursen <lecoursen@github.com>
2023-03-10 17:30:29 +00:00
Grace Park f15aaee17c
Upgrade primer react and primer css to use TreeView (#35408) 2023-03-09 22:12:02 +00:00
Peter Bengtsson 0a23f97eb2
Make it loud which URL failed in sync-search (#35434) 2023-03-09 17:35:13 +00:00
Hector Alfaro d75be63157
🔼 octicons and octicons-react to 18.1.0 (#35395) 2023-03-08 15:48:29 +00:00
Peter Bengtsson b17199efa9
is-svg@5.0.0 file-type@18.2.1 (#35393) 2023-03-08 15:41:49 +00:00
Peter Bengtsson 12af5c179c
nodemon@2.0.21 (#35367) 2023-03-08 14:13:19 +00:00
Peter Bengtsson ef98c01988
unbreak package-lock.json for nextjs swc (#35309) 2023-03-06 13:25:07 +00:00
Sarah Schneider 5ee7bfe4ac
Secret scanning structured data (#33117)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-03-03 18:20:50 +00:00
dependabot[bot] b2639060d4
Bump start-server-and-test from 1.14.0 to 2.0.0 (#35199)
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>
2023-03-01 17:04:52 +00:00
Peter Bengtsson df22e789c1
eslint@8.34.0 (#35082) 2023-02-24 14:49:38 +00:00
Peter Bengtsson d5ca722b98
@jest/globals@29.4.3 jest@29.4.3 (#35079) 2023-02-24 13:55:33 +00:00
Kevin Heis c00d988906
Actions use package.json for node version (#35003) 2023-02-23 14:51:52 +00:00
dependabot[bot] 79acb8c669
Bump minimatch from 6.1.5 to 7.0.0 (#34956)
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>
2023-02-22 15:35:45 +00:00
Peter Bengtsson 701c954de3
Script to set autotitle and fix internal redirecting links (#34187)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2023-02-14 17:15:16 +00:00
dependabot[bot] 0036bee6ce
Bump cacheable-request and got (#34661)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-02-11 01:04:48 +00:00
dependabot[bot] 4dd3d87e0c
Bump @sideway/formula from 3.0.0 to 3.0.1 (#34593)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-02-09 21:53:10 +00:00
dependabot[bot] ec4bffa026
Bump hot-shots from 9.0.0 to 10.0.0 (#34542)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-02-08 18:58:17 +00:00
Peter Bengtsson d7b52e772d
catch typos near 'AUTOTITLE' (#34493)
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2023-02-07 17:22:44 +00:00
Peter Bengtsson c3c01ef33c
eslint@8.33.0 (#34456) 2023-02-06 17:49:19 +00:00
Peter Bengtsson 952ea7cf6d
Dynamically serve .webp and .avif from a .png URL (#34412) 2023-02-03 18:19:55 +00:00
dependabot[bot] e5c99ab438
Bump http-cache-semantics from 4.1.0 to 4.1.1 (#34404)
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>
2023-02-03 13:00:48 +00:00
Peter Bengtsson b1dfca8fe2
validate all asset images in CI (#34325) 2023-02-01 12:51:14 +00:00
Evan Bonsignori 7b63a2f911
bump @actions/core to 1.10.0 (#34110) 2023-01-30 19:12:15 +00:00
Peter Bengtsson 57a6bbc60e
jest 29.4.1 (#34203) 2023-01-26 16:42:49 +00:00
dependabot[bot] 6e9109fc00
Bump mkdirp from 1.0.4 to 2.1.3 (#34012)
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>
2023-01-26 16:22:15 +00:00
dependabot[bot] d9c1d36f6d
Bump rimraf from 3.0.2 to 4.1.1 (#34009)
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>
2023-01-24 23:12:09 +00:00
dependabot[bot] 2301ca4213
Bump minimatch from 5.1.0 to 6.1.5 (#34010)
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>
2023-01-18 00:08:06 +00:00
dependabot[bot] 748740fc1d
Bump commander from 9.3.0 to 10.0.0 (#34008)
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>
2023-01-18 00:03:20 +00:00
Peter Bengtsson 5d52867e3d
highlight.js@11.7.0 (#33895) 2023-01-11 17:28:55 +00:00
Peter Bengtsson 083dc549ea
@github/failbot@0.8.2 (#33853) 2023-01-10 16:55:17 +00:00
Peter Bengtsson 9d41f5b5e5
@primer/octicons@17.10.1 @primer/octicons-react@17.10.1 (#33841) 2023-01-09 17:35:11 +00:00
Peter Bengtsson 1bf3a6da84
kill-port@2.0.1 (#33836) 2023-01-09 16:29:57 +00:00
Peter Bengtsson f8aebef476
parse5@7.1.2 (#33722) 2023-01-03 21:07:25 +00:00
Peter Bengtsson ad961a3f9d
jest@29.3.1 and eslint@8.31.0 (#33721) 2023-01-03 20:10:59 +00:00
dependabot[bot] b5d383b95b
Bump json5 from 1.0.1 to 1.0.2 (#33714)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 19:38:01 +00:00
Peter Bengtsson 4a8f23e2c9
upgrade @babel/core@7.20.7 (#33713) 2023-01-03 18:48:19 +00:00
Peter Bengtsson b148e7892a
cheerio-to-text@0.2.2 (#33712) 2023-01-03 18:26:10 +00:00
dependabot[bot] ad48cd8daa
Bump swr from 1.3.0 to 2.0.0 (#33527)
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-12-15 14:48:07 +00:00
Grace Park baa53b778f
Picker refactor (#33113)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-12-07 23:17:06 +00:00
dependabot[bot] ff1167d7ce
Bump @types/uuid from 8.3.4 to 9.0.0 (#33074)
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-12-01 15:45:43 +00:00
Peter Bengtsson 7586229bf2
switch from @alex_neo/jest-expect-message to jest-expect-message (#33089) 2022-11-30 16:26:58 +00:00
Peter Bengtsson 5a6c7c8cb3
remove replace (#32728) 2022-11-17 21:34:09 +00:00
Rachael Sewell 152a2399e2
remove lunr from codebase (#32432) 2022-11-10 21:36:13 +00:00
Peter Bengtsson 1e2bd3a512
put next.js swc dependencies back into package-lock.json (#32517) 2022-11-10 16:49:08 +00:00
Peter Bengtsson 46fbab792e
cache external link checking to disk file (#32082) 2022-11-10 13:38:08 +00:00
Peter Bengtsson 3b15bc69e8
eslint@8.26.0 (#32351) 2022-11-04 18:31:28 +00:00
dependabot[bot] 719e72a2ed
Bump github-slugger and @types/github-slugger (#32260)
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: Rachael Sewell <rachmari@github.com>
2022-11-03 20:44:02 +00:00
dependabot[bot] 322c34c0a9
Bump babel-loader from 8.2.5 to 9.0.1 (#32261)
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: Rachael Sewell <rachmari@github.com>
2022-11-03 20:22:54 +00:00
Peter Bengtsson 46afaf93ad
parse5@7.1.1 (#32277) 2022-11-02 16:41:53 +00:00
Peter Bengtsson 3161d90c1a
jest@29.2.2 (#32167) 2022-10-28 20:11:32 +00:00
dependabot[bot] 4b2e8c3a20
Bump rehype-highlight from 5.0.2 to 6.0.0 (#31844)
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-10-26 18:39:49 +00:00
dependabot[bot] faee09f2d7
Bump uuid from 8.3.2 to 9.0.0 (#30561)
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-10-26 18:31:45 +00:00
dependabot[bot] f701eb58e0
Bump helmet from 5.1.0 to 6.0.0 (#30298)
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-10-26 18:28:14 +00:00
dependabot[bot] 94e2948006
Bump @octokit/graphql from 4.8.0 to 5.0.4 (#32047)
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-10-26 18:06:11 +00:00
Evan Bonsignori 7b4429418b
Migrate links check to JS pattern (#30175)
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-10-17 21:47:21 +00:00
Lucas Costi 6889d0299f
Bump octicons packages to 17.7.0 (#31763) 2022-10-17 13:30:43 +00:00
Peter Bengtsson 91f676990c
restore conditional swc dependencies (#31603) 2022-10-11 14:50:19 +00:00
Peter Bengtsson 54c4cdd3ab
cheerio-to-text@0.2.0 (#31590) 2022-10-11 11:41:39 +00:00
Peter Bengtsson 994c09dc06
use cheerio-to-text (#31479) 2022-10-10 23:25:51 +00:00
Peter Bengtsson f0e2d931be
jest@29.1.2 (#31496) 2022-10-06 18:06:59 +00:00
Peter Bengtsson ef5b9d5f07
proxy /api/search/* to docs.github.com (#31281) 2022-09-29 21:50:38 +00:00
dependabot[bot] e4c7a0f353
Bump slash from 4.0.0 to 5.0.0 (#31219)
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-09-28 08:37:05 -07:00
dependabot[bot] 7601c70c72
Bump @octokit/rest from 18.12.0 to 19.0.4 (#31060)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Bonsignori <evanabonsignori@gmail.com>
2022-09-27 11:43:15 -07:00
Peter Bengtsson 8112c47fee
merge in domwaiter (#31197) 2022-09-27 14:38:12 -04:00
Kevin Heis 652bd429ec
Update domwaiter (#31170) 2022-09-26 16:12:10 -07:00
Peter Bengtsson 2d1f1f4c24
jest@29.0.3 (#31168) 2022-09-26 14:55:17 -07:00
Peter Bengtsson 32db795f5e
upgrade eslint 8.24.0 (#31141) 2022-09-26 13:42:15 -04:00
Peter Bengtsson d6ea35cc51
nodemon@2.0.20 (#30836) 2022-09-16 17:54:11 +00:00
Peter Bengtsson 37412ea5b0
re-instate optional darwin swc dependencies (#30612) 2022-09-08 11:38:11 -04:00
Peter Bengtsson 54991f70c9
connect to ES 7.11 (#30462)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-09-06 11:50:40 +00:00
dependabot[bot] 629fc283c3
Bump jest-fail-on-console from 2.4.2 to 3.0.1 (#30400)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2022-08-31 11:05:30 -07:00
Peter Bengtsson 283bcf54a5
upgrade to jest@29.0.0 (#30285) 2022-08-26 16:00:45 +00:00
Peter Bengtsson 0b59c835a6
downgrade next@12.2.4 (#30283) 2022-08-26 15:28:19 +00:00
Peter Bengtsson 84c5c95410
linkinator@4.0.2 (#30091) 2022-08-19 20:13:08 +00:00
dependabot[bot] 3a4cdb5d2f
Bump undici from 5.8.0 to 5.9.1 (#30073)
Bumps [undici](https://github.com/nodejs/undici) from 5.8.0 to 5.9.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.8.0...v5.9.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

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-08-18 21:48:19 +00:00
dependabot[bot] 96108dfc5d
Bump @actions/core from 1.9.0 to 1.9.1 (#30072)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

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-08-18 20:23:01 +00:00
Peter Bengtsson ceab27d205
next@12.2.5 (#30004) 2022-08-16 19:40:51 +00:00
Peter Bengtsson 5fe4e9eabf
upgrade all eslint related dev packages (eslint@8.22.0) (#29967) 2022-08-15 19:55:11 +00:00
Kevin Heis 688a274f1f
Remove CSRF check (#29910)
* Use color_mode for gating "sign up" button

* Remove csrf check

* Add `res.removeHeader('set-cookie')` to cache-control

* Update static-assets.js

* Remove package

* Remove tough-cookie

* Update cache-control.js

* Update cache-control.js

* Update cache-control.js
2022-08-15 19:28:42 +00:00
Peter Bengtsson ce42aa2dfd
upgrade eslint dev packages (#29818) 2022-08-11 11:14:03 +00:00
Peter Bengtsson 16fcaa7869
next@12.2.4 (#29731)
* next@12.2.4

* suppress 'Large Page Data'

* Update next.config.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-08-09 10:58:08 +00:00
Peter Bengtsson 67c1ff3441
Remove overload protection (#29659) 2022-08-05 15:04:33 +00:00
Kevin Heis 56aa9ea094
Move use session to its own hook file (#29641)
* Move use session to its own hook file

* Trying useSWR

* Try one hour html cache

* blah blah lint

* Update to include loading state

* Update components/hooks/useSession.ts

Co-authored-by: Peter Bengtsson <peterbe@github.com>

Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-08-05 14:47:10 +00:00
Kevin Heis bb1f30a39b
Update HTML cache control to 10 minutes (#29586)
* Update HTML cache control to 10 minutes

* A little clean up

* Remove quick-lru
2022-08-03 20:39:54 +00:00
dependabot[bot] b19e5a6ac3
Bump terser from 5.14.0 to 5.14.2 (#29208)
Bumps [terser](https://github.com/terser/terser) from 5.14.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

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-07-27 15:47:20 +00:00
Peter Bengtsson ac2cce4aef
upgrade all eslint related dev dependencies (#29277) 2022-07-22 12:12:13 -04:00
Peter Bengtsson 7b5e6f102d
upgrade jest@28.1.3 (#29275) 2022-07-22 11:31:09 -04:00
dependabot[bot] 756c955353
Bump undici from 5.7.0 to 5.8.0 (#29255)
Bumps [undici](https://github.com/nodejs/undici) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

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-07-22 08:52:37 -04:00
Peter Bengtsson 46d9cddff0
upgrade nodemon@2.0.19 (#29244) 2022-07-21 19:19:27 +00:00
dependabot[bot] 570be6dcaa
Bump @primer/css from 19.8.2 to 20.2.4 (#29175)
Bumps [@primer/css](https://github.com/primer/css) from 19.8.2 to 20.2.4.
- [Release notes](https://github.com/primer/css/releases)
- [Changelog](https://github.com/primer/css/blob/main/CHANGELOG.md)
- [Commits](https://github.com/primer/css/compare/v19.8.2...v20.2.4)

---
updated-dependencies:
- dependency-name: "@primer/css"
  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: Kevin Heis <heiskr@users.noreply.github.com>
2022-07-21 08:12:53 -07:00
Peter Bengtsson 88f0b1686f
delete script/content-migrations/deduplicate-enterprise-assets.js (#29011)
* delete script/content-migrations/deduplicate-enterprise-assets.js

* update package-lock
2022-07-13 20:48:09 +00:00
Peter Bengtsson 721e68f4ab
Index records into Elasticsearch (#27819)
* indexing records into Elasticsearch

* @elastic/elasticsearch@8.2.0

* mv

* fix the code

* pipe

* lfs

* use sha

* change how index names work

* better snowballing

* improvements and upgrade

* index more explicitly

* wip

* no need to save space with elasticsearch

* update package-lock

* Revert "no need to save space with elasticsearch"

This reverts commit 9cdd4d8f4fa7be822bdef3976091c3c640519dec.

* adding a comment

* better comment

* a better comment

* feedbacked

* more comment
2022-07-13 20:32:22 +00:00
Grace Park 822fe2926b
Megabranch: Upgrade primer/react (#28458)
* upgrade primer/react

* upgrade

* using deprecated

* remove lib"

* Upgrade primer/react: Upgrade Label (#28502)

update Label to primer/react 35.2.2

* fix merge conflicts

* primer/react v35: update ActionList (#28467)

* Update to v35 ActionList for LearningTrack

* Update to v35 ActionList for ArticleList

* Update to v35 ActionList for ProductArticleList

* Update to v35 ActionList for TableOfContents

* Update to v35 ActionList for ProductCollapsibleSection

* Update to v35 ActionList for RestCollapsibleSection

* Update to v35 ActionList for SidebarHomepage

* Update to v35 ActionList for MiniTocs

* Update to v35 ActionList for Search

* Extra div for rendering test

* One less div for rendering test

* All the style updates for v35 ActionList

* Works without setting as an li which is already the default (didn't before for some reason)

* Use deprecated ItemInput for now

* Picker update for primer/react (#28485)

* update picker

* inline picker for mobile

* set width to auto

* Update components/ui/Picker/Picker.tsx

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* update

* Update Picker.tsx

* update onselect

* checking language code

* move language cookie setting to language picker

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* Resolve package merge conflicts

* fresh npm install

* Primer update UnderlineNav (#28582)

* update underlinenav for primer/react update

* update tests

* update switches test

* update one last label

* update header test"

* remove href in underlinenav

* update rendering tests

* update cursor

* primer/react v35: update DropDownMenu to ActionMenu (#28576)

* Update to v35 ActionMenu for ArticleCards

* Update to v35 ActionMenu for Search

* Set button to inline-block

* Put the props on the overlay

* Update test for ActionMenu markup

* update package

* update package lock

* primer/react v35: CodeLanguagePicker update from SelectMenu to ActionMenu (#28625)

* Use octicon for menu down arrow

* Update to v35 ActionMenu for CodeLanguagePicker

* update to SubNav

Co-authored-by: Grace Park <gracepark@github.com>

* update package-lock

Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-07-11 11:51:18 -07:00
Peter Bengtsson 5b0e38817d
upgrade all eslint related libs (#28819) 2022-06-29 19:35:39 +00:00
Peter Bengtsson ee1f20f4fb
jest 28.1.1 (#28797)
* got 28.1.1

* wip

* force upgrade nth-check

* legacyFakeTimers
2022-06-29 11:55:03 +00:00
Peter Bengtsson 703f158662
nodemon@2.0.18 (#28796) 2022-06-29 11:44:33 +00:00
Peter Bengtsson 74c324df46
remove 'styled-jsx' dependency (#28787) 2022-06-28 11:37:22 -04:00
Peter Bengtsson c1f0030e3a
NextJS 12.1.6 (#26102)
* nextjs 12.1.0

* no idea what's going on

* desperate attempts

* wip

* lots of data is necessary for 'npm run build' now

* tidying up

* update package lock
2022-06-28 12:57:38 +00:00
Kevin Heis f948c81038
Upgrade got (#28617)
* Upgrade got

* Update e2etest.js

* Skip following redirects on redirect tests

* Update deprecated-enterprise-versions.js
2022-06-21 16:23:51 +00:00
Kevin Heis 05fe4c60cb
Upgrade commander (#28613)
* Upgrade commander

* Change import
2022-06-17 16:43:02 +00:00
Kevin Heis 03e2cf22e6
Upgrade cheerio (#28614) 2022-06-17 16:34:56 +00:00
Peter Bengtsson a39614fdcf
remove supertest dependency (#28572)
* remove supertest dependency

* remove bad test
2022-06-16 15:56:41 +00:00
Peter Bengtsson 0186424847
use SSRProvider from @primer/react to avoid warnings (#28546) 2022-06-15 16:51:58 -05:00
Kevin Heis 8f83f60766
Remove pa11y (#28532)
* Remove pa11y

* Lock types/react
2022-06-15 20:55:27 +00:00
Kevin Heis c2e9d34b7c
Upgrade all minor/patch versions (#28500)
* Upgrade all minor/patch versions

* Revert liquid change

* Revert highlightjs

* Force highlightjs version

* force liquidjs version

* Revert all

* Smaller set of upgrades

* Update package-lock.json

* Update package-lock.json

* Lock cheerio version

* Remaining minors except liquid and cheerio

* A few majors I suspect are harmless

* And run npm install again :)

* Lock liquidjs version

* Step back on got

* A few hidden minor/patches

* Update package-lock.json

* Lock react types
2022-06-15 11:10:09 -07:00
Kevin Heis 71fedb1f31
Update to helmet 5 (#28488)
* Update to helmet 5

* Disable cross-origin-embedder-policy

* Update helmet.js

* Update helmet.js

* Add CORS on get / options

* Update helmet.js

* Update helmet.js

* Update helmet.js

* Update helmet.js

* Revert "Update helmet.js"

This reverts commit 61ad2fb641ca16a31bf148164c395f2ba91e1734.

* Open up github domains

* Include self

* Update helmet.js

* Update helmet.js
2022-06-14 21:43:25 +00:00
Peter Bengtsson 0504d968c6
stop mocking hydro calls with supertest (#28179)
* stop mocking hydro calls with supertest

* wip

* fix the tests

* nock.cleanAll()
2022-06-03 15:17:12 +00:00
Peter Bengtsson 0340760554
remove spotContentFlaws middleware (#28068) 2022-05-31 18:19:16 +00:00
Peter Bengtsson 2eee72f257
parse5@7.0.0 with full ESM support (#28014) 2022-05-26 16:49:58 +00:00
Peter Bengtsson 75c0ec5cab
`/en/` permanent redirects to `/en` should be CDN cacheable (#27976) 2022-05-25 13:51:16 +00:00
Peter Bengtsson 35248ed2b2
quick-lru@6.1.1 (#27962) 2022-05-25 11:23:43 +00:00
Peter Bengtsson 18504871b9
cache full rendering (#25424)
* cache full rendering

* still not working with gzip

* progress progress progress

* smaller

* hacky progress

* small fixes

* wip

* lock file

* wip

* wip

* package-lock updates

* wip

* search DOM in lowercase

* simplify

* with instrument

* improve test coverage

* mutateCheeriobodyByRequest

* fix

* remove renderContentCacheByContex

* disable render caching in sync-search

* diables things in github/github link checker

* gzip lru

* tidying up

* updated

* correct tests

* fix: move userLanguage to LanguagesContext

* Revert "fix: move userLanguage to LanguagesContext"

This reverts commit d7c05d958c71eaad496eb46764eb845d80b866ca.

* contexts ftw

* fixed rendering tests

* oops for got new file

* nits addressed

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2022-05-23 12:12:09 +00:00
Peter Bengtsson ba31a77cef
swr 1.3.0 (#27880) 2022-05-20 17:11:41 -04:00
dependabot[bot] 5f211a9f9e
Bump eslint-config-standard from 16.0.3 to 17.0.0 (#27258)
Bumps [eslint-config-standard](https://github.com/standard/eslint-config-standard) from 16.0.3 to 17.0.0.
- [Release notes](https://github.com/standard/eslint-config-standard/releases)
- [Changelog](https://github.com/standard/eslint-config-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/eslint-config-standard/compare/v16.0.3...v17.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-standard
  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: Robert Sese <rsese@github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-05-19 22:00:42 +00:00
Peter Bengtsson fe10c2eb45
nodemon 2.0.16 (#27845) 2022-05-19 21:50:03 +00:00
dependabot[bot] 4d263eb13b
Bump @jest/globals from 27.4.6 to 28.1.0 (#27601)
Bumps [@jest/globals](https://github.com/facebook/jest/tree/HEAD/packages/jest-globals) from 27.4.6 to 28.1.0.
- [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/v28.1.0/packages/jest-globals)

---
updated-dependencies:
- dependency-name: "@jest/globals"
  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>
2022-05-19 14:00:15 +00:00
dependabot[bot] 21362499a8
Bump kill-port from 1.6.1 to 2.0.0 (#27770)
Bumps [kill-port](https://github.com/tiaanduplessis/kill-port) from 1.6.1 to 2.0.0.
- [Release notes](https://github.com/tiaanduplessis/kill-port/releases)
- [Commits](https://github.com/tiaanduplessis/kill-port/commits/v2.0.0)

---
updated-dependencies:
- dependency-name: kill-port
  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>
2022-05-19 13:36:53 +00:00
dependabot[bot] 60e162b483
Bump @types/react-syntax-highlighter from 13.5.2 to 15.5.1 (#27603)
Bumps [@types/react-syntax-highlighter](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-syntax-highlighter) from 13.5.2 to 15.5.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-syntax-highlighter)

---
updated-dependencies:
- dependency-name: "@types/react-syntax-highlighter"
  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: Grace Park <gracepark@github.com>
2022-05-16 12:49:56 -07:00
dependabot[bot] 154cb7f5fc
Bump async from 2.6.3 to 2.6.4 (#27720)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2022-05-16 12:29:40 -07:00
Mike Surowiec b93a3ec387
feat: add overload-protection (#27612)
* feat: add overload-protection

* Update middleware/overload-protection.js

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* fix: tests

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-05-12 16:34:25 +00:00
Mike Surowiec ed8eda1f60
feat: add signal sciences (#27640)
* tmp: add sigsci

* add sigsci.js

* add sigsci.js

* feat: add sigsci to middleware

* convert sigsci to esmodule

* add sigsci-agent to docker-compose.tmpl
2022-05-12 16:15:17 +00:00
Peter Bengtsson 5733237c00
remove add-tags-to-articles script (#27639) 2022-05-12 10:51:40 -04:00
Peter Bengtsson 6605154221
Revert "Fastly Signal Science agent and module (#27529)" (#27624)
This reverts commit aae78966ef.
2022-05-11 14:39:47 -07:00
Peter Bengtsson aae78966ef
Fastly Signal Science agent and module (#27529)
* Fastly Signal Science agent and module

* create an assets/build.txt

* try that

* don't experiment with build-args

* do it not just for public builds

* fix comment

* remove experimentation

* actually try using it

* bit louder

* correction

* remove debug logging
2022-05-11 21:18:01 +00:00
Peter Bengtsson 66d7f98bdb
upgrade @typescript-eslint/eslint-plugin and @typescript-eslint/parser (#27588) 2022-05-11 14:38:14 +00:00
Peter Bengtsson cd1d86abf2
remove 'async' dependency (#27327) 2022-04-28 18:29:06 +00:00
dependabot[bot] f909900afc
Bump glob from 7.2.0 to 8.0.1 (#26864)
Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.2.0...v8.0.1)

---
updated-dependencies:
- dependency-name: glob
  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: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2022-04-15 11:31:01 -05:00
Mike Surowiec 9a829c0094
fix(package.json): update engines to allow >= 16.x (#26858)
* fix(package.json): update engines to allow >= 16.x

* fix: new npm includes engine in lockfile

* fix(package-lock): run with npm v8.5.0 to match CI
2022-04-11 23:54:06 +00:00
dependabot[bot] eb115b253e
Bump @types/react-dom from 17.0.11 to 18.0.0
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.11 to 18.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 16:12:59 +00:00
Peter Bengtsson a4def10b2c
remove rate limiter and slow-down middleware (#26709)
* remove rate limiter and slow-down middleware

* update package-lock.json after node-fetch removal in main
2022-04-05 19:38:25 +00:00
Peter Bengtsson 3bda075aa2
remove node-fetch override (#26677) 2022-04-05 16:28:24 +00:00
Grace Park d31987ba2f
Merge branch 'main' into dependabot/npm_and_yarn/minimist-1.2.6 2022-03-29 11:58:39 -07:00
Peter Bengtsson 74b0fcfeff
upgrade typescript-eslint combo 5.16.0 (#26502)
Co-authored-by: Grace Park <gracepark@github.com>
2022-03-29 18:47:46 +00:00
dependabot[bot] e784ceb2de
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 17:01:08 +00:00
Grace Park de0c1cb5e9 upgrade react syntax highlighter and prism 2022-03-28 10:45:33 -07:00
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 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