@arnaud-barre/prettier-plugin-sort-imports
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -74,3 +74,3 @@ // src/index.ts | ||
const relative = node.source.value.startsWith("."); | ||
if (!relative && builtinModules.includes(node.source.value)) { | ||
if (!relative && builtinModules.includes(node.source.value) && node.source.value !== "ws") { | ||
node.source.value = `node:${node.source.value}`; | ||
@@ -77,0 +77,0 @@ node.source.raw = `"${node.source.value}"`; |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"author": "Arnaud Barré (https://github.com/ArnaudBarre)", | ||
@@ -12,4 +12,4 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"prettier": "^3.0.1" | ||
"prettier": "^3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8181