michaelhettmer / react-hooks-use-previous

Strongly typed and well tested React Hooks to store and retrieve previous values from any component property.
MIT License
7 stars 1 forks source link

chore(deps): update dependency lint-staged to v12 #54

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged 10.5.4 -> 12.3.4 age adoption passing confidence

Release Notes

okonet/lint-staged ### [`v12.3.4`](https://togithub.com/okonet/lint-staged/releases/v12.3.4) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.3...v12.3.4) ##### Bug Fixes - add `package.json` to exports ([#​1059](https://togithub.com/okonet/lint-staged/issues/1059)) ([3395150](https://togithub.com/okonet/lint-staged/commit/339515010ccd95a2f952dbe65f8366463f94d26a)) ### [`v12.3.3`](https://togithub.com/okonet/lint-staged/releases/v12.3.3) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.2...v12.3.3) ##### Bug Fixes - use config directory as cwd, when multiple configs present ([#​1091](https://togithub.com/okonet/lint-staged/issues/1091)) ([9a14e92](https://togithub.com/okonet/lint-staged/commit/9a14e92e37abf658fc3a0d5504ff4e980e49996c)) ### [`v12.3.2`](https://togithub.com/okonet/lint-staged/releases/v12.3.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.1...v12.3.2) ##### Bug Fixes - handle symlinked .git directories ([3a897ff](https://togithub.com/okonet/lint-staged/commit/3a897ff1515bde9fc88769257f38cb2646d624fc)) ### [`v12.3.1`](https://togithub.com/okonet/lint-staged/releases/v12.3.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.0...v12.3.1) ##### Bug Fixes - **deps:** update dependencies ([f190fc3](https://togithub.com/okonet/lint-staged/commit/f190fc31888d0a3c6f7070cb0f97edcbc7018a0e)) ### [`v12.3.0`](https://togithub.com/okonet/lint-staged/releases/v12.3.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.2.2...v12.3.0) ##### Features - add `--cwd` option for overriding task directory ([62b5b83](https://togithub.com/okonet/lint-staged/commit/62b5b833950774e731b0ca034aa9289ec254a602)) ### [`v12.2.2`](https://togithub.com/okonet/lint-staged/releases/v12.2.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.2.1...v12.2.2) ##### Bug Fixes - always search config from `cwd` first ([4afcda5](https://togithub.com/okonet/lint-staged/commit/4afcda5addade65ef847e3c5b0c4a38db80d020b)) ### [`v12.2.1`](https://togithub.com/okonet/lint-staged/releases/v12.2.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.2.0...v12.2.1) ##### Bug Fixes - only throw if no configurations were found ([36b9546](https://togithub.com/okonet/lint-staged/commit/36b9546dda5ca24174b519ce6d132f31077b093b)) ### [`v12.2.0`](https://togithub.com/okonet/lint-staged/releases/v12.2.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.7...v12.2.0) ##### Bug Fixes - make console task titles more explicit ([1c94c27](https://togithub.com/okonet/lint-staged/commit/1c94c2780485f3a2273f8b82db8e74ecafe258b4)) ##### Features - support multiple configuration files ([90d1035](https://togithub.com/okonet/lint-staged/commit/90d1035ef709329d297272e9164b0452c1ed37bd)) ### [`v12.1.7`](https://togithub.com/okonet/lint-staged/releases/v12.1.7) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.6...v12.1.7) ##### Bug Fixes - resolve config modules with ESM createRequire ([#​1082](https://togithub.com/okonet/lint-staged/issues/1082)) ([f9f6538](https://togithub.com/okonet/lint-staged/commit/f9f65380dc3fc6aaa5627abe92f4e26d5b7a25de)) ### [`v12.1.6`](https://togithub.com/okonet/lint-staged/releases/v12.1.6) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.5...v12.1.6) ##### Bug Fixes - always run non-git tasks in the current working directory ([893f3d7](https://togithub.com/okonet/lint-staged/commit/893f3d7825f73115a41ddb3be34af15f4c207315)) ### [`v12.1.5`](https://togithub.com/okonet/lint-staged/releases/v12.1.5) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.4...v12.1.5) ##### Bug Fixes - search configuration starting from explicit cwd option ([c7ea359](https://togithub.com/okonet/lint-staged/commit/c7ea3594c81f7c2724a7babc8e8d57926b4679c8)) - using `--debug` option enables debug mode ([5cceeb6](https://togithub.com/okonet/lint-staged/commit/5cceeb65630752b646047ae88cacc48b76758f1c)) ### [`v12.1.4`](https://togithub.com/okonet/lint-staged/releases/v12.1.4) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.3...v12.1.4) ##### Bug Fixes - use cwd option when resolving git repo root ([#​1075](https://togithub.com/okonet/lint-staged/issues/1075)) ([a230b03](https://togithub.com/okonet/lint-staged/commit/a230b0350885194e5f07be667312316ad869b7fc)) ### [`v12.1.3`](https://togithub.com/okonet/lint-staged/releases/v12.1.3) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.2...v12.1.3) ##### Bug Fixes - **deps:** remove enquirer because it's now optional by listr2 ([96a1a29](https://togithub.com/okonet/lint-staged/commit/96a1a29ab49009d3d7edc98cc7344b1ac9c1cce6)) ### [`v12.1.2`](https://togithub.com/okonet/lint-staged/releases/v12.1.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.1...v12.1.2) ##### Bug Fixes - fix Windows JS config loading by using file:// URLs ([f20ddf9](https://togithub.com/okonet/lint-staged/commit/f20ddf9413bfc2f44ad099b5cb1e5f478de5d35f)) - fix YAML config loading ([0082ec2](https://togithub.com/okonet/lint-staged/commit/0082ec22101c8f819a8b91872b808ee81d3c4d1e)) - improve error logging in loadConfig ([e7b6412](https://togithub.com/okonet/lint-staged/commit/e7b6412fb128f314346e28329c17a676cf691135)) ### [`v12.1.1`](https://togithub.com/okonet/lint-staged/releases/v12.1.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.0...v12.1.1) ##### Bug Fixes - await for dynamic import promise when loading JS config ([e96b6d9](https://togithub.com/okonet/lint-staged/commit/e96b6d9674f07b4686876cb40605274577925973)) ### [`v12.1.0`](https://togithub.com/okonet/lint-staged/releases/v12.1.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.0.3...v12.1.0) ##### Features - allow loading `.js` config file with ESM syntax ([410c3ba](https://togithub.com/okonet/lint-staged/commit/410c3ba36972259aa5b49045b5cd565a6525382b)) - replace `cosmiconfig` with `lilconfig` + `yaml` to reduce dependencies ([e7f9fa0](https://togithub.com/okonet/lint-staged/commit/e7f9fa0f2e6aa5adbb1a0c31d1ceaff01b43f692)) - support loading `.mjs` config ([8d3b176](https://togithub.com/okonet/lint-staged/commit/8d3b176a7af75790efbcd1f63f73e7ef51f6b377)) ### [`v12.0.3`](https://togithub.com/okonet/lint-staged/releases/v12.0.3) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.0.2...v12.0.3) ##### Bug Fixes - install `enquirer` ([e01585f](https://togithub.com/okonet/lint-staged/commit/e01585f96d6aeef9f5f1b84df9936ce2be47d8f0)) ### [`v12.0.2`](https://togithub.com/okonet/lint-staged/releases/v12.0.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.0.1...v12.0.2) ##### Bug Fixes - remove `npm` version requirement ([#​1047](https://togithub.com/okonet/lint-staged/issues/1047)) ([e50d6d4](https://togithub.com/okonet/lint-staged/commit/e50d6d4ce53d125b735009bacb3de157fb6d1f2a)) ### [`v12.0.1`](https://togithub.com/okonet/lint-staged/releases/v12.0.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.0.0...v12.0.1) ##### Bug Fixes - read version number from lint-staged package.json instead of package.json in cwd ([#​1043](https://togithub.com/okonet/lint-staged/issues/1043)) ([#​1044](https://togithub.com/okonet/lint-staged/issues/1044)) ([9f9213d](https://togithub.com/okonet/lint-staged/commit/9f9213d5fbc74e3c3fb11db2a1bd239888c2960c)) ### [`v12.0.0`](https://togithub.com/okonet/lint-staged/releases/v12.0.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.6...v12.0.0) ##### Features - convert to native ESM module ([#​1038](https://togithub.com/okonet/lint-staged/issues/1038)) ([7240f61](https://togithub.com/okonet/lint-staged/commit/7240f61730aa923b18156cc64ff5350f2d5be16d)) ##### BREAKING CHANGES - *lint-staged* is now a pure ESM module, and thus requires Node.js version `^12.20.0 || ^14.13.1 || >=16.0.0`. To update your Node.js integration, please use: ```js // const lintStaged = require('lint-staged') import lintStaged from 'lint-staged' ``` ### [`v11.2.6`](https://togithub.com/okonet/lint-staged/releases/v11.2.6) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.5...v11.2.6) ##### Bug Fixes - revert back to `cosmiconfig` from `lilconfig` ([#​1035](https://togithub.com/okonet/lint-staged/issues/1035)) ([e035b80](https://togithub.com/okonet/lint-staged/commit/e035b80e39da355da57c02db6565b55271ab1afa)), closes [#​1033](https://togithub.com/okonet/lint-staged/issues/1033) [#​981](https://togithub.com/okonet/lint-staged/issues/981) ### [`v11.2.5`](https://togithub.com/okonet/lint-staged/releases/v11.2.5) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.4...v11.2.5) ##### Bug Fixes - correctly import `js-yaml` to fix yaml config loading ([#​1033](https://togithub.com/okonet/lint-staged/issues/1033)) ([612d806](https://togithub.com/okonet/lint-staged/commit/612d8066aa2c95573a06c125a311dc4aed8f2e71)) ### [`v11.2.4`](https://togithub.com/okonet/lint-staged/releases/v11.2.4) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.3...v11.2.4) ##### Performance Improvements - replace `cosmiconfig` with `lilconfig` ([#​981](https://togithub.com/okonet/lint-staged/issues/981)) ([04529e2](https://togithub.com/okonet/lint-staged/commit/04529e2b9040adc54cc8e5efc66b95bc0023477c)) ### [`v11.2.3`](https://togithub.com/okonet/lint-staged/releases/v11.2.3) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.2...v11.2.3) ##### Bug Fixes - unbreak windows by correctly normalizing cwd ([#​1029](https://togithub.com/okonet/lint-staged/issues/1029)) ([f861d8d](https://togithub.com/okonet/lint-staged/commit/f861d8d17d966809b6cd7ae338c289a125d0e3b4)) ### [`v11.2.2`](https://togithub.com/okonet/lint-staged/releases/v11.2.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.1...v11.2.2) ##### Bug Fixes - remove dangling chars from git dir ([#​1028](https://togithub.com/okonet/lint-staged/issues/1028)) ([11c004e](https://togithub.com/okonet/lint-staged/commit/11c004e89dfacc381fdb10b0db70475f693c27f1)), closes [#​1027](https://togithub.com/okonet/lint-staged/issues/1027) ### [`v11.2.1`](https://togithub.com/okonet/lint-staged/releases/v11.2.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.0...v11.2.1) ##### Bug Fixes - detect git repo root correctly on cygwin ([#​1026](https://togithub.com/okonet/lint-staged/issues/1026)) ([f291824](https://togithub.com/okonet/lint-staged/commit/f291824efadb1cce47eba62ee8fa57a546aab37f)), closes [#​1025](https://togithub.com/okonet/lint-staged/issues/1025) ### [`v11.2.0`](https://togithub.com/okonet/lint-staged/releases/v11.2.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/29be5d705e06b9f8105d285970e9f445175b9271...v11.2.0) ##### Features - **deps:** update and slim down dependencies ([#​1003](https://togithub.com/okonet/lint-staged/issues/1003)) ([32c08d3](https://togithub.com/okonet/lint-staged/commit/32c08d3f3c1c929e4fb3996c36fc937f032a2c5a)) ### [`v11.1.4`](https://togithub.com/okonet/lint-staged/compare/9b4fff70cd5c428b12afe04a56f4dc81ea3f94ba...29be5d705e06b9f8105d285970e9f445175b9271) [Compare Source](https://togithub.com/okonet/lint-staged/compare/9b4fff70cd5c428b12afe04a56f4dc81ea3f94ba...29be5d705e06b9f8105d285970e9f445175b9271) ### [`v11.1.3`](https://togithub.com/okonet/lint-staged/compare/v11.1.2...9b4fff70cd5c428b12afe04a56f4dc81ea3f94ba) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.1.2...9b4fff70cd5c428b12afe04a56f4dc81ea3f94ba) ### [`v11.1.2`](https://togithub.com/okonet/lint-staged/releases/v11.1.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.1.1...v11.1.2) ##### Bug Fixes - try to automatically fix and warn about invalid brace patterns ([#​992](https://togithub.com/okonet/lint-staged/issues/992)) ([b3d97cf](https://togithub.com/okonet/lint-staged/commit/b3d97cf4cfb115e51908cd92b95896442494c778)) ### [`v11.1.1`](https://togithub.com/okonet/lint-staged/releases/v11.1.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.1.0...v11.1.1) ##### Bug Fixes - the shell option value should be optional instead of required ([#​996](https://togithub.com/okonet/lint-staged/issues/996)) ([f7302f4](https://togithub.com/okonet/lint-staged/commit/f7302f4649b52785cdd17e7339e49ff53a6e3eda)), closes [#​994](https://togithub.com/okonet/lint-staged/issues/994) ### [`v11.1.0`](https://togithub.com/okonet/lint-staged/releases/v11.1.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.0.1...v11.1.0) ##### Features - allow a path to be supplied to the --shell option ([#​994](https://togithub.com/okonet/lint-staged/issues/994)) ([fea8033](https://togithub.com/okonet/lint-staged/commit/fea80331c768b3642e90fc687e5aceaa419d2b77)) ### [`v11.0.1`](https://togithub.com/okonet/lint-staged/releases/v11.0.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.0.0...v11.0.1) ##### Bug Fixes - do not swallow already detected deprecated usage by last task ([#​991](https://togithub.com/okonet/lint-staged/issues/991)) ([7734156](https://togithub.com/okonet/lint-staged/commit/7734156ce272189a7c663cccbb38af73a2b954b3)) ### [`v11.0.0`](https://togithub.com/okonet/lint-staged/releases/v11.0.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.5.4...v11.0.0) ##### Bug Fixes - migrate commander@7 ([f8a0261](https://togithub.com/okonet/lint-staged/commit/f8a026140d477f906083ae90ffb383ad0c0807a6)) - migrate husky@6 ([5560d97](https://togithub.com/okonet/lint-staged/commit/5560d97f6a1d034b933d352b953a957d9bee61fa)) ##### Features - bump Node.js version requirement to 12.13.0 ([852aa6e](https://togithub.com/okonet/lint-staged/commit/852aa6ece128c408a7fdfcceaa952d05076fb4bd)) ##### BREAKING CHANGES - Node.js 12 LTS 'Erbium' is now the minimum required version

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

codecov[bot] commented 2 years ago

Codecov Report

Merging #54 (93732f5) into master (0a3c5d6) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #54   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           25        25           
  Branches         5         5           
=========================================
  Hits            25        25           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0a3c5d6...93732f5. Read the comment docs.