-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
157 changed files
with
2,000 additions
and
1,389 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** @type {import("prettier").Config} */ | ||
|
||
const config = { | ||
semi: true, | ||
singleQuote: false, | ||
printWidth: 80, | ||
tabWidth: 2, | ||
quoteProps: "as-needed", | ||
jsxSingleQuote: false, | ||
trailingComma: "all", | ||
bracketSpacing: true, | ||
arrowParens: "always", | ||
proseWrap: "always", | ||
htmlWhitespaceSensitivity: "css", | ||
overrides: [ | ||
{ | ||
files: ["*.json", "*.yaml", "*.yml"], | ||
options: { | ||
tabWidth: 2, | ||
}, | ||
}, | ||
], | ||
plugins: [ | ||
await import("prettier-plugin-sort-json"), | ||
await import("prettier-plugin-jsdoc"), | ||
await import("prettier-plugin-pkgsort"), | ||
], | ||
}; | ||
|
||
export default config; |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+5.61 KB
...t-js-npm-8.53.0-1ffdbc6083-a372d55aa2.zip → ...t-js-npm-8.56.0-b1de08cbff-97a4b5ccf7.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-58.7 KB
.yarn/cache/@testing-library-jest-dom-npm-6.1.4-757806e7e1-e5a0cdb96e.zip
Binary file not shown.
Binary file added
BIN
+58.8 KB
.yarn/cache/@testing-library-jest-dom-npm-6.1.5-3fbc61949e-3bc45dc9cb.zip
Binary file not shown.
Binary file renamed
BIN
+9.31 MB
...cript-npm-5.2.2-f2ad70644c-31c656f151.zip → ...cript-npm-5.3.3-cf7fd4d2fa-8191fb2b35.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+755 KB
...ugin-npm-6.13.2-c060495a4b-e6665fc5de.zip → ...ugin-npm-6.14.0-cf3dccf1da-d420277bed.zip
Binary file not shown.
Binary file renamed
BIN
+8.84 KB
...rser-npm-6.10.0-d659957dae-d24a981807.zip → ...rser-npm-6.14.0-b05bb8f265-34f46aa8aa.zip
Binary file not shown.
Binary file removed
BIN
-327 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-6.10.0-a8ebca443c-518cd60f9e.zip
Binary file not shown.
Binary file renamed
BIN
+327 KB
...ager-npm-6.13.2-55a7e50cba-a6505cc73e.zip → ...ager-npm-6.14.0-2737e43e16-fbe945169f.zip
Binary file not shown.
Binary file renamed
BIN
+47.8 KB
...tils-npm-6.13.2-8f2d61b409-c8de5ab942.zip → ...tils-npm-6.14.0-31cbab8534-52c2a380d6.zip
Binary file not shown.
Binary file removed
BIN
-30.3 KB
.yarn/cache/@typescript-eslint-types-npm-6.10.0-ad3bff287b-bc8faf3d00.zip
Binary file not shown.
Binary file renamed
BIN
+30.5 KB
...ypes-npm-6.13.2-a52f397aba-3ed2622468.zip → ...ypes-npm-6.14.0-2f9024a803-bcb32d69ac.zip
Binary file not shown.
Binary file removed
BIN
-170 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-6.10.0-7880dab921-41fc6dd0cf.zip
Binary file not shown.
Binary file renamed
BIN
+172 KB
...tree-npm-6.13.2-044930d241-8fa1344228.zip → ...tree-npm-6.14.0-7b7d4eea91-870f00e81d.zip
Binary file not shown.
Binary file renamed
BIN
+112 KB
...tils-npm-6.13.2-246994db2d-934282b612.zip → ...tils-npm-6.14.0-647650f908-fec7338edc.zip
Binary file not shown.
Binary file removed
BIN
-9.83 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-6.10.0-6783c90d56-17a6962e10.zip
Binary file not shown.
Binary file renamed
BIN
+9.84 KB
...keys-npm-6.13.2-6c18cdb3be-eb6f3a3fa4.zip → ...keys-npm-6.14.0-6e4784842b-404f87a121.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+19.9 KB
...kg-nm-npm-4.0.0-e1fdf253a2-89701a6a21.zip → ...kg-nm-npm-4.0.1-f5b36f08be-05df7a5321.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+16 KB
...npify-npm-4.0.0-41e00d2a39-d196bf035e.zip → ...npify-npm-4.0.1-199710eb23-081de38bc1.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.42 KB
.yarn/cache/eslint-config-prettier-npm-9.0.0-8f5ce20d27-276b0b5b5b.zip
Binary file not shown.
Binary file added
BIN
+9.58 KB
.yarn/cache/eslint-config-prettier-npm-9.1.0-0e1fd42d7d-411e3b3b1c.zip
Binary file not shown.
Binary file renamed
BIN
+787 KB
...lint-npm-8.53.0-2fc5c501d2-e305a71ce2.zip → ...lint-npm-8.56.0-6eec398a41-ef6193c6e4.zip
Binary file not shown.
Binary file removed
BIN
-18.2 KB
.yarn/cache/eslint-plugin-prettier-npm-4.2.1-ba8e1240f1-d387f85dd1.zip
Binary file not shown.
Binary file added
BIN
+20.1 KB
.yarn/cache/eslint-plugin-prettier-npm-5.0.1-37491e7755-1a43dcca90.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-439 KB
.yarn/cache/license-checker-rseidelsohn-npm-4.2.10-ffdf553183-ac5053f70d.zip
Binary file not shown.
Binary file added
BIN
+35.9 MB
.yarn/cache/license-checker-rseidelsohn-npm-4.3.0-ac2f05097e-952ab5d867.zip
Binary file not shown.
Binary file removed
BIN
-27.8 KB
.yarn/cache/mdast-util-from-markdown-npm-1.3.1-dd1eea116a-1d334a54dd.zip
Binary file not shown.
Binary file added
BIN
+26.5 KB
.yarn/cache/mdast-util-from-markdown-npm-2.0.0-7358a7473f-960e28a8ff.zip
Binary file not shown.
Binary file removed
BIN
-6.41 KB
.yarn/cache/mdast-util-to-string-npm-3.2.0-4f9fa356be-fafe201c12.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-83.4 KB
.yarn/cache/micromark-core-commonmark-npm-1.1.0-6f0dca58f3-a73694d223.zip
Binary file not shown.
Binary file added
BIN
+83.2 KB
.yarn/cache/micromark-core-commonmark-npm-2.0.0-7c6eee3e3e-67f6e2f062.zip
Binary file not shown.
Binary file removed
BIN
-7.24 KB
.yarn/cache/micromark-factory-destination-npm-1.1.0-b520b52727-9e2b5fb5fe.zip
Binary file not shown.
Binary file added
BIN
+7.18 KB
.yarn/cache/micromark-factory-destination-npm-2.0.0-1b8de67781-d36e65ed1c.zip
Binary file not shown.
Binary file removed
BIN
-7.03 KB
.yarn/cache/micromark-factory-label-npm-1.1.0-d8a5a37124-fcda48f128.zip
Binary file not shown.
Binary file added
BIN
+6.96 KB
.yarn/cache/micromark-factory-label-npm-2.0.0-9e92e5cd87-c021dbd0ed.zip
Binary file not shown.
Binary file removed
BIN
-6.53 KB
.yarn/cache/micromark-factory-space-npm-1.1.0-30229d1b5d-b58435076b.zip
Binary file not shown.
Binary file added
BIN
+6.44 KB
.yarn/cache/micromark-factory-space-npm-2.0.0-715185b38a-4ffdcdc2f7.zip
Binary file not shown.
Binary file removed
BIN
-6.55 KB
.yarn/cache/micromark-factory-title-npm-1.1.0-4af82ae5b2-4432d3dbc8.zip
Binary file not shown.
Binary file added
BIN
+6.48 KB
.yarn/cache/micromark-factory-title-npm-2.0.0-9107a1e877-39e1ac23af.zip
Binary file not shown.
Binary file removed
BIN
-5.74 KB
.yarn/cache/micromark-factory-whitespace-npm-1.1.0-8564d6a9a1-ef0fa682c7.zip
Binary file not shown.
Binary file added
BIN
+5.64 KB
.yarn/cache/micromark-factory-whitespace-npm-2.0.0-53940ab034-9587c2546d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-13.3 KB
.yarn/cache/micromark-util-character-npm-1.2.0-b42e3441af-88cf80f9b4.zip
Binary file not shown.
Binary file added
BIN
+10.7 KB
.yarn/cache/micromark-util-character-npm-2.0.1-35b383bced-6eb5e58c6a.zip
Binary file not shown.
Binary file removed
BIN
-6.96 KB
.yarn/cache/micromark-util-chunked-npm-1.1.0-2b46b7c8a2-c435bde911.zip
Binary file not shown.
Binary file added
BIN
+6.92 KB
.yarn/cache/micromark-util-chunked-npm-2.0.0-97063efe7b-324f95cccd.zip
Binary file not shown.
Binary file removed
BIN
-5.59 KB
.yarn/cache/micromark-util-classify-character-npm-1.1.0-77b33fd18e-8499cb0bb1.zip
Binary file not shown.
Binary file added
BIN
+5.53 KB
.yarn/cache/micromark-util-classify-character-npm-2.0.0-a260c97f86-086e52904d.zip
Binary file not shown.
Binary file removed
BIN
-4.49 KB
.yarn/cache/micromark-util-combine-extensions-npm-1.1.0-d7734a9ec8-ee78464f5d.zip
Binary file not shown.
Binary file added
BIN
+4.44 KB
.yarn/cache/micromark-util-combine-extensions-npm-2.0.0-6af1824ca7-107c477003.zip
Binary file not shown.
Binary file removed
BIN
-5.73 KB
...che/micromark-util-decode-numeric-character-reference-npm-1.1.0-0381c1cb74-4733fe7514.zip
Binary file not shown.
Binary file added
BIN
+5.74 KB
...che/micromark-util-decode-numeric-character-reference-npm-2.0.1-2db25e156f-9512507722.zip
Binary file not shown.
Binary file removed
BIN
-5.27 KB
.yarn/cache/micromark-util-decode-string-npm-1.1.0-d3fef9c9ba-f1625155db.zip
Binary file not shown.
Binary file added
BIN
+5.23 KB
.yarn/cache/micromark-util-decode-string-npm-2.0.0-111ff2ba19-a75daf32a4.zip
Binary file not shown.
Binary file removed
BIN
-3.6 KB
.yarn/cache/micromark-util-encode-npm-1.1.0-65f415c4fe-4ef29d02b1.zip
Binary file not shown.
Binary file added
BIN
+3.56 KB
.yarn/cache/micromark-util-encode-npm-2.0.0-c2e70ee7cb-853a3f33fc.zip
Binary file not shown.
Binary file removed
BIN
-4.51 KB
.yarn/cache/micromark-util-html-tag-name-npm-1.2.0-d8309ab06f-ccf0fa99b5.zip
Binary file not shown.
Binary file added
BIN
+4.46 KB
.yarn/cache/micromark-util-html-tag-name-npm-2.0.0-b09431e16f-d786d4486f.zip
Binary file not shown.
Binary file removed
BIN
-6.03 KB
.yarn/cache/micromark-util-normalize-identifier-npm-1.1.0-378d909800-8655bea41f.zip
Binary file not shown.
Binary file added
BIN
+5.98 KB
.yarn/cache/micromark-util-normalize-identifier-npm-2.0.0-1bfb89b3be-b36da2d3fd.zip
Binary file not shown.
Binary file removed
BIN
-4.3 KB
.yarn/cache/micromark-util-resolve-all-npm-1.1.0-c49b6d7c36-1ce6c0237c.zip
Binary file not shown.
Binary file added
BIN
+4.26 KB
.yarn/cache/micromark-util-resolve-all-npm-2.0.0-113e659bd2-31fe703b85.zip
Binary file not shown.
Binary file removed
BIN
-7.65 KB
.yarn/cache/micromark-util-sanitize-uri-npm-1.2.0-b14e5e159a-0d024100d9.zip
Binary file not shown.
Binary file added
BIN
+7.61 KB
.yarn/cache/micromark-util-sanitize-uri-npm-2.0.0-6c6c9b7f33-7d10622f5a.zip
Binary file not shown.
Binary file removed
BIN
-7.89 KB
.yarn/cache/micromark-util-subtokenize-npm-1.1.0-72005ae28b-075a1db6ea.zip
Binary file not shown.
Binary file added
BIN
+7.89 KB
.yarn/cache/micromark-util-subtokenize-npm-2.0.0-f6f7cb6cad-4d209894f9.zip
Binary file not shown.
Binary file removed
BIN
-13.4 KB
.yarn/cache/micromark-util-symbol-npm-1.1.0-90b0865932-a26b6b1efd.zip
Binary file not shown.
Binary file added
BIN
+13.9 KB
.yarn/cache/micromark-util-symbol-npm-2.0.0-dbed08e1a1-8c662644c3.zip
Binary file not shown.
Binary file removed
BIN
-11.5 KB
.yarn/cache/micromark-util-types-npm-1.1.0-9df6df907c-287ac5de4a.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+13.8 KB
.yarn/cache/prettier-package-json-npm-2.8.0-b798af3ef6-728b3b83a8.zip
Binary file not shown.
Binary file removed
BIN
-138 KB
.yarn/cache/prettier-plugin-jsdoc-npm-0.4.2-b8944e365a-1b93198282.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-13.7 KB
.yarn/cache/prettier-plugin-package-npm-1.3.1-79b9afde8b-4390b98e4b.zip
Binary file not shown.
Binary file added
BIN
+4.09 KB
.yarn/cache/prettier-plugin-pkgsort-npm-0.2.1-5b654d1789-485c849fbc.zip
Binary file not shown.
Binary file removed
BIN
-14.5 KB
.yarn/cache/prettier-plugin-sort-json-npm-2.0.0-82f38b7bad-a1469bdc66.zip
Binary file not shown.
Binary file added
BIN
+15.3 KB
.yarn/cache/prettier-plugin-sort-json-npm-3.1.0-cbd3ab5d27-6ca7022318.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+40.9 KB
.../tsd-npm-0.29.0-ae29c74af5-9cfe3df56e.zip → .../tsd-npm-0.30.0-daf02e8514-03385459d3.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-6.49 KB
.yarn/cache/unist-util-stringify-position-npm-3.0.3-3ab0818239-07913e4fd7.zip
Binary file not shown.
Binary file added
BIN
+6.54 KB
.yarn/cache/unist-util-stringify-position-npm-4.0.0-2362acd217-d15c88aca7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
670 changes: 335 additions & 335 deletions
670
.yarn/releases/yarn-4.0.1.cjs → .yarn/releases/yarn-4.0.2.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,38 @@ | ||
{ | ||
"name": "@mittwald/react-use-promise", | ||
"version": "1.0.0", | ||
"packageManager": "[email protected]", | ||
"author": "Mittwald CM Service GmbH & Co. KG <[email protected]>", | ||
"contributors": [ | ||
"Marco Falkenberg <[email protected]>" | ||
], | ||
"type": "module", | ||
"description": "Simple and declarative use of Promises in your React components. Observe their state and refresh them in various advanced ways.", | ||
"license": "MIT", | ||
"repository": "github:mittwald/react-use-promise", | ||
"author": { | ||
"name": "Mittwald CM Service GmbH & Co. KG", | ||
"email": "[email protected]" | ||
}, | ||
"keywords": [ | ||
"async", | ||
"cache", | ||
"custom-hook", | ||
"data", | ||
"data-fetching", | ||
"fetch", | ||
"hooks", | ||
"react", | ||
"react-cache", | ||
"react-hook", | ||
"react-hooks", | ||
"react-suspense", | ||
"reactjs", | ||
"suspense" | ||
], | ||
"homepage": "https://github.com/mittwald/react-use-promise#readme", | ||
"type": "module", | ||
"repository": "github:mittwald/react-use-promise", | ||
"license": "MIT", | ||
"exports": { | ||
".": "./dist/index.mjs" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "unbuild", | ||
"format": "yarn format:base --write", | ||
|
@@ -26,71 +46,45 @@ | |
"test:lint": "eslint . --cache", | ||
"test:packages": "yarn all run test" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [ | ||
"react", | ||
"reactjs", | ||
"async", | ||
"data", | ||
"fetch", | ||
"cache", | ||
"suspense", | ||
"hooks", | ||
"custom-hook", | ||
"react-hook", | ||
"react-hooks", | ||
"react-cache", | ||
"react-suspense", | ||
"data-fetching" | ||
], | ||
"peerDependencies": { | ||
"react": ">=17.0" | ||
}, | ||
"dependencies": { | ||
"@types/luxon": "3.3.4", | ||
"luxon": "~3.4.3", | ||
"@types/luxon": "3.3.7", | ||
"luxon": "~3.4.4", | ||
"minimatch": "^9.0.3", | ||
"object-code": "^1.3.0" | ||
"object-code": "^1.3.2" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.7.0", | ||
"@testing-library/dom": "^9.3.3", | ||
"@testing-library/jest-dom": "^6.1.4", | ||
"@testing-library/react": "^14.0.0", | ||
"@types/jest": "^29.5.7", | ||
"@types/react": "^18.2.36", | ||
"@types/react-dom": "^18.2.14", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"@yarnpkg/pnpify": "^4.0.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"@testing-library/jest-dom": "^6.1.5", | ||
"@testing-library/react": "^14.1.2", | ||
"@types/jest": "^29.5.11", | ||
"@types/react": "^18.2.45", | ||
"@types/react-dom": "^18.2.18", | ||
"@typescript-eslint/eslint-plugin": "^6.14.0", | ||
"@typescript-eslint/parser": "^6.14.0", | ||
"@yarnpkg/pnpify": "^4.0.1", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-json": "^3.1.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"license-checker-rseidelsohn": "^4.2.10", | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-jsdoc": "^0.4.2", | ||
"prettier-plugin-package": "^1.3.1", | ||
"prettier-plugin-sort-json": "^2.0.0", | ||
"license-checker-rseidelsohn": "^4.3.0", | ||
"prettier": "^3.1.1", | ||
"prettier-plugin-jsdoc": "^1.1.1", | ||
"prettier-plugin-pkgsort": "^0.2.1", | ||
"prettier-plugin-sort-json": "^3.1.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"rimraf": "^5.0.5", | ||
"ts-jest": "^29.1.1", | ||
"tsd": "^0.29.0", | ||
"typescript": "^5.2.2", | ||
"tsd": "^0.30.0", | ||
"typescript": "^5.3.3", | ||
"unbuild": "^2.0.0" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Marco Falkenberg", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"packageManager": "[email protected]", | ||
"peerDependencies": { | ||
"react": ">=17.0" | ||
}, | ||
"unbuild": { | ||
"declaration": true | ||
} | ||
|
Oops, something went wrong.