From 944f5b66359a10b3187aa0f573b7f8cd32b9399b Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Mon, 1 Jul 2024 13:47:00 +0200 Subject: [PATCH] Remove URL import from Node.js types `URL` is available as a global in Node and in the browser. This package uses the global value, but import the node.js type. The type declarations should use the same global URL type instead of requiring a Node.js type. --- index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 88b25d0..441ace4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,6 +1,5 @@ declare module 'rebaseUrl' { import { PluginCreator } from 'postcss'; - import { URL } from 'url'; interface RebaseUrlOptions { /**