Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed Jan 9, 2024
1 parent 9f72850 commit 611f88a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@mtkruto/storage-local-storage",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"build": "rimraf dist/ && tsc"
},
"devDependencies": {
"typescript": "^5.2.2",
"@mtkruto/node": "^0.1.138",
"@mtkruto/node": "^0.1.139",
"@types/node-localstorage": "^1.3.2",
"node-localstorage": "^3.0.5",
"rimraf": "^5.0.5"
"rimraf": "^5.0.5",
"typescript": "^5.2.2"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class StorageLocalStorage extends Storage implements Storage {
filter: GetManyFilter,
params?: { limit?: number; reverse?: boolean },
) {
let entries = Object.entries(localStorage).sort(([a], [b]) =>
let entries = Object.entries(this.#localStorage).sort(([a], [b]) =>
a.localeCompare(b)
);
if (params?.reverse) {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2016",
"target": "es2019",
"module": "commonjs",
"rootDir": "./src",
"declaration": true,
Expand Down

0 comments on commit 611f88a

Please sign in to comment.