Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dcaa30f

Browse files
committed
Updated deps
1 parent b2561a5 commit dcaa30f

File tree

2 files changed

+49
-45
lines changed

2 files changed

+49
-45
lines changed

‎package-scripts.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,22 @@ module.exports = {
3333
),
3434
es: {
3535
description: 'run the build with rollup (uses rollup.config.js)',
36-
script: 'rollup --config --environment FORMAT:es'
36+
script: 'rollup --config --environment FORMAT:es --bundleConfigAsCjs'
3737
},
3838
cjs: {
3939
description: 'run rollup build with CommonJS format',
40-
script: 'rollup --config --environment FORMAT:cjs'
40+
script: 'rollup --config --environment FORMAT:cjs --bundleConfigAsCjs'
4141
},
4242
umd: {
4343
min: {
4444
description: 'run the rollup build with sourcemaps',
45-
script: 'rollup --config --sourcemap --environment MINIFY,FORMAT:umd'
45+
script:
46+
'rollup --config --sourcemap --environment MINIFY,FORMAT:umd --bundleConfigAsCjs'
4647
},
4748
main: {
4849
description: 'builds the cjs and umd files',
49-
script: 'rollup --config --sourcemap --environment FORMAT:umd'
50+
script:
51+
'rollup --config --sourcemap --environment FORMAT:umd --bundleConfigAsCjs'
5052
}
5153
},
5254
andTest: series.nps('build', 'test.size')

‎package.json

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -25,72 +25,74 @@
2525
},
2626
"homepage": "https://github.com/final-form/react-final-form-arrays#readme",
2727
"devDependencies": {
28-
"@babel/core": "^7.12.3",
29-
"@babel/plugin-proposal-class-properties": "^7.12.1",
30-
"@babel/plugin-proposal-decorators": "^7.12.1",
31-
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
32-
"@babel/plugin-proposal-function-sent": "^7.12.1",
33-
"@babel/plugin-proposal-json-strings": "^7.12.1",
34-
"@babel/plugin-proposal-numeric-separator": "^7.12.1",
35-
"@babel/plugin-proposal-throw-expressions": "^7.12.1",
28+
"@babel/core": "^7.19.3",
29+
"@babel/plugin-proposal-class-properties": "^7.18.6",
30+
"@babel/plugin-proposal-decorators": "^7.19.3",
31+
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
32+
"@babel/plugin-proposal-function-sent": "^7.18.6",
33+
"@babel/plugin-proposal-json-strings": "^7.18.6",
34+
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
35+
"@babel/plugin-proposal-throw-expressions": "^7.18.6",
3636
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
3737
"@babel/plugin-syntax-import-meta": "^7.10.4",
38-
"@babel/plugin-transform-flow-strip-types": "^7.12.1",
38+
"@babel/plugin-transform-flow-strip-types": "^7.19.0",
3939
"@babel/plugin-transform-react-jsx-source": "^7.18.6",
40-
"@babel/plugin-transform-runtime": "^7.12.1",
41-
"@babel/preset-env": "^7.12.1",
42-
"@babel/preset-flow": "^7.12.1",
43-
"@babel/preset-react": "^7.12.1",
44-
"@testing-library/jest-dom": "^5.11.4",
40+
"@babel/plugin-transform-runtime": "^7.19.1",
41+
"@babel/preset-env": "^7.19.4",
42+
"@babel/preset-flow": "^7.18.6",
43+
"@babel/preset-react": "^7.18.6",
44+
"@testing-library/jest-dom": "^5.16.5",
4545
"@testing-library/react": "^11.1.0",
46-
"@types/react": "^16.9.53",
47-
"@typescript-eslint/eslint-plugin": "^4.5.0",
46+
"@types/react": "^18.0.21",
47+
"@typescript-eslint/eslint-plugin": "^5.40.1",
4848
"babel-core": "^7.0.0-bridge.0",
4949
"babel-eslint": "^10.1.0",
50-
"babel-jest": "^26.6.0",
51-
"bundlesize": "^0.18.0",
52-
"doctoc": "^1.4.0",
53-
"eslint": "^7.11.0",
54-
"eslint-config-react-app": "^5.2.1",
50+
"babel-jest": "^29.2.1",
51+
"bundlesize": "^0.18.1",
52+
"doctoc": "^2.2.1",
53+
"eslint": "^8.25.0",
54+
"eslint-config-react-app": "^7.0.1",
5555
"eslint-plugin-babel": "^5.3.1",
56-
"eslint-plugin-flowtype": "^5.2.0",
57-
"eslint-plugin-import": "^2.22.1",
58-
"eslint-plugin-jsx-a11y": "^6.3.1",
59-
"eslint-plugin-react": "^7.21.5",
60-
"eslint-plugin-react-hooks": "^4.2.0",
61-
"fast-check": "^2.5.0",
62-
"final-form": "^4.20.1",
56+
"eslint-plugin-flowtype": "^8.0.3",
57+
"eslint-plugin-import": "^2.26.0",
58+
"eslint-plugin-jsx-a11y": "^6.6.1",
59+
"eslint-plugin-react": "^7.31.10",
60+
"eslint-plugin-react-hooks": "^4.6.0",
61+
"fast-check": "^3.2.0",
62+
"final-form": "^4.20.7",
6363
"final-form-arrays": "^3.0.2",
64-
"flow-bin": "^0.136.0",
64+
"flow-bin": "^0.190.0",
6565
"glow": "^1.2.2",
66-
"husky": "^4.3.0",
67-
"jest": "^26.6.0",
68-
"jest-watch-typeahead": "^0.6.1",
66+
"husky": "^8.0.1",
67+
"jest": "^29.2.1",
68+
"jest-watch-typeahead": "^2.2.0",
69+
"jest-environment-jsdom": "^29.2.1",
6970
"lint-staged": "^10.4.2",
7071
"nps": "^5.10.0",
7172
"nps-utils": "^1.7.0",
72-
"prettier": "^2.1.2",
73-
"prettier-eslint-cli": "^5.0.0",
73+
"prettier": "^2.7.1",
74+
"prettier-eslint-cli": "^7.1.0",
7475
"raf": "^3.4.1",
75-
"react": "^17.0.0",
76-
"react-dom": "^17.0.0",
77-
"react-final-form": "^6.5.2",
78-
"rollup": "^2.32.1",
76+
"react": "^18.2.0",
77+
"react-dom": "^18.2.0",
78+
"react-final-form": "^6.5.9",
79+
"rollup": "^3.2.3",
7980
"rollup-plugin-babel": "^4.4.0",
8081
"rollup-plugin-commonjs": "^10.1.0",
8182
"rollup-plugin-json": "^4.0.0",
8283
"rollup-plugin-node-resolve": "^5.2.0",
8384
"rollup-plugin-replace": "^2.2.0",
8485
"rollup-plugin-uglify": "^6.0.4",
85-
"typescript": "^4.0.3"
86+
"typescript": "^4.8.4"
8687
},
8788
"peerDependencies": {
8889
"final-form": "^4.15.0",
8990
"final-form-arrays": ">=1.0.4",
90-
"react": "^16.8.0 || ^17.0.0",
91+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
9192
"react-final-form": "^6.2.1"
9293
},
9394
"jest": {
95+
"testEnvironment": "jsdom",
9496
"watchPlugins": [
9597
"jest-watch-typeahead/filename",
9698
"jest-watch-typeahead/testname"
@@ -120,6 +122,6 @@
120122
}
121123
],
122124
"dependencies": {
123-
"@babel/runtime": "^7.12.1"
125+
"@babel/runtime": "^7.19.4"
124126
}
125127
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /