Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies
Browse files Browse the repository at this point in the history
* chore(deps): update all non-major dependencies

* chore: extend clear all elements test

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Konstantin Späth <[email protected]>
  • Loading branch information
renovate[bot] and Duell10111 authored Dec 22, 2022
1 parent 9b4076b commit e1dfaa0
Show file tree
Hide file tree
Showing 3 changed files with 1,266 additions and 840 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@
},
"homepage": "https://github.com/Duell10111/react-native-cache#readme",
"devDependencies": {
"@babel/preset-typescript": "7.14.5",
"@babel/preset-typescript": "7.18.6",
"@types/jest": "26.0.24",
"@types/node": "16.3.1",
"@typescript-eslint/eslint-plugin": "4.28.3",
"@typescript-eslint/parser": "4.28.3",
"eslint": "7.30.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jsdoc": "35.4.3",
"@types/node": "16.18.10",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsdoc": "35.5.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "3.4.0",
"husky": "7.0.1",
"jest": "27.0.6",
"prettier": "2.3.2",
"ts-jest": "27.0.3",
"eslint-plugin-prettier": "3.4.1",
"husky": "7.0.4",
"jest": "27.5.1",
"prettier": "2.8.1",
"ts-jest": "27.1.5",
"ts-node-dev": "1.1.8",
"typescript": "4.3.5"
"typescript": "4.9.4"
},
"peerDependencies": {
"@react-native-async-storage/async-storage": ">=1.15.5",
Expand Down
5 changes: 5 additions & 0 deletions src/synccache.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ describe("cache", () => {
});

it("can clear all elements", () => {
cache.set("key1", "value1");
const value = cache.get("key1");

expect(value).toBe("value1");

cache.clearAll();

const entries = cache.getAll();
Expand Down
Loading

0 comments on commit e1dfaa0

Please sign in to comment.