diff --git a/CHANGELOG.md b/CHANGELOG.md index 004de55..6aee9e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 8bca77b..3e4deb9 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/Promise.ts b/src/Promise.ts index 7576fd1..6f8c4c0 100644 --- a/src/Promise.ts +++ b/src/Promise.ts @@ -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; } }