Skip to content

Commit

Permalink
feat: use exact package versions
Browse files Browse the repository at this point in the history
Take no chances with versioning.

Predictability:
You don't want packages changing on you between builds. I understand "yarn.lock" exists, but since "yarn upgrade-interactive" also exists, it's trivial to keep packages updated yourself.

Security:
Countless examples in recent memory of rouge package updates. Almost all of these will be patch updates, that would be automatically installed when used with "^".
  • Loading branch information
hmerritt committed Sep 6, 2024
1 parent 6be75f2 commit bc5efa8
Show file tree
Hide file tree
Showing 2 changed files with 304 additions and 294 deletions.
102 changes: 51 additions & 51 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,67 +20,67 @@
"update": "yarn upgrade-interactive"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@linaria/atomic": "^6.2.0",
"@dnd-kit/core": "6.1.0",
"@dnd-kit/sortable": "8.0.0",
"@dnd-kit/utilities": "3.2.2",
"@linaria/atomic": "6.2.0",
"@linaria/core": "6.2.0",
"@linaria/react": "6.2.1",
"@tanstack/react-router": "^1.53.0",
"@tanstack/react-store": "^0.5.5",
"@tanstack/router-devtools": "^1.53.0",
"@tanstack/router-plugin": "^1.52.0",
"@use-gesture/react": "^10.3.1",
"dayjs": "^1.11.13",
"lodash-es": "^4.17.21",
"plausible-tracker": "^0.3.9",
"react": "^19.0.0-rc-4f604941-20240830",
"react-device-detect": "^2.2.3",
"react-dom": "^19.0.0-rc-4f604941-20240830",
"sass": "^1.78.0"
"@tanstack/react-router": "1.56.1",
"@tanstack/react-store": "0.5.5",
"@tanstack/router-devtools": "1.56.1",
"@tanstack/router-plugin": "1.56.1",
"@use-gesture/react": "10.3.1",
"dayjs": "1.11.13",
"lodash-es": "4.17.21",
"plausible-tracker": "0.3.9",
"react": "19.0.0-rc-4c58fce7-20240904",
"react-device-detect": "2.2.3",
"react-dom": "19.0.0-rc-4c58fce7-20240904",
"sass": "1.78.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@playwright/test": "^1.46.1",
"@rollup/pluginutils": "^5.1.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/css": "^0.0.37",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.16.4",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/ui": "^2.0.5",
"@babel/core": "7.25.2",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@playwright/test": "1.47.0",
"@rollup/pluginutils": "5.1.0",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.5.2",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/css": "0.0.37",
"@types/lodash-es": "4.17.12",
"@types/node": "20.16.5",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react": "4.3.1",
"@vitest/coverage-v8": "2.0.5",
"@vitest/ui": "2.0.5",
"@wyw-in-js/babel-preset": "0.5.4",
"@wyw-in-js/shared": "0.5.4",
"@wyw-in-js/transform": "0.5.4",
"@wyw-in-js/vite": "0.5.4",
"babel-plugin-react-compiler": "0.0.0-experimental-4e0eccf-20240830",
"babel-preset-react-app": "^10.0.1",
"cross-env": "^7.0.3",
"css": "^3.0.0",
"babel-plugin-react-compiler": "0.0.0-experimental-7449567-20240904",
"babel-preset-react-app": "10.0.1",
"cross-env": "7.0.3",
"css": "3.0.0",
"happy-dom": "15.7.3",
"prettier": "3.3.3",
"rollup-plugin-workbox": "^8.1.0",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"vite": "^5.4.3",
"vite-bundle-visualizer": "^1.2.1",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.0.5",
"workbox-build": "^7.1.1",
"workbox-core": "^7.1.0",
"workbox-expiration": "^7.1.0",
"workbox-precaching": "^7.1.0",
"workbox-routing": "^7.1.0",
"workbox-strategies": "^7.1.0"
"rollup-plugin-workbox": "8.1.0",
"tsx": "4.19.0",
"typescript": "5.5.4",
"vite": "5.4.3",
"vite-bundle-visualizer": "1.2.1",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.0.5",
"workbox-build": "7.1.1",
"workbox-core": "7.1.0",
"workbox-expiration": "7.1.0",
"workbox-precaching": "7.1.0",
"workbox-routing": "7.1.0",
"workbox-strategies": "7.1.0"
},
"browserslist": {
"production": [
Expand Down
Loading

0 comments on commit bc5efa8

Please sign in to comment.