Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump eslint-plugin-jest from 24.3.6 to 25.2.4 #10080

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2021

Bumps eslint-plugin-jest from 24.3.6 to 25.2.4.

Release notes

Sourced from eslint-plugin-jest's releases.

v25.2.4

25.2.4 (2021-11-08)

Bug Fixes

  • prefer-to-be: preserve resolves and rejects modifiers (#980) (a1296bd)

v25.2.3

25.2.3 (2021-11-04)

Bug Fixes

  • no-deprecated-functions: mark jest as an optional peer dependency (#970) (f468752)

v25.2.2

25.2.2 (2021-10-17)

Bug Fixes

  • require-hook: check variables are either const or declarations (#959) (ce8cd61)

v25.2.1

25.2.1 (2021-10-15)

Bug Fixes

  • expect-expect: don't error on it.todo & test.todo calls (#954) (d3cc0db)

v25.2.0

25.2.0 (2021-10-14)

Features

  • expect-expect: support additionalTestBlockFunctions option (#850) (3b94c62)

v25.1.0

25.1.0 (2021-10-14)

Features

v25.0.6

25.0.6 (2021-10-14)

... (truncated)

Changelog

Sourced from eslint-plugin-jest's changelog.

25.2.4 (2021-11-08)

Bug Fixes

  • prefer-to-be: preserve resolves and rejects modifiers (#980) (a1296bd)

25.2.3 (2021-11-04)

Bug Fixes

  • no-deprecated-functions: mark jest as an optional peer dependency (#970) (f468752)

25.2.2 (2021-10-17)

Bug Fixes

  • require-hook: check variables are either const or declarations (#959) (ce8cd61)

25.2.1 (2021-10-15)

Bug Fixes

  • expect-expect: don't error on it.todo & test.todo calls (#954) (d3cc0db)

25.2.0 (2021-10-14)

Features

  • expect-expect: support additionalTestBlockFunctions option (#850) (3b94c62)

25.1.0 (2021-10-14)

Features

25.0.6 (2021-10-14)

Bug Fixes

  • valid-expect-in-promise: allow expect.resolve & expect.reject (#948) (71b7e17), closes #947
  • valid-expect-in-promise: support await in arrays (#949) (a62130c)

... (truncated)

Commits
  • 7833de4 chore(release): 25.2.4 [skip ci]
  • a1296bd fix(prefer-to-be): preserve resolves and rejects modifiers (#980)
  • 43e1722 chore(deps): update yarn to v3.1.0 (#975)
  • 84bc605 chore(deps): lock file maintenance
  • 1cfded5 chore(release): 25.2.3 [skip ci]
  • f468752 fix(no-deprecated-functions): mark jest as an optional peer dependency (#970)
  • 5403268 chore(deps): lock file maintenance
  • 59d86f5 chore(deps): lock file maintenance
  • 4762cce docs(prefer-lowercase-title): fix rule name in examples (#968)
  • e7a9a9b chore(deps): update dependency @​types/node to v16 (#967)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.3.6 to 25.2.4.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v24.3.6...v25.2.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner November 10, 2021 12:07
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 10, 2021
@netlify
Copy link

netlify bot commented Nov 10, 2021

❌ Deploy Preview for carbon-react-next failed.

🔨 Explore the source changes: 28ec4e3

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/618bb5fd3cadb50007f0c7f2

@netlify
Copy link

netlify bot commented Nov 10, 2021

❌ Deploy Preview for carbon-elements failed.

🔨 Explore the source changes: 28ec4e3

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/618bb5fdab6b52000827fb6c

@netlify
Copy link

netlify bot commented Nov 10, 2021

❌ Deploy Preview for carbon-components-react failed.

🔨 Explore the source changes: 28ec4e3

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/618bb5fdd5c1b40007928764

@joshblack joshblack closed this Nov 10, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 10, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/eslint-plugin-jest-25.2.4 branch November 10, 2021 14:55
kennylam pushed a commit to kennylam/carbon that referenced this pull request Jul 30, 2024
…ign-system#10080)

### Related Ticket(s)

Closes carbon-design-system#9940 

### Description

This PR takes a new approach, and offers some advantages of carbon-design-system#9941.

While the other PR aims to separate class definitions from their registration in the browser, and should work well for teams or projects that wish to _extend_ C4IBM components, it does nothing to solve the problem for teams that are _double-consuming_ C4IBM components. For example, consider the widget team:

- They are building widgets using the react-wrapper version of the components
- When the react component imports the element, it brings along its `customElements.define()` method
- The widget is placed on a page that is already using the C4IBM CDN links, which _also_ bring along the `customElements.define()` method.
- Both the widget script and the CDN link are rolled up into separate scripts and whichever one runs second will encounter the unexpected error, not know how to handle that problem, and halt execution of the script, likely leaving large pieces of setup functionality unprocessed

This new approach offers a method for elements to _attempt_ to define themselves, but to gracefully handle the failure and to continue executing the remainder of the running script. The new decorator is a simple copy/paste from the LitElement `@customElement` decorator, with the `customElements.define` functions wrapped in a try/catch block.

As of right now, this only impacts one component and is simply a proof-of-concept.

### Changelog

**New**

- Adds a `@carbonElement()` decorator to the carbon-web-components package

**Changed**

- Edit the carbon-web-components package's accordion-item component to use @CarbonElement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant