{"_id":"use-state-with-ref","_rev":"35-5bdb958ba91ac80d4424f22f65c9ad57","name":"use-state-with-ref","dist-tags":{"latest":"0.2.1","main":"0.2.2-main.202512302256.b22c3b1"},"versions":{"0.0.0-main.ab7b671":{"name":"use-state-with-ref","version":"0.0.0-main.ab7b671","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.0-main.ab7b671","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"e9f3cefda82f5e12ffbbb9c9d38ddbd45d81169d","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.0-main.ab7b671.tgz","fileCount":15,"integrity":"sha512-e6f2bWdGLpogXjezmos01zKNdgTCEOJYiOItUBN81AJ7wXaPdmK4iUkz20Jwdb4VHBWgnzTI+cxR7VAcpxztnQ==","signatures":[{"sig":"MEUCIDI0dN9/eNicxa8JIkk3WXn9X3oxAvYvJwSFT7lfrxOvAiEA2u6oGu9sZijC2Tse6CYgi8gMzLkXkF4WcEj9scRiNl4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18424},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.0-main.ab7b671.tgz","exports":{".":{"import":{"types":"./lib/esmodules-types/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs-types/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules-types/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs-types/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","start":"esbuild --bundle --outfile=./public/main.js --servedir=./public --sourcemap ./scenarios/index.jsx","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs-types/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.0-main.ab7b671.tgz","_integrity":"sha512-e6f2bWdGLpogXjezmos01zKNdgTCEOJYiOItUBN81AJ7wXaPdmK4iUkz20Jwdb4VHBWgnzTI+cxR7VAcpxztnQ==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"9.6.7","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"use-ref-from":"^0.0.2","use-state-with-ref":"^0.0.0-main.ab7b671","@babel/runtime-corejs3":"^7.22.15"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","react":"^18.2.0","@babel/cli":"^7.22.15","typescript":"^5.2.2","@babel/core":"^7.22.17","@types/jest":"^29.5.4","@types/react":"^18.2.21","@babel/preset-env":"^7.22.15","@babel/preset-react":"^7.22.15","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.2","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.6.4","@babel/preset-typescript":"^7.22.15","@babel/plugin-transform-runtime":"^7.22.15"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.0-main.ab7b671_1695516722596_0.7226669924144422","host":"s3://npm-registry-packages"}},"0.0.1-main.97381f4":{"name":"use-state-with-ref","version":"0.0.1-main.97381f4","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.1-main.97381f4","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"86bd086d2681bf6a8793c3b692fffdbddd2f0ebe","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.1-main.97381f4.tgz","fileCount":15,"integrity":"sha512-4WnhE09Rw2p2aCvtiLM0YDP6EaA0b+z8/hFI42PAXQ1XISqRFFzB9MuxhmClJAhA9Y0xTqfPN0B8UzLP6XncYw==","signatures":[{"sig":"MEQCIFMHLxCrE3kICW8fRtjDmFhP62Ia7OfOE0bBrBv5t1D1AiBKDjtSGHvpYx4NO4/DY3skw5ihU021HxXyV2nEeLTBuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18424},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.1-main.97381f4.tgz","exports":{".":{"import":{"types":"./lib/esmodules-types/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs-types/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules-types/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs-types/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","start":"esbuild --bundle --outfile=./public/main.js --servedir=./public --sourcemap ./scenarios/index.jsx","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs-types/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.1-main.97381f4.tgz","_integrity":"sha512-4WnhE09Rw2p2aCvtiLM0YDP6EaA0b+z8/hFI42PAXQ1XISqRFFzB9MuxhmClJAhA9Y0xTqfPN0B8UzLP6XncYw==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"9.6.7","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"use-ref-from":"^0.0.2","use-state-with-ref":"^0.0.1-main.97381f4","@babel/runtime-corejs3":"^7.22.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","react":"^18.2.0","@babel/cli":"^7.22.15","typescript":"^5.2.2","@babel/core":"^7.22.17","@types/jest":"^29.5.4","@types/react":"^18.2.21","@babel/preset-env":"^7.22.15","@babel/preset-react":"^7.22.15","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.2","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.6.4","@babel/preset-typescript":"^7.22.15","@babel/plugin-transform-runtime":"^7.22.15"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.1-main.97381f4_1695516937776_0.17118619425301929","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"use-state-with-ref","version":"0.0.1","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.1","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"0decff39357174eb8e639bff649fe1012cc70efc","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.1.tgz","fileCount":15,"integrity":"sha512-UsG2p/gnl+wk6dObF0iUNgm3bEByW4ZRFd3ptklKARUzFkMGIQjyAkJrlw99+zyfXtwk1PfVGHKSDsGZ0xpj+A==","signatures":[{"sig":"MEUCIGpUQa8Oww1Q1aYytawMVP4Dqs62jL3jnD3dHwFOi4QbAiEAgLMLqPLUIOQU7tT4EZ4Sd7ein+Cx+GkYOXtONw9rYzw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":18398},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.1.tgz","exports":{".":{"import":{"types":"./lib/esmodules-types/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs-types/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules-types/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs-types/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","start":"esbuild --bundle --outfile=./public/main.js --servedir=./public --sourcemap ./scenarios/index.jsx","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs-types/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.1.tgz","_integrity":"sha512-UsG2p/gnl+wk6dObF0iUNgm3bEByW4ZRFd3ptklKARUzFkMGIQjyAkJrlw99+zyfXtwk1PfVGHKSDsGZ0xpj+A==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"9.6.7","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"use-ref-from":"^0.0.2","use-state-with-ref":"^0.0.1","@babel/runtime-corejs3":"^7.22.15"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","react":"^18.2.0","@babel/cli":"^7.22.15","typescript":"^5.2.2","@babel/core":"^7.22.17","@types/jest":"^29.5.4","@types/react":"^18.2.21","@babel/preset-env":"^7.22.15","@babel/preset-react":"^7.22.15","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.2","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.6.4","@babel/preset-typescript":"^7.22.15","@babel/plugin-transform-runtime":"^7.22.15"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.1_1695591275250_0.412583653930781","host":"s3://npm-registry-packages"}},"0.0.2-main.bca5c06":{"name":"use-state-with-ref","version":"0.0.2-main.bca5c06","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.2-main.bca5c06","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"23963abeb12b5f150189fa51fcf6b640e6c8128d","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.2-main.bca5c06.tgz","fileCount":15,"integrity":"sha512-rzdnutZv3en9/yCvaehT1nq1x2cecBalRPutkbp1Y7riNeXHF8MNs0T+KSqFenQv/EiJkOLG5YrYkaW1s/i+hg==","signatures":[{"sig":"MEUCIFWni82CYOrxrTBATwNGadqcU+024CE/Oumipgn1NkdZAiEAgyC8nANqUhu7K9Kf5RDWKCDJ2lbDYIFlGPYjEhMjqxI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.0.2-main.bca5c06","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":18424},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.2-main.bca5c06.tgz","exports":{".":{"import":{"types":"./lib/esmodules-types/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs-types/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules-types/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs-types/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","start":"esbuild --bundle --outfile=./public/main.js --servedir=./public --sourcemap ./scenarios/index.jsx","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs-types/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.2-main.bca5c06.tgz","_integrity":"sha512-rzdnutZv3en9/yCvaehT1nq1x2cecBalRPutkbp1Y7riNeXHF8MNs0T+KSqFenQv/EiJkOLG5YrYkaW1s/i+hg==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"9.6.7","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"use-ref-from":"^0.0.2","use-state-with-ref":"^0.0.2-main.bca5c06","@babel/runtime-corejs3":"^7.22.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","react":"^18.2.0","@babel/cli":"^7.22.15","typescript":"^5.2.2","@babel/core":"^7.22.17","@types/jest":"^29.5.4","@types/react":"^18.2.21","@babel/preset-env":"^7.22.15","@babel/preset-react":"^7.22.15","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.2","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.6.4","@babel/preset-typescript":"^7.22.15","@babel/plugin-transform-runtime":"^7.22.15"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.2-main.bca5c06_1695591876019_0.38530146567179413","host":"s3://npm-registry-packages"}},"0.0.2-main.c8e035d":{"name":"use-state-with-ref","version":"0.0.2-main.c8e035d","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.2-main.c8e035d","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"3cad05d0e0dafbef6b13f3d2d55bc8ba7ed4f6c8","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.2-main.c8e035d.tgz","fileCount":15,"integrity":"sha512-yTR8J5YmRBkE/valk7mgs9Kqynz1t82CFPMIobAd7V9K3S8qs2+3zfuu29pM/z01Xzjms/jilYf1nSGARGANog==","signatures":[{"sig":"MEUCIE60rVWCebW1uQ3nZhRG0IGF8IDd5wGglStN7q7u3JgXAiEA/aTmWALBgs4odOK1NgOcjdbA6mw634DMUONbZwCzHDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.0.2-main.c8e035d","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":18424},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.2-main.c8e035d.tgz","exports":{".":{"import":{"types":"./lib/esmodules-types/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs-types/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules-types/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs-types/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","start":"esbuild --bundle --outfile=./public/main.js --servedir=./public --sourcemap ./scenarios/index.jsx","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs-types/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.2-main.c8e035d.tgz","_integrity":"sha512-yTR8J5YmRBkE/valk7mgs9Kqynz1t82CFPMIobAd7V9K3S8qs2+3zfuu29pM/z01Xzjms/jilYf1nSGARGANog==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"9.6.7","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"use-ref-from":"^0.0.2","use-state-with-ref":"^0.0.2-main.c8e035d","@babel/runtime-corejs3":"^7.22.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","react":"^18.2.0","@babel/cli":"^7.22.15","typescript":"^5.2.2","@babel/core":"^7.22.17","@types/jest":"^29.5.4","@types/react":"^18.2.21","@babel/preset-env":"^7.22.15","@babel/preset-react":"^7.22.15","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.2","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.6.4","@babel/preset-typescript":"^7.22.15","@babel/plugin-transform-runtime":"^7.22.15"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.2-main.c8e035d_1695612666787_0.29695263488052137","host":"s3://npm-registry-packages"}},"0.0.2-main.3af2ff0":{"name":"use-state-with-ref","version":"0.0.2-main.3af2ff0","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.2-main.3af2ff0","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"6e0323f0d0c00eef237e6bcc36858211d793c920","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.2-main.3af2ff0.tgz","fileCount":15,"integrity":"sha512-xJIQ1viSMv/XktT/tIhold0qo0FBuL7SI+bh8925P/PqwlZk2U6awigzHsKBnI02ALlcBw1VRL7efnoM9jT/CQ==","signatures":[{"sig":"MEYCIQCaeV7GxwY6INxFZN6DSkxkHklhYBiJGrVadEcqT5eP7gIhALgG9V8tL46tchKv1ng0CRTbcT9HgNtZC52ibldw/wW3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.0.2-main.3af2ff0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":18424},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.2-main.3af2ff0.tgz","exports":{".":{"import":{"types":"./lib/esmodules-types/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs-types/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules-types/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs-types/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","start":"esbuild --bundle --outfile=./public/main.js --servedir=./public --sourcemap ./scenarios/index.jsx","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs-types/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.2-main.3af2ff0.tgz","_integrity":"sha512-xJIQ1viSMv/XktT/tIhold0qo0FBuL7SI+bh8925P/PqwlZk2U6awigzHsKBnI02ALlcBw1VRL7efnoM9jT/CQ==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"9.6.7","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"use-ref-from":"^0.0.2","use-state-with-ref":"^0.0.2-main.3af2ff0","@babel/runtime-corejs3":"^7.22.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","react":"^18.2.0","@babel/cli":"^7.22.15","typescript":"^5.2.2","@babel/core":"^7.22.17","@types/jest":"^29.5.4","@types/react":"^18.2.21","@babel/preset-env":"^7.22.15","@babel/preset-react":"^7.22.15","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.2","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.6.4","@babel/preset-typescript":"^7.22.15","@babel/plugin-transform-runtime":"^7.22.15"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.2-main.3af2ff0_1695625497042_0.32971887575268477","host":"s3://npm-registry-packages"}},"0.0.2-main.8fc869f":{"name":"use-state-with-ref","version":"0.0.2-main.8fc869f","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.2-main.8fc869f","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"8b8494635058a20324065c06e703fb72067674c0","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.2-main.8fc869f.tgz","fileCount":15,"integrity":"sha512-eJATQVBASUj36jTbX2RLcnV0PkWthg4be1LxHYFfwkGuswkOZe25MuU0jObUQ+LY9tIfMydMlyrrD1nCOKCmYg==","signatures":[{"sig":"MEUCID1ec7GZroSTkwHK8Jalj0qlEWbc87wBJ5zrSD2TaMEuAiEAiN4cMeoWyyXHwl5T8DCsiD9S3YK2lgESo+H8703lxO4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.0.2-main.8fc869f","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18280},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.2-main.8fc869f.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.2-main.8fc869f.tgz","_integrity":"sha512-eJATQVBASUj36jTbX2RLcnV0PkWthg4be1LxHYFfwkGuswkOZe25MuU0jObUQ+LY9tIfMydMlyrrD1nCOKCmYg==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"9.8.1","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.18.0","dependencies":{"use-ref-from":"^0.0.2","use-state-with-ref":"^0.0.2-main.8fc869f","@babel/runtime-corejs3":"^7.22.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","react":"^18.2.0","@babel/cli":"^7.22.15","typescript":"^5.2.2","@babel/core":"^7.22.17","@types/jest":"^29.5.4","@types/react":"^18.2.21","@babel/preset-env":"^7.22.15","@babel/preset-react":"^7.22.15","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.2","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.6.4","@babel/preset-typescript":"^7.22.15","@babel/plugin-transform-runtime":"^7.22.15"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.2-main.8fc869f_1696850185078_0.24600998593328294","host":"s3://npm-registry-packages"}},"0.0.2-main.d8604f3":{"name":"use-state-with-ref","version":"0.0.2-main.d8604f3","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.2-main.d8604f3","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"071f167f825c9f08946aead1a8f8957459241b40","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.2-main.d8604f3.tgz","fileCount":15,"integrity":"sha512-BFpQa5gBi2uDeEVc1ys1IDcirESVK1KfswbaVuULlh6Iv9etzCYOb03LmagIsAnmE9hGzgnBLwbxmlUqtkcdaA==","signatures":[{"sig":"MEUCIQCfuK4L7U4KbBIFg5d6QkvGrHjpWY60/Y/30f5owc0FTQIgHOVMiXs8KvoJgIIm1lsBTIlCJydcS/vBzX/esOTX+d4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.0.2-main.d8604f3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18276},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.2-main.d8604f3.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.2-main.d8604f3.tgz","_integrity":"sha512-BFpQa5gBi2uDeEVc1ys1IDcirESVK1KfswbaVuULlh6Iv9etzCYOb03LmagIsAnmE9hGzgnBLwbxmlUqtkcdaA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"9.8.1","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.18.0","dependencies":{"use-ref-from":"^0.0.2","use-state-with-ref":"^0.0.2-main.d8604f3","@babel/runtime-corejs3":"^7.23.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","react":"^18.2.0","@babel/cli":"^7.23.0","typescript":"^5.2.2","@babel/core":"^7.23.0","@types/jest":"^29.5.5","@types/react":"^18.2.25","@babel/preset-env":"^7.22.20","@babel/preset-react":"^7.22.15","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.0","@babel/plugin-transform-runtime":"^7.22.15"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.2-main.d8604f3_1696850774290_0.3979133598006228","host":"s3://npm-registry-packages"}},"0.0.2-main.c6d1580":{"name":"use-state-with-ref","version":"0.0.2-main.c6d1580","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.2-main.c6d1580","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"2fa7fe7fd9ef22f430cf9b4a4245715da665b7a9","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.2-main.c6d1580.tgz","fileCount":15,"integrity":"sha512-vKVhqLmoFYG612e8zehKpf70eOj1LK+9OSgNW7/ChBDsZNdMWmKUvRacc+kS+Di6jOIktT4gZOY81rbHYwziEw==","signatures":[{"sig":"MEUCIQChpviclrK+T6Q2mMx3QVvuOlfmO7BI3XhkWmJI4j2MSAIgPMlcZRSV3oManWoooGjKHaGLO93df0MceQyFa7a9pg0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.0.2-main.c6d1580","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18274},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.2-main.c6d1580.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.2-main.c6d1580.tgz","_integrity":"sha512-vKVhqLmoFYG612e8zehKpf70eOj1LK+9OSgNW7/ChBDsZNdMWmKUvRacc+kS+Di6jOIktT4gZOY81rbHYwziEw==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.2.3","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.19.0","dependencies":{"use-ref-from":"^0.0.3","use-state-with-ref":"^0.0.2-main.c6d1580","@babel/runtime-corejs3":"^7.23.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","react":"^18.2.0","@babel/cli":"^7.23.4","typescript":"^5.3.3","@babel/core":"^7.23.6","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.6"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.2-main.c6d1580_1702728379621_0.7698256052226158","host":"s3://npm-registry-packages"}},"0.0.2-main.c986e36":{"name":"use-state-with-ref","version":"0.0.2-main.c986e36","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.0.2-main.c986e36","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"171c7c01e228b74f4668e8a98853fd13e524c1e9","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.0.2-main.c986e36.tgz","fileCount":15,"integrity":"sha512-V/qOqYkXa4NFQ00QriwLBHQPrGQNNtt7Q4NUaUs+dtCu9y5rwqIXZwH3tgFsa07886tvsDeeHieoPqQGPH7Cfg==","signatures":[{"sig":"MEUCIG05lTWMUlEu7vtrXYLIVCtansRsPCsgfnfwBZAxF4bRAiEA0/cg2hRYbOPY905ANmwMxjtX/Ybu+rabAjIHUggtUdA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.0.2-main.c986e36","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18617},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.0.2-main.c986e36.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.0.2-main.c986e36.tgz","_integrity":"sha512-V/qOqYkXa4NFQ00QriwLBHQPrGQNNtt7Q4NUaUs+dtCu9y5rwqIXZwH3tgFsa07886tvsDeeHieoPqQGPH7Cfg==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.2.4","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"use-ref-from":"^0.0.3","use-state-with-ref":"^0.0.2-main.c986e36","@babel/runtime-corejs3":"^7.23.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","react":"^18.2.0","@babel/cli":"^7.23.4","typescript":"^5.3.3","@babel/core":"^7.23.6","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.6"},"peerDependencies":{"react":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.0.2-main.c986e36_1711923376298_0.009463840698469728","host":"s3://npm-registry-packages"}},"0.1.0-main.44c1bf9":{"name":"use-state-with-ref","version":"0.1.0-main.44c1bf9","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.1.0-main.44c1bf9","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"3bc3f7714f7f84e9b90fa8747ce1f418a7e7238f","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.1.0-main.44c1bf9.tgz","fileCount":15,"integrity":"sha512-Pe9h13RUSisjRuvONcroPsC9vnxQnkNYZzaAnOkXEE9Eu33vVRHwI1O1yM+cJsQ2fIXwbfZvSn23qtHmEkEnbQ==","signatures":[{"sig":"MEUCIQCet7luP6QYJKTNFINckqy26SZe7ZcZo9GVfaYXt85QAgIgbfTnTcYT/HQJ3wH+PyzJqmoXxfGo+pKn/i5FSIl4DZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.1.0-main.44c1bf9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19244},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.1.0-main.44c1bf9.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.1.0-main.44c1bf9.tgz","_integrity":"sha512-Pe9h13RUSisjRuvONcroPsC9vnxQnkNYZzaAnOkXEE9Eu33vVRHwI1O1yM+cJsQ2fIXwbfZvSn23qtHmEkEnbQ==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.2.4","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.1.0-main.44c1bf9","@babel/runtime-corejs3":"^7.23.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","react":"^18.2.0","@babel/cli":"^7.23.4","typescript":"^5.3.3","@babel/core":"^7.23.6","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.6"},"switch:react:16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react:17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react:18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.1.0-main.44c1bf9_1711953372079_0.3050217782964153","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"use-state-with-ref","version":"0.1.0","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.1.0","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"8ddfef5fa15b7b546fb2998a5b9ebd7b72817724","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.1.0.tgz","fileCount":15,"integrity":"sha512-l8/Dsu9XjhhhFSsBWmit+7WYsRSrKHafp+eJURhhVvv9K9fVIKxDaEAq/dW4pHgxCYcjWgD6EaofiW8NiwGabQ==","signatures":[{"sig":"MEYCIQDdzXLABfxZlLVnJFp6IUi7C+yJ64/cebie7tDy1xCn1AIhAM33pglO1c1+1HoWSyg7IcU18x2rl3MjEymYurO+Dsfp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19218},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.1.0.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.1.0.tgz","_integrity":"sha512-l8/Dsu9XjhhhFSsBWmit+7WYsRSrKHafp+eJURhhVvv9K9fVIKxDaEAq/dW4pHgxCYcjWgD6EaofiW8NiwGabQ==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.2.4","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.1.0","@babel/runtime-corejs3":"^7.23.6"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","react":"^18.2.0","@babel/cli":"^7.23.4","typescript":"^5.3.3","@babel/core":"^7.23.6","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.6"},"switch:react:16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react:17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react:18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.1.0_1711954086128_0.3426578705884564","host":"s3://npm-registry-packages"}},"0.1.1-main.8944ce3":{"name":"use-state-with-ref","version":"0.1.1-main.8944ce3","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.1.1-main.8944ce3","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"9edf40ebde13dadac98ac338092c8b89f28393a8","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.1.1-main.8944ce3.tgz","fileCount":15,"integrity":"sha512-wTjpz1ToxWAx2fMO14W/YdYJNdkHEmHYexE2OAwvyPjUpF+X8B2DG/bJ9xBUxGFFmaHxYcz3R5ep1n535hojJA==","signatures":[{"sig":"MEQCIBIfObD4hUoIzdBBl3+LG8twfvWUDvkHBfd+06CiSi7ZAiAgHymj5JjH/nEr8vSb5+YlpnmCxE8sWV2x3WvpLWzqWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.1.1-main.8944ce3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19244},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.1.1-main.8944ce3.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.1.1-main.8944ce3.tgz","_integrity":"sha512-wTjpz1ToxWAx2fMO14W/YdYJNdkHEmHYexE2OAwvyPjUpF+X8B2DG/bJ9xBUxGFFmaHxYcz3R5ep1n535hojJA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.2.4","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.1.1-main.8944ce3","@babel/runtime-corejs3":"^7.23.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","react":"^18.2.0","@babel/cli":"^7.23.4","typescript":"^5.3.3","@babel/core":"^7.23.6","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.6"},"switch:react:16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react:17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react:18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.1.1-main.8944ce3_1711955150692_0.4768369707814619","host":"s3://npm-registry-packages"}},"0.1.1-main.aa7e4e6":{"name":"use-state-with-ref","version":"0.1.1-main.aa7e4e6","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.1.1-main.aa7e4e6","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"03f21440cedf273d3fea45c567cf3136a594865d","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.1.1-main.aa7e4e6.tgz","fileCount":15,"integrity":"sha512-ZVBInTf6GYS9dOBnnQyHBlGdwYarOIlzOOFMWrT+fk3/rQfU61zfyXwt2VTakVdbfZgPrLaE9PmtsLFdATJfDg==","signatures":[{"sig":"MEUCIQDGg/J/WxhW0YTDK8Tmn1TKgrhP/jvOryn2faZttDKZYQIgAnacuhzWwJYn974etRntO3zmSLPCGg+Mf+mfMI2vKqw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.1.1-main.aa7e4e6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19244},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.1.1-main.aa7e4e6.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.1.1-main.aa7e4e6.tgz","_integrity":"sha512-ZVBInTf6GYS9dOBnnQyHBlGdwYarOIlzOOFMWrT+fk3/rQfU61zfyXwt2VTakVdbfZgPrLaE9PmtsLFdATJfDg==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.5.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.1.1-main.aa7e4e6","@babel/runtime-corejs3":"^7.23.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","react":"^18.2.0","@babel/cli":"^7.23.4","typescript":"^5.3.3","@babel/core":"^7.23.6","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.6"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.1.1-main.aa7e4e6_1716594296324_0.762692458037942","host":"s3://npm-registry-packages"}},"0.1.1-main.bf0fd65":{"name":"use-state-with-ref","version":"0.1.1-main.bf0fd65","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.1.1-main.bf0fd65","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"d186c89d59bda9530b8535460502eecdd5de73e5","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.1.1-main.bf0fd65.tgz","fileCount":15,"integrity":"sha512-JOqhwo9ZLj9V1JsbX5oX/C8wzb3CaBVA7BkHJ7MJV7i5XJFl4ugPP/cujb1yJTE69GM17PK/o//IUHjRo/FKJA==","signatures":[{"sig":"MEQCIDxYFIQYE8vRrniG6IB7t0wSVBHYF5MpozkRAmeOPyWaAiBWQgRAvorQSLDMrSMe3DuBaQOSwm5jmr35OXk2PMWuCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.1.1-main.bf0fd65","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19244},"main":"./lib/commonjs/index.js","_from":"file:use-state-with-ref-0.1.1-main.bf0fd65.tgz","exports":{".":{"import":{"types":"./lib/esmodules/index.d.ts","default":"./lib/esmodules/index.js"},"require":{"types":"./lib/commonjs/index.d.ts","default":"./lib/commonjs/index.js"}},"./useStateWithRef":{"import":{"types":"./lib/esmodules/useStateWithRef.d.ts","default":"./lib/esmodules/useStateWithRef.js"},"require":{"types":"./lib/commonjs/useStateWithRef.d.ts","default":"./lib/commonjs/useStateWithRef.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:babel","test":"jest","build":"npm run build:babel:commonjs && npm run build:babel:esmodules && npm run build:typescript:commonjs && npm run build:typescript:esmodules","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:babel":"npm run bump:babel:commonjs && npm run bump:babel:esmodules","postscaffold":"npm run bump:babel","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","bump:babel:commonjs":"cat babel.commonjs.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.commonjs.config.json.tmp && mv babel.commonjs.config.json.tmp babel.commonjs.config.json","build:babel:commonjs":"babel src --config-file ./babel.commonjs.config.json --extensions .ts,.tsx --out-dir ./lib/commonjs/","bump:babel:esmodules":"cat babel.esmodules.config.json | jq --arg CORE_JS_VERSION `[ -f node_modules/@babel/runtime-corejs3/package.json ] && cat node_modules/@babel/runtime-corejs3/package.json | jq -r .version || cat ../../node_modules/@babel/runtime-corejs3/package.json | jq -r .version` '(.plugins[] | select(.[0] == \"@babel/plugin-transform-runtime\"))[1].version = $CORE_JS_VERSION' | prettier --parser json > babel.esmodules.config.json.tmp && mv babel.esmodules.config.json.tmp babel.esmodules.config.json","build:babel:esmodules":"babel src --config-file ./babel.esmodules.config.json --extensions .ts,.tsx --out-dir ./lib/esmodules/","build:typescript:commonjs":"tsc --project ./src/tsconfig.declaration.commonjs.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","build:typescript:esmodules":"tsc --project ./src/tsconfig.declaration.esmodules.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./lib/commonjs/index.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.1.1-main.bf0fd65.tgz","_integrity":"sha512-JOqhwo9ZLj9V1JsbX5oX/C8wzb3CaBVA7BkHJ7MJV7i5XJFl4ugPP/cujb1yJTE69GM17PK/o//IUHjRo/FKJA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.5.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.1.1-main.bf0fd65","@babel/runtime-corejs3":"^7.23.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","react":"^18.2.0","@babel/cli":"^7.23.4","typescript":"^5.3.3","@babel/core":"^7.23.6","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.6"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.1.1-main.bf0fd65_1716615564380_0.6835899902857145","host":"s3://npm-registry-packages"}},"0.2.0-main.19409a7":{"name":"use-state-with-ref","version":"0.2.0-main.19409a7","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.19409a7","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"d0c97ee18b15d027d6925502b8d485535b6b89e9","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.19409a7.tgz","fileCount":9,"integrity":"sha512-JvW0ybu8/R43AtiVw8Ee0139vKlBaFWgSYcBvpQpVtm6n0xieoRrbb1mlIWU+zQlCSzhAOkvgxjFYZjarrNSgg==","signatures":[{"sig":"MEUCID0MSy822lQzIriZaNUsuE0KtS7RT8tSNEm3k9QX6+4vAiEAhhkVe6tcO2jLf4ij6f4T0Y4EGZp2YQtEjGyiqiGjZ3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.19409a7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15420},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.19409a7.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.19409a7.tgz","_integrity":"sha512-JvW0ybu8/R43AtiVw8Ee0139vKlBaFWgSYcBvpQpVtm6n0xieoRrbb1mlIWU+zQlCSzhAOkvgxjFYZjarrNSgg==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.5.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.19409a7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","react":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.19409a7_1717034719518_0.23847732145225176","host":"s3://npm-registry-packages"}},"0.2.0-main.530523c":{"name":"use-state-with-ref","version":"0.2.0-main.530523c","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.530523c","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"97cb4e14e263349c736494cf388aed92c475fc42","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.530523c.tgz","fileCount":9,"integrity":"sha512-gn5lfYVbwsTpPiehQ+QY1Dt0lBoSZzsu2lzfS4rgm74wxJxEdtCIOZiZIWAJ93z1fZkF3jmbtTk96oCmVahXgQ==","signatures":[{"sig":"MEUCIB308to/XR3Dwsi5pswBSEe69UOWIoPuI35T8sUHslaqAiEAwULVyKWaTvRSSFmAqHHJBATxGRIgmFZfBDYkiDLx6BY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.530523c","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15538},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.530523c.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.530523c.tgz","_integrity":"sha512-gn5lfYVbwsTpPiehQ+QY1Dt0lBoSZzsu2lzfS4rgm74wxJxEdtCIOZiZIWAJ93z1fZkF3jmbtTk96oCmVahXgQ==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.5.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.530523c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","react":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.530523c_1717063230835_0.0851963543954617","host":"s3://npm-registry-packages"}},"0.2.0-main.f80699c":{"name":"use-state-with-ref","version":"0.2.0-main.f80699c","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.f80699c","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"4c7a61bd8c88535270cdc3eaa6f4d0461ea82020","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.f80699c.tgz","fileCount":9,"integrity":"sha512-lq92Py4CqVyJuo+tNrXUKrSfgGduNeLKsr88knl1bn+0Fv5JR8HiL1lte9ZunuBLm+21x09pTHiQlTBtXrO9xQ==","signatures":[{"sig":"MEQCIEnCfMtVzsCa2k/Ni84r7BBBE7u5+XFov38AN3p+GMvhAiBEhbbAwe/4VtSNtffd8c7X7UUeZeOipyYYd0JWRkoxaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.f80699c","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15538},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.f80699c.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.f80699c.tgz","_integrity":"sha512-lq92Py4CqVyJuo+tNrXUKrSfgGduNeLKsr88knl1bn+0Fv5JR8HiL1lte9ZunuBLm+21x09pTHiQlTBtXrO9xQ==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.5.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.f80699c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","react":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/react":"^18.2.45","@babel/preset-env":"^7.23.6","@babel/preset-react":"^7.23.3","@tsconfig/strictest":"^2.0.2","react-test-renderer":"^18.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.3","@testing-library/react":"^14.1.2","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.23.3"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.f80699c_1717065517218_0.3691346756905709","host":"s3://npm-registry-packages"}},"0.2.0-main.c730d4f":{"name":"use-state-with-ref","version":"0.2.0-main.c730d4f","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.c730d4f","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"a6e28fe3f54f5458f1b3c01b54ccc555829fbdef","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.c730d4f.tgz","fileCount":9,"integrity":"sha512-x22GEdjcHgjT0QyjIlI90wZJX2ynObe72YyoF/fnIENdxy8QUob80LFVMDPfkf20rtH+NG1/0U8MO0KvinGitA==","signatures":[{"sig":"MEQCIFfhp6stvp95DRZaNbb0AsG854lwkmH50vcNyMalNhGXAiBEkxfWBxHnNGTlrzL3QqmV16atjTSbz31KvN3x/WEW1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.c730d4f","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15537},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.c730d4f.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.c730d4f.tgz","_integrity":"sha512-x22GEdjcHgjT0QyjIlI90wZJX2ynObe72YyoF/fnIENdxy8QUob80LFVMDPfkf20rtH+NG1/0U8MO0KvinGitA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.5.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.c730d4f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","react":"^18.3.1","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/react":"^18.3.3","@babel/preset-env":"^7.24.6","@babel/preset-react":"^7.24.6","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.6","@testing-library/react":"^15.0.7","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.24.6"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.c730d4f_1717066534447_0.28540869809916725","host":"s3://npm-registry-packages"}},"0.2.0-main.063b3b4":{"name":"use-state-with-ref","version":"0.2.0-main.063b3b4","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.063b3b4","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"c9c435417d440f08b7f02d750d680bc213f4f984","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.063b3b4.tgz","fileCount":9,"integrity":"sha512-sq2p3mh0CAZ9nJrRNzx4sUenr6cnvOJuQ8XMC2F8NhM+9g7oIHxhkl3CSqzgmnx9Rr/xVFCDqKoOjgMAB/7R+w==","signatures":[{"sig":"MEQCIBLjNUHTzTJDIopUC5dO5JuwyiDZY+EOwcnj6hEsLexdAiAJ7c6h8S+8gsAz3R9e6y2nTigbNL7Cz54Bm8Uf5n7cXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.063b3b4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15537},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.063b3b4.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.063b3b4.tgz","_integrity":"sha512-sq2p3mh0CAZ9nJrRNzx4sUenr6cnvOJuQ8XMC2F8NhM+9g7oIHxhkl3CSqzgmnx9Rr/xVFCDqKoOjgMAB/7R+w==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.5.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.063b3b4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","react":"^18.3.1","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/react":"^18.3.3","@babel/preset-env":"^7.24.6","@babel/preset-react":"^7.24.6","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.6","@testing-library/react":"^15.0.7","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.24.6"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.063b3b4_1717142542351_0.22730065702609448","host":"s3://npm-registry-packages"}},"0.2.0-main.52ffd63":{"name":"use-state-with-ref","version":"0.2.0-main.52ffd63","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.52ffd63","homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"693f2747350f912fcc401f6957fe2588505f2140","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.52ffd63.tgz","fileCount":9,"integrity":"sha512-rsZr/pB2ATOjUAW59XQhXFFF94Z6IQChrgI2Eq8WTsHialrfn/xnmZj6Qo3IWNhpH7050B6J1HUE1GoVltfjZA==","signatures":[{"sig":"MEYCIQDEO63MVivOp9hNXFfjFBaz083xQ+AE9/FexGxi6xCZLgIhAMSuxZN6ljzh+ibc+NDuQQqoQh5BesDYoaNE3SenH28Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.52ffd63","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15576},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.52ffd63.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.52ffd63.tgz","_integrity":"sha512-rsZr/pB2ATOjUAW59XQhXFFF94Z6IQChrgI2Eq8WTsHialrfn/xnmZj6Qo3IWNhpH7050B6J1HUE1GoVltfjZA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.7.0","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.15.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.52ffd63"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.1.0","react":"^18.3.1","typescript":"^5.5.2","@types/jest":"^29.5.12","@types/react":"^18.3.3","@babel/preset-env":"^7.24.7","@babel/preset-react":"^7.24.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.6","@testing-library/react":"^16.0.0","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.24.7"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.52ffd63_1719657872822_0.6336198409280622","host":"s3://npm-registry-packages"}},"0.2.0-main.b01c9d7":{"name":"use-state-with-ref","version":"0.2.0-main.b01c9d7","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.b01c9d7","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"0296f50a0f848df9c32e02706b15b7e9bc7f23c8","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.b01c9d7.tgz","fileCount":9,"integrity":"sha512-UeiDKSNEnn/7suqSeQZwSkyUxucyd9tHSGoELzCnjSdL3MawfvX2rU13vWyhSc+GEzDkksWJdyZXwVn3YqdzBA==","signatures":[{"sig":"MEUCIQC2PH6+cArSL7QgWSuynJ64O17GlhJc78panowcNGA/8QIgEU/RGmEjir1Q90fdLD7KAaoPMp0kgLFujyO8zTQaxbQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.b01c9d7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15670},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.b01c9d7.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev && npm run bump:auditfix","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","bump:auditfix":"npm audit fix || exit 0","precommit:eslint":"eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.b01c9d7.tgz","_integrity":"sha512-UeiDKSNEnn/7suqSeQZwSkyUxucyd9tHSGoELzCnjSdL3MawfvX2rU13vWyhSc+GEzDkksWJdyZXwVn3YqdzBA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.8.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.b01c9d7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.1.0","react":"^18.3.1","publint":"^0.2.11","typescript":"^5.5.2","@types/jest":"^29.5.12","@types/react":"^18.3.3","@babel/preset-env":"^7.24.7","@babel/preset-react":"^7.24.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.6","@testing-library/react":"^16.0.0","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.24.7"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.b01c9d7_1728652042751_0.07630485581544555","host":"s3://npm-registry-packages"}},"0.2.0-main.f10fba4":{"name":"use-state-with-ref","version":"0.2.0-main.f10fba4","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.f10fba4","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"28644b488be9137ddf8a9bdbb4092d8be31b9307","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.f10fba4.tgz","fileCount":9,"integrity":"sha512-BKyt5vDOoE79dxGLgqI1nyib4/AyvNKhE8Icy5GyU+WOQgFtXGIHsX/1/kBGGmstsmydplrFV3DTZ0rsz3SSxQ==","signatures":[{"sig":"MEUCIHGpoyMnsSaOv4Mul0v9zagRU+xTOyrfObvf1iRij8vYAiEAqIjQlHSpkGln+/fppFF+Hl13mUqFWsNXeHtbr50RMK0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.f10fba4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15626},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.f10fba4.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.f10fba4.tgz","_integrity":"sha512-BKyt5vDOoE79dxGLgqI1nyib4/AyvNKhE8Icy5GyU+WOQgFtXGIHsX/1/kBGGmstsmydplrFV3DTZ0rsz3SSxQ==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.8.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.f10fba4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.1.0","react":"^18.3.1","publint":"^0.2.11","typescript":"^5.5.2","@types/jest":"^29.5.12","@types/react":"^18.3.3","@babel/preset-env":"^7.24.7","@babel/preset-react":"^7.24.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.2.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.6","@testing-library/react":"^16.0.0","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.24.7"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.f10fba4_1728809442619_0.9708451754678855","host":"s3://npm-registry-packages"}},"0.2.0-main.39821cb":{"name":"use-state-with-ref","version":"0.2.0-main.39821cb","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.39821cb","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"9140bb4a828d9de04cfc8ebb929113873165c5da","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.39821cb.tgz","fileCount":9,"integrity":"sha512-NvjagtDL/dAKsH5auHWHIfQCrbUAiH5YTqPm/qMcosfu1C7nnbKRAHYAB7VdND4Xnw94D9r+HXCNxE+qfeEu2A==","signatures":[{"sig":"MEUCIQDTwVpBsffAHpAxZC4sXOxy6yXht8/vHR1YpmXP5YUl+gIgY2tA39Jiksl/Bk3Nk0zR1DgPTAkZ4xHdW4mwWBCwiQg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.39821cb","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15627},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.39821cb.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.39821cb.tgz","_integrity":"sha512-NvjagtDL/dAKsH5auHWHIfQCrbUAiH5YTqPm/qMcosfu1C7nnbKRAHYAB7VdND4Xnw94D9r+HXCNxE+qfeEu2A==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.8.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.39821cb"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.3.0","react":"^18.3.1","publint":"^0.2.11","typescript":"^5.6.3","@types/jest":"^29.5.13","@types/react":"^18.3.11","@babel/preset-env":"^7.25.8","@babel/preset-react":"^7.25.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@testing-library/react":"^16.0.1","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.25.7"},"switch:react-16":{"devDependencies":{"react":"16.8.0","@types/react":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","@types/react":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","@types/react":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.39821cb_1728809804156_0.04650539859239777","host":"s3://npm-registry-packages"}},"0.2.0-main.02a823d":{"name":"use-state-with-ref","version":"0.2.0-main.02a823d","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.02a823d","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"fac9c291d11165185e3ccf673347606567677d90","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.02a823d.tgz","fileCount":9,"integrity":"sha512-O7WWhOZsaCV7WhgMksXoY8kE4IVRySORbGOSMvbOzMU9v/VgRjLW/JfAuC421SeZwPtpf7Jiu9YSlM8RC6EVcw==","signatures":[{"sig":"MEYCIQDP/GHDyQTepS0ssLfg4tgT5t/3U/od1yikG9kb3CmpQQIhALhGp+AdKgl1KA885Nmt3tM0FChecte9nYwLo/5X121B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.02a823d","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15876},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.02a823d.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","test":"jest","build":"tsup","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"compulim","email":"compulim@hotmail.com"},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.02a823d.tgz","_integrity":"sha512-O7WWhOZsaCV7WhgMksXoY8kE4IVRySORbGOSMvbOzMU9v/VgRjLW/JfAuC421SeZwPtpf7Jiu9YSlM8RC6EVcw==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"10.9.0","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.02a823d"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.3.0","react":"^18.3.1","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/jest":"^29.5.13","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@babel/preset-env":"^7.25.8","@babel/preset-react":"^7.25.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@testing-library/react":"^16.0.1","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.25.7"},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.02a823d_1733490710094_0.38981102442631355","host":"s3://npm-registry-packages"}},"0.2.0-main.202512160242.8ae6528":{"name":"use-state-with-ref","version":"0.2.0-main.202512160242.8ae6528","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.202512160242.8ae6528","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"f390137cf067ccae5ab90e9f3ec8c9938b278d81","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.202512160242.8ae6528.tgz","fileCount":9,"integrity":"sha512-7b51L2VDab03KiKuw/Rp1+df8f1FQ9tO3tn6q/HTE1/qBdDAtz+47VRLDNRJpADS6+b4DD8GIFbcdcqy+UAYTA==","signatures":[{"sig":"MEUCIHz2WPXJFpxYJxvGDdXvUXEOiqm9dGgRM40fo/K7N6NhAiEAvdhB5NuNdvWTBhNjoIGxNkQXX5gyeymLEL9mY5AmWxI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.202512160242.8ae6528","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16046},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.202512160242.8ae6528.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","test":"jest","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.202512160242.8ae6528.tgz","_integrity":"sha512-7b51L2VDab03KiKuw/Rp1+df8f1FQ9tO3tn6q/HTE1/qBdDAtz+47VRLDNRJpADS6+b4DD8GIFbcdcqy+UAYTA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.202512160242.8ae6528"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.3.0","react":"^18.3.1","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/jest":"^29.5.13","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@babel/preset-env":"^7.25.8","@babel/preset-react":"^7.25.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@testing-library/react":"^16.0.1","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.25.7","@happy-dom/global-registrator":"^20.0.11"},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.202512160242.8ae6528_1765853942054_0.15051560759440274","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-main.202512240717.c25dc9b":{"name":"use-state-with-ref","version":"0.2.0-main.202512240717.c25dc9b","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.202512240717.c25dc9b","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"5400a097af14810aa1dbb05faab2bdcec91cc568","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.202512240717.c25dc9b.tgz","fileCount":9,"integrity":"sha512-4h3vQXtiNPWwPa00oJsfqtupIi7TXRdg/3PRTTcPQZoWBgb76jYKlKUZxXB/YdFOz1LvjdMjwfCj1vaM6nY2/g==","signatures":[{"sig":"MEUCIQCyp/ORRJImLpQ6/t07/PVam0jWQDkZ1XavQ4EXaS4rCwIgXgudDP9pEISwInifVK0P76BKmUS4It8AvncbQfN1Lnw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.202512240717.c25dc9b","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16227},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.202512240717.c25dc9b.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","test":"jest","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.202512240717.c25dc9b.tgz","_integrity":"sha512-4h3vQXtiNPWwPa00oJsfqtupIi7TXRdg/3PRTTcPQZoWBgb76jYKlKUZxXB/YdFOz1LvjdMjwfCj1vaM6nY2/g==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.202512240717.c25dc9b"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.3.0","react":"^18.3.1","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/jest":"^29.5.13","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@babel/preset-env":"^7.25.8","@babel/preset-react":"^7.25.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@testing-library/react":"^16.0.1","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.25.7","@happy-dom/global-registrator":"^20.0.11"},"pinDependencies":{"react":["18"],"react-dom":["18"],"@types/react":["18"],"@types/react-dom":["18"]},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.202512240717.c25dc9b_1766561648718_0.6069011350336371","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-main.202512240724.fb25e38":{"name":"use-state-with-ref","version":"0.2.0-main.202512240724.fb25e38","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0-main.202512240724.fb25e38","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"2e2dad1680ce39d3247fa558e5119ad6e13a5381","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0-main.202512240724.fb25e38.tgz","fileCount":9,"integrity":"sha512-3DuD1IslVnjIsWidq46PpTgbtRdMdb8LGLxa900TN8lHJojrBIYZk/Oa2KvdZiOS9UH+/z6vIIgnliTqKqMSxA==","signatures":[{"sig":"MEQCIDBGOQPCyJLI/ru3ayJt6gDHAXLG5ymOc2MUGPmmB46/AiAwGigAXXjxRfm8WaemDDxu43ZvHPGZzRI7Z9yHJqpshA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0-main.202512240724.fb25e38","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16227},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0-main.202512240724.fb25e38.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","test":"jest","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0-main.202512240724.fb25e38.tgz","_integrity":"sha512-3DuD1IslVnjIsWidq46PpTgbtRdMdb8LGLxa900TN8lHJojrBIYZk/Oa2KvdZiOS9UH+/z6vIIgnliTqKqMSxA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0-main.202512240724.fb25e38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.3.0","react":"^18.3.1","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/jest":"^29.5.13","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@babel/preset-env":"^7.25.8","@babel/preset-react":"^7.25.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@testing-library/react":"^16.0.1","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.25.7","@happy-dom/global-registrator":"^20.0.11"},"pinDependencies":{"react":["18"],"react-dom":["18"],"@types/react":["18"],"@types/react-dom":["18"]},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0-main.202512240724.fb25e38_1766562021886_0.5589768919544553","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"use-state-with-ref","version":"0.2.0","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.0","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"a703ffc0619ca1a95233d416af495a81f2b1c602","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.0.tgz","fileCount":9,"integrity":"sha512-HXIxfBV/xaPnQVDRp0a3kwobM4RYhFn7M7aBgwzly2gmgK6BHhodBfxmVNhMylcg9AEUijaosDGgZVG5DByHlA==","signatures":[{"sig":"MEQCIDR6QD2L67sGV2SktvpZlH4J7DTw+gne+E+qktfTlKOIAiBHYN7FqOPBzm/EXo7+4vwSHMu05RmjWFP/5M9AvjKzXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16175},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.0.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","test":"jest","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.0.tgz","_integrity":"sha512-HXIxfBV/xaPnQVDRp0a3kwobM4RYhFn7M7aBgwzly2gmgK6BHhodBfxmVNhMylcg9AEUijaosDGgZVG5DByHlA==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.3.0","react":"^18.3.1","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/jest":"^29.5.13","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@babel/preset-env":"^7.25.8","@babel/preset-react":"^7.25.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@testing-library/react":"^16.0.1","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.25.7","@happy-dom/global-registrator":"^20.0.11"},"pinDependencies":{"react":["18"],"react-dom":["18"],"@types/react":["18"],"@types/react-dom":["18"]},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.0_1766562217280_0.059632001736341644","host":"s3://npm-registry-packages-npm-production"}},"0.2.1-main.202512240752.bfde1e3":{"name":"use-state-with-ref","version":"0.2.1-main.202512240752.bfde1e3","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.1-main.202512240752.bfde1e3","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"c6b7d4573192357646c26e4dd739e4814baa3054","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.1-main.202512240752.bfde1e3.tgz","fileCount":9,"integrity":"sha512-XGCNltBZTLXd1aN53vym336tO5F95+f6Ze4ivE/jiSW1Kb+ujl1Gjaob80zmzl0KC01Sohz39pgqaSFe7CLcSQ==","signatures":[{"sig":"MEYCIQCgaRfoBD9JhyOwW80oJpIx1U82BO6P2wE09cydplSjOAIhAKXwxU83CRnY4FuR2xUONVQ2RuFiMPipZRRpvbncaqQ+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.1-main.202512240752.bfde1e3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16227},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.1-main.202512240752.bfde1e3.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","test":"jest","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.1-main.202512240752.bfde1e3.tgz","_integrity":"sha512-XGCNltBZTLXd1aN53vym336tO5F95+f6Ze4ivE/jiSW1Kb+ujl1Gjaob80zmzl0KC01Sohz39pgqaSFe7CLcSQ==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"use-ref-from":"^0.1.0","use-state-with-ref":"^0.2.1-main.202512240752.bfde1e3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","tsup":"^8.3.0","react":"^18.3.1","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/jest":"^29.5.13","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@babel/preset-env":"^7.25.8","@babel/preset-react":"^7.25.7","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@testing-library/react":"^16.0.1","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.25.7","@happy-dom/global-registrator":"^20.0.11"},"pinDependencies":{"react":["18"],"react-dom":["18"],"@types/react":["18"],"@types/react-dom":["18"]},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0","@testing-library/react":"^12","@testing-library/react-hooks":"latest"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.1-main.202512240752.bfde1e3_1766563690608_0.4740217325250471","host":"s3://npm-registry-packages-npm-production"}},"0.2.1-main.202512301923.19397c3":{"name":"use-state-with-ref","version":"0.2.1-main.202512301923.19397c3","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.1-main.202512301923.19397c3","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"f781f6f295304d3ae80aa846bc88102b934b2332","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.1-main.202512301923.19397c3.tgz","fileCount":9,"integrity":"sha512-OVuNIbl0kFv69gj4A3ohg+fDQjaa5c0hCQLe0ZE/qmvjemF/JxcA7a2zFQJV2hCeChfpyGUSIbt1neOR6sNf6g==","signatures":[{"sig":"MEUCIAhOb/7ISkemlfs7kvX1h3wMhDdJ6m6DUDuYNpSRhfYHAiEA8Di7epwQHTw/4I8WEUUdEl49fbjA+duxL/3OhZgmW/0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.1-main.202512301923.19397c3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17396},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.1-main.202512301923.19397c3.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","init":"npm run init:dev --if-present && npm run init:prod --if-present","test":"npm run test:unit && npm run test:types","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","init:dev":"npm install --save--dev @compulim/test-harness@0.0.0-0 @tsconfig/recommended @tsconfig/strictest @types/node @types/react@18 @types/react-dom@18 escape-string-regexp expect publint react@18 react-dom@18 react-test-renderer@18 tsup typescript","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","test:unit":"node --experimental-strip-types --experimental-test-coverage --import @compulim/test-harness/happy-dom.import --test","test:types":"node --experimental-strip-types --import @compulim/test-harness/test-types.import --test **/*.test-types.ts","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.1-main.202512301923.19397c3.tgz","_integrity":"sha512-OVuNIbl0kFv69gj4A3ohg+fDQjaa5c0hCQLe0ZE/qmvjemF/JxcA7a2zFQJV2hCeChfpyGUSIbt1neOR6sNf6g==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"use-ref-from":"^0.2.1","use-state-with-ref":"^0.2.1-main.202512301923.19397c3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^8.3.0","react":"^18.3.1","expect":"^30.2.0","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@compulim/test-harness":"0.0.0-0","@testing-library/react":"^16.0.1"},"pinDependencies":{"react":["18"],"react-dom":["18"],"@types/react":["18"],"@types/react-dom":["18"],"react-test-renderer":["18"]},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"localPeerDependencies":{"@compulim/test-harness":"0.0.0-0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.1-main.202512301923.19397c3_1767123588929_0.8244974711973827","host":"s3://npm-registry-packages-npm-production"}},"0.2.1-main.202512301928.09dce9a":{"name":"use-state-with-ref","version":"0.2.1-main.202512301928.09dce9a","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.1-main.202512301928.09dce9a","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"93c451d86e1d8f8d88e9d155e6a54b621c560609","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.1-main.202512301928.09dce9a.tgz","fileCount":9,"integrity":"sha512-stMmeLNv57iId4VOqa/PI5Y1XB2eBh5IFyMuKBTL4ycStFqTQXG0gIGHVrQfvMwuFHk66VMYbBZLhd8DYEx0Rw==","signatures":[{"sig":"MEUCIQCh6VRxaqjKmO3QGwtmqZgYEGRiKz+76LAKEY0fh3sxXwIgVmV9bOGhe45Xnk6EcW8/f8YYXT0YVqfcysmz/xSo444=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.1-main.202512301928.09dce9a","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17396},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.1-main.202512301928.09dce9a.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","init":"npm run init:dev --if-present && npm run init:prod --if-present","test":"npm run test:unit && npm run test:types","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","init:dev":"npm install --save--dev @compulim/test-harness@0.0.0-0 @tsconfig/recommended @tsconfig/strictest @types/node @types/react@18 @types/react-dom@18 escape-string-regexp expect publint react@18 react-dom@18 react-test-renderer@18 tsup typescript","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","test:unit":"node --experimental-strip-types --experimental-test-coverage --import @compulim/test-harness/happy-dom.import --test","test:types":"node --experimental-strip-types --import @compulim/test-harness/test-types.import --test **/*.test-types.ts","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.1-main.202512301928.09dce9a.tgz","_integrity":"sha512-stMmeLNv57iId4VOqa/PI5Y1XB2eBh5IFyMuKBTL4ycStFqTQXG0gIGHVrQfvMwuFHk66VMYbBZLhd8DYEx0Rw==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"use-ref-from":"^0.2.1","use-state-with-ref":"^0.2.1-main.202512301928.09dce9a"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^8.3.0","react":"^18.3.1","expect":"^30.2.0","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@compulim/test-harness":"0.0.0-0","@testing-library/react":"^16.0.1"},"pinDependencies":{"react":["18"],"react-dom":["18"],"@types/react":["18"],"@types/react-dom":["18"],"react-test-renderer":["18"]},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"localPeerDependencies":{"@compulim/test-harness":"0.0.0-0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.1-main.202512301928.09dce9a_1767123863966_0.3515492200501056","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"use-state-with-ref","version":"0.2.1","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.1","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"63856dd95a9cd45653183c267bd52905b517f155","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.1.tgz","fileCount":9,"integrity":"sha512-6EPhnqXsdzEVnOQub5VoDmrTLI2PqKp8zIIw/fvfdW9F/qLboIZG5ifaRQpAon8Upu3QYnIYZ+8h+YYQdXUnCw==","signatures":[{"sig":"MEUCIQCtnCxqxmVZ9YdNuYd5Ruy9LmXnO5YShXAgb7k6KQHy6QIgaZJMpTqLQX/5WFVcW2A9oszsO6eGUEe3xwCvB876+60=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17344},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.1.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","init":"npm run init:dev --if-present && npm run init:prod --if-present","test":"npm run test:unit && npm run test:types","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","init:dev":"npm install --save--dev @compulim/test-harness@0.0.0-0 @tsconfig/recommended @tsconfig/strictest @types/node @types/react@18 @types/react-dom@18 escape-string-regexp expect publint react@18 react-dom@18 react-test-renderer@18 tsup typescript","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","test:unit":"node --experimental-strip-types --experimental-test-coverage --import @compulim/test-harness/happy-dom.import --test","test:types":"node --experimental-strip-types --import @compulim/test-harness/test-types.import --test **/*.test-types.ts","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.1.tgz","_integrity":"sha512-6EPhnqXsdzEVnOQub5VoDmrTLI2PqKp8zIIw/fvfdW9F/qLboIZG5ifaRQpAon8Upu3QYnIYZ+8h+YYQdXUnCw==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"use-ref-from":"^0.2.1","use-state-with-ref":"^0.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^18.3.1","expect":"^30.2.0","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@compulim/test-harness":"0.0.0-0","@testing-library/react":"^16.0.1"},"pinDependencies":{"react":["18"],"react-dom":["18"],"@types/react":["18"],"@types/react-dom":["18"],"react-test-renderer":["18"]},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"localPeerDependencies":{"@compulim/test-harness":"0.0.0-0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.1_1767125726785_0.7175157680634172","host":"s3://npm-registry-packages-npm-production"}},"0.2.2-main.202512302018.adb7d17":{"name":"use-state-with-ref","version":"0.2.2-main.202512302018.adb7d17","keywords":["react","react-hook","react-hooks"],"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","_id":"use-state-with-ref@0.2.2-main.202512302018.adb7d17","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"homepage":"https://github.com/compulim/use-state-with-ref#readme","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"dist":{"shasum":"4f6f8d62957f4405146a3368ad456cfb09256e76","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.2-main.202512302018.adb7d17.tgz","fileCount":9,"integrity":"sha512-Jw03b6ZvFvS8YN9ZmOVr/vQvjLiSdFUaGJoqZQ/0zZ8gEDoF3YTk/IE0r2b7jMhPZOBdpP7nYCd9IdhH3XMTZw==","signatures":[{"sig":"MEYCIQC5fCIwuEfoxTjqf3M2P5gXPgQThWwVkJOES1qM02OwVQIhANXUaN+twJRMtelnJ/WG16jdTi9MvOez/OpQypHxuDId","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.2-main.202512302018.adb7d17","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17396},"main":"./dist/use-state-with-ref.js","_from":"file:use-state-with-ref-0.2.2-main.202512302018.adb7d17.tgz","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"scripts":{"bump":"npm run bump:prod && npm run bump:dev","init":"npm run init:dev --if-present && npm run init:prod --if-present","test":"npm run test:unit && npm run test:types","build":"tsup","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","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","init:dev":"npm install --save--dev @compulim/test-harness@0.0.0-0 @tsconfig/recommended @tsconfig/strictest @types/node @types/react@18 @types/react-dom@18 escape-string-regexp expect publint react@18 react-dom@18 react-test-renderer@18 tsup typescript","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","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","test:unit":"node --experimental-strip-types --experimental-test-coverage --import @compulim/test-harness/happy-dom.import --test","test:types":"node --experimental-strip-types --import @compulim/test-harness/test-types.import --test **/*.test-types.ts","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json"},"typings":"./dist/use-state-with-ref.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.2-main.202512302018.adb7d17.tgz","_integrity":"sha512-Jw03b6ZvFvS8YN9ZmOVr/vQvjLiSdFUaGJoqZQ/0zZ8gEDoF3YTk/IE0r2b7jMhPZOBdpP7nYCd9IdhH3XMTZw==","repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"_npmVersion":"11.6.2","description":"React `useState` with a readonly `RefObject`.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"use-ref-from":"^0.2.1","use-state-with-ref":"^0.2.2-main.202512302018.adb7d17"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^8.3.0","react":"^18.3.1","expect":"^30.2.0","publint":"^0.2.11","react-dom":"^18.3.1","typescript":"^5.6.3","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","@tsconfig/strictest":"^2.0.5","react-test-renderer":"^18.3.1","@testing-library/dom":"^10.4.0","escape-string-regexp":"^5.0.0","@tsconfig/recommended":"^1.0.7","@compulim/test-harness":"0.0.0-0","@testing-library/react":"^16.0.1"},"pinDependencies":{"react":["18"],"react-dom":["18"],"@types/react":["18"],"@types/react-dom":["18"],"react-test-renderer":["18"]},"switch:react-16":{"devDependencies":{"react":"16.8.0","react-dom":"16.8.0","@types/react":"^16","@types/react-dom":"^16","react-test-renderer":"16.8.0"}},"switch:react-17":{"devDependencies":{"react":"17.0.0","react-dom":"17.0.0","@types/react":"^17","@types/react-dom":"^17","react-test-renderer":"17.0.0"}},"switch:react-18":{"devDependencies":{"react":"18.0.0","react-dom":"18.0.0","@types/react":"^18","@types/react-dom":"^18","react-test-renderer":"18.0.0"}},"peerDependencies":{"react":">=16.8.0"},"localPeerDependencies":{"@compulim/test-harness":"0.0.0-0"},"_npmOperationalInternal":{"tmp":"tmp/use-state-with-ref_0.2.2-main.202512302018.adb7d17_1767126872359_0.8296707220117849","host":"s3://npm-registry-packages-npm-production"}},"0.2.2-main.202512302256.b22c3b1":{"name":"use-state-with-ref","version":"0.2.2-main.202512302256.b22c3b1","description":"React `useState` with a readonly `RefObject`.","exports":{".":{"import":{"types":"./dist/use-state-with-ref.d.mts","default":"./dist/use-state-with-ref.mjs"},"require":{"types":"./dist/use-state-with-ref.d.ts","default":"./dist/use-state-with-ref.js"}}},"main":"./dist/use-state-with-ref.js","typings":"./dist/use-state-with-ref.d.ts","scripts":{"build":"tsup","bump":"npm run bump:prod && npm run bump:dev","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","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","init":"npm run init:dev --if-present && npm run init:prod --if-present","init:dev":"npm install --save--dev @compulim/test-harness@0.0.0-0 @tsconfig/recommended @tsconfig/strictest @types/node @types/react@18 @types/react-dom@18 escape-string-regexp expect publint react@18 react-dom@18 react-test-renderer@18 tsup typescript","precommit":"npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test","precommit:eslint":"ESLINT_USE_FLAT_CONFIG=false eslint ./src/","precommit:publint":"publint","precommit:typescript:production":"tsc --noEmit --project ./src/tsconfig.precommit.production.json","precommit:typescript:test":"tsc --noEmit --project ./src/tsconfig.precommit.test.json","prepack":"cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .","start":"npm run build -- --onSuccess \"touch ../pages/package.json\" --watch","switch":"cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json","test":"npm run test:unit && npm run test:types","test:types":"node --experimental-strip-types --import @compulim/test-harness/test-types.import --test **/*.test-types.ts","test:unit":"node --experimental-strip-types --experimental-test-coverage --import @compulim/test-harness/happy-dom.import --test"},"repository":{"type":"git","url":"git+https://github.com/compulim/use-state-with-ref.git"},"keywords":["react","react-hook","react-hooks"],"author":{"name":"William Wong","url":"https://github.com/compulim"},"license":"MIT","bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"homepage":"https://github.com/compulim/use-state-with-ref#readme","switch:react-16":{"devDependencies":{"@types/react":"^16","@types/react-dom":"^16","react":"16.8.0","react-dom":"16.8.0","react-test-renderer":"16.8.0"}},"switch:react-17":{"devDependencies":{"@types/react":"^17","@types/react-dom":"^17","react":"17.0.0","react-dom":"17.0.0","react-test-renderer":"17.0.0"}},"switch:react-18":{"devDependencies":{"@types/react":"^18","@types/react-dom":"^18","react":"18.0.0","react-dom":"18.0.0","react-test-renderer":"18.0.0"}},"pinDependencies":{"@types/react":["18"],"@types/react-dom":["18"],"react":["18"],"react-dom":["18"],"react-test-renderer":["18"]},"localPeerDependencies":{"@compulim/test-harness":"0.0.0-0"},"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@compulim/test-harness":"0.0.0-0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.0.1","@tsconfig/recommended":"^1.0.7","@tsconfig/strictest":"^2.0.5","@types/react":"^18.3.11","@types/react-dom":"^18.3.2","escape-string-regexp":"^5.0.0","expect":"^30.2.0","publint":"^0.2.11","react":"^18.3.1","react-dom":"^18.3.1","react-test-renderer":"^18.3.1","tsup":"^8.3.0","typescript":"^5.6.3"},"dependencies":{"use-ref-from":"^0.2.1","use-state-with-ref":"^0.2.2-main.202512302256.b22c3b1"},"readmeFilename":"README.md","_id":"use-state-with-ref@0.2.2-main.202512302256.b22c3b1","_integrity":"sha512-QFHLLRMG2gLyY/2dv7LDjabncxcdFB00XmmlJQ2I1wy97wffpn23Lmq6mqLlnW97ov0RcqwGPHIFL55wAfslJw==","_resolved":"/home/runner/work/use-state-with-ref/use-state-with-ref/use-state-with-ref-0.2.2-main.202512302256.b22c3b1.tgz","_from":"file:use-state-with-ref-0.2.2-main.202512302256.b22c3b1.tgz","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-QFHLLRMG2gLyY/2dv7LDjabncxcdFB00XmmlJQ2I1wy97wffpn23Lmq6mqLlnW97ov0RcqwGPHIFL55wAfslJw==","shasum":"3d436c5bdc0505b1142f355f7922c0aede5b1bb9","tarball":"https://registry.npmjs.org/use-state-with-ref/-/use-state-with-ref-0.2.2-main.202512302256.b22c3b1.tgz","fileCount":9,"unpackedSize":17396,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-state-with-ref@0.2.2-main.202512302256.b22c3b1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD1QXTjFMfZm8Xq7x8UdsIpHRslPuXyY1Gf502+YgCeEAIhALCQhb90bQBiGpHNbNUPFRThVTJU+F1gb6NL90r47/w4"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43a5ac1d-441b-44d3-88ed-153d0eae222e"}},"directories":{},"maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/use-state-with-ref_0.2.2-main.202512302256.b22c3b1_1767136353932_0.004779372214557265"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-24T00:52:02.595Z","modified":"2025-12-30T23:12:34.463Z","0.0.0-main.ab7b671":"2023-09-24T00:52:02.852Z","0.0.1-main.97381f4":"2023-09-24T00:55:37.961Z","0.0.1":"2023-09-24T21:34:35.413Z","0.0.2-main.bca5c06":"2023-09-24T21:44:36.245Z","0.0.2-main.c8e035d":"2023-09-25T03:31:06.932Z","0.0.2-main.3af2ff0":"2023-09-25T07:04:57.181Z","0.0.2-main.8fc869f":"2023-10-09T11:16:25.342Z","0.0.2-main.d8604f3":"2023-10-09T11:26:14.451Z","0.0.2-main.c6d1580":"2023-12-16T12:06:19.872Z","0.0.2-main.c986e36":"2024-03-31T22:16:16.456Z","0.1.0-main.44c1bf9":"2024-04-01T06:36:12.220Z","0.1.0":"2024-04-01T06:48:06.303Z","0.1.1-main.8944ce3":"2024-04-01T07:05:50.856Z","0.1.1-main.aa7e4e6":"2024-05-24T23:44:56.487Z","0.1.1-main.bf0fd65":"2024-05-25T05:39:24.530Z","0.2.0-main.19409a7":"2024-05-30T02:05:19.659Z","0.2.0-main.530523c":"2024-05-30T10:00:30.993Z","0.2.0-main.f80699c":"2024-05-30T10:38:37.358Z","0.2.0-main.c730d4f":"2024-05-30T10:55:34.605Z","0.2.0-main.063b3b4":"2024-05-31T08:02:22.538Z","0.2.0-main.52ffd63":"2024-06-29T10:44:32.988Z","0.2.0-main.b01c9d7":"2024-10-11T13:07:22.956Z","0.2.0-main.f10fba4":"2024-10-13T08:50:42.804Z","0.2.0-main.39821cb":"2024-10-13T08:56:44.335Z","0.2.0-main.02a823d":"2024-12-06T13:11:50.282Z","0.2.0-main.202512160242.8ae6528":"2025-12-16T02:59:02.225Z","0.2.0-main.202512240717.c25dc9b":"2025-12-24T07:34:09.038Z","0.2.0-main.202512240724.fb25e38":"2025-12-24T07:40:22.014Z","0.2.0":"2025-12-24T07:43:37.436Z","0.2.1-main.202512240752.bfde1e3":"2025-12-24T08:08:10.776Z","0.2.1-main.202512301923.19397c3":"2025-12-30T19:39:49.079Z","0.2.1-main.202512301928.09dce9a":"2025-12-30T19:44:24.092Z","0.2.1":"2025-12-30T20:15:26.929Z","0.2.2-main.202512302018.adb7d17":"2025-12-30T20:34:32.540Z","0.2.2-main.202512302256.b22c3b1":"2025-12-30T23:12:34.073Z"},"bugs":{"url":"https://github.com/compulim/use-state-with-ref/issues"},"author":{"url":"https://github.com/compulim","name":"William Wong"},"license":"MIT","homepage":"https://github.com/compulim/use-state-with-ref#readme","keywords":["react","react-hook","react-hooks"],"repository":{"url":"git+https://github.com/compulim/use-state-with-ref.git","type":"git"},"description":"React `useState` with a readonly `RefObject`.","maintainers":[{"name":"compulim","email":"compulim@hotmail.com"}],"readme":"","readmeFilename":""}