Skip to content

Commit

Permalink
Npm audit - major update of A LOT of packages (#378)
Browse files Browse the repository at this point in the history
* Fix style issues in tests

* Add stylelint exception for px unit

* Update A LOT of dependencies

* Replace utils/confirm with hooks/useConfirm to make sure all hooks aare used at the top-level

* Go back to [email protected]

Co-authored-by: Stephane Bisson <[email protected]>
  • Loading branch information
stephanebisson and Stephane Bisson authored Sep 27, 2021
1 parent 8b5528d commit 69209f3
Show file tree
Hide file tree
Showing 18 changed files with 15,614 additions and 22,484 deletions.
3 changes: 2 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"selector-attribute-quotes": null,
"no-descending-specificity": null,
"declaration-no-important": null,
"selector-type-no-unknown": null
"selector-type-no-unknown": null,
"declaration-property-unit-disallowed-list": null
}
}
2 changes: 1 addition & 1 deletion cypress/integration/search-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('Article search', () => {
searchPage.search('cat')
cy.getCenterSoftkeyButton().should('not.have.text')
searchPage.results().first()
cy.wait(500)
cy.wait(500) // eslint-disable-line cypress/no-unnecessary-waiting
cy.downArrow()
cy.getCenterSoftkeyButton().should('have.text', enJson['centerkey-select'])
cy.upArrow()
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/settings-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const settingsMenuListDutchText = [nlJson['settings-language'],
nlJson['settings-privacy-terms']]

describe('settings page', () => {
var firstElementOfTheSettingsMenuList
let firstElementOfTheSettingsMenuList
beforeEach(() => {
cy.navigateToHomePage()
searchPage.navigateToSettingsPage()
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/special-cases.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('special cases tests', () => {

it('gallery opens from a non-english article', () => {
cy.navigateToPageWithoutOnboarding('article/pl/Tupolew_Tu-154/Użytkownicy[24]')
cy.wait(500)
cy.wait(500) // eslint-disable-line cypress/no-unnecessary-waiting
articlePage.title().should('have.text', 'Użytkownicy[24]')
cy.rightArrow()
cy.enter()
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/tips-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const tipsMenuListEnglishText = [enJson['tips-read'],
enJson['tips-about']]

describe('Tips page', () => {
var firstElementOfTheTipsMenuList
let firstElementOfTheTipsMenuList
beforeEach(() => {
cy.navigateToHomePage()
searchPage.navigateToTipsPage()
Expand Down
2 changes: 1 addition & 1 deletion cypress/page-objects/article-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ArticlePage {
}

selectOptionFromActionsMenu (option) {
var entered = false
let entered = false
cy
.get('.article-actions-button')
.each(($el, index, $list) => {
Expand Down
Loading

0 comments on commit 69209f3

Please sign in to comment.