Skip to content

Commit

Permalink
Bump to 4.17.1-0 (#5174)
Browse files Browse the repository at this point in the history
* 4.17.1-0

* Add 4.17.0

* Bump deps

* Debump eslint@8

* Bump jest@29

* Update usage of eslint-plugin-security

* Fix ESLint/Prettier errors

* Revert "Bump jest@29"

This reverts commit cc17457.

* Remove .headless

* Debump selenium-webdriver

* Fix alt=""

* Fix test

* Debump jest-image-snapshot and bump selenium-webdriver

* Revert "Remove .headless"

This reverts commit 3820c90.

* Bump jest-image-snapshot

* Replace headless with addArguments

* Bump [email protected]

* Debump [email protected]

* Use --headless=new

* Use --headless

* Debump jest-image-snapshot

* Debump http-proxy-middleware

* Bump [email protected] and [email protected]
  • Loading branch information
compulim authored May 8, 2024
1 parent f03d1f0 commit bf8dbd9
Show file tree
Hide file tree
Showing 97 changed files with 15,584 additions and 16,513 deletions.
1 change: 1 addition & 0 deletions .eslintrc.react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ rules:
react/no-will-update-set-state: error
react/prefer-es6-class: error
react/prefer-read-only-props: error
react/prop-types: off # defaultProps/propTypes is being deprecated over TypeScript and default function parameters.
react/require-default-props: error
react/self-closing-comp: error
react/sort-default-props: error
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extends:
- eslint:recommended
- plugin:import/recommended
- plugin:prettier/recommended
- plugin:security/recommended
- plugin:security/recommended-legacy

parserOptions:
ecmaVersion: 2020
Expand Down
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,53 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#5174](https://github.com/microsoft/BotFramework-WebChat/pull/5174)
- Production dependencies
- [`[email protected]`](https://npmjs.com/package/classnames)
- [`[email protected]`](https://npmjs.com/package/core-js)
- [`[email protected]`](https://npmjs.com/package/deep-freeze-strict)
- [`[email protected]`](https://npmjs.com/package/markdown-it)
- [`[email protected]`](https://npmjs.com/package/merge-refs)
- [`[email protected]`](https://npmjs.com/package/mime)
- [`[email protected]`](https://npmjs.com/package/p-defer)
- [`[email protected]`](https://npmjs.com/package/redux-saga)
- [`[email protected]`](https://npmjs.com/package/redux)
- [`[email protected]`](https://npmjs.com/package/sanitize-html)
- [`[email protected]`](https://npmjs.com/package/swiper)
- [`[email protected]`](https://npmjs.com/package/whatwg-fetch)
- Development dependencies
- [`@fluentui/[email protected]`](https://npmjs.com/package/@fluentui/react-components)
- [`@types/[email protected]`](https://npmjs.com/package/@types/node)
- [`@typescript-eslint/[email protected]`](https://npmjs.com/package/@typescript-eslint/eslint-plugin)
- [`@typescript-eslint/[email protected]`](https://npmjs.com/package/@typescript-eslint/parser)
- [`[email protected]`](https://npmjs.com/package/adm-zip)
- [`[email protected]`](https://npmjs.com/package/dotenv)
- [`[email protected]`](https://npmjs.com/package/esbuild)
- [`[email protected]`](https://npmjs.com/package/eslint-plugin-import)
- [`[email protected]`](https://npmjs.com/package/eslint-plugin-prettier)
- [`[email protected]`](https://npmjs.com/package/eslint-plugin-react-hooks)
- [`[email protected]`](https://npmjs.com/package/eslint-plugin-react)
- [`[email protected]`](https://npmjs.com/package/eslint-plugin-security)
- [`[email protected]`](https://npmjs.com/package/eslint)
- [`[email protected]`](https://npmjs.com/package/html-webpack-plugin)
- [`[email protected]`](https://npmjs.com/package/husky)
- [`[email protected]`](https://npmjs.com/package/jest-image-snapshot)
- [`[email protected]`](https://npmjs.com/package/lint-staged)
- [`[email protected]`](https://npmjs.com/package/nodemon)
- [`[email protected]`](https://npmjs.com/package/nopt)
- [`[email protected]`](https://npmjs.com/package/p-defer)
- [`[email protected]`](https://npmjs.com/package/prettier)
- [`[email protected]`](https://npmjs.com/package/selenium-webdriver)
- [`[email protected]`](https://npmjs.com/package/serve)
- [`[email protected]`](https://npmjs.com/package/source-map-loader)
- [`[email protected]`](https://npmjs.com/package/terser-webpack-plugin)
- [`[email protected]`](https://npmjs.com/package/tsd)
- [`[email protected]`](https://npmjs.com/package/type-fest)
- [`[email protected]`](https://npmjs.com/package/typescript)
- [`[email protected]`](https://npmjs.com/package/webpack)

## [4.17.0] - 2024-05-06

### Known issues
Expand Down
19 changes: 11 additions & 8 deletions __tests__/setup/setupTestEnvironment.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,37 @@ export default function setupTestEnvironment(browserName, builder, { height = 64

preferences.setLevel(logging.Type.BROWSER, logging.Level.WARNING);

let chromeOptions;

switch (browserName) {
case 'chrome-local':
const localOptions = (builder.getChromeOptions() || new Options()).windowSize({
chromeOptions = (builder.getChromeOptions() || new Options()).windowSize({
height: height * zoom,
width: width * zoom
});

localOptions.setLoggingPrefs(preferences);
chromeOptions.setLoggingPrefs(preferences);

return {
baseURL: 'http://localhost:$PORT/index.html',
builder: builder.forBrowser('chrome').setChromeOptions(localOptions)
builder: builder.forBrowser('chrome').setChromeOptions(chromeOptions)
};

case 'chrome-docker':
default:
const dockerOptions = (builder.getChromeOptions() || new Options())
.headless()
default: {
chromeOptions = (builder.getChromeOptions() || new Options())
.addArguments('--headless') // More info at https://github.com/SeleniumHQ/selenium/commit/5a97adf9864a346fdd8914cdb1b601c05dd837ac
.windowSize({ height: height * zoom, width: width * zoom });

dockerOptions.setLoggingPrefs(preferences);
chromeOptions.setLoggingPrefs(preferences);

return {
baseURL: 'http://webchat/',
builder: builder
.forBrowser('chrome')
.usingServer('http://localhost:4444/wd/hub')
.setChromeOptions(dockerOptions)
.setChromeOptions(chromeOptions)
};
}
}
}
Loading

0 comments on commit bf8dbd9

Please sign in to comment.