Skip to content

Commit

Permalink
update deps to work with node v18
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Dec 5, 2022
1 parent 3c391a1 commit 08576bf
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 61 deletions.
104 changes: 47 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
"lint-staged": "^8.1.3",
"mkdirp": "^1.0.4",
"prettier": "2.2.1",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-test-renderer": "^17.0.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"rimraf": "2.6.3",
"rollup": "1.19.4",
"rollup-plugin-babel": "^4.3.2",
Expand Down
2 changes: 1 addition & 1 deletion test/trans.render.icu.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { render, screen } from '@testing-library/react';
import { render } from '@testing-library/react';
import './i18n';
import { Trans } from '../src/Trans';

Expand Down
2 changes: 2 additions & 0 deletions test/trans.render.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ describe('trans simple using ns prop', () => {
describe('trans using translation prop', () => {
const TestComponent = ({ parent }) => (
<Trans i18nKey="transTest3" parent={parent}>
{/* eslint-disable-next-line jsx-a11y/anchor-has-content */}
<a />
</Trans>
);
Expand All @@ -94,6 +95,7 @@ describe('trans using translation prop', () => {
describe('trans overwrites translation prop', () => {
const TestComponent = ({ parent }) => (
<Trans i18nKey="transTest3_overwrite" parent={parent}>
{/* eslint-disable-next-line jsx-a11y/anchor-has-content, jsx-a11y/control-has-associated-label */}
<a href="https://www.bing.com" />
</Trans>
);
Expand Down

0 comments on commit 08576bf

Please sign in to comment.