Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cleanup, expand README, fix some minor bugs #20

Merged
merged 31 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
8c4e5d8
various fixes (read changelog)
3vorp Apr 14, 2024
ae8d871
update dependencies
3vorp Apr 14, 2024
2f5896d
more changes, read changelog
3vorp Apr 16, 2024
0193afa
fix lockfile problems
3vorp Apr 16, 2024
9b745d2
grammar
3vorp Apr 16, 2024
bd7af19
fix public/private class conflict
3vorp Apr 16, 2024
0f6565b
remove trailing whitespace
3vorp Apr 17, 2024
7b21d15
fix array-splice conflicts, typos, style
3vorp Apr 17, 2024
17c4776
quick type fix
3vorp Apr 18, 2024
3966df3
fix platform-specific nested key issue
3vorp Apr 19, 2024
7f32430
optional JSONDatabase constructor, shuffle readme
3vorp Apr 20, 2024
3944c63
quick fix to delete $props
3vorp Apr 20, 2024
1fd6b92
quick readme fix
3vorp Apr 20, 2024
cefdf0a
"advanced" readme section
3vorp Apr 21, 2024
945865a
clean up jsdoc
3vorp Apr 22, 2024
298f2b3
move around a few sections
3vorp Apr 22, 2024
b702ed2
refactor php to be cleaner and more readable
3vorp Apr 22, 2024
1fa5907
add more tests to collection.values()
3vorp Apr 22, 2024
e07e526
fix posix end of file stuff
3vorp Apr 22, 2024
38af96b
rename concernedField to field
3vorp Apr 23, 2024
9474723
don't start a method with double underscores
3vorp Apr 24, 2024
31a2fb8
run php formatter
3vorp Apr 28, 2024
e1ab419
add some utility methods, fix remove() error
3vorp Apr 28, 2024
c0d41e4
revert sec() and token changes
3vorp Apr 30, 2024
f21ef49
Merge branch 'TheRolfFR:main' into main
3vorp Apr 30, 2024
d2c06aa
array-contains-none
3vorp Apr 30, 2024
2cde398
better browser check, last-minute readme changes
3vorp May 1, 2024
dd17eda
readRaw(original = false)
3vorp May 3, 2024
a39b98f
fix many editField problems
3vorp May 4, 2024
6dd4aa2
editField operations return confirmations
3vorp May 7, 2024
ab42fe8
fix unknown operation message, jsdoc
3vorp May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ node_modules
*.log
.vscode/

# NPM RC WITH SENSIBLE INFOS
# NPM RC WITH SENSITIVE INFO
\.npmrc

### Node ###
Expand Down Expand Up @@ -129,5 +129,5 @@ dist
.pnp.*

#jsdoc
docs/
.DS_Store
docs/
.DS_Store
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,27 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.12.0]
## Unreleased

### Added

- Exposed `Collection.collectionName` as a readonly property for TypeScript.

### Changed

- Rejected incorrect parameters are now `TypeError`s instead of regular `Error`s.

### Fixed

- Failed GET requests not rejecting the error message properly.
- Certain write commands mutating data internally and affecting parameters outside Firestorm.
- `Collection.searchKeys` and `Collection.values` not returning proper `Error`s sometimes.

### Removed

- Redundant `firestorm.table(name)` method, since `firestorm.collection(name)` does exactly the same thing.

## [1.12.0] - 2024-02-22

### Added

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@
"typings/index.d.ts"
],
"dependencies": {
"axios": "^1.6.7"
"axios": "^1.6.8"
},
"devDependencies": {
"chai": "^4.4.1",
"docdash": "^2.0.2",
"form-data": "^4.0.0",
"glob": "^10.3.10",
"glob": "^10.3.12",
"jsdoc": "^4.0.2",
"jsdoc-to-markdown": "^8.0.1",
"mocha": "^10.3.0",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"recursive-copy": "^2.0.14",
"typescript": "^5.3.3"
"typescript": "^5.4.5"
}
}
Loading
Loading