diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b805db..4ea75d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 2.1.0 + +- Use native URL class available in the environment instead of importing from `node:url` module + ## 2.0.10 - Add 541 diff --git a/package.json b/package.json index 7413335..af21029 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-error-decoder", - "version": "2.0.10", + "version": "2.1.0", "description": "⚛︎ Decode React minified error message", "keywords": [ "react", diff --git a/src/index.ts b/src/index.ts index a1d7d4a..a7acd8b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,3 @@ -import { URL } from "node:url"; import collection from "./collection.json"; type Collection = Record;