Skip to content

Commit

Permalink
Version 2.4.0 (#197)
Browse files Browse the repository at this point in the history
### Changes
- Added support for document verticals (#191)
- Added compatibility with PagesJS v1 (#190)
### Fixes
- Upgraded `@babel/traverse` version to address a vulnerability in the package (#194)
  • Loading branch information
nmanu1 committed Dec 8, 2023
2 parents 99c3358 + 8530bf1 commit b48346f
Show file tree
Hide file tree
Showing 13 changed files with 1,151 additions and 345 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,22 @@ on: [push, pull_request]
jobs:
call_run_tests:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
with:
node_matrix: '["16.x", "18.x", "20.x"]'

# It's necessary to use v12 of the react-testing-library since v13 was updated to only support react 18
call_run_tests-react-17:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
with:
build_script: |
npm i -D react@17 react-dom@17 @testing-library/react@12
npm i -D react@17 react-dom@17 @types/react@17 @testing-library/react@12
npm run build
node_matrix: '["16.x", "18.x", "20.x"]'

call_run_tests-react-16:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
with:
build_script: |
npm i -D react@16.14 react-dom@16.14 @testing-library/react@12
npm i -D react@16.14 react-dom@16.14 @types/react@16.14 @testing-library/react@12
npm run build
node_matrix: '["16.x", "18.x", "20.x"]'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# build
/lib
/dist

# misc
.DS_Store
Expand Down
40 changes: 35 additions & 5 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ SOFTWARE.

The following NPM package may be included in this product:

- @yext/search-core@2.4.0
- @yext/search-core@2.5.0

This package contains the following license and notice below:

Expand Down Expand Up @@ -106,7 +106,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The following NPM package may be included in this product:

- @yext/search-headless@2.4.0
- @yext/search-headless@2.5.0

This package contains the following license and notice below:

Expand Down Expand Up @@ -178,7 +178,7 @@ THE SOFTWARE.

The following NPM package may be included in this product:

- cross-fetch@3.1.6
- cross-fetch@3.1.8

This package contains the following license and notice below:

Expand Down Expand Up @@ -384,7 +384,7 @@ THE SOFTWARE.

The following NPM package may be included in this product:

- node-fetch@2.6.11
- node-fetch@2.7.0

This package contains the following license and notice below:

Expand Down Expand Up @@ -412,9 +412,39 @@ SOFTWARE.

-----------

The following NPM package may be included in this product:

- object-assign@4.1.1

This package contains the following license and notice below:

The MIT License (MIT)

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

-----------

The following NPM packages may be included in this product:

- react@18.1.0
- react@17.0.2
- use-sync-external-store@1.1.0

These packages each contain the following license and notice below:
Expand Down

0 comments on commit b48346f

Please sign in to comment.