@cspell/url 9.0.1 → 9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -109,12 +109,12 @@ function isDataURL(url) {
109
109
  }
110
110
 
111
111
  // src/FileUrlBuilder.mts
112
- import assert from "node:assert";
113
- import Path from "node:path";
114
- import { pathToFileURL as pathToFileURL2 } from "node:url";
112
+ import assert from "assert";
113
+ import Path from "path";
114
+ import { pathToFileURL as pathToFileURL2 } from "url";
115
115
 
116
116
  // src/fileUrl.mts
117
- import { fileURLToPath, pathToFileURL } from "node:url";
117
+ import { fileURLToPath, pathToFileURL } from "url";
118
118
  var isWindows = process.platform === "win32";
119
119
  var windowsUrlPathRegExp = /^\/[a-zA-Z]:\//;
120
120
  function isWindowsPathnameWithDriveLatter(pathname) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "9.0.1",
7
+ "version": "9.0.2",
8
8
  "description": "URL parsing and manipulation utilities for cspell",
9
9
  "keywords": [
10
10
  "cspell",
@@ -58,5 +58,5 @@
58
58
  "engines": {
59
59
  "node": ">=20"
60
60
  },
61
- "gitHead": "bdfabd3686aac9827f3af0ceb4aa74947b5f9d60"
61
+ "gitHead": "39dbd9ab9b8943a023d9eda7f65f81e822f939b5"
62
62
  }