Skip to content

Commit

Permalink
Use native URL class available in the environment instead of importin…
Browse files Browse the repository at this point in the history
…g from module
  • Loading branch information
omrilotan committed Oct 16, 2024
1 parent 734ce4c commit f937c2b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
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": "react-error-decoder",
"version": "2.0.10",
"version": "2.1.0",
"description": "⚛︎ Decode React minified error message",
"keywords": [
"react",
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { URL } from "node:url";
import collection from "./collection.json";

type Collection = Record<string, string>;
Expand Down

0 comments on commit f937c2b

Please sign in to comment.