use-state-with-ref 0.2.0-main.19409a7 → 0.2.0-main.52ffd63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +17 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "use-state-with-ref",
3
- "version": "0.2.0-main.19409a7",
3
+ "version": "0.2.0-main.52ffd63",
4
4
  "description": "React `useState` with a readonly `RefObject`.",
5
5
  "files": [
6
6
  "./dist/"
@@ -23,8 +23,8 @@
23
23
  "build": "tsup",
24
24
  "bump": "npm run bump:prod && npm run bump:dev && npm run bump:auditfix",
25
25
  "bump:auditfix": "npm audit fix || exit 0",
26
- "bump:dev": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.localPeerDependencies // {}) as $L | (.devDependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@latest\") | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
27
- "bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.localPeerDependencies // {}) as $L | (.dependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@latest\") | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
26
+ "bump:dev": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.devDependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
27
+ "bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.dependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
28
28
  "precommit": "npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test",
29
29
  "precommit:eslint": "eslint ./src/",
30
30
  "precommit:typescript:production": "tsc --noEmit --project ./src/tsconfig.precommit.production.json",
@@ -77,24 +77,25 @@
77
77
  "react": ">=16.8.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@babel/preset-env": "^7.23.6",
81
- "@babel/preset-react": "^7.23.3",
82
- "@babel/preset-typescript": "^7.23.3",
83
- "@testing-library/react": "^14.1.2",
84
- "@tsconfig/recommended": "^1.0.3",
85
- "@tsconfig/strictest": "^2.0.2",
86
- "@types/jest": "^29.5.11",
87
- "@types/react": "^18.2.45",
80
+ "@babel/preset-env": "^7.24.7",
81
+ "@babel/preset-react": "^7.24.7",
82
+ "@babel/preset-typescript": "^7.24.7",
83
+ "@testing-library/dom": "^10.2.0",
84
+ "@testing-library/react": "^16.0.0",
85
+ "@tsconfig/recommended": "^1.0.6",
86
+ "@tsconfig/strictest": "^2.0.5",
87
+ "@types/jest": "^29.5.12",
88
+ "@types/react": "^18.3.3",
88
89
  "escape-string-regexp": "^5.0.0",
89
90
  "jest": "^29.7.0",
90
91
  "jest-environment-jsdom": "^29.7.0",
91
- "react": "^18.2.0",
92
- "react-test-renderer": "^18.2.0",
93
- "tsup": "^8.0.2",
94
- "typescript": "^5.3.3"
92
+ "react": "^18.3.1",
93
+ "react-test-renderer": "^18.3.1",
94
+ "tsup": "^8.1.0",
95
+ "typescript": "^5.5.2"
95
96
  },
96
97
  "dependencies": {
97
98
  "use-ref-from": "^0.1.0",
98
- "use-state-with-ref": "^0.2.0-main.19409a7"
99
+ "use-state-with-ref": "^0.2.0-main.52ffd63"
99
100
  }
100
101
  }