1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Commit Graph

475 Commits

Author SHA1 Message Date
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