Skip to content

Date #23

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

Merged
merged 2 commits into from
Jan 17, 2023
Merged

Date #23

Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@

## v1.4.0


### 🚀 Enhancements

- **date:** AddYear, addMonth, addDate, addHours, addMinutes, addSeconds, addMilliseconds (3d96c71)

### 🩹 Fixes

- **string:** Similarity (ffd75a8)
- **Promise:** Make caught optional to fix prisma.io client (0daf28c)

### 🏡 Chore

- Changelog (3749fc6)

### ❤️ Contributors

- Samuel

## v1.3.0


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "missing-native-js-functions",
"version": "1.3.1",
"version": "1.4.0",
"description": "mnJSf that should be the base library for every JS project",
"main": "dist/index.js",
"browser": "dist/mnjsf.min.js",
Expand Down
2 changes: 1 addition & 1 deletion src/Promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare global {
* rej("Promised rejected, but caught in console.error");
*}).caught(); // will not throw the promise, but log the error in the console
*/
caught(): this;
caught?(): this;
}
}

Expand Down