From bbc34bb2157a8acca50849ce0604cf4255b0c79b Mon Sep 17 00:00:00 2001 From: Nick K Date: Wed, 19 Apr 2023 01:35:41 +0300 Subject: [PATCH 1/2] Remove unnecessary Error.captureStackTrace call from NoMatcherError --- src/public/NoMatcherError.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/public/NoMatcherError.ts b/src/public/NoMatcherError.ts index b7b58f1..5bee1c5 100644 --- a/src/public/NoMatcherError.ts +++ b/src/public/NoMatcherError.ts @@ -14,7 +14,5 @@ export class NoMatcherError< code, message: `Cannot find transform for node ${getNodeType(props)}` }) - - Error.captureStackTrace(this, this.constructor) } } From 2d71036cf9542391bdde80ff05456af2c99e92d2 Mon Sep 17 00:00:00 2001 From: Nick K Date: Wed, 19 Apr 2023 01:37:42 +0300 Subject: [PATCH 2/2] Bump version: 0.7.3 -> 0.7.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 06c12b1..857848a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "type": "module", "name": "slate-to-react", "description": "React component and utilities to transform Slate nodes to React", - "version": "0.7.3", + "version": "0.7.4", "author": "Nick K.", "license": "MIT", "keywords": [