Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
0675666
`yarn set version berry`
randytarampi Jun 15, 2026
3f4b401
These are `devDependencies`
randytarampi Jun 15, 2026
8a53d10
Use `typescript@^5`
randytarampi Jun 15, 2026
a92ee54
Suppress `CVE-2022-24785` and `CVE-2022-31129` by pulling the latest …
randytarampi Jun 15, 2026
987ac94
Suppress `GHSA-wf6x-7x77-mvgw` by pulling the latest `immutable@^4.3.8`.
randytarampi Jun 15, 2026
dd10b18
Fix `linkify`'s hashtag linking...
randytarampi Jun 15, 2026
57a8639
Suppress `GHSA-r5fr-rjxr-66jc`, `GHSA-f23m-r3pf-42rh`, and `GHSA-xxjr…
randytarampi Jun 15, 2026
cfdb879
Suppress `GHSA-7fh5-64p2-3v2j` and `GHSA-qx2v-qp2m-jg93` by pulling t…
randytarampi Jun 15, 2026
6134acf
Suppress `GHSA-gcx4-mw62-g8wm` and `GHSA-mw96-cpmx-2vgc` by pulling t…
randytarampi Jun 15, 2026
4e8e200
Suppress `GHSA-rc3x-jf5g-xvc5` and `GHSA-7x7c-qm48-pq9c` by pulling t…
randytarampi Jun 15, 2026
3d10d0b
Consolidate `semver` versions where we can
randytarampi Jun 15, 2026
0952431
Consolidate `qs` versions where we can
randytarampi Jun 15, 2026
bbd7e1b
Consolidate `tough-cookie` versions where we can
randytarampi Jun 15, 2026
9f2f063
Consolidate `follow-redirects` versions where we can
randytarampi Jun 15, 2026
a1c241a
Suppress `GHSA-869p-cjfg-cm3x` by pulling the latest `jws@^3.2.3`
randytarampi Jun 15, 2026
6c5e96b
ESLint.
randytarampi Jun 16, 2026
b8039e8
Use modern GitHub `actions/checkout@v4` and `actions/cache@v4`.
randytarampi Jun 16, 2026
999d3d6
Let's demand modern `node` versions while we're in here...
randytarampi Jun 16, 2026
ac14e2a
Clear the remaining `yarn npm audit --no-deprecations --all --recursi…
randytarampi Jun 16, 2026
f8e4ccb
Update the CHANGELOG.
randytarampi Jun 17, 2026
9c5d411
Enable Corepack in CI for Yarn Berry.
randytarampi Jul 10, 2026
4f699ce
Fix StreamUser generic type mismatch in StreamApp and FeedManager.
randytarampi Jul 10, 2026
5f59b8b
Fix CI: ChromiumHeadless sandbox, docz/gatsby Node 20 compat.
randytarampi Jul 10, 2026
8323a36
Add build step before browser bundle validation.
randytarampi Jul 10, 2026
60e1d8e
Fix prettier formatting: add trailing newline to gatsby-node.js.
randytarampi Jul 10, 2026
ae4db75
Fix eslint warning: remove unused 'stage' and 'path' from gatsby-node…
randytarampi Jul 10, 2026
7250333
Add build step before docs build.
randytarampi Jul 10, 2026
a0ff7d5
Address Cubic review comments on PR #3.
randytarampi Jul 10, 2026
17dca6e
Fix prettier formatting and remove size-limit workflow.
randytarampi Jul 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 7 additions & 4 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,24 @@ description: Sets up Node and Build SDK
inputs:
node-version:
required: false
default: '16'
default: '20'

runs:
using: 'composite'
steps:
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
- name: Enable Corepack
run: corepack enable
shell: bash
- name: Cache Dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-${{ inputs.node-version }}-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-${{ inputs.node-version }}-modules-
- name: Install Dependencies & Build
run: yarn install --frozen-lockfile --ignore-engines
run: yarn install --immutable
shell: bash
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: Cache .docz folder
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./.docz
key: docz-${{ matrix.node }}-gatsby-v1-${{ github.run_id }}
restore-keys: docz-${{ matrix.node }}-gatsby-v1-
- name: Build
run: yarn build
- name: Build Docs
run: yarn run docs-build
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: Lint
run: yarn run lint
30 changes: 0 additions & 30 deletions .github/workflows/size-limit.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16, 17]
node: [20, 22, 24, 26]
Comment thread
randytarampi marked this conversation as resolved.
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
with:
node-version: ${{ matrix.node }}
- name: Test unit
run: yarn test
- name: Build
run: yarn build
- name: Validate Browser Bundle
run: yarn run test-browser-build
- name: Validate translation
Expand Down
6 changes: 6 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
approvedGitRepositories:
- '**'

enableScripts: true

nodeLinker: node-modules
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,49 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

Security-hardening and tooling-modernization work from the `securitize` branch. These
changes clear the outstanding `yarn npm audit` findings and bring the build, CI, and
toolchain up to date without changing the public component API.

### Fix

- `linkify`'s hashtag linking is restored. `init()` is now called _after_ both the
`mention` and `hashtag` plugins are registered, since `linkifyjs` 4.x ignores any
plugin registered after the first `init()` call.

### Security

- Suppress `CVE-2022-24785` and `CVE-2022-31129` by pulling the latest `moment@^2.30.1`.
- Suppress `GHSA-wf6x-7x77-mvgw` by pulling the latest `immutable@^4.3.8` (adds typed
`getIn`/`updateIn`/`fromJS` helpers in `src/utils/immutable.ts` for immutable v4).
- Suppress `GHSA-r5fr-rjxr-66jc`, `GHSA-f23m-r3pf-42rh`, and `GHSA-xxjr-mmjv-4gpg` by
pulling the latest `lodash@^4.18.1`.
- Suppress `GHSA-7fh5-64p2-3v2j` and `GHSA-qx2v-qp2m-jg93` by pulling the latest
`postcss@^8.5.15`.
- Suppress `GHSA-gcx4-mw62-g8wm` and `GHSA-mw96-cpmx-2vgc` by pulling the latest
`rollup@^2.80.0`.
- Suppress `GHSA-rc3x-jf5g-xvc5` and `GHSA-7x7c-qm48-pq9c` by pulling the latest
`karma@^6.4.4`.
- Suppress `GHSA-869p-cjfg-cm3x` by pulling the latest `jws@^3.2.3` and pinning the
`jsonwebtoken@^9.0.2` resolution.
- Consolidate transitive `semver`, `qs`, `tough-cookie`, and `follow-redirects`
versions where possible, and pin the `getstream/axios@^1` resolution.
- Clear the remaining `yarn npm audit --no-deprecations --all --recursive --environment production` findings.

### Chore

- Migrate package management to Yarn Berry (`yarn set version berry`, `packageManager: yarn@4.17.0`).
- Upgrade to `typescript@^5`.
- Upgrade the Jest toolchain to `^29` (`jest`, `babel-jest`, `ts-jest`, plus
`jest-environment-jsdom`) and add `@types/jest`.
- Move `@types/emoji-mart`, `@types/url-parse`, and
`@types/webscopeio__react-textarea-autocomplete` to `devDependencies`.
- Require modern Node (`engines.node: >=20`).
- Use modern GitHub `actions/checkout@v4` and `actions/cache@v4` in CI workflows.
- ESLint clean-up across the project.

## 1.4.0 - 2022-03-11

### Feature
Expand Down
2 changes: 2 additions & 0 deletions docs/36559585-b7cb65aa8e307ac4958b.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/36559585-b7cb65aa8e307ac4958b.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/404/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*!
* regjsgen 0.5.2
* Copyright 2014-2020 Benjamin Tan <https://ofcr.se/>
* Available under the MIT license <https://github.com/bnjmnt4n/regjsgen/blob/master/LICENSE-MIT.txt>
*/

/*! https://mths.be/regenerate v1.4.2 by @mathias | MIT license */

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*!
* regjsgen 0.5.2
* Copyright 2014-2020 Benjamin Tan <https://ofcr.se/>
* Available under the MIT license <https://github.com/bnjmnt4n/regjsgen/blob/master/LICENSE-MIT.txt>
*/

/*! https://mths.be/regenerate v1.4.2 by @mathias | MIT license */

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/8050e1a2-ffd1e2ed3bd805b866cf.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/8050e1a2-ffd1e2ed3bd805b866cf.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions docs/app-2047e0f11b24eac8f33a.js

Large diffs are not rendered by default.

190 changes: 190 additions & 0 deletions docs/app-2047e0f11b24eac8f33a.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
/*!
Copyright (c) 2015 Jed Watson.
Based on code that is Copyright 2013-2015, Facebook, Inc.
All rights reserved.
*/

/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*!
* Adapted from jQuery UI core
*
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/ui-core/
*/

/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/

/*!
* Copyright (c) 2015-2020, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/

/*!
* Copyright (c) 2018, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/

/*!
* array-sort <https://github.com/jonschlinkert/array-sort>
*
* Copyright (c) 2015-2017, Jon Schlinkert.
* Released under the MIT License.
*/

/*!
* domready (c) Dustin Diaz 2014 - License MIT
* ie10 fix - Mikael Kristiansson 2019
*/

/*!
* get-value <https://github.com/jonschlinkert/get-value>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License.
*/

/*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed
*/

/*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/

/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */

/*! Axios v1.18.0 Copyright (c) 2026 Matt Zabriskie and contributors */

/*! https://mths.be/he v1.2.0 by @mathias | MIT license */

/*! https://mths.be/punycode v1.4.1 by @mathias */

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */

/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
1 change: 1 addition & 0 deletions docs/app-2047e0f11b24eac8f33a.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/app-253da9a37fa5f1518228.js

Large diffs are not rendered by default.

Loading
Loading