Skip to content

Commit

Permalink
pkg: @anansi, types, antd, eslint, node, redux, typescript, webpack (#…
Browse files Browse the repository at this point in the history
…2015)

* pkg: Update all non-major dependencies

* pkg(fix): Consolidate react types

* pkg: Consolidate typescript next version

* internal: Update jest types

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathaniel Tucker <nathaniel@sisudata.com>
  • Loading branch information
3 people committed May 11, 2022
1 parent c956ab7 commit 972d646
Show file tree
Hide file tree
Showing 10 changed files with 320 additions and 244 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM node:12.13
FROM node:12.22

WORKDIR /app/website

Expand Down
10 changes: 5 additions & 5 deletions examples/github-app/package.json
Expand Up @@ -24,25 +24,25 @@
"@anansi/babel-preset": "^3.1.0",
"@anansi/browserslist-config": "1.3.3",
"@anansi/eslint-plugin": "0.12.10",
"@anansi/webpack-config": "11.3.11",
"@anansi/webpack-config": "11.3.12",
"@babel/core": "7.17.10",
"@linaria/babel-preset": "3.0.0-beta.18",
"@linaria/core": "3.0.0-beta.18",
"@linaria/react": "3.0.0-beta.18",
"@linaria/shaker": "3.0.0-beta.18",
"@types/parse-link-header": "^2.0.0",
"@types/react-dom": "18.0.2",
"@types/react-dom": "18.0.3",
"react-refresh": "^0.13.0",
"serve": "13.0.2",
"webpack": "5.72.0",
"webpack": "5.72.1",
"webpack-cli": "4.9.2",
"webpack-dev-server": "4.9.0"
},
"dependencies": {
"@anansi/router": "^0.4.0",
"@anansi/router": "0.4.1",
"@ant-design/icons": "^4.7.0",
"@rest-hooks/experimental": "^5.0.2",
"antd": "^4.18.6",
"antd": "4.20.4",
"parse-link-header": "^2.0.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/normalizr-redux/package.json
Expand Up @@ -13,7 +13,7 @@
"@octokit/rest": "^18.6.0",
"@rest-hooks/normalizr": "^8.2.5",
"inquirer": "^8.1.1",
"redux": "^4.1.0",
"redux": "4.2.0",
"redux-thunk": "^2.3.0"
}
}
6 changes: 3 additions & 3 deletions examples/todo-app/package.json
Expand Up @@ -24,16 +24,16 @@
"@anansi/babel-preset": "^3.1.0",
"@anansi/browserslist-config": "1.3.3",
"@anansi/eslint-plugin": "0.12.10",
"@anansi/webpack-config": "11.3.11",
"@anansi/webpack-config": "11.3.12",
"@babel/core": "7.17.10",
"@linaria/babel-preset": "3.0.0-beta.18",
"@linaria/core": "3.0.0-beta.18",
"@linaria/react": "3.0.0-beta.18",
"@linaria/shaker": "3.0.0-beta.18",
"@types/react-dom": "18.0.2",
"@types/react-dom": "18.0.3",
"react-refresh": "^0.13.0",
"serve": "13.0.2",
"webpack": "5.72.0",
"webpack": "5.72.1",
"webpack-cli": "4.9.2",
"webpack-dev-server": "4.9.0"
},
Expand Down
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -44,19 +44,19 @@
"@testing-library/react": "^13.0.0",
"@testing-library/react-hooks": "~7.0.2",
"@testing-library/react-native": "^9.0.0",
"@types/jest": "^27.4.1",
"@types/jest": "27.5.0",
"@types/lodash": "^4.14.166",
"@types/react": "^18.0.8",
"@types/react": "18.0.9",
"benchmark": "^2.1.4",
"conventional-changelog-anansi": "^0.2.0",
"copyfiles": "^2.4.1",
"core-js": "^3.8.1",
"core-js": "3.22.5",
"coveralls": "^3.1.0",
"cpy-cli": "^4.0.0",
"cross-env": "^7.0.2",
"cross-fetch": "^3.0.6",
"downlevel-dts": "^0.10.0",
"eslint": "^8.14.0",
"eslint": "8.15.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
Expand All @@ -72,7 +72,7 @@
"react-dom": "^18.1.0",
"react-native": "0.68.2",
"react-test-renderer": "18.1.0",
"redux": "^4.0.5",
"redux": "4.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.35.1",
"rollup-plugin-babel": "^4.4.0",
Expand All @@ -83,7 +83,7 @@
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.7.0-0",
"typescript": "next",
"whatwg-fetch": "3.0.0"
},
"resolutions": {
Expand Down
Expand Up @@ -9,6 +9,7 @@ import { AbortOptimistic } from '@rest-hooks/endpoint';
import { act } from '@testing-library/react-hooks';
import { useContext } from 'react';
import { jest } from '@jest/globals';
import { SpyInstance } from 'jest-mock';

import {
makeRenderRestHook,
Expand Down Expand Up @@ -575,7 +576,7 @@ describe.each([
});

describe('race conditions', () => {
let errorspy: jest.SpyInstance;
let errorspy: SpyInstance<typeof global.console.error>;
beforeEach(() => {
errorspy = jest
.spyOn(global.console, 'error')
Expand Down
Expand Up @@ -27,6 +27,7 @@ import { jest } from '@jest/globals';
// relative imports to avoid circular dependency in tsconfig references
import { normalize } from '@rest-hooks/normalizr';
import { Endpoint, ReadEndpoint } from '@rest-hooks/endpoint';
import { SpyInstance } from 'jest-mock';

import { FetchAction } from '../../../types';
import {
Expand Down Expand Up @@ -320,7 +321,7 @@ describe('useSuspense()', () => {
});

describe('errors', () => {
let errorspy: jest.SpyInstance;
let errorspy: SpyInstance<typeof global.console.error>;
beforeEach(() => {
errorspy = jest
.spyOn(global.console, 'error')
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Expand Up @@ -15,13 +15,13 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-beta.20",
"@tsconfig/docusaurus": "^1.0.5",
"@types/react": "^17.0.44",
"@types/react": "17.0.45",
"@types/react-helmet": "^6.1.5",
"@types/react-router-dom": "^5.3.3",
"serve": "^13.0.2"
},
"dependencies": {
"@anansi/webpack-config": "^11.3.11",
"@anansi/webpack-config": "11.3.12",
"@docusaurus/core": "2.0.0-beta.20",
"@docusaurus/plugin-client-redirects": "2.0.0-beta.20",
"@docusaurus/preset-classic": "2.0.0-beta.20",
Expand Down
29 changes: 15 additions & 14 deletions website/yarn.lock
Expand Up @@ -241,10 +241,10 @@
dependencies:
"@jridgewell/trace-mapping" "^0.3.0"

"@anansi/webpack-config@^11.3.11":
version "11.3.11"
resolved "https://registry.yarnpkg.com/@anansi/webpack-config/-/webpack-config-11.3.11.tgz#89d9eab40d9a7833e54043d502ecf0440132d6df"
integrity sha512-pNjA2H2RVgxEjn96aDLlckvGEUmGNLqjNyrQZZAE5pE4ezYXMTuAlMq+JAFQKmDboPVI+/0veWGAYvAOCJ1diQ==
"@anansi/webpack-config@11.3.12":
version "11.3.12"
resolved "https://registry.yarnpkg.com/@anansi/webpack-config/-/webpack-config-11.3.12.tgz#77557a4e42b126156ef67e7dd6b0b0f23d9ac50a"
integrity sha512-V0bJndonDfvv6w1fhgXaVBrsU7RvhfgD0mtXg7YkWfkU4HwHO2hnXXGNKPNuPiYq9XxnaR8BEbFMLn05Dl/nCg==
dependencies:
"@babel/runtime" "^7.17.2"
"@linaria/webpack5-loader" "^3.0.0-beta.18"
Expand All @@ -253,7 +253,7 @@
"@types/webpack-bundle-analyzer" "^4.4.1"
"@vue/preload-webpack-plugin" "^2.0.0"
assert "^2.0.0"
autoprefixer "^10.4.5"
autoprefixer "^10.4.7"
babel-loader "^8.2.5"
browserify-zlib "^0.2.0"
buffer "^6.0.3"
Expand Down Expand Up @@ -281,9 +281,9 @@
os-browserify "^0.3.0"
path "^0.12.7"
path-browserify "^1.0.1"
postcss "^8.4.12"
postcss "^8.4.13"
postcss-loader "^6.2.1"
postcss-preset-env "^7.4.4"
postcss-preset-env "^7.5.0"
process "^0.11.10"
punycode "^2.1.1"
querystring-es3 "^0.2.1"
Expand Down Expand Up @@ -3601,10 +3601,11 @@
"@types/history" "*"
"@types/react" "*"

"@types/react@*", "@types/react@^17.0.44":
version "17.0.44"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.44.tgz#c3714bd34dd551ab20b8015d9d0dbec812a51ec7"
integrity sha512-Ye0nlw09GeMp2Suh8qoOv0odfgCoowfM/9MG6WeRD60Gq9wS90bdkdRtYbRkNhXOpG4H+YXGvj4wOWhAC0LJ1g==

"@types/react@*","@types/react@17.0.45":
version "17.0.45"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.45.tgz#9b3d5b661fd26365fefef0e766a1c6c30ccf7b3f"
integrity sha512-YfhQ22Lah2e3CHPsb93tRwIGNiSwkuz1/blk4e6QrWS0jQzCSNbGLtOEYhPg02W0yGTTmpajp7dCTbBAMN3qsg==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
Expand Down Expand Up @@ -4150,7 +4151,7 @@ at-least-node@^1.0.0:
resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"
integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==

autoprefixer@^10.3.7, autoprefixer@^10.4.5, autoprefixer@^10.4.6:
autoprefixer@^10.3.7, autoprefixer@^10.4.5, autoprefixer@^10.4.6, autoprefixer@^10.4.7:
version "10.4.7"
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.7.tgz#1db8d195f41a52ca5069b7593be167618edbbedf"
integrity sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==
Expand Down Expand Up @@ -9409,7 +9410,7 @@ postcss-place@^7.0.4:
dependencies:
postcss-value-parser "^4.2.0"

postcss-preset-env@^7.4.4:
postcss-preset-env@^7.5.0:
version "7.5.0"
resolved "https://registry.yarnpkg.com/postcss-preset-env/-/postcss-preset-env-7.5.0.tgz#0c1f23933597d55dab4a90f61eda30b76e710658"
integrity sha512-0BJzWEfCdTtK2R3EiKKSdkE51/DI/BwnhlnicSW482Ym6/DGHud8K0wGLcdjip1epVX0HKo4c8zzTeV/SkiejQ==
Expand Down Expand Up @@ -9595,7 +9596,7 @@ postcss-zindex@^5.1.0:
resolved "https://registry.yarnpkg.com/postcss-zindex/-/postcss-zindex-5.1.0.tgz#4a5c7e5ff1050bd4c01d95b1847dfdcc58a496ff"
integrity sha512-fgFMf0OtVSBR1va1JNHYgMxYk73yhn/qb4uQDq1DLGYolz8gHCyr/sesEuGUaYs58E3ZJRcpoGuPVoB7Meiq9A==

postcss@^8.3.11, postcss@^8.3.5, postcss@^8.3.7, postcss@^8.4.12, postcss@^8.4.7:
postcss@^8.3.11, postcss@^8.3.5, postcss@^8.3.7, postcss@^8.4.7:
version "8.4.12"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.12.tgz#1e7de78733b28970fa4743f7da6f3763648b1905"
integrity sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==
Expand Down

0 comments on commit 972d646

Please sign in to comment.