Skip to content

Commit

Permalink
Update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
klis87 committed Dec 9, 2023
1 parent e12fabb commit 14ad4c4
Show file tree
Hide file tree
Showing 8 changed files with 4,184 additions and 9,662 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.9.0
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@
"test": "lerna run test",
"test:cover": "jest --coverage packages/*/src",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prettify": "prettier --write '{packages,examples}/**/*.{js,jsx,ts}'",
"bundlesize": "bundlesize"
"prettify": "prettier --write '{packages,examples}/**/*.{js,jsx,ts,tsx,md}'"
},
"devDependencies": {
"@types/jest": "29.4.0",
"@types/node": "18.15.3",
"bundlesize": "0.18.0",
"coveralls": "3.1.0",
"jest": "29.4.2",
"@types/jest": "29.5.11",
"@types/node": "20.10.4",
"coveralls": "3.1.1",
"jest": "29.7.0",
"lerna": "6.5.1",
"prettier": "2.8.4"
"prettier": "3.1.0"
},
"bundlesize": [
{
Expand Down
46 changes: 23 additions & 23 deletions packages/normy-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,36 +39,36 @@
"@normy/core": "workspace:~"
},
"devDependencies": {
"@babel/cli": "7.23.0",
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/preset-react": "7.22.15",
"@babel/preset-typescript": "7.23.2",
"@babel/types": "7.23.0",
"@babel/cli": "7.23.4",
"@babel/core": "7.23.5",
"@babel/preset-env": "7.23.5",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@babel/types": "7.23.5",
"@tanstack/react-query": "5.4.3",
"@types/node": "18.15.3",
"@types/react": "18.2.33",
"@typescript-eslint/eslint-plugin": "5.52.0",
"@typescript-eslint/parser": "5.52.0",
"babel-loader": "9.1.2",
"cross-env": "7.0.2",
"eslint": "8.34.0",
"eslint-config-prettier": "8.6.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"@types/node": "20.10.4",
"@types/react": "18.2.43",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"babel-loader": "9.1.3",
"cross-env": "7.0.3",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"jest": "29.4.2",
"jest": "29.7.0",
"nodemon": "2.0.6",
"npm-run-all": "4.1.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "3.0.2",
"ts-jest": "29.0.5",
"typescript": "4.9.5",
"webpack": "5.9.0",
"webpack-cli": "4.2.0"
"ts-jest": "29.1.1",
"typescript": "5.3.3",
"webpack": "5.89.0",
"webpack-cli": "5.1.4"
},
"publishConfig": {
"access": "public"
Expand Down
46 changes: 23 additions & 23 deletions packages/normy-swr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,36 +39,36 @@
"@normy/core": "workspace:~"
},
"devDependencies": {
"@babel/cli": "7.23.0",
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/preset-react": "7.22.15",
"@babel/preset-typescript": "7.23.2",
"@babel/types": "7.23.0",
"@types/node": "18.15.3",
"@types/react": "18.2.33",
"@typescript-eslint/eslint-plugin": "5.52.0",
"@typescript-eslint/parser": "5.52.0",
"babel-loader": "9.1.2",
"cross-env": "7.0.2",
"eslint": "8.34.0",
"eslint-config-prettier": "8.6.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"@babel/cli": "7.23.4",
"@babel/core": "7.23.5",
"@babel/preset-env": "7.23.5",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@babel/types": "7.23.5",
"@types/node": "20.10.4",
"@types/react": "18.2.43",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"babel-loader": "9.1.3",
"cross-env": "7.0.3",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"jest": "29.4.2",
"jest": "29.7.0",
"nodemon": "2.0.6",
"npm-run-all": "4.1.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "3.0.2",
"swr": "2.2.4",
"ts-jest": "29.0.5",
"typescript": "4.9.5",
"webpack": "5.9.0",
"webpack-cli": "4.2.0"
"ts-jest": "29.1.1",
"typescript": "5.3.3",
"webpack": "5.89.0",
"webpack-cli": "5.1.4"
},
"publishConfig": {
"access": "public"
Expand Down
48 changes: 24 additions & 24 deletions packages/normy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,37 +34,37 @@
"prepublish": "yarn run build"
},
"devDependencies": {
"@babel/cli": "7.20.7",
"@babel/core": "7.20.12",
"@babel/plugin-transform-runtime": "7.19.6",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "7.18.6",
"@babel/types": "^7.20.0",
"@types/jest": "29.4.0",
"@types/node": "18.15.3",
"@typescript-eslint/eslint-plugin": "5.51.0",
"@typescript-eslint/parser": "5.51.0",
"babel-loader": "9.1.2",
"@babel/cli": "7.23.4",
"@babel/core": "7.23.5",
"@babel/plugin-transform-runtime": "7.23.4",
"@babel/preset-env": "7.23.5",
"@babel/preset-typescript": "7.23.3",
"@babel/types": "^7.23.5",
"@types/jest": "29.5.11",
"@types/node": "20.10.4",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"babel-loader": "9.1.3",
"babel-plugin-dev-expression": "^0.2.3",
"cross-env": "7.0.2",
"eslint": "8.34.0",
"eslint-config-prettier": "8.6.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"cross-env": "7.0.3",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"jest": "29.4.2",
"jest": "29.7.0",
"nodemon": "2.0.6",
"npm-run-all": "4.1.5",
"rimraf": "3.0.2",
"ts-jest": "29.0.5",
"typescript": "4.9.5",
"webpack": "5.9.0",
"webpack-cli": "4.2.0"
"ts-jest": "29.1.1",
"typescript": "5.3.3",
"webpack": "5.89.0",
"webpack-cli": "5.1.4"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@babel/runtime": "^7.23.5",
"deepmerge": "4.0.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/normy/src/create-normalizer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ describe('createNormalizer', () => {
).toEqual([]);
});

it.only('works with different date objects', () => {
it('works with different date objects', () => {
const normalizer = createNormalizer();

normalizer.setQuery('query', {
Expand Down
17 changes: 10 additions & 7 deletions packages/normy/src/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,18 @@ export const normalize = (

return [
stipFromDeps(data, config, true),
dependencies.reduce((prev, v) => {
const key = config.getNormalizationObjectKey(v) as string;
dependencies.reduce(
(prev, v) => {
const key = config.getNormalizationObjectKey(v) as string;

prev[`@@${key}`] = prev[`@@${key}`]
? mergeData(prev[`@@${key}`], stipFromDeps(v, config, false))
: stipFromDeps(v, config, false);
prev[`@@${key}`] = prev[`@@${key}`]
? mergeData(prev[`@@${key}`], stipFromDeps(v, config, false))
: stipFromDeps(v, config, false);

return prev;
}, {} as { [objectId: string]: DataObject }) as {
return prev;
},
{} as { [objectId: string]: DataObject },
) as {
[objectId: string]: DataObject;
},
usedKeys,
Expand Down
Loading

0 comments on commit 14ad4c4

Please sign in to comment.