Skip to content

Conversation

@elrayle
Copy link
Collaborator

@elrayle elrayle commented Oct 18, 2024

!!! DO NOT MERGE !!!

mpcen and others added 30 commits October 3, 2022 14:20
To refine the component search result in PageBrowse, pass component type information in search pattern.

Task: #957
Include component type in search pattern for browse
Stands for "Python Package Index", so "I" should be capitalized. Also see https://pypi.org/ for confirmation.
updating pipelines to ubuntu-20.04
Add GitHub Actions workflow file to run CI
Co-authored-by: E. Lynette Rayle <elrayle@users.noreply.github.com>
Create Actions workflow to deploy to production
Signed-off-by: Nick Vidal <nick@profian.com>
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.19.2)

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

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

Bump express from 4.17.1 to 4.19.2
JamieMagee and others added 30 commits January 15, 2026 21:33
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](gulpjs/glob-parent@v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](browserify/browserify-sign@v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tree-kill](https://github.com/pkrumins/node-tree-kill) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/pkrumins/node-tree-kill/releases)
- [Commits](pkrumins/node-tree-kill@v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: tree-kill
  dependency-type: indirect
...

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

Bump tree-kill from 1.2.1 to 1.2.2
Bumps [fsevents](https://github.com/fsevents/fsevents) from 1.2.9 to 1.2.13.
- [Release notes](https://github.com/fsevents/fsevents/releases)
- [Commits](fsevents/fsevents@v1.2.9...v1.2.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
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](caolan/async@v2.6.3...v2.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](EventSource/eventsource@v1.0.7...v1.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
node-sass is deprecated and no longer maintained. It also has known
security vulnerabilities and causes build issues on newer Node.js
versions and ARM-based machines (e.g., Apple Silicon).

Dart Sass (the 'sass' package) is the primary implementation of Sass,
actively maintained, and provides better performance. It's a drop-in
replacement that requires only minor CLI syntax changes.

Changes:
- Replace node-sass ^4.14.1 with sass ^1.83.0
- Update build-css script to use sass CLI syntax
- Update watch-css script to use sass CLI syntax
React 17+ removes support for componentWillMount, componentWillReceiveProps,
and componentWillUpdate. This commit replaces all 16 occurrences across
16 files with their modern equivalents:

- componentWillReceiveProps -> componentDidUpdate (with proper prop comparison)
- componentWillMount -> componentDidMount

This is a prerequisite for upgrading React from 16.4.1 to 17+/18.x.

Changes:
- PageCurate.js: Compare prevProps for path/filter changes
- SavePopUp.js: Sync filename state when type prop changes
- withTracker.js: Track page changes for analytics
- 6 VersionPicker components: Sync selected state from revision prop
- RehydrationProvider.js: Move persistStore to componentDidMount
- EditableFieldRenderer.js: Recompute values on definition changes
- PageDefinitions.js: Refresh on curation status changes
- FileList.js: Update file list when props change
- InfiniteList.js: Recompute row heights on content changes
- CopyrightsRenderer.js: Sync values when item prop changes
- ComponentList.js: Increment sequence on prop changes
…cated-lifecycle-methods

Replace deprecated React lifecycle methods with modern equivalents
Enzyme has been deprecated and is no longer maintained, making it
incompatible with newer versions of React. This migration replaces
Enzyme with React Testing Library (RTL), which is the recommended
testing library for React applications.

Changes:
- Replace enzyme, enzyme-adapter-react-16, and jest-enzyme with
  @testing-library/react@12, @testing-library/jest-dom@5, and
  @testing-library/user-event@14
- Update setupTests.js to use RTL's jest-dom matchers instead of
  Enzyme configuration
- Migrate all 25 test files from Enzyme patterns (shallow, mount,
  wrapper.find) to RTL patterns (render, screen, userEvent)
- Add explicit React imports to test files (required for React 16 JSX)
- Fix Redux mock store shapes to include required nested properties
  for connected components (filterList.list, componentList.transformedList)
- Add mock history object for router-dependent components

RTL v12 is used as it's the last version supporting React 16. Once
React is upgraded, RTL can be updated to the latest version.
- Fix filename typo: PageBrowe.test.js -> PageBrowse.test.js
- Add LicensePickerUtils.test.js with unit tests for license expression
  parsing, toString conversion, rule creation, and rule removal
- Add zero score display assertion to ScoreRenderer.test.js
- Add modal button assertions to VersionSelector.test.js
- Add table rendering tests to FileList.test.js

The removed tests for FOSSA input parsing and internal filtering methods
tested implementation details rather than user behavior. The license rule
manipulation logic is now tested via the LicensePickerUtils pure functions.
RTL encourages testing components from a user perspective rather than
testing internal methods directly.
…e-to-rtl

Migrate test suite from Enzyme to React Testing Library
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.22 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits/4.17.23)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.